While building gnash-0.8.7 I get the following error during the test fase: In file included from /usr/include/boost-1_41/boost/exception_ptr.hpp:15, from /usr/include/boost-1_41/boost/thread/future.hpp:12, from /usr/include/boost-1_41/boost/thread.hpp:24, from ../../libbase/GC.h:29, from ../../libbase/smart_ptr.h:43, from ../../libcore/as_object.h:26, from test_amf.cpp:39: /usr/include/boost-1_41/boost/exception/diagnostic_information.hpp: At global scope: /usr/include/boost-1_41/boost/exception/diagnostic_information.hpp:29: error: expected unqualified-id before '{' token In file included from ../../libbase/utility.h:38, from ../../libcore/as_value.h:37, from ../../libcore/Property.h:24, from ../../libcore/PropertyList.h:22, from ../../libcore/as_object.h:29, from test_amf.cpp:39: /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include/cxxabi.h:45: error: expected '}' before end of line /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include/cxxabi.h:45: error: expected unqualified-id before end of line /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include/cxxabi.h:45: error: expected '}' before end of line /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include/cxxabi.h:45: error: expected '}' before end of line /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include/cxxabi.h:45: error: expected declaration before end of line distcc[14059] ERROR: compile test_amf.cpp on localhost failed make[2]: *** [test_amf.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/www-plugins/gnash-0.8.7/work/gnash-0.8.7/testsuite/libamf.all' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/www-plugins/gnash-0.8.7/work/gnash-0.8.7/testsuite/libamf.all' make: *** [check-recursive] Error 1 I'm not sure if this bug is in gnash, boost or gcc. Reproducible: Always Steps to Reproduce: 1. emerge gnash on x86 system 2. 3. Actual Results: ebuild dies at test stage Expected Results: ebuilds installs gnash without die at test stage emerge --info Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.10.1-r1, 2.6.32-gentoo-r7 i686) ================================================================= System uname: Linux-2.6.32-gentoo-r7-i686-Mobile_AMD_Sempron-tm-_Processor_2800+-with-gentoo-1.12.13 Timestamp of tree: Mon, 21 Jun 2010 05:00:01 +0000 distcc 3.1 i686-pc-linux-gnu [enabled] app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1, 3.1.2-r3 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/spool/torque" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests collision-protect distcc distlocks fixpackages news nostrip parallel-fetch protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1,--as-needed" LINGUAS="nl en uk" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X acl acpi alsa avahi berkdb bzip2 cairo cli cracklib crypt cxx dbus dri encode fam ffmpeg flac fortran fts3 gdbm gmp gnutls gpm gtk hal iconv icu ipv6 ithreads java5 jpeg libnotify mmx modules mudflap ncurses nls nptl nptlonly ogg openexr opengl openmp pam pcre perl pic player png pppd python rdesktop readline reflection sdl session sockets spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs tcpd theora threads truetype unicode vnc vorbis x86 xcb xcomposite xorg zlib" 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" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl en uk" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeonhd" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Did you get any warning messages from the ebuild? Which versions of boost do you have installed?
Created attachment 236343 [details] build.log Here is the complete build log. No related warning messages as far as I can see. boost version 1.41.0-r3 is installed.
Which *versions* of boost? Only 1.41 which is eselected, or more versions?
(In reply to comment #3) > Which *versions* of boost? Only 1.41 which is eselected, or more versions? > That's the only one present and selected with eselect: # eselect boost list Available boost versions: [1] boost-1.41/default *
I notice that you are using distcc, can you disable that and/or what about the boost versions on the distcc nodes?
Distcc is configured to only use the same host as the emerge is running on (yeah, pretty useless with some overhead). I tested to build without using distcc, but the problem remains.
Just installed www-plugins/gnash-0.8.7_p20100812, no problems with that version.
Thanks for testing, marking as FIXED.