Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 283540

Summary: x11-drivers/xf86-input-synaptics-1.1.3 fails to emerge after upgrading x11-libs/libxcb to 1.4
Product: Gentoo Linux Reporter: Arseny Solokha <asolokha>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED INVALID    
Severity: normal CC: chainsaw, egore, eva, gef.kornflakes
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arseny Solokha 2009-09-02 17:27:48 UTC
Unable to complete emerge @preserved-rebuild after upgrading libxcb to 1.4 because of xf86-input-synaptics 1.1.3 linking errors.

Reproducible: Always

Steps to Reproduce:
# USE="hal" emerge xf86-input-synaptics
Actual Results:  
[trimmed]
libtool: link: x86_64-pc-linux-gnu-gcc -pipe -O2 -march=core2 -mfpmath=sse -fomit-frame-pointer -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,-z -Wl,lazy -o synclient synclient.o  -lm /usr/lib64/libXi.so -L/usr/lib64 /usr/lib64/libXext.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -ldl -Wl,--as-needed
/usr/lib64/libxcb-xlib.so: undefined reference to `_xcb_lock_io'
/usr/lib64/libxcb-xlib.so: undefined reference to `_xcb_unlock_io'
collect2: ld returned 1 exit status
[/trimmed]

Expected Results:  
Successful emerge.

% emerge --info
Portage 2.2_rc40 (default/linux/amd64/10.0/no-multilib, gcc-4.3.4, glibc-2.10.1-r0, 2.6.28-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 02 Sep 2009 11:30:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
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.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=core2 -mfpmath=sse -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-pipe -O2 -march=core2 -mfpmath=sse -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.corbina.ru/pub/Linux/gentoo ftp://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed"
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/pro-audio /usr/local/portage/layman/soor-overlay /usr/local/portage/layman/sunrise /usr/local/portage/layman/rostov"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib dri fortran gdbm iconv ipv6 mmx mmxext mudflap nptl nptlonly openmp pam pcre pppd readline reflection session spl sse sse2 ssl sysfs tcpd threads unicode xorg 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" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gef 2009-09-02 20:17:33 UTC
On an ~x86 system, I don't have no libxcb-xlib.so shared lib. Something left from old libxcb ?
Comment 2 RĂ©mi Cardona (RETIRED) gentoo-dev 2009-09-04 14:37:37 UTC
The libxcb upgrade breaks quite a few packages if you're not using --as-needed in your LDFLAGS.

Please read these instructions to fix your system :

http://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg35509.html

Thanks