Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114573 - glibmm 2.6.1 compilation fails (gcc 3.4.4)
Summary: glibmm 2.6.1 compilation fails (gcc 3.4.4)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-05 14:44 UTC by Bram Schoenmakers
Modified: 2005-12-09 03:10 UTC (History)
1 user (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 Bram Schoenmakers 2005-12-05 14:44:33 UTC
glibmm is on the list for rebuild since I upgraded to GCC 3.4.4. However, this 
package fails to compile. 

Reproducible: Always
Steps to Reproduce:
1. emerge =glibmm-2.6.1 
2. 
3. 
 
Actual Results:  
i686-pc-linux-gnu-g++ -O2 -mcpu=i686 -pipe -Wall -Wno-long-long -o .libs/test 
main.o 
glibmm_value.o  ../../glib/glibmm/.libs/libglibmm-2.4.so /usr/lib/libsigc-2.0.so /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so 
-L/usr/i686-pc-linux-gnu/bin 
-L/usr/i686-pc-linux-gnu/lib /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so 
-ldl /usr/lib/libglib-2.0.so /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so 
../../glib/glibmm/.libs/libglibmm-2.4.so: undefined reference to 
`sigc::internal::signal_impl::insert(std::_List_iterator<sigc::slot_base>, 
sigc::slot_base const&)' 
../../glib/glibmm/.libs/libglibmm-2.4.so: undefined reference to 
`sigc::internal::signal_impl::erase(std::_List_iterator<sigc::slot_base>)' 
collect2: ld returned 1 exit status 
make[3]: *** [test] Error 1 
make[3]: Leaving directory 
`/var/tmp/portage/glibmm-2.6.1/work/glibmm-2.6.1/tests/glibmm_value' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/glibmm-2.6.1/work/glibmm-2.6.1/tests' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/glibmm-2.6.1/work/glibmm-2.6.1' 
make: *** [all] Error 2 
 
!!! ERROR: dev-cpp/glibmm-2.6.1 failed. 
!!! Function gnome2_src_compile, Line 48, Exitcode 2 
!!! compile failure 
!!! If you need support, post the topmost build error, NOT this status 
message. 

Expected Results:  
 

bram@s040391 ~ $ emerge --info 
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 
2.6.12-gentoo-r6 i686) 
================================================================= 
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.70GHz 
Gentoo Base System version 1.6.13 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.5-r2, 2.4.2 
sys-apps/sandbox:    1.2.12 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O2 -mcpu=i686 -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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 -mcpu=i686 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
http://ftp.snt.utwente.nl/pub/os/linux/gentoo 
ftp://mirror.nutsmaas.nl/gentoo/" 
LINGUAS="nl" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/home/bram/.portage" 
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" 
USE="x86 X aalib alsa apm arts audiofile avi bash-completion berkdb 
bitmap-fonts bluetooth bzip2 calendar cdr crypt cscope ctype cups curl 
divx4linux doc dvd eds emboss encode exif expat fam ffmpeg foomaticdb ftp gd 
gdbm gif ginac glut gmp gphoto2 gpm gstreamer gtk2 hal icq idn imagemagick 
imlib ipv6 jabber java jpeg kde lcms libg++ libwww mad mikmod mime ming mng 
mp3 mpeg msn ncurses nls ogg oggvorbis opengl oscar oss pam pcmcia pcre pdflib 
perl plotutils png postgres python qt quicktime readline ruby sdl spell sqlite 
ssl tcltk tcpd tetex threads tidy tiff truetype truetype-fonts type1-fonts 
udev unicode usb vorbis wifi win32codecs wmf xine xml2 xmlrpc xmms xv xvid 
zlib linguas_nl userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Comment 1 Daniel J. 2005-12-06 13:55:59 UTC
If you emerge dev-libs/libsigc++ before glibmm, it will compile correctly.  This
is not the order given by the default revdep-rebuild, though.  Therefore you
should do this:

revdep-rebuild -X --library libstdc++.so.5 -- --pretend

Then copy the resulting emerge command into your favourite text editor, put
libsigc++ before glibmm, and paste it back into the command line (minus the
pretend, of course).
Comment 2 Daniel J. 2005-12-06 14:55:49 UTC
When upgrading GCC from 3.3.x to 3.4.x, if your system uses KDE, revdep-rebuild
will result in additional build failures for a similar reason to the one I noted
in Comment #1 above.  According to the official KDE documentation, arts and
kdelibs should be emerged before any of the other kde packages, and kdeaddons
should be last in the sequence of KDE packages (revdep-rebuild defaults to an
alphabetical sequence).  Presumably QT should precede any of the KDE components.

There may be more incidents of this sort, but I'm still in the middle of
compiling...
Comment 3 Bram Schoenmakers 2005-12-09 03:10:49 UTC
Thanks.