Summary says it -- webkit-gtk-2.4.3 fails to build, saying it needs at least gcc-4.7.x to build, while I in fact have gcc-4.8.2-r1 installed: " >>> Running pre-merge checks for net-libs/webkit-gtk-2.4.3 * ERROR: net-libs/webkit-gtk-2.4.3::gentoo failed (pretend phase): * You need at least GCC 4.7.x or Clang >= 3.3 for C++11-specific compiler flags * * Call stack: " ..... I assume it is checking for *exactly* gcc-4.7.x? Either that, or it's C++11 test fails against gcc-4.8.x. Reproducible: Always Steps to Reproduce: 1. Install gcc-4.8.2-r1 (and remove gcc-4.7). 2) Go to install net-libs/webkit-gtk-2.4.3 Portage 2.2.10 (default/linux/x86/13.0/desktop, gcc-4.8.2, glibc-2.19, 2.6.38-gentoo-r3 i686) ================================================================= System uname: Linux-2.6.38-gentoo-r3-i686-AMD_Athlon-tm-_64_Processor_3800+-with-gentoo-2.2 KiB Mem: 1034700 total, 27328 free KiB Swap: 3670008 total, 3374548 free Timestamp of tree: Tue, 10 Jun 2014 04:45:01 +0000 ld GNU ld (GNU Binutils) 2.24 distcc 3.1 i686-pc-linux-gnu [enabled] ccache version 3.1.9 [enabled] app-shells/bash: 4.2_p47 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.6-r1, 3.2.5-r3, 3.3.5, 3.4.0 dev-util/ccache: 3.1.9-r3 dev-util/cmake: 2.8.12.2-r1 dev-util/pkgconfig: 0.28-r1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14.1 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.6.4, 4.8.2-r1 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.14 (virtual/os-headers) sys-libs/glibc: 2.19 Repositories: gentoo x-portage mythtv ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=k8-sse3 -floop-block -floop-interchange -floop-strip-mine -ftree-loop-distribution" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=k8-sse3 -floop-block -floop-interchange -floop-strip-mine -ftree-loop-distribution" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync" FFLAGS="-O2 -march=i686 -pipe" GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/mnt/750GB/portage/vartmpportage-beta" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/mythtv_portage/Gentoo" SYNC="rsync://delta.local/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa amr amrnb amrwb asf audiofile avahi berkdb bluetooth bonobo branding browserplugin bzip2 cairo cdda cdr cjk cli consolekit cracklib crosscompile crypt css cups curl cxx dbus divx4linux dri dts dv dvb dvd dvdr dvdread emboss encode exif expat fam fame ffmpeg firefox flac foomaticdb fortran gd gdbm gif gimpprint glitz glut gmp gpm gtk gtk3 gtkhtml hal iconv icu idn ieee1394 imagemagick insecure-savers ipv6 irmc java jpeg junit kde kdeenablefinal kqemu latin1 lcms ldap libnotify lua mad matroska mjpeg mmx mmxext mng modules mozsvg mp3 mp4 mpeg mysql mythtv nas ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp openssl openvg pam pango pcre pdf pic plugin png policykit posix ppds pulseaudio qt3support qt4 readline real ruby samba scanner sdl semantic-desktop session slang spell sse sse2 ssl startup-notification subtitles svg tcltk tcpd threads threadsafe tiff truetype udev udisks unicode uniq upower usb v4l v4l2 vorbis win32codecs wma wmf wmp wxwidgets x264 x86 xanim xcb xine xml xml2 xulrunner xv xvid xvmc zeroconf zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="all" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="alpha arm cris i386 lm32 m68k microblazeel microblaze mips64el mips64 mipsel mips or32 ppc64 ppcemb ppc s390x sh4eb sh4 sparc sparc64 unicore32 x86_64 xtensaeb xtensa" QEMU_USER_TARGETS="alpha armeb arm cris i386 m68k microblazeel microblaze mips64el mips64 mipsel mips or32 ppc64abi32 ppc64 ppc s390x sh4eb sh4 sparc32plus sparc64 sparc unicore32 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia nv" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
I guess the die() message could use improvement. The test isn't about versions but about a specific feature.
The check is looking for the needed feature: if ! test-flag-CXX -std=c++11; then die "You need at least GCC 4.7.x or Clang >= 3.3 for C++11-specific compiler flags" fi not for any specific version
(In reply to Pacho Ramos from comment #2) > The check is looking for the needed feature: > if ! test-flag-CXX -std=c++11; then > die "You need at least GCC 4.7.x or Clang >= 3.3 for > C++11-specific compiler flags" > fi > > not for any specific version The test looks ok to me, maybe something is strange in your gcc-4.8 build (or don't have it selected properly)
I solved with gcc-config -f I hope it is of help. Try: gcc-config -f YourChoise.....
I can't see anything wrong in our test