Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484054 - x11-libs/libxcb-1.9.1 ABI_X86="32 64" - src_test(): ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../libcheck.so when searching for -lcheck
Summary: x11-libs/libxcb-1.9.1 ABI_X86="32 64" - src_test(): ld: skipping incompatible...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-06 23:52 UTC by eroen
Modified: 2015-02-23 01:36 UTC (History)
1 user (show)

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


Attachments
complete build log (20130906-220807.log,661.34 KB, text/plain)
2013-09-06 23:52 UTC, eroen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2013-09-06 23:52:45 UTC
Created attachment 358118 [details]
complete build log

Tests fail when building x11-libs/libxcb-1.9.1 with multilib enabled , apparently due to missing 32bit libcheck.so (from dev-libs/check ).

Log excerpt:
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -m32 -Wall -Werror -pthread  -I/tmp/portage/x11-libs/libxcb-1.9.1/work/libxcb-1.9.1/src -march=corei7-avx -O2 -pipe  -Wl,-O1 -Wl,--as-needed -o check_all check_all.o check_public.o -lcheck  ../src/libxcb.la 
libtool: link: x86_64-pc-linux-gnu-gcc -m32 -Wall -Werror -pthread -I/tmp/portage/x11-libs/libxcb-1.9.1/work/libxcb-1.9.1/src -march=corei7-avx -O2 -pipe -Wl,-O1 -o .libs/check_all check_all.o check_public.o  -Wl,--as-needed -lcheck ../src/.libs/libxcb.so -lXau -lXdmcp -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../libcheck.so when searching for -lcheck
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libcheck.so when searching for -lcheck
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcheck
collect2: error: ld returned 1 exit status
make[3]: *** [check_all] Error 1
make[3]: Leaving directory `/tmp/portage/x11-libs/libxcb-1.9.1/work/libxcb-1.9.1-x86/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/tmp/portage/x11-libs/libxcb-1.9.1/work/libxcb-1.9.1-x86/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/x11-libs/libxcb-1.9.1/work/libxcb-1.9.1-x86/tests'
make: *** [check-recursive] Error 1
 [31;01m*[0m ERROR: x11-libs/libxcb-1.9.1::gentoo failed (test phase):
 [31;01m*[0m   emake failed

emerge --info '=x11-libs/libxcb-1.9.1::gentoo'
Portage 2.2.1 (default/linux/amd64/13.0/desktop, gcc-4.8.1, glibc-2.17, 3.10.4-e4-occam1+ x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.4-e4-occam1+-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     8011024 total,   1459092 free
KiB Swap:   16777212 total,  15530028 free
Timestamp of tree: Fri, 06 Sep 2013 08:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0-r1000::progress
dev-lang/python:          2.7.6_pre20130901::progress, 3.2.5-r2, 3.3.2-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.6.4, 4.7.3, 4.8.1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo gentoo-haskell progress java-overlay glc hasufell roslin eroen
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O3 -pipe 	-flto 	-floop-interchange -floop-strip-mine -floop-block -fgraphite-identity"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7-avx -O3 -pipe 	-flto 	-floop-interchange -floop-strip-mine -floop-block -fgraphite-identity"
DISTDIR="/var/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --autounmask --with-bdeps=y --quiet-build --nospinner"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="/var/distfiles-falcon http://mirrors.eu.kernel.org/gentoo/ http://mirrors.kernel.org/gentoo/ http://distfiles.gentoo.org "
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/var/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog* --exclude /metadata/cache/ --stats --delay-updates"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/haskell /var/lib/layman/progress /var/lib/layman/java-overlay /var/lib/layman/glc /var/lib/layman/hasufell /var/lib/layman/roslin /usr/local/portage"
SYNC="rsync://10.0.0.5/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apng audio audiofile avresample avx bash-completion bdf berkdb bluray bzip2 cairo caps cb cdda cdparanoia cdr cjk cli corefonts cracklib crypt cups curl cxx ddate declarative detex device-mapper dga dia djvu dmapi dri dts dvd dvdr dvi2tty dvipdfm ebook egl emboss encode exif fam ffmpeg fftw firefox fits flac fontconfig fortran g3dvl gallium gbm gcrypt gdbm gif gimp git glib glibc-omitfp gmp gnuplot gnutls gold gpm graphics graphviz gs gstreamer gtk gtk3 highlight hscolour iconv icu id3tag idn imagemagick imlib inotify iproute2 ipv6 jbig jpeg jpeg2k jpg json kde kde4 kpathsea latex lcms libffi libssh2 libv4l luatex lvm lvm2 lzma lzo mad man metric mikmod mkv mms mmx mng modules mp3 mp4 mpeg mpg123 mudflap multilib multimedia musepack ncurses netlink nptl nut ocr odbc offensive ogg opengl openmp openvg optimization optimized-qmake opus pam pango pch pcre pdf pgf phonon png postscript ppds private-headers pstricks pth publishers pulseaudio python3 qt3support qt4 raw readline samba sbsms scanner science sdl session smp sna sndfile speex spell sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 ssh ssl ssse3 svg t1lib tcpd tesseract theora threads tiff tls truetype udev unicode usb v4l v4l2 vaapi video vorbis vpx webp wmf wxwidgets x264 xanim xattr xcb xcomposite xetex xfs xft xinerama xml xmlpatterns xorg xosd xpm xrandr xv xvid xvmc xz zlib zsh-completion" ABI_X86="32 64" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="gnutls" DRACUT_MODULES="btrfs caps cifs crypt crypt-gpg iscsi lvm nfs ssh-client 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="mouse keyboard evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en gb us en_US en_GB eng jbo no nb nn no_NO nb_NO nn_NO nor" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 i386" RUBY_TARGETS="ruby18" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="intel i965" 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"
USE_PYTHON="2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND

=================================================================
                        Package Settings
=================================================================
USE="-doc (-selinux) -static-libs -xkb" ABI_X86="32 64 -x32" PYTHON_SINGLE_TARGET="python2_7 -python2_6 -python3_2 -python3_3" PYTHON_TARGETS="python2_7 python3_2 python3_3 -python2_6"

x11-libs/libxcb-1.9.1 was built with the following:
CFLAGS="-march=corei7-avx -O2 -pipe"
CXXFLAGS="-march=corei7-avx -O2 -pipe"


emerge -pqv '=x11-libs/libxcb-1.9.1::gentoo'
[ebuild   R   ] x11-libs/libxcb-1.9.1  USE="-doc (-selinux) -static-libs -xkb" ABI_X86="32 (64) (-x32)" PYTHON_SINGLE_TARGET="python2_7 -python2_6 -python3_2 -python3_3" PYTHON_TARGETS="python2_7 python3_2 python3_3 -python2_6"
Comment 1 eroen 2014-02-17 04:10:08 UTC
This works with multilibified dev-libs/check, but libxcb still appears to be missing a `test? ( dev-libs/check[${MULTILIB_USEDEP}] )` in DEPEND.

From x11-libs/libxcb-1.10 build log:

make[3]: Entering directory '/var/tmp/portage/x11-libs/libxcb-1.10/work/libxcb-1.10-x86/tests'
x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libxcb-1.10/work/libxcb-1.10/tests -I../src    -Wall -Werror -pthread  -I/var/tmp/portage/x11-libs/libxcb-1.10/work/libxcb-1.10/src -march=core2 -O2 -pipe -c -o check_all.o /var/tmp/portage/x11-libs/libxcb-1.10/work/libxcb-1.10/tests/check_all.c
x86_64-pc-linux-gnu-gcc -m32 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libxcb-1.10/work/libxcb-1.10/tests -I../src    -Wall -Werror -pthread  -I/var/tmp/portage/x11-libs/libxcb-1.10/work/libxcb-1.10/src -march=core2 -O2 -pipe -c -o check_public.o /var/tmp/portage/x11-libs/libxcb-1.10/work/libxcb-1.10/tests/check_public.c
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -m32 -Wall -Werror -pthread  -I/var/tmp/portage/x11-libs/libxcb-1.10/work/libxcb-1.10/src -march=core2 -O2 -pipe  -Wl,-O1 -Wl,--as-needed -o check_all check_all.o check_public.o -L/usr/lib32 -lcheck  ../src/libxcb.la 
libtool: link: x86_64-pc-linux-gnu-gcc -m32 -Wall -Werror -pthread -I/var/tmp/portage/x11-libs/libxcb-1.10/work/libxcb-1.10/src -march=core2 -O2 -pipe -Wl,-O1 -o .libs/check_all check_all.o check_public.o  -Wl,--as-needed -L/usr/lib32 -lcheck ../src/.libs/libxcb.so -pthread
Comment 2 Matt Turner gentoo-dev 2015-02-23 01:36:38 UTC
(In reply to eroen from comment #1)
> This works with multilibified dev-libs/check, but libxcb still appears to be
> missing a `test? ( dev-libs/check[${MULTILIB_USEDEP}] )` in DEPEND.

Indeed. Thanks for the report. I've fixed this in the 9999 ebuild and 1.11-r1.