Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54009 - dev-libs/libsigc++-1.2.5 failes to compile
Summary: dev-libs/libsigc++-1.2.5 failes to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 All
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-15 11:21 UTC by Jeremy Huddleston (RETIRED)
Modified: 2004-06-18 06:04 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-15 11:21:37 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64/crti.o(.init+0x0): In function `_init':
/mnt/raid0/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2/buildhere/csu/crti.S:11: multiple definition of `_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64/crti.o(.init+0x0):/mnt/raid0/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2/buildhere/csu/crti.S:11: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64/crti.o(.fini+0x0): In function `_fini':
: multiple definition of `_fini'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64/crti.o(.fini+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/crtbeginS.o(.data.rel+0x0): multiple definition of `__dso_handle'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/crtbeginS.o(.data.rel+0x0): first defined here
collect2: ld returned 1 exit status
make[3]: *** [libsigc-1.2.la] Error 1
make[3]: Leaving directory `/mnt/raid0/tmp/portage/libsigc++-1.2.5/work/libsigc++-1.2.5/sigc++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/raid0/tmp/portage/libsigc++-1.2.5/work/libsigc++-1.2.5/sigc++'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/mnt/raid0/tmp/portage/libsigc++-1.2.5/work/libsigc++-1.2.5/sigc++'
make: *** [all-recursive] Error 1

!!! ERROR: dev-libs/libsigc++-1.2.5 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! emake failure

Portage 2.0.50-r8 (gcc34-amd64-2004.1, gcc-3.4.0, glibc-2.3.3_pre20040529-r0, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.16
distcc 2.13 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/raid0/gentoo/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/mnt/raid0/gentoo/packages-amd64"
PORTAGE_TMPDIR="/mnt/raid0/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="3ds S3TC X X509 Xaw3d aac aalib accessibility acl acpi activefilter afs aim alsa altivec amd amd64 apache2 apm ardour-ksi arts artswrappersuid atlas audiofile autofs avantgo avi berkdb bidi bindist caps cdr chroot clamav clanJavaScript clanVoice clearpasswd clisp cmucl crypt cscope cups curl dbcp dedicated dga directfb divx4linux dnd doc dv dvd dvdr eim emacs emacs-w3 encode esd ethereal evms2 evo expat ext-png ext-zlib f77 faac faad fam fax fbcon fbdev ffmpeg flac flash fltk fluidsynth foomaticdb freetype fs fullrpc gb gcj gcl gd gd-external gdbm ggi gif gimp gimpprint glade glut gmp gmtfull gmthigh gmtsuppl gmttria gnome gnomedb gnuplot gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile hbci icq idl image imagemagick imap imlib imlib2 innodb ipalias ipv6 jabber jack jack-caps java javacomm javamail javascript jbig jikes joystick jp2 jpeg js junit justify kde ladcca lcd lcms libdsk libg libg++ libgda libwww lids lmtp log4j ltsp lua lucid lzw lzw-tiff maildir make-busybox-symlinks makecheck mcal md5sum menu mikmod milter mixer mng mono motif mozcalendar mozctl mozilla mozinterfaceinfo mozp3p mozsvg mozxmlterm mpeg mpeg4 mpi mplayer msn mule multilib music mysql nas native ncurses neXt nls nptl nvidia nviz oav objc oci8 odbc offensive ofx oggvorbis oldworld openal opengl oscar oss pam parse-clocks passfile pcap pcmcia pcre pda pdflib perl php pic pie plotutils png pnp portaudio ppds prelude propolice psyco python qhull qt quicktime readline regexp rplay ruby samba sasl sdk sdl skey slang slp sndfile socks5 sox speex spell sqlite src ssl svg tcltk tcpd tetex theora tiff timidity transcode transparent-proxy truetype trusted type1 ucs2 usb v4l v4l2 vda vhosts videos vim-with-x virus-scan wmf wsconvert wxwin wxwindows xchattext xemacs xface xforms xfs xine xinerama xml xml2 xmms xosd xprint xv xvid yahoo zeo zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-15 11:24:30 UTC
whoops... the top of the emerge output got cut off...

 g++ -DHAVE_CONFIG_H -DLIBSIGC_COMPILATION -I.. -I.. -I../sigc++/config -O2 -pipe -fomit-frame-pointer -MT method_slot.lo -MD -MP -MF .deps/method_slot.Tpo -c method_slot.cc  -fPIC -DPIC -o .libs/method_slot.o
 g++ -DHAVE_CONFIG_H -DLIBSIGC_COMPILATION -I.. -I.. -I../sigc++/config -O2 -pipe -fomit-frame-pointer -MT method_slot.lo -MD -MP -MF .deps/method_slot.Tpo -c method_slot.cc -o method_slot.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link g++  -O2 -pipe -fomit-frame-pointer   -o libsigc-1.2.la -rpath /usr/lib  -version-info 5:5:0   node.lo slot.lo connection.lo signal.lo object_slot.lo class_slot.lo object.lo adaptor.lo bind.lo method_slot.lo  
g++ -shared /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/crtbeginS.o  .libs/node.o .libs/slot.o .libs/connection.o .libs/signal.o .libs/object_slot.o .libs/class_slot.o .libs/object.o .libs/adaptor.o .libs/bind.o .libs/method_slot.o  -L/usr/x86_64-pc-linux-gnu/lib -L/usr/x86_64-pc-linux-gnu/bin -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64/crtn.o  -o .libs/libsigc-1.2.so.5.0.5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64/crti.o(.init+0x0): In function `_init':
/mnt/raid0/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2/buildhere/csu/crti.S:11: multiple definition of `_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64/crti.o(.init+0x0):/mnt/raid0/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2/buildhere/csu/crti.S:11: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64/crti.o(.fini+0x0): In function `_fini':
: multiple definition of `_fini'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64/crti.o(.fini+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/crtbeginS.o(.data.rel+0x0): multiple definition of `__dso_handle'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/crtbeginS.o(.data.rel+0x0): first defined here
collect2: ld returned 1 exit status
make[3]: *** [libsigc-1.2.la] Error 1
make[3]: Leaving directory `/mnt/raid0/tmp/portage/libsigc++-1.2.5/work/libsigc++-1.2.5/sigc++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/raid0/tmp/portage/libsigc++-1.2.5/work/libsigc++-1.2.5/sigc++'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/mnt/raid0/tmp/portage/libsigc++-1.2.5/work/libsigc++-1.2.5/sigc++'
make: *** [all-recursive] Error 1

!!! ERROR: dev-libs/libsigc++-1.2.5 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! emake failure
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-15 11:34:11 UTC
libsigc++-1.2.3 emerged fine
Comment 3 Danny van Dyk (RETIRED) gentoo-dev 2004-06-15 15:13:39 UTC
Oh noooooo, not again... Who keeps on removing the auto* tools from the ebuild ?
Comment 4 Danny van Dyk (RETIRED) gentoo-dev 2004-06-15 15:19:12 UTC
Sorry ppl, my bad: auto* is in there. I can't reproduce this bug. 1.2.5 emerges fine for me.
Comment 5 Malcolm Lashley (RETIRED) gentoo-dev 2004-06-15 15:56:54 UTC
Also unable to reproduce here... even tried with CXXFLAGS as per the bugreport...
I have gcc3.4 - but a later(~amd64) glibc-2.3.4.20040605
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-15 16:24:21 UTC
alright... well then I guess it's up to me to solve the mystery... another one for my ever-increasing todo list i guess =)
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-17 22:31:39 UTC
I've also got it when testing out the new musicbrainz version since the old one has QA issues...

mkdir .libs/libmusicbrainz.lax/libbitzi.a
(cd .libs/libmusicbrainz.lax/libbitzi.a && ar x /mnt/raid0/tmp/portage/musicbrainz-2.0.2-r2/work/libmusicbrainz-2.0.2/lib/bitzi/.libs/libbitzi.a)
g++ -shared /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/crtbeginS.o  .libs/base64.o .libs/browser.o .libs/c_wrapper.o .libs/comhttpsocket.o .libs/comsocket.o .libs/diskid.o .libs/haar.o .libs/http.o .libs/musicbrainz.o .libs/sha1.o .libs/signature.o .libs/sigxdr.o .libs/sigclient.o .libs/sigfft.o .libs/rdfparse.o .libs/rdfextract.o .libs/uuid.o .libs/mb.o .libs/libmusicbrainz.lax/libbitzi.a/browser.o .libs/libmusicbrainz.lax/libbitzi.a/dirsearch.o .libs/libmusicbrainz.lax/libbitzi.a/id3.o .libs/libmusicbrainz.lax/libbitzi.a/list.o .libs/libmusicbrainz.lax/libbitzi.a/main.o .libs/libmusicbrainz.lax/libbitzi.a/mp3.o .libs/libmusicbrainz.lax/libbitzi.a/plugin_man.o .libs/libmusicbrainz.lax/libbitzi.a/sboxes.o .libs/libmusicbrainz.lax/libbitzi.a/tiger.o .libs/libmusicbrainz.lax/libbitzi.a/tigertree.o .libs/libmusicbrainz.lax/libbitzi.a/md5.o .libs/libmusicbrainz.lax/libbitzi.a/bitprint.o   -L/usr/x86_64-pc-linux-gnu/lib -L/usr/x86_64-pc-linux-gnu/bin /usr/lib/libexpat.so -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64/crtn.o  -o .libs/libmusicbrainz.so.2.0.1
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64/crti.o(.init+0x0): In function `_init':
/mnt/raid0/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2/buildhere/csu/crti.S:11: multiple definition of `_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64/crti.o(.init+0x0):/mnt/raid0/tmp/portage/glibc-2.3.3_pre20040529/work/glibc-2.3.2/buildhere/csu/crti.S:11: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64/crti.o(.fini+0x0): In function `_fini':
: multiple definition of `_fini'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../lib64/crti.o(.fini+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/crtbeginS.o(.data.rel+0x0): multiple definition of `__dso_handle'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/crtbeginS.o(.data.rel+0x0): first defined here
collect2: ld returned 1 exit status
make[3]: *** [libmusicbrainz.la] Error 1
make[3]: Leaving directory `/mnt/raid0/tmp/portage/musicbrainz-2.0.2-r2/work/libmusicbrainz-2.0.2/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/raid0/tmp/portage/musicbrainz-2.0.2-r2/work/libmusicbrainz-2.0.2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/raid0/tmp/portage/musicbrainz-2.0.2-r2/work/libmusicbrainz-2.0.2'
make: *** [all] Error 2

!!! ERROR: media-libs/musicbrainz-2.0.2-r2 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-17 22:59:08 UTC
Danny: what version of glibc do you have installed?
Comment 9 Danny van Dyk (RETIRED) gentoo-dev 2004-06-17 23:28:56 UTC
Jeremy: try to run aclocal (probably with -I <someScriptsdir>), automake -c and autoconf in the ebuild. That normally solves this very error for *mm ebuilds as well as for the libsigc++ ebuild.
Comment 10 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-17 23:55:23 UTC
The problem is that I have

${ACLOCAL_FLAGS}: -I /opt/mozilla/share/aclocal

which doesn't exist...

granted it's my own damn fault for that, but I thought I'd let you know the reason it failed was because aclocal failed to run because of the bad flags.
Comment 11 Danny van Dyk (RETIRED) gentoo-dev 2004-06-18 06:04:01 UTC
I see. Well, it's quite good to know of that. I will keep it in mind for these packages. ;-)