Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485386 - =virtual/udev-206-r2[abi_x86_32] fails to force matching sys-fs/udev[abi_x86_32]
Summary: =virtual/udev-206-r2[abi_x86_32] fails to force matching sys-fs/udev[abi_x86_32]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-19 09:18 UTC by Justin Lecher (RETIRED)
Modified: 2013-09-19 13:39 UTC (History)
1 user (show)

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


Attachments
config.log (config.log,30.94 KB, text/plain)
2013-09-19 09:19 UTC, Justin Lecher (RETIRED)
Details
build.log (build.log,8.30 KB, text/plain)
2013-09-19 09:19 UTC, Justin Lecher (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2013-09-19 09:18:31 UTC
checking for libudev.h... yes
checking for udev_new in -ludev... no
configure: error: "udev support requested but libudev not installed"


configure:12042: result: yes
configure:12054: checking for udev_new in -ludev
configure:12079: x86_64-pc-linux-gnu-gcc -m32 -o conftest -O2 -pipe -ftracer   -march=native -frecord-gcc-switches -g -Wimplicit-function-declaration  -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common conftest.c -ludev   >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: warning: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../libudev.so while searching for udev
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: warning: skipping incompatible /usr/lib/libudev.so while searching for udev
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: error: cannot find -ludev
conftest.c:37: error: undefined reference to 'udev_new'
collect2: error: ld returned 1 exit status
configure:12079: $? = 1



$ einfo =dev-libs/libusbx-1.0.17
Portage 2.2.6 (default/linux/amd64/13.0, gcc-4.8.1-asneeded, glibc-2.17, 3.10.12-lh x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.12-lh-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16468288 total,    915264 free
KiB Swap:    4000180 total,   3494268 free
Timestamp of tree: Thu, 19 Sep 2013 06:00:01 +0000
ld GNU gold (GNU Binutils 2.23.2) 1.11
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r2, 3.2.5-r2
dev-util/ccache:          3.1.9-r2::science
dev-util/cmake:           2.8.11.2
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.10.3, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.1.2, 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 sunrise bicatali betagarden dummy Neurogeek science last-hope
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ftracer   -march=native -frecord-gcc-switches -g -Wimplicit-function-declaration"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/eselect/ /usr/share/gnupg/qualified.txt /usr/share/nano/ /var/lib/hsqldb /var/spool/munin-async/.ssh /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -ftracer   -march=native -frecord-gcc-switches -g -Wenum-compare"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" -vt --keep-going --autounmask-write --autounmask --quiet-build=n"
FCFLAGS="-O2 -pipe -ftracer   -march=native -frecord-gcc-switches -g"
FEATURES="assume-digests binpkg-logs buildsyspkg candy ccache collision-protect compressdebug distlocks ebuild-locks fixlafiles merge-sync multilib-strict news noinfo parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -ftracer   -march=native -frecord-gcc-switches -g"
GENTOO_MIRRORS=" /mnt/tmpfs/ http://gentoo.j-schmitz.net/mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
MAKEOPTS="-j10 -l9"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-z -e -9 -v"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--omit-dir-times"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/local/overlays/sunrise-reviewed /local/overlays/bicatali /local/overlays/betagarden /local/overlays/dummy /local/overlays/neurogeek /local/overlays/sci /local/overlays/lh-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 avx bash-completion berkdb branding bzip2 cairo caps cli cracklib crypt cups cxx dbus dri fortran gdbm gif gmp gstreamer gtk iconv icu ipv6 jpeg jpeg2k ldap logrotate mmx mmxext modules mudflap multilib ncurses network-cron nls nptl nsplugin numa opengl openmp pam pcre pgo png pulseaudio qt3support readline session smp sse sse2 sse2_4way sse2check sse3 sse4 sse41 sse4_1 sse4a sse5 ssl ssse3 startup-notification tcpd threads tiff truetype unicode vaapi vdpau xinerama zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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" DRACUT_MODULES="plymouth" 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-32 efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport scripting-javascript wiki-publisher nlpsolver" LINGUAS="en" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi stub_status" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm armeb" QEMU_USER_TARGETS="i386 x86_64 arm armeb" RUBY_TARGETS="ruby19" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-libs/libusbx-1.0.17 was built with the following:
USE="udev -debug -doc -examples -static-libs -test" ABI_X86="32 64 -x32"
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2013-09-19 09:19:23 UTC
Created attachment 358984 [details]
config.log

config.loig
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2013-09-19 09:19:35 UTC
Created attachment 358986 [details]
build.log

build.löog
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2013-09-19 10:58:36 UTC
What version of udev? For example, post output of `emerge -pv virtual/udev sys-fs/udev`

$ qfile -b -v /usr/lib32/libudev.so.1.3.8 
sys-fs/udev-207 (/usr/lib32/libudev.so.1.3.8)
sys-fs/udev-207 (/lib64/libudev.so.1.3.8)

Do you have the 32bit libudev in place?
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2013-09-19 11:04:05 UTC
$ qfile -b -v /usr/lib32/libudev.so.1.3.8 
sys-fs/udev-207 (/lib64/libudev.so.1.3.8)

 $ eix -e udev
[I] sys-fs/udev
     Available versions:  204^t (~)206-r3^t (~)207^t **9999^t {acl doc +firmware-loader gudev hwdb introspection keymap +kmod +openrc selinux static-libs ABI_MIPS="n32 n64 o32" ABI_X86="32 64 x32"}
     Installed versions:  207^t(15:01:38 18/09/13)(acl firmware-loader gudev kmod openrc -doc -introspection -selinux -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_X86="64 -32 -x32")
     Homepage:            http://www.freedesktop.org/wiki/Software/systemd
     Description:         Linux dynamic and persistent device naming support (aka userspace devfs)
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2013-09-19 11:22:48 UTC
This shouldn't be possible:

14:13 <jlec> [ebuild   R    ] sys-fs/udev-207  USE="acl firmware-loader gudev kmod openrc -doc -introspection (-selinux) -static-libs" ABI_X86="(64) -32 (-x32)" 0 kB
14:13 <jlec> [ebuild   R    ]  virtual/udev-206-r2  USE="gudev kmod -introspection (-selinux) -static-libs" ABI_X86="32 (64) (-x32)" 0 kB

Somehow virtual/udev is not forcing ABI_X86="32" to be enabled on jlec's system. Somehow the ${MULTILIB_USEDEP} in virtual/udev is not getting picked up. However, it is picked up on my system -- I added sys-fs/udev -abi_x86_32 to /etc/portage/package.use for test and it bails out as expected:

$ sudo emerge -pv virtual/udev sys-fs/udev

These are the packages that would be merged:

Calculating dependencies | * Missing digest for '/home/ssuominen/gentoo-x86/sys-fs/udev/udev-207-r1.ebuild'
... done!
[ebuild   R    ] virtual/udev-206-r2  USE="gudev introspection kmod (-selinux) -static-libs" ABI_X86="32 (64) (-x32)" 0 kB
[ebuild  N     ]  sys-apps/systemd-207  USE="acl filecaps firmware-loader gudev introspection kmod lzma pam policykit python tcpd -audit -cryptsetup -doc -gcrypt -http -openrc -qrcode (-selinux) {-test} -vanilla -xattr" ABI_X86="32 (64) (-x32)" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 0 kB
[ebuild  N     ]   sys-apps/gentoo-systemd-integration-1  51 kB
[ebuild   R    ] sys-fs/udev-207  USE="acl firmware-loader gudev introspection kmod openrc -doc (-selinux) -static-libs" ABI_X86="(64) -32* (-x32)" 0 kB
[uninstall     ]   sys-fs/udev-207  USE="acl firmware-loader gudev introspection kmod openrc -doc (-selinux) -static-libs" ABI_X86="32 (64) (-x32)" 
[blocks B      ]  sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/udev-207)
[blocks B      ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/udev-207)
[blocks B      ] sys-fs/udev ("sys-fs/udev" is blocking sys-apps/systemd-207)

Total: 4 packages (2 new, 2 reinstalls, 1 uninstall), Size of downloads: 51 kB
Conflict: 2 blocks (2 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2013-09-19 12:18:52 UTC
So, we suspected $MULTILIB_USEDEP is not getting set for some reason, but it is:

<ssuominen> can you add simple 
<ssuominen> echo $MULTILIB_USEDEP to virtual/udev's ebuild in pkg_setup() 14:23 <ssuominen> to see if it's set or not and what's it value
<jlec> yes
<jlec> # ebuild udev-206-r2.ebuild clean setup
<jlec> abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_x86_32(-)?,abi_x86_64(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-19 12:31:00 UTC
@jlec, for the formality's sake, does 'emerge -1v virtual/udev' work? I don't know if portage detects it if you change flags on a package and merge it after the virtual was installed.
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2013-09-19 13:39:02 UTC
/etc/portage/profile/package.provided had systemd in it.