Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286213 - linking of gimp-2.6.4 fails with undefined reference to `_xcb_unlock_io'
Summary: linking of gimp-2.6.4 fails with undefined reference to `_xcb_unlock_io'
Status: RESOLVED DUPLICATE of bug 285004
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-24 13:04 UTC by Bas van Dijk
Modified: 2009-09-27 14:25 UTC (History)
4 users (show)

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


Attachments
Build log (media-gfx:gimp-2.6.4:20090924-115332.log,1.58 MB, text/plain)
2009-09-24 13:05 UTC, Bas van Dijk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bas van Dijk 2009-09-24 13:04:38 UTC
When emerging gimp-2.6.4 I get the following linker error:

...
/usr/lib/libxcb-xlib.so.0: undefined reference to `_xcb_unlock_io'
/usr/lib/libxcb-xlib.so.0: undefined reference to `_xcb_lock_io'
collect2: ld returned 1 exit status
...

(Attached is the full build log)

$ emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-i686-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-2.0.1
Timestamp of tree: Thu, 24 Sep 2009 10:15:02 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.5.4-r2, 2.6.2-r2, 3.1.1-r1
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
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/share/config"
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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB nl"
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/local/portage/layman/haskell /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac accessibility acpi alsa apache2 async bash-completion berkdb bzip2 cairo captury cddb cdparanoia cdr cdrom cli cracklib crypt cups dbus divx djvu dnd doc dso dts dv dvb dvd dvdr dvi dvi2tty eds emacs emboss enca encode escreen evo exif extra fam fame fbcon fbcondecor ffmpeg fftw firefox flac fortran gdbm gif gpm graphics graphviz gs gtk gtk2 hal haskell hdri history html htmlhandbook iconv ide imap irc isdnlog java javascript jbig joystick jpeg jpeg2k kde kipi kpathsea lame latex lcms libnotify lzo mad mikmod mmap mmx mmxext mng modules mozbranding mozdevelop moznopango mozsvg mp2 mp3 mp4 mpeg mpeg2 mplayer msn mudflap musepack music musicbrainz ncurses nls nptl nptlonly nsplugin ntfs ogg openal openexr opengl openmp pam pcre pdf perl png ppds pppd pstricks python qt-static qt3 qt3support qt4 quicktime rar readline realmedia reflection reiserfs rtc samba science sdl session sound speex spell spl srt sse sse2 ssl startup-notification statistics subtitles subversion svg svga sysfs tcpd tetex tex4ht tga theora threads thunar tiff toolkit-scroll-bars transcode truetype unicode unzip usb v4l v4l2 vidix visualization vnc vorbis win32codecs wma wmf wmp x264 x86 xanim xcb xcomposite xft xine xml xorg xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="intel8x0" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB nl" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always
Comment 1 Bas van Dijk 2009-09-24 13:05:29 UTC
Created attachment 205109 [details]
Build log
Comment 2 Patrick Beckmann 2009-09-25 11:47:27 UTC
Which version of x11-libs/libxcb do you have installed? Perhaps re-emerging it helps...
Comment 4 Natalia Portillo 2009-09-25 17:17:37 UTC
This does not help for me.

EVERY X11 package I try to emerge give me the same error.

/usr/lib/libxcb-xlib.so.0: undefined reference to `_xcb_lock_io'
/usr/lib/libxcb-xlib.so.0: undefined reference to `_xcb_unlock_io'

Info follows:
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.2.3, glibc-2.10.1-r0, 2.6.24-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.24-gentoo-r2-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2140_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 25 Sep 2009 10:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1, 3.1.1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -mfpmath=sse -msse -msse2 -mmmx -msse3 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -mfpmath=sse -msse -msse2 -mmmx -msse3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch protect-owned sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo http://gentoo.tiscali.nl/ http://mirror.muntinternet.net/pub/gentoo/ http://mirror.gentoo.no/ "
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es"
MAKEOPTS="-j3"
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/local/portage/layman/vmware /usr/local/portage/layman/voyageur"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip S3TC X a52 aac aalib accessibility ace acl acpi administrator afs aiglx aim alsa amazon amd64 amr amrnb amrwb animgif apache2 arj arts artworkextra asf async authfile automount avahi bash-completion bdf beagle berkdb binary-drivers binfilter bluetooth branding bzip2 cairo ccache cdda cddb cdinstall cdio cdparanoia cdr chm cjk clamav clamd cli colordiff compress consolekit cpio cpudetection cracklib crypt css ctype cups curl d daap dbus device-mapper dga dirac divx djvu dmi dns dri dts dv dvb dvd dvdnav dvdr dvdread emerald emovix encode escreen esd evo evolution examples exif faac faad fat ffmpeg flac foomaticdb fortran ftp fuse gcj gd gdbm gedit geoip ggi gif gimp gimpprint gkrellm glib glitz glut gnome gnome-keyring gnome-print gnustep gnutella gnutls gpg2-experimental gphoto2 gpm grammar gs gsm gtk gtk2 gzip h323 hal hddtemp hfs howl howl-compat httpd iconv icq id3 id3tag ieee1394 imagemagick imap imlib ipv6 isdnlog jabber java javascript jfs jpeg jpeg2k kde kde4 kerberos ldap lha libcaca libclamav libgcrypt libnotify libwww lm_sensors log4j lzo lzw mad magic matroska mbox md5sum mdb mdnsresponder-compat mime mjpeg mmap mmx mmxext mng modplug modules mono mouse mp2 mp3 mp4 mpeg mpeg2 mpi mplayer msn mudflap multilib munin-apache musepack musicbrainz mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nautilus ncurses net nfs nls nntp nptl nptlonly nsplugin ntfs ntlm nvidia objc objc++ objc-gc ocaml offensive office ogg ole openal opengl openmp opera osc oscar oss pam pcntl pcre pda pdf perl php pipechan png pnm posix ppds pppd pvr python qt3 qt3support qt4 quicktime quotas rar rdesktop readline reflection reiser4 reiserfs rle rtc rtsp samba sasl scanner schroedinger scsi sdl sdl-image sdl-sound sdlaudio sensord session shout simplexml sip skins slang slp smp snmp sockets sound speex spell spl sql sqlite sqlite3 srt sse sse2 sse3 ssl ssse3 subtitles suexec svg svgz sysfs syslog szip tcl tcltk tcpd teletext tga themes theora thesaurus threads tiff tk tokenizer truetype twolame unicode unzip upnp ups usb uuencode v4l v4l2 vboxwebsrv vcd vcdinfo vcdx videos vnc vorbis vorbis-psy wav wavpack webdav webkit wifi wma wmf wordperfect wxwindows x264 xanim xattr xcb xcomposite xfs xinerama xml xorg xosd xpm xprint xscreensaver xulrunner xv xvid xvmc yahoo zeroconf zip zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Natalia Portillo 2009-09-25 17:25:26 UTC
Following the instructions about updating gives me the same error.

Removing /usr/lib/libxcb-xlib.so.0 just after the error allowed me to emerge the packages.
Comment 6 Natalia Portillo 2009-09-25 17:29:00 UTC
Needed to remove also /usr/lib/libxcb-xlib.so.0.0.0
/usr/lib/libxcb-xlib.so.0 reappeared alone in the end of the emerge
Comment 7 Sebastian Luther (few) 2009-09-27 14:25:44 UTC

*** This bug has been marked as a duplicate of bug 285004 ***