Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57987 - libglademm-2.2.0 linking fails
Summary: libglademm-2.2.0 linking fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 68481 (view as bug list)
Depends on:
Blocks: 51589
  Show dependency tree
 
Reported: 2004-07-22 14:30 UTC by Pascal Hartig
Modified: 2004-11-07 09:12 UTC (History)
4 users (show)

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


Attachments
configure.patch (configure.patch,649 bytes, patch)
2004-11-01 17:18 UTC, Adam Polkosnik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Hartig 2004-07-22 14:30:52 UTC
Last output:

 g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"libglademm\" -I../../libglade -I../../libglade -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -O2 -pipe -fomit-frame-pointer -funroll-loops -MT init.lo -MD -MP -MF .deps/init.Tpo -c init.cc  -fPIC -DPIC -o .libs/init.o
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"libglademm\"  -I../../libglade -I../../libglade -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2    -O2 -pipe -fomit-frame-pointer -funroll-loops -MT variablesmap.lo -MD -MP -MF ".deps/variablesmap.Tpo" \
  -c -o variablesmap.lo `test -f 'variablesmap.cc' || echo './'`variablesmap.cc; \
then mv -f ".deps/variablesmap.Tpo" ".deps/variablesmap.Plo"; \
else rm -f ".deps/variablesmap.Tpo"; exit 1; \
fi
 g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"libglademm\" -I../../libglade -I../../libglade -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -O2 -pipe -fomit-frame-pointer -funroll-loops -MT variablesmap.lo -MD -MP -MF .deps/variablesmap.Tpo -c variablesmap.cc  -fPIC -DPIC -o .libs/variablesmap.o
/bin/sh ../../libtool --mode=link g++  -O2 -pipe -fomit-frame-pointer -funroll-loops   -o libglademm-2.0.la -rpath /usr/lib -version-info 1:6:0  xml.lo wrap_init.lo init.lo variablesmap.lo -Wl,--export-dynamic -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lpangomm-1.0 -lglibmm-2.0 -lsigc-1.2 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
g++ -shared /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/../../../../lib64/crti.o /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/crtbeginS.o  .libs/xml.o .libs/wrap_init.o .libs/init.o .libs/variablesmap.o  -L/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4 -L/usr/lib/gcc-lib/x86_64-pc-linux-gnu/../../../lib64 -L/usr/x86_64-pc-linux-gnu/bin -L/usr/lib /usr/lib/libgtkmm-2.0.so /usr/lib/libgdkmm-2.0.so /usr/lib/libatkmm-1.0.so /usr/lib/libpangomm-1.0.so /usr/lib/libglibmm-2.0.so /usr/lib/libsigc-1.2.so /usr/lib/libglade-2.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libxml2.so -lpthread -lz /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -L/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/../../../../lib64 -L/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/crtendS.o /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/../../../../lib64/crtn.o  -Wl,--export-dynamic -o .libs/libglademm-2.0.so.1.0.6
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/../../../../lib64/crti.o(.init+0x0): In function `_init':
/var/tmp/portage/glibc-2.3.4.20040619/work/build/csu/crti.S:11: multiple definition of `_init'
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/../../../../lib64/crti.o(.init+0x0):/var/tmp/portage/glibc-2.3.4.20040619/work/build/csu/crti.S:11: first defined here
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/../../../../lib64/crti.o(.fini+0x0): In function `_fini':
: multiple definition of `_fini'
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/../../../../lib64/crti.o(.fini+0x0): first defined here
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/crtbeginS.o(.data.rel+0x0): multiple definition of `__dso_handle'
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/crtbeginS.o(.data.rel+0x0): first defined here
collect2: ld returned 1 exit status
make[4]: *** [libglademm-2.0.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/libglademm-2.2.0/work/libglademm-2.2.0/libglade/libglademm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/libglademm-2.2.0/work/libglademm-2.2.0/libglade/libglademm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/libglademm-2.2.0/work/libglademm-2.2.0/libglade'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/libglademm-2.2.0/work/libglademm-2.2.0/libglade'
make: *** [all-recursive] Error 1

!!! ERROR: dev-cpp/libglademm-2.2.0 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure



Reproducible: Always
Steps to Reproduce:
1. emerge =dev-cpp/libglademm-2.2.0





Portage 2.0.50-r9 (default-amd64-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r0,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 x86_64 4
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -fomit-frame-pointer -funroll-loops"
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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache userpriv"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
rsync://linux.rz.ruhr-uni-bochum.de/gentoo/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apache2 apm arts artswrappersuid avi berkdb bonobo cdr cgi
crypt cups curl doc dvd encode esd ethereal fastcgi fb flash foomaticdb gd gdbm
gif gnome gphoto2 gpm gtk gtk2 gtkhtml imagemagick imlib ipv6 javascript jpeg
kde ldap libg++ libwww md5sum mikmod mng motif mozilla mozsvg mpeg multilib
mysql ncurses nls nogcj nptl nvidia oggvorbis opengl oss pam pdflib pear-db perl
php png python qt quicktime readline samba scanner sdl slang sox spell ssl tcltk
tcpd truetype usb v4l xine xml xml2 xmms xv zlib"
Comment 1 Tom Martin (RETIRED) gentoo-dev 2004-08-12 15:40:00 UTC
C.F. bug #57646 - identical error.
Comment 2 Trey Blancher 2004-08-12 15:47:16 UTC
Bug #57646 seems completely unrelated.  Was there a typo?
Comment 3 Zac Witte 2004-08-16 02:47:37 UTC
Tim Martin means: http://bugs.gentoo.org/show_bug.cgi?id=57318

I get the same error though.
Comment 4 Danny van Dyk (RETIRED) gentoo-dev 2004-08-19 14:21:05 UTC
Can confirm this. A quick look at the backtrace confused me... and the code of this does that even more...

They play around with pointer/integer conversations. I will try to look into it at
the weekend...
Comment 5 Danny van Dyk (RETIRED) gentoo-dev 2004-08-19 14:21:52 UTC
Dammit, wrong bug! Ignore above comment please ;-)
Comment 6 Alan Strohm 2004-09-07 16:36:21 UTC
I am having this problem too.  None of the bugs mentioned above seem to deal with this problem.  Furthermore, both are resolved and the problem still exists.


Portage 2.0.50-r10 (default-amd64-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.7-gentoo-r14)
=================================================================
System uname: 2.6.7-gentoo-r14 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-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -fPIC"
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/share/config:/usr/kde/3.3/env:/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 -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://gentoo.ccccom.com http://mirror.tucdemonic.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa amd amd64 apache2 arts artswrappersuid avi berkdb bonobo cdr cgi chroot crypt cscope cups dillo doc dvd dvdr emacs encode esd ethereal evo faad flac foomaticdb freetype fs gb gdbm ggi gif gimpprint gnome gpm gstreamer gtk gtk2 idea imagemagick imlib java javascript jpeg kde libg++ libwww lirc mad maildir mbox mikmod mldonkeypango motif mozcalendar mozilla mpeg mpeg4 mysql ncurses nls nogcj offensive oggvorbis openssh oss pam parse-clocks pda pdflib perl php plotutils png ppds python qt quicktime readline samba sdl slang spell ssl tcltk tcpd tetex truetype xine xml2 xmms xv zlib"
Comment 7 LordKow 2004-09-18 15:45:02 UTC
I also get the error, here is my emerge --info
Portage 2.0.51_rc1 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8.1 x86_64)
=================================================================
System uname: 2.6.8.1 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.7-r4
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi aim alsa amd64 apache2 apm arts avi berkdb bitmap-fonts cdr cjk crypt cups dedicated dio directfb dvd dvdr encode esd fastcgi fbcon flac flash foomaticdb ftp gdbm gif gnome gpm gstreamer gtk gtk2 icq imlib ipv6 jabber jpeg kde libg++ libwww mad mikmod milkmod mime ming motif mozilla mpeg msn multilib ncurses nls nocd nptl offensive oggvorbis opengl oscar oss pam pcre pdflib perl php png posix ppds python qt quicktime readline recode samba sdl slang sockets socks5 spell spl ssl tcltk tcpd tiff tokenizer truetype usb xface xine xml2 xmms xprint xv zlib"


I'm actually using kernel 2.6.9-rc1 the patch just doesnt update the version.
Comment 8 Andreas Pokorny 2004-10-04 11:54:56 UTC
Adding libtoolize --force at the end of the src_unpack function, fixes the problem
Comment 9 Andreas Pokorny 2004-10-04 11:58:37 UTC
ohh it does not .. sorry.. 
i added my change to the ebuild. And did run emerge libglademm, but instead of version 2.2.0, portage picked 2.4.0 which wasnt affected at all. 
Comment 10 Karol Wojtaszek (RETIRED) gentoo-dev 2004-10-25 12:02:44 UTC
*** Bug 68481 has been marked as a duplicate of this bug. ***
Comment 11 Adam Polkosnik 2004-11-01 17:18:33 UTC
Created attachment 43112 [details, diff]
configure.patch

configure.patch
Comment 12 Adam Polkosnik 2004-11-01 18:03:37 UTC
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies ...                                                                             [ ok
>>> dev-cpp/libglademm-2.2.0 merged.
Comment 13 Karol Wojtaszek (RETIRED) gentoo-dev 2004-11-07 09:12:08 UTC
Fixed in portage