Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150567 - [GCC 4] gtk+-2.10.5 fails to build
Summary: [GCC 4] gtk+-2.10.5 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-09 06:34 UTC by Rares Sfirlogea
Modified: 2007-02-08 17:38 UTC (History)
0 users

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 Rares Sfirlogea 2006-10-09 06:34:14 UTC
I needed to update gcc4 and now all my gtk applications stopped working.
After updating gcc4 I made a emerge -eav world but I got stumbled at emerging gtk+-2.10.5:
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.10.5/work/gtk+-2.10.5/gtk'
GDK_PIXBUF_MODULE_FILE=../gdk-pixbuf/gdk-pixbuf.loaders \
           ./gtk-update-icon-cache --force --ignore-theme-index                 \
           --source builtin_icons stock-icons > gtkbuiltincache.h
/var/tmp/portage/gtk+-2.10.5/work/gtk+-2.10.5/gtk/.libs/lt-gtk-update-icon-cache: symbol lookup error: /var/tmp/portage/gtk+-2.10.5/work/gtk+-2.10.5/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so.0: undefined symbol: g_type_register_static_simple
make[2]: *** [gtkbuiltincache.h] Error 127
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.10.5/work/gtk+-2.10.5/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.10.5/work/gtk+-2.10.5'
make: *** [all] Error 2

!!! ERROR: x11-libs/gtk+-2.10.5 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gtk+-2.10.5.ebuild, line 115:   Called die

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

all my gtk applications stopped working giving me this error of this undefined symbol coming from different libraries (libpango libgtreamer etc.)

this is my emerge --info:

 # emerge --info
Portage 2.1.2_pre2-r3 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.16-gentoo-r2 i686)
=================================================================
System uname: 2.6.16-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.5
Last Sync: Thu, 05 Oct 2006 01:53:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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/portage-xgl"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac alsa arts artworkextra berkdb bitmap-fonts cairo cdr cli crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal imap input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux ldap libg++ libnotify libwww mad maildir mikmod mono mp3 mpeg mysql ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png postfix ppds pppd python qt3 qt4 quicktime readline reflection sasl sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_i810 video_cards_i830 video_cards_i915 video_cards_vesa video_cards_vga video_cards_vmware vorbis win32codecs xine xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2006-10-31 08:15:10 UTC
what version of glib do you have?

can you attach the full build log.

thanks.
Comment 2 Rares Sfirlogea 2006-11-13 11:50:17 UTC
 # emerge -pv glib

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-libs/glib-2.12.4-r1  USE="-debug -doc -hardened" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 3 Mart Raudsepp gentoo-dev 2007-01-09 06:22:54 UTC
Do you still have this problem?
Can you please provide the full build log in that case?
Comment 4 Steev Klimaszewski (RETIRED) gentoo-dev 2007-02-08 17:38:57 UTC
Resolving as fixed as 2.10.5 isn't in the tree any longer, and 2.10.6 builds fine with gcc 4 here.