Emerging nucleo fails at the linking phase Reproducible: Always Steps to Reproduce: 1. emerge nucleo 2. 3. Actual Results: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../lib64/crti.o(.init+0x0): In function `_init': /var/tmp/portage/glibc-2.3.4.20041006/work/build-x86_64-pc-linux-gnu-linuxthreads/csu/crti.S:11: multiple definition of `_init' /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../lib64/crti.o(.init+0x0):/var/tmp/portage/glibc-2.3.4.20041006/work/build-x86_64-pc-linux-gnu-linuxthreads/csu/crti.S:11: first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../lib64/crti.o(.fini+0x0): In function `_fini': : multiple definition of `_fini' /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../lib64/crti.o(.fini+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/crtbeginS.o(.data.rel+0x0): multiple definition of `__dso_handle' /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/crtbeginS.o(.data.rel+0x0): first defined here collect2: ld returned 1 exit status make[3]: *** [libNucleo.la] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 Portage 2.0.51 (default-linux/amd64/gcc34-2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r4 x86_64) ================================================================= System uname: 2.6.8-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.5.3 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -ffast-math -mtune=k8 -march=k8" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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 -ftracer -fprefetch-loop-arrays -ffast-math -mtune=k8 -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks" GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://mirror.pudas.net/gentoo http://ftp.linux.ee/pub/gentoo/distfiles/ http://mirror.gentoo.no/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa amd64 apm arts avi berkdb bitmap-fonts cdr crypt encode esd f77 fam flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg junit kde libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls nptl odbc offensive oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby samba sdl slang spell sqlite ssl tcltk tcpd tetex threads tiff truetype unicode xml2 xmms xprint xv zlib"
problem found.. kind of, eeh.. All that was needed was to run aclocal(and get a bunch of warnings) and then configure and make it. How to stick it into the .ebuild I I haven't looked into, yet. Just about to start looking at how .ebuilds works :) And since no one has filed a Amd64 specific bug since the last comment on bug 55660 I figure the interest of the Amd64 owners having it working is not enormous. Conclusion: I will probably have the time to look into it, and apply the correct fix before someone else have the time. If it's not a very simple/hard solution, that is :)
Created attachment 42443 [details] nucleo-0.1-r1.ebuild modified to run aclocal Adding if use amd64; then aclocal fi in the .ebuild seems to do the trick, is it an adequate solution?
Just came across with this very same problem. Tried the new ebuild but now i get this error: checking for correct ltmain.sh version... no *** Gentoo sanity check failed! *** *** libtool.m4 and ltmain.sh have a version mismatch! *** *** (libtool.m4 = 1.5.10, ltmain.sh = 1.5) *** Please run: libtoolize --copy --force if appropriate, please contact the maintainer of this package (or your distribution) for help. make: *** [config.status] Error 1 !!! ERROR: x11-libs/nucleo-0.1-r1 failed. !!! Function src_compile, Line 28, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message.
Ok now works: src_compile() { if use amd64; then aclocal libtoolize --force --copy fi econf || die "configure failed" emake || die "make failed"
it's not marked ~amd64 yet and running aclocal doesn't help
(In reply to comment #4) Same Here. Nucleo compiles fine with that patch (see comment #4) on my AMD64. Please change it to ~amd64 and update the ebuild, so we could work on testing metisse 0.3.5. Thanks.