The relevant bit of the build.log appears to be: The error is triggered by a preprocessor directive that is wrapped by "#if defined(_STDC_C99) && (defined(__XOPEN_OR_POSIX) && !defined(_XPG6))". $ emerge --info Portage 2.2.01.20271-prefix (prefix/sunos/solaris/5.10/sparc64, gcc-4.6.2, unavailable, 5.10 sun4u) ================================================================= System uname: Solaris-2.10-sun4u-sparc-64bit-ELF Timestamp of tree: Fri, 02 Mar 2012 21:42:15 +0000 distcc 3.1 sparcv9-sun-solaris2.10 [disabled] ccache version 3.1.4 [disabled] app-shells/bash: 4.2_p20::gentoo_prefix dev-lang/python: 2.7.2-r3::gentoo_prefix dev-util/ccache: 3.1.4::gentoo_prefix dev-util/pkgconfig: 0.26::gentoo_prefix sys-devel/autoconf: 2.13::gentoo_prefix, 2.68::gentoo_prefix sys-devel/automake: 1.11.1::gentoo_prefix sys-devel/binutils: 2.22-r1::gentoo_prefix sys-devel/gcc: 4.6.2::gentoo_prefix sys-devel/gcc-config: 1.5-r2::gentoo_prefix sys-devel/libtool: 2.4-r4::gentoo_prefix sys-devel/make: 3.82::gentoo_prefix Repositories: gentoo_prefix local_overlay Installed sets: ACCEPT_KEYWORDS="~sparc64-solaris" ACCEPT_LICENSE="* -@EULA" CBUILD="sparcv9-sun-solaris2.10" CFLAGS="-mcpu=ultrasparc3 -mtune=ultrasparc3 -O2 -pipe" CHOST="sparcv9-sun-solaris2.10" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-mcpu=ultrasparc3 -mtune=ultrasparc3 -O2 -pipe" DISTDIR="/home/stufs1/ryao/Gentoo-Solaris/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles force-prefix news nodoc noinfo parallel-fetch parallel-install preserve-libs protect-owned sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS=" -Wl,-O1 -Wl,--as-needed -Wl,--sort-common" MAKEOPTS="-j2" PKGDIR="/home/stufs1/ryao/Gentoo-Solaris/usr/portage/packages" PORTAGE_CONFIGROOT="/home/stufs1/ryao/Gentoo-Solaris/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/tmp/ryao" PORTDIR="/home/stufs1/ryao/Gentoo-Solaris/usr/portage" PORTDIR_OVERLAY="/home/stufs1/ryao/Gentoo-Solaris/usr/local/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="cracklib cxx modules ncurses nls prefix readline sparc64-solaris ssl unicode zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="SunOS" 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 ubx" INPUT_DEVICES="keyboard mouse" KERNEL="SunOS" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby19" USERLAND="GNU" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
dev-qt/qtcore-4.8.0-r1 is no longer in portage tree. Does this problem persist with dev-qt/qtcore-4.8.0-r2 or dev-qt/qtcore-4.8.0-r4?
Created attachment 342908 [details] dev-qt/qtcore-4.8.4-r4 build.log showing failure I assume that you mean dev-qt/qtcore-4.8.4-r4, which is still affected.
Created attachment 342918 [details] qtcore-4.8.4-r4.ebuild.patch (In reply to comment #2) > Created attachment 342908 [details] > dev-qt/qtcore-4.8.4-r4 build.log showing failure > > I assume that you mean dev-qt/qtcore-4.8.4-r4, which is still affected. Yes, sorry, I mean 4.8.4. I have attached a patch for qtcore-4.8.4-r4.ebuild that seems to fix the problem. Please, try it and test qtcore-4.8.4-r4. If it works well, please, leave a comment here and on this stabilization bug: https://bugs.gentoo.org/show_bug.cgi?id=462636 Thank you in advance :-)
This is usually a -std=c99 with extensions mismatch, probably solved now we have gcc-5 in the tree.