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
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.
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 ?
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?