When I try to emerge qtscript 5.6.1, it fails as follows: >>> Emerging (1 of 1) dev-qt/qtscript-5.6.1::gentoo * qtscript-opensource-src-5.6.1-1.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... * GCC version 4.5 or later is required to build this package * ERROR: dev-qt/qtscript-5.6.1::gentoo failed (unpack phase): * GCC 4.5 or later required * * Call stack: * ebuild.sh, line 133: Called src_unpack * environment, line 2777: Called qt5-build_src_unpack * environment, line 2446: Called die * The specific snippet of code: * die "GCC 4.${min_gcc4_minor_version} or later required"; * * If you need support, post the output of `emerge --info '=dev-qt/qtscript-5.6.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-qt/qtscript-5.6.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-qt/qtscript-5.6.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtscript-5.6.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-qt/qtscript-5.6.1/work' * S: '/var/tmp/portage/dev-qt/qtscript-5.6.1/work/qtscript-opensource-src-5.6.1' gcc 4.9.3 is installed, so this must be a faulty check. Also, this seems to be in the ebuild, so I am filing the bug with Gentoo. Reproducible: Always
4.9.3 may be installed, but what is the active compiler?
GCC 4.9.3 and clang 3.7.1-r100 are the only two compilers installed. I'm not using clang for anything other than llvm itself.
it appears I was wrong. I was indeed using clang to compile, for whatever reason. Sorry about that.
Reopening, we shouldn't reject clang. I already knew about this limitation, but was waiting for something like https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass/toolchain-funcs.eclass?id=2fea606eba41d9246f510814ce833879368bd835 to be implemented.
Fixed https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2048cd28302473534cd56454c562bff31daefa74 Also backported to qt4 https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1ffe55112b9d2cf0a5da0ca9835d920618e597c