Summary: | >=sci-geosciences/gpsd-3.17 ignores USE=qt{4,5}, fails to build with USE=-cxx | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Denny Page <denny> |
Component: | Current packages | Assignee: | Sci-geo Project <sci-geosciences> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 632372 | ||
Attachments: | gpsd-3.17-r1 emerge output |
Description
Denny Page
2017-12-24 17:41:11 UTC
I don't see that, and nothing in the diff between 3.17 and -r1 would indicate any change other than qt4 -> qt5. $ emerge -vp =gpsd-3.17-r1 $ grep -R gpsd /etc/portage/package.use marvin /etc/portage/package.use # grep -R gpsd /etc/portage/package.use /etc/portage/package.use/gpsd:sci-geosciences/gpsd -X -cxx ntp GPSD_PROTOCOLS: nmea0183 ublox passthrough -aivdm -ashtech -earthmate -evermore -fv18 -garmin -garmintxt -gpsclock -isync -itrax -mtk3301 -navcom -ntrip -oceanserver -oncore -rtcm104v2 -rtcm104v3 -shm -sirf -skytraq -superstar2 -tnt -tripmate -tsip marvin /etc/portage/package.use # marvin ~ # emerge -vp =gpsd-3.17-r1 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ~] sci-geosciences/gpsd-3.17-r1:0/23::gentoo [3.17:0/23::gentoo] USE="ipv6 ncurses ntp shm sockets -X -bluetooth -cxx -dbus -debug -latency_timing -python -qt5% -static {-test} -udev -usb (-qt4%)" GPSD_PROTOCOLS="nmea0183 passthrough ublox -aivdm -ashtech -earthmate -evermore -fury -fv18 -garmin -garmintxt -geostar -gpsclock -isync -itrax -mtk3301 -navcom -nmea2000 -ntrip -oceanserver -oncore -rtcm104v2 -rtcm104v3 -sirf -skytraq -superstar2 -tnt -tripmate -tsip" PYTHON_TARGETS="python2_7" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB marvin ~ # Created attachment 511684 [details]
gpsd-3.17-r1 emerge output
Pretty interesting, yes? Emerge -p says one thing, equery says another. And if you remove the -p from emerge, then it attempts to builds, but ignoring (at a minimum) the cxx use flag. It fails in c++ build/testing, which should not occur at all. See attachment https://bugs.gentoo.org/attachment.cgi?id=511684 It's triggered by the use of "qt_versioned=5" to scons. Without this option, it builds fine and with this option it fails building c++ code. "qt_versioned=4" works. The reason that "qt_versioned=4" works is because there there is no qt4 on the system. Scons explicitly checks for the existence of the specified libraries and disables qt if they are not present. Thanks for your report. It seems that the libQgpsmm switch that was used for qt4 and qt5 simply is ignored if qt_versioned=5 is set _before_, and in addition to that, build of libQgpsmm requires cxx. I'm not prepared to dig deeper into scons - USE=cxx does not save any dep so off it goes, rather than adding REQUIRED_USE. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5760ed4e60db223c25efdee994c99805648d9d11 commit 5760ed4e60db223c25efdee994c99805648d9d11 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2017-12-28 15:34:01 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2017-12-28 15:34:43 +0000 sci-geosciences/gpsd: Drop USE=cxx, fix USE=qt5 Closes: https://bugs.gentoo.org/642154 Package-Manager: Portage-2.3.19, Repoman-2.3.6 sci-geosciences/gpsd/gpsd-3.17-r1.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) Fix confirmed. Thank you. |