Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 572538

Summary: net-libs/webkit-gtk-2.4.9-r200 has hidden dependency to (>=GCC 4.7 | >=Clang3.3)
Product: Gentoo Linux Reporter: Daa Jaa <dREPLACEeLETTEReEjBYeLETTEReA>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daa Jaa 2016-01-21 16:31:34 UTC
Bug reported from a Sabayon linux system, based on the portage tree gentoo-x86:
 
 * ERROR: net-libs/webkit-gtk-2.4.9-r200::gentoo failed (pretend phase):
 *   You need at least GCC 4.7.x or Clang >= 3.3 for C++11-specific compiler flags
 *
 * Call stack:   
 *     ebuild.sh, line  93:  Called pkg_pretend
 *   environment, line 3962:  Called die
 * The specific snippet of code:
 *           die "You need at least GCC 4.7.x or Clang >= 3.3 for C++11-specific compiler flags";
 *
 * If you need support, post the output of `emerge --info '=net-libs/webkit-gtk-2.4.9-r200::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/webkit-gtk-2.4.9-r200::gentoo'`.
 * The complete build log is located at '/var/tmp/entropy/net-libs/webkit-gtk-2.4.9-r200/qfLfvb/portage/net-libs/webkit-gtk-2.4.
9-r200/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/entropy/net-libs/webkit-gtk-2.4.9-r200/qfLfvb/portage/net-libs/webkit-gtk
-2.4.9-r200/temp/environment'.
 * Working directory: '/usr/lib64/python2.7/site-packages'
 * S: '/var/tmp/entropy/net-libs/webkit-gtk-2.4.9-r200/qfLfvb/portage/net-libs/webkit-gtk-2.4.9-r200/work/webkit-gtk-2.4.9'

Reproducible: Always
Comment 1 Rafał Mużyło 2016-01-21 18:10:35 UTC
Can't be done another way.

What matters for the check is the *active* gcc version and that can't be a part of dependency calculation.
Comment 2 Daa Jaa 2016-01-22 09:46:49 UTC
Thanks for the feedback. So it is kind of eselect wrong ? Would it be possible to talk about that eselect version in the error message ?
Comment 3 Pacho Ramos gentoo-dev 2016-01-26 19:51:56 UTC
What is wrong with current message? Do you expect us to suggest to use gcc-config or similar? In that case, what is the "clang" equivalent for switching clang compilers?