Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369993 - x11-libs/gtk+-2.24.4 fails to emerge due to a ld.so detecting an inconsistency in dl-close
Summary: x11-libs/gtk+-2.24.4 fails to emerge due to a ld.so detecting an inconsistenc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
: 375643 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-04 07:46 UTC by Fabio Coatti
Modified: 2012-07-14 19:00 UTC (History)
7 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 Fabio Coatti 2011-06-04 07:46:42 UTC
Trying to install gtk+ 2.24.4, I get this:
libtool: link: ( cd ".libs" && rm -f "im-viqr.la" && ln -s "../im-viqr.la" "im-viqr.la" )
libtool: link: ( cd ".libs" && rm -f "im-xim.la" && ln -s "../im-xim.la" "im-xim.la" )
../../gtk/gtk-query-immodules-2.0 im-am-et.la im-cedilla.la im-cyrillic-translit.la  im-inuktitut.la im-ipa.la im-multipress.la im-thai.la im-ti-er.la im-ti-et.la im-viqr.la im-xim.la  > gtk.immodules
Inconsistency detected by ld.so: dl-close.c: 736: _dl_close: Assertion `map->l_init_called' failed!
make[3]: *** [gtk.immodules] Errore 127
make[3]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.24.4/work/gtk+-2.24.4/modules/input'
make[2]: *** [all-recursive] Errore 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.24.4/work/gtk+-2.24.4/modules'
make[1]: *** [all-recursive] Errore 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.24.4/work/gtk+-2.24.4'
make: *** [all] Errore 2


Maybe this is not strictly related to gtk, but I'm not sure so I'm opening bug here.



Reproducible: Always




kefk ~ # emerge --info
Portage 2.2.0_alpha37 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.13-r2, 2.6.38.6 x86_64)
=================================================================
System uname: Linux-2.6.38.6-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-gentoo-2.0.2
Timestamp of tree: Sat, 04 Jun 2011 06:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.1-r1, 3.1.3-r1, 3.2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.4.5, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo overlay
Installed sets: @kde
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -msse4a -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -msse4a -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.wheel.sk/ http://gentoo.mneisen.org/ http://gentoo.supp.name/"                                     
LANG="it_IT.utf8"                                                                                                                
LC_ALL="it_IT.utf8"                                                                                                              
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                
LINGUAS="it en"                                                                                                                  
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X a52 aac aalib acl acpi aim alsa amd64 amr amrnb amrwb apache2 apng ares asf ass audiofile avahi bash-completion berkdb bidi bl bluetooth bluray branding bri bzip2 cairo caps cdda cdparanoia cdr cjk cli consolekit cracklib crypt cups curl cxx dba dbus declarative device-mapper dga dirac directfb divx divx4linux dri dts dv dvb dvd dvdnav dvdr dvdread edl embedded emboss enca encode ethereal exif expat faac faad fam fame fbcon ffmpeg fftw firefox flac fontconfig force-cgi-redirect fortran ftp garmin gd gdbm gdu gif gimp gmedia gmp gnutls gpm gps gsm gtk iconv icq icu id3tag idn ifp ilbc imagemagick imap innodb ipod ipv6 ithreads jabber java javascript jpeg kde kontact kvm ladspa lcms ldap libcaca libnotify libv4l2 live lm_sensors lua lvm lxc lzo mad maildir matroska mbox md5sum mdnsresponder-compat mhash mime mjpeg mmap mmx mmxext mng modules mozdevelop mozilla mp3 mp4 mpeg msn mtp mudflap multilib musepack mysql ncurses nemesi nepomuk network nfsv4 njb nls nptl nptlonly nsplugin numa nut nvidia offensive ofx ogg oggvorbis ogm openal openexr opengl openmp oscar pam pango parted pcap pcre pdf perl php plasma plotutils png pnm policykit ppds pppd pvr python qemu qt3support qt4 radio rar readline rtc rtmp rtsp ruby samba sasl schroedinger sdl semantic-desktop session sha512 sl slang slp sms sndfile snmp sox speex spell srt sse sse2 sse4a ssh ssl startup-notification stream svg symlink sysfs taglib tcltk tcpd theora threads tiff tk tremor truetype udev unicode usb utempter v4l v4l2 vcd vdpau vhosts videos vim-syntax virtualbox vorbis wmf wmp wxwindows x264 xanim xcb xface xft xine xml xorg xosd xpm xscreensaver xsl xulrunner xv xvid xvmc yahoo zlib zoran zpm" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="epjitsu epson epson2" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Kenton Groombridge 2011-06-05 01:22:15 UTC
I get this same error on x11-libs/gtk+-3.0.10 and x11-libs/gtk+-2.24.4.  I have been trying to figure it out the last few days with no joy.  Best I could find is a reference to media-libs/openal being built with pulseaudio, but mine isn't so that didn't pan out.

emerge --info
Portage 2.1.9.50 (default/linux/amd64/10.0, gcc-4.6.0, glibc-2.13-r2, 2.6.39-gentoo x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.0.2
Timestamp of tree: Sun, 05 Jun 2011 01:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2, 4.6.0::<unknown repository>
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Nero-EULA-US dlj-1.1 AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://mirrors.163.com/gentoo/ ftp://ftp.swin.edu.au/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=120"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext S3TC X a52 aac acpi aften alsa amd64 apng ares audiofile bash-completion binary-drivers bzip2 cairo cdda cddb cdparanoia cdr cdrom consolekit cracklib crypt css cuda cups curl cxx dbus djbfft dri dv dvb dvd dvdnav dvdr embedded emoticon encode expat extras fame ffmpeg fftw firefox firefox3 flac foomaticdb fortran fuse gdbm gecko gif gimp glibc-omitfp glut gnutls graphite gtk gzip iconv imagemagick imlib iproute2 java java6 javascript jit joystick jpeg jpeg2k kde kdm kipi lame laptop libnotify libv4l2 libvisual live lm_sensors lua lzo mad maps mikmod mjpeg mmx mmxext mng modules mp3 mp4 mpeg mplayer multilib musicbrainz mysql ncurses network nls normalize nptl nptlonly nsplugin nspr offensive ogg openal opengl openmp pam pango pcre perl physfs png policykit ppds projectm python qt3support qt4 quicktime rar readline rss rtc samba sasl sdl semantic-desktop sip smartcard smbclient sound sse sse2 sse3 ssl ssse3 subtitles svg sysfs syslog tcpd templates theora threadsafe tiff transcode truetype udev unicode unzip urandom usb userlocales utempter v4l2 vaapi vcd vdpau videos vorbis wav wifi with-tools wma wma-fixed wmf xcomposite xine xml xorg xpm xscreensaver xulrunner xvid xvmc zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 2 Fabio Coatti 2011-06-05 09:54:58 UTC
Ok, more information on this: basically it seems that is related to an nvidia bug.

It seems that in comment #1 there is nvidia driver loaded, can you state the version?

On my system I have 275.09.

Please try this:

kefk ~ # eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11
kefk ~ # python -c 'import PyQt4.Qt'
Inconsistency detected by ld.so: dl-close.c: 736: _dl_close: Assertion `map->l_init_called' failed!
kefk ~ # eselect opengl set 2
Switching to xorg-x11 OpenGL interface... done
kefk ~ # python -c 'import PyQt4.Qt'
kefk ~ #  eselect opengl set 1
Switching to nvidia OpenGL interface... done
kefk ~ # python -c 'import PyQt4.Qt'
Inconsistency detected by ld.so: dl-close.c: 736: _dl_close: Assertion `map->l_init_called' failed!

will check upstream.

(I've spotted this in some ubuntu forum, sorry lost the link :( )
Comment 3 Kenton Groombridge 2011-06-05 16:54:27 UTC
Confirmed to be associated with the nvidia driver.  Switched to xorg-x11 driver, built x11-libs/gtk+-2.24.4 and x11-libs/gtk+-3.0.10 with no issues.
Comment 4 Fabio Coatti 2011-06-05 17:11:17 UTC
Managed to find again where I spotted the info:


https://bugs.archlinux.org/task/24490

Upstream forum/bugreport:

http://www.nvnews.net/vbulletin/showthread.php?p=2441607
Comment 5 Don O 2011-06-05 22:25:10 UTC
Also confirmed to be nvidia was running 275.09 downgraded to 270.41.19 
and gtk+-.2.24.4 and calibre both compiled fine.
Comment 6 Pacho Ramos gentoo-dev 2011-06-08 15:57:51 UTC
Nvidia problem:
http://www.nvnews.net/vbulletin/showthread.php?p=2441607
Comment 7 Pacho Ramos gentoo-dev 2011-07-25 09:02:39 UTC
*** Bug 375643 has been marked as a duplicate of this bug. ***
Comment 8 Pacho Ramos gentoo-dev 2012-01-29 10:31:03 UTC
Is this problem still valid?
Comment 9 Doug Goldstein (RETIRED) gentoo-dev 2012-07-14 19:00:28 UTC
(In reply to comment #8)
> Is this problem still valid?

No. Use a newer version of nvidia-drivers.