Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134458 - dev-libs/glib-2.10.3 emerge failed
Summary: dev-libs/glib-2.10.3 emerge failed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 135032 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-26 15:30 UTC by Matteo Spreafico
Modified: 2006-05-31 05:31 UTC (History)
4 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 Matteo Spreafico 2006-05-26 15:30:33 UTC
I have the same error with hardened and vanilla gcc.

creating libmoduletestplugin_b.la
(cd .libs && rm -f libmoduletestplugin_a.la && ln -s ../libmoduletestplugin_a.la libmoduletestplugin_a.la)
/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O3 -ftracer -pipe -msse3 -Wall   -o testglib  testglib.o ../glib/libglib-2.0.la
(cd .libs && rm -f libmoduletestplugin_b.la && ln -s ../libmoduletestplugin_b.la libmoduletestplugin_b.la)
/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O3 -ftracer -pipe -msse3 -Wall   -o testgdate  testgdate.o ../glib/libglib-2.0.la
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3 -Wall -o .libs/testglib testglib.o  ../glib/.libs/libglib-2.0.so
x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -ftracer -pipe -msse3 -Wall -o .libs/testgdate testgdate.o  ../glib/.libs/libglib-2.0.so
testglib.o: In function `main':
testglib.c:(.text+0x743): undefined reference to `glib_binary_age'
testglib.c:(.text+0x759): undefined reference to `glib_interface_age'
testglib.c:(.text+0x778): undefined reference to `glib_minor_version'
testglib.c:(.text+0x77f): undefined reference to `glib_micro_version'
testglib.c:(.text+0x78e): undefined reference to `glib_major_version'
collect2: ld returned 1 exit status
make[3]: *** [testglib] Error 1
make[3]: *** Waiting for unfinished jobs....
creating testgdate
make[3]: Leaving directory `/var/tmp/portage/glib-2.10.3/work/glib-2.10.3/tests'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/glib-2.10.3/work/glib-2.10.3/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/glib-2.10.3/work/glib-2.10.3'
make: *** [all] Error 2

!!! ERROR: dev-libs/glib-2.10.3 failed.
Call stack:
  ebuild.sh, line 1531:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  glib-2.10.3.ebuild, line 59:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


Portage 2.1_rc2-r3 (hardened/amd64, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-hardened-r6-Teo x86_64)
=================================================================
System uname: 2.6.16-hardened-r6-Teo x86_64 AMD Sempron(tm) Processor 3000+
Gentoo Base System version 1.12.0
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -ftracer -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -ftracer -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache confcache distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://gentoo.ngi.it/ http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/usr/portage/local"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl acpi amd64 apache2 bash-completion berkdb bzip2 caps crypt ctype curl dlloader gdbm gmp gnutls gpm hardened hardenedphp idn ipv6 jpeg jpeg2k justify lm_sensors mailwrapper mhash mysql ncurses nls nptl pam pcntl pcre pdf perl php pic png posix postgres readline samba session slang snmp sockets ssl sysvipc szip tcpd threads tidy tiff truetype unicode userlocales xml xsl zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS
Comment 1 Gabriel Devenyi 2006-05-26 18:21:05 UTC
Confimred here on AMD64

/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc  -O2 -march=k8 -pipe -ffast-math -fomit-frame-pointer -ftracer -Wall  -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort -o testglib  testglib.o ../glib/libglib-2.0.la
x86_64-pc-linux-gnu-gcc -O2 -march=k8 -pipe -ffast-math -fomit-frame-pointer -ftracer -Wall -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort -o .libs/testglib testglib.o  ../glib/.libs/libglib-2.0.so
testglib.o: In function `main':testglib.c:(.text+0x4d0): undefined reference to `glib_binary_age'
:testglib.c:(.text+0x4dc): undefined reference to `glib_interface_age'
:testglib.c:(.text+0x4e2): undefined reference to `glib_micro_version'
:testglib.c:(.text+0x4e8): undefined reference to `glib_minor_version'
:testglib.c:(.text+0x4ee): undefined reference to `glib_major_version'
collect2: ld returned 1 exit status
make[3]: *** [testglib] Error 1
make[3]: Leaving directory `/var/tmp/portage/glib-2.10.3/work/glib-2.10.3/tests'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/glib-2.10.3/work/glib-2.10.3/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/glib-2.10.3/work/glib-2.10.3'
make: *** [all] Error 2

emerge --info
Portage 2.1_rc2-r3 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-ck11 x86_64)
=================================================================
System uname: 2.6.16-ck11 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.91.0.6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -ffast-math -fomit-frame-pointer -ftracer"
CHOST="x86_64-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/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe -ffast-math -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache digest distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://gentoo.mirrored.ca/ "
LANG="en_CA.UTF-8"
LC_ALL="en_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort"
LINGUAS="en en_GB en_CA"
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/local/portage /usr/portage/local/layman/nxsty-glibc /usr/portage/local/layman/nxsty-binutils"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 16bit 7zip S3TC X a52 akode alsa amarok ao asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo ccache cdio cdparanoia cdr chroot crypt css cups curl curlwrappers dbus dlloader dpms dvd dvdr dvdread emul-linux-x86 encode escreen exif fam fat ffmpeg fftw firefox flac flash foomaticdb gd gdbm gif glibc-omitfp glitz gmp gnuplot gpgme gphoto2 gtk gtk2 hal idea ifp imagemagick imap imlib imlib2 isdnlog jabber javascript jingle joystick jp2 jpeg jpeg2k kde kdeenablefinal kdepim kig-scripting lame latex libsamplerate libwww live lm_sensors lzo lzw mad matroska mime ming mmap mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg2 mpeg4 mplayer msn ncurses net network nls no-old-linux no_wxgtk1 nocd nodrm nomac nomalloccheck nowin nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl oss pam pcre pda pdf perl pic plotutils png ppds pppd python qt quicktime rar readline reflection rtc samba sasl sblive sdl sftplogging sharedmem slang smime sndfile sox speex spell ssl svg sysfs szip tetex theora threads tidy tiff transcode truetype truetype-fonts type1 type1-fonts unicode usb userlocales uudeview vorbis x264 xanim xcomposite xine xinerama xml2 xorg xv xvid yv12 zip zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick input_devices_evdev kernel_linux linguas_en linguas_en_GB linguas_en_CA userland_GNU video_cards_nv video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Matteo Spreafico 2006-05-27 02:25:53 UTC
After re-emerge glibc and gcc and do a `fix_libtool_files.sh 3.4` now it works for me.
Comment 3 Michiel de Bruijne 2006-05-27 02:34:42 UTC
Hi guys,

Is there a reason why glib 2.10.2 is removed from the tree when bumping to 2.10.3?  We now don't have a 2.10.x version in the tree that can be emerged. The result is that ~-arch users have broken dependencies if they mask the non-working version 2.10.3, for example x11-libs/pango-1.12.2

Unless there is a good reason for removing 2.10.2 offcourse (couldn't find in the changelog) I suggest putting 2.10.2 back in the tree until this bug is resolved.

Thanks!
Comment 4 Michiel de Bruijne 2006-05-27 04:10:22 UTC
Same over here; after re-emerging glibc glib emerged without problems. Maybe the GWN needs to be adjusted, emerging gcc and selecting a new profile with gcc-config doesn't seem sufficient.
Comment 5 John N. Laliberte (RETIRED) gentoo-dev 2006-05-27 05:33:47 UTC
local issues, marking invalid.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-05-31 05:31:19 UTC
*** Bug 135032 has been marked as a duplicate of this bug. ***