NetBSD Problem Report #53350
From www@NetBSD.org Thu Jun 7 10:17:50 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 431617A1DC
for <gnats-bugs@gnats.NetBSD.org>; Thu, 7 Jun 2018 10:17:50 +0000 (UTC)
Message-Id: <20180607101748.CDB677A221@mollari.NetBSD.org>
Date: Thu, 7 Jun 2018 10:17:48 +0000 (UTC)
From: takahashi_yusuke_16@stu-cbms.k.u-tokyo.ac.jp
Reply-To: takahashi_yusuke_16@stu-cbms.k.u-tokyo.ac.jp
To: gnats-bugs@NetBSD.org
Subject: x11/qt5-qtbase build error in PLIST
X-Send-Pr-Version: www-1.0
>Number: 53350
>Category: pkg
>Synopsis: x11/qt5-qtbase build error in PLIST
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 07 10:20:00 +0000 2018
>Closed-Date: Tue Jun 19 12:14:35 +0000 2018
>Last-Modified: Tue Jun 19 12:14:35 +0000 2018
>Originator: Yusuke Takahashi
>Release: pkgsrc-2018Q1
>Organization:
The University of Tokyo
>Environment:
Linux hx01.gi.k.u-tokyo.ac.jp 2.6.32-696.1.1.el6.x86_64 #1 SMP Tue Apr 11 17:13:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
>Description:
I had a build error of x11/qt5-qtbase on CentOS 6.
The error message said that the contents was different from those in PLIST.
(I am sorry that I've lost the log file.)
I checked the contents of PLIST.Linux and have found that the package version is hard-coded.
I've found a workaround. The problem can be avoided by rewriting the hard-coded string into ${PKGVERSION}.
Although the workaround works for me, I'm not sure that the hard-coded string is a simple bug or a workaround for another problem.
>How-To-Repeat:
I did not do clean install of pkgsrc nor `pkg_delete -a` to repeat the problem, but I think doing `cd pkgsrc/x11/qt5-qtbase; bmake clean install` repeats the problem.
>Fix:
Applying a patch:
diff --git a/x11/qt5-qtbase/PLIST.Linux b/x11/qt5-qtbase/PLIST.Linux
index 08db29d9273..9c1d56aa66b 100644
--- a/x11/qt5-qtbase/PLIST.Linux
+++ b/x11/qt5-qtbase/PLIST.Linux
@@ -1,20 +1,20 @@
@comment $NetBSD: PLIST.Linux,v 1.3 2018/01/17 19:30:46 markd Exp $
qt5/include/QtInputSupport/${PKGVERSION}/QtInputSupport/private/qevdevkeyboard_defaultmap_p.h
-qt5/include/QtInputSupport/5.10.0/QtInputSupport/private/qevdevkeyboardhandler_p.h
-qt5/include/QtInputSupport/5.10.0/QtInputSupport/private/qevdevkeyboardmanager_p.h
-qt5/include/QtInputSupport/5.10.0/QtInputSupport/private/qevdevmousehandler_p.h
-qt5/include/QtInputSupport/5.10.0/QtInputSupport/private/qevdevmousemanager_p.h
-qt5/include/QtInputSupport/5.10.0/QtInputSupport/private/qevdevtablethandler_p.h
-qt5/include/QtInputSupport/5.10.0/QtInputSupport/private/qevdevtabletmanager_p.h
-qt5/include/QtInputSupport/5.10.0/QtInputSupport/private/qevdevtouchfilter_p.h
-qt5/include/QtInputSupport/5.10.0/QtInputSupport/private/qevdevtouchhandler_p.h
-qt5/include/QtInputSupport/5.10.0/QtInputSupport/private/qevdevtouchmanager_p.h
-qt5/include/QtInputSupport/5.10.0/QtInputSupport/private/qlibinputhandler_p.h
-qt5/include/QtInputSupport/5.10.0/QtInputSupport/private/qlibinputkeyboard_p.h
-qt5/include/QtInputSupport/5.10.0/QtInputSupport/private/qlibinputpointer_p.h
-qt5/include/QtInputSupport/5.10.0/QtInputSupport/private/qlibinputtouch_p.h
-qt5/include/QtInputSupport/5.10.0/QtInputSupport/private/qtouchoutputmapping_p.h
-qt5/include/QtInputSupport/5.10.0/QtInputSupport/private/qtslib_p.h
+qt5/include/QtInputSupport/${PKGVERSION}/QtInputSupport/private/qevdevkeyboardhandler_p.h
+qt5/include/QtInputSupport/${PKGVERSION}/QtInputSupport/private/qevdevkeyboardmanager_p.h
+qt5/include/QtInputSupport/${PKGVERSION}/QtInputSupport/private/qevdevmousehandler_p.h
+qt5/include/QtInputSupport/${PKGVERSION}/QtInputSupport/private/qevdevmousemanager_p.h
+qt5/include/QtInputSupport/${PKGVERSION}/QtInputSupport/private/qevdevtablethandler_p.h
+qt5/include/QtInputSupport/${PKGVERSION}/QtInputSupport/private/qevdevtabletmanager_p.h
+qt5/include/QtInputSupport/${PKGVERSION}/QtInputSupport/private/qevdevtouchfilter_p.h
+qt5/include/QtInputSupport/${PKGVERSION}/QtInputSupport/private/qevdevtouchhandler_p.h
+qt5/include/QtInputSupport/${PKGVERSION}/QtInputSupport/private/qevdevtouchmanager_p.h
+qt5/include/QtInputSupport/${PKGVERSION}/QtInputSupport/private/qlibinputhandler_p.h
+qt5/include/QtInputSupport/${PKGVERSION}/QtInputSupport/private/qlibinputkeyboard_p.h
+qt5/include/QtInputSupport/${PKGVERSION}/QtInputSupport/private/qlibinputpointer_p.h
+qt5/include/QtInputSupport/${PKGVERSION}/QtInputSupport/private/qlibinputtouch_p.h
+qt5/include/QtInputSupport/${PKGVERSION}/QtInputSupport/private/qtouchoutputmapping_p.h
+qt5/include/QtInputSupport/${PKGVERSION}/QtInputSupport/private/qtslib_p.h
qt5/include/QtInputSupport/QIntegrityHIDManager
qt5/include/QtInputSupport/qintegrityhidmanager.h
qt5/include/QtInputSupport/QtInputSupport
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->pending-pullups
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 19 Jun 2018 01:39:05 +0000
State-Changed-Why:
Letter to letter identical commit(!) from a month ago, but not pulled up, https://mail-index.netbsd.org/pkgsrc-changes/2018/05/18/msg176057.html
Filed as pullup-pkgsrc #5773
State-Changed-From-To: pending-pullups->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 19 Jun 2018 12:14:35 +0000
State-Changed-Why:
Pulled up to pkgsrc-2018Q1.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.