Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151642 - boost-1.33.1 not building because of problems with threading-multi/wininstances.o
Summary: boost-1.33.1 not building because of problems with threading-multi/wininstanc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-16 14:55 UTC by David Li
Modified: 2006-10-29 08:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Emerge log for dev-libs/boost-1.33.1 (dev-libs:boost-1.33.1:20061016-213342.log,503.67 KB, text/plain)
2006-10-16 14:56 UTC, David Li
Details
Mentioned winstances.o (winstances.o,283.07 KB, application/octet-stream)
2006-10-16 15:00 UTC, David Li
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Li 2006-10-16 14:55:29 UTC
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
Comment 1 David Li 2006-10-16 14:56:49 UTC
Created attachment 99833 [details]
Emerge log for dev-libs/boost-1.33.1
Comment 2 David Li 2006-10-16 15:00:35 UTC
Created attachment 99834 [details]
Mentioned winstances.o
Comment 3 David Li 2006-10-17 12:27:57 UTC
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...
Comment 4 David Li 2006-10-17 12:56:23 UTC
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...
Comment 5 Tiziano Müller (RETIRED) gentoo-dev 2006-10-17 13:27:44 UTC
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.
Comment 6 Tiziano Müller (RETIRED) gentoo-dev 2006-10-23 12:11:57 UTC
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.
Comment 7 David Li 2006-10-29 08:08:06 UTC
Well, I don't get this issue with boost-1.33.1-r1, so I'll mark the bug as fixed.