dev-libs/boost has recently become a dependency for openoffice-2.0.4 and was added to my world update When emerging boost, I see this: bin/boost/libs/regex/build/libboost_regex.so/gcc/release/shared-linkable-true/threading-multi/winstances.o: file not recognized: File format not recognized collect2: ld returned 1 exit status ---SNIP--- ...failed gcc-Link-action bin/boost/libs/regex/build/libboost_regex.so/gcc/release/shared-linkable-true/threading-multi/libboost_regex-mt.so... ...skipped <@boost!lib>libboost_regex-mt.so for lack of <@boost!libs!regex!build/libboost_regex.so/gcc/release/shared-linkable-true/threading-multi>libboost_regex-mt.so... FileClone /var/tmp/portage/dev-libs/boost-1.33.1/image/usr/lib/libboost_regex-mt.so.1.33.1 cp: cannot stat `bin/boost/libs/regex/build/libboost_regex.so/gcc/release/shared-linkable-true/threading-multi/libboost_regex-mt.so.1.33.1': No such file or directory cp -fpd "bin/boost/libs/regex/build/libboost_regex.so/gcc/release/shared-linkable-true/threading-multi/libboost_regex-mt.so.1.33.1" "/var/tmp/portage/dev-libs/boost-1.33.1/image/usr/lib/libboost_regex-mt.so.1.33.1" ...failed FileClone /var/tmp/portage/dev-libs/boost-1.33.1/image/usr/lib/libboost_regex-mt.so.1.33.1... ---SNIP--- ...failed updating 2 targets... ...skipped 1 target... ...updated 3649 targets... I'll attach the log and threading-multi/winstances.o in a moment. emerge --info Portage 2.1.2_pre3-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo i686) ================================================================= System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) M processor 1.80GHz Gentoo Base System version 1.12.5 Last Sync: Mon, 16 Oct 2006 19:30:01 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -pipe " DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict userfetch userpriv usersandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirrors.acm.cs.rpi.edu/gentoo http://distfiles.gentoo.org" LANG="en_US.utf8" LC_ALL="en_US.utf8" LINGUAS="en" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/portage /usr/portage/local/findcruft /usr/portage/local/layman/java-migration-packages /usr/portage/local/layman/java-migration-packages /usr/portage/local/layman/musicbrainz /usr/portage/local/layman/musicbrainz" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac acl acpi aiglx aim alsa apache2 artworkextra asf async audiofile avahi bash-completion bitmap-fonts bonjour bzip2 cairo cdr chroot clamav cli contentcache cracklib crypt css cups dbus dga dhcp divx djvu dlloader dmi doc dri dts dvd dvdread dvi eds effects elibc_glibc encode esd exif fam fastbuild fbcon ffmpeg firefox flac foomaticdb fortran fuse gadu gaim gd gdbm gencertdaily gif glibc-omitfp glitz glut gmedia gnome gphoto2 gpm gstreamer gtk hal howl howl-compat hpn imagemagick imap inkjar input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics insecure-drivers insecure-savers ipv6 isdnlog jabber java javascript jikes jpeg kdeenablefinal kdehiddenvisibility kernel_linux lcms libcaca libg++ libnotify linguas_en live mad matroska mdnsresponder-compat meanwhile memlimit mhash mikmod mime mmx mmxext mng mono mozdevelop moznocompose moznoirc moznomail mozsvg mp3 mpeg mpi mplayer mpm-worker msn musepack musicbrainz mysql mysqli nautilus ncurses new-login nfs nls no-old-linux no-seamonkey no-suexec nodoc nosrc nptl nptlonly nsplugin oav offensive ogg openal opengl openssh oscar pam pcre pdf perl php pic png pnp ppds pppd python qt3 qt4 quicktime radiotap rar readline real realmedia reflection rtc samba sdk sdl session silc simplexml slp sockets speex spell spl sse sse2 ssl startup-notification svg sysfs syslog sysvipc t1lib tcpd tetex theora threads tiff transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales v4l v4l2 vcd video_cards_radeon video_cards_vesa visualization vorbis widescreen wifi win32codecs wmf wmp x264 xine xinerama xml xorg xpm xscreensaver xsl xv xvid xvmc yahoo zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 99833 [details] Emerge log for dev-libs/boost-1.33.1
Created attachment 99834 [details] Mentioned winstances.o
I just realized that files in bin/boost/libs/regex/build/libboost_regex.so/gcc/release/shared-linkable-true/ and bin/boost/libs/regex/build/libboost_regex.so/gcc/release/shared-linkable-true/threading-multi all have the same md5sums except wintances.o Why though? Ho-hmm...
Okay, if I swap threading-multi/winstances.o with winstances.o while it's building, it appears that things work. Whether this affects the resulting libraries is a whole other matter...
Ok, I'll see whether I can reproduce it (have to update to glibc-2.5 for that first). If nothing turns up after that, I'll try to contact upstream and see what we get there. If you'd like to help, you could try to compile wininstances.cpp manually and see whether this gives some more information why the compilation fails.
Sorry for the long answer time. I could partially reproduce the problem: On my machine gcc fails silently and doesn't generate winstances.o at all (and therefore compiles through). But I still don't know why this happens.
Well, I don't get this issue with boost-1.33.1-r1, so I'll mark the bug as fixed.