pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/53350: x11/qt5-qtbase build error in PLIST



>Number:         53350
>Category:       pkg
>Synopsis:       x11/qt5-qtbase build error in PLIST
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 07 10:20:00 +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


Home | Main Index | Thread Index | Old Index