Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567236 - media-gfx/graphviz-2.38.0-r1[qt4] won't build if Qt 5 is selected in qtchooser
Summary: media-gfx/graphviz-2.38.0-r1[qt4] won't build if Qt 5 is selected in qtchooser
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qtbindir
  Show dependency tree
 
Reported: 2015-12-01 10:18 UTC by selurvedu
Modified: 2015-12-20 14:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,694.07 KB, text/plain)
2015-12-01 10:18 UTC, selurvedu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description selurvedu 2015-12-01 10:18:10 UTC
Created attachment 418278 [details]
build.log

If you set your Qt version to "5" in qtchooser and then try to merge media-gfx/graphviz with USE="qt4", it will fail to compile. During compilation it complains about wrong version of moc and terminates the process (see line 3754 of build.log). After setting QT_SELECT to "4", everything works as expected. I've encountered this issue because Qt 5 is chosen as default on my system. The same issue already happened several times with e.g. media-sound/clementine.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-12-02 05:19:13 UTC
The ebuild should inherit qmake-utils and call $(qt4_get_bindir)/qmake instead.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2015-12-20 14:39:07 UTC
Thanks, fixed in git.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21f168dbd2fcd361280f0312a536faf0c18ad3df