Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503100 - sys-fs/udev-210 fails to build with ABI_X86=32
Summary: sys-fs/udev-210 fails to build with ABI_X86=32
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-01 09:15 UTC by Philipp
Modified: 2014-03-01 09:29 UTC (History)
0 users

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


Attachments
Compile log (1393664687-install-sys-fs_udev-210:0::gentoo.out,17.06 KB, application/octet-stream)
2014-03-01 09:15 UTC, Philipp
Details
cave info for udev (info-udev,12.30 KB, text/plain)
2014-03-01 09:18 UTC, Philipp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp 2014-03-01 09:15:21 UTC
Created attachment 371480 [details]
Compile log

When running configure for udev and the x86 ABI, it tries to search for libpcap which it can't find. libpcap also isn't multilib-enabled.
Comment 1 Philipp 2014-03-01 09:18:46 UTC
Created attachment 371482 [details]
cave info for udev
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2014-03-01 09:22:55 UTC
It's not libpcap, but libcap, and libcap is multilib enabled:

$ grep cap_init systemd-210/configure.ac
AC_SEARCH_LIBS([cap_init], [cap], [], [AC_MSG_ERROR([*** POSIX caps library not found])])

$ nm -D --defined-only /usr/lib32/libcap.so.2.22 |grep cap_init
00001240 T cap_init

$ qlist libcap |grep libcap.so.2
/usr/lib32/libcap.so.2.22
/lib64/libcap.so.2.22
/lib64/libcap.so.2
/usr/lib32/libcap.so.2

$ emerge -pv libcap

[ebuild   R    ] sys-libs/libcap-2.22-r2  USE="pam" ABI_X86="32 (64) (-x32)" 0 kB
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-03-01 09:29:00 UTC
+  01 Mar 2014; Samuli Suominen <ssuominen@gentoo.org> udev-210.ebuild,
+  udev-9999.ebuild:
+  Restore ac_cv_search_cap_init= as an econf argument since we only need the
+  libcap at build time for the sys/capability.h, not cap_init() from -lcap wrt
+  #503100 by "Philipp"

http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-210.ebuild?r1=1.5&r2=1.6

http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?r1=1.274&r2=1.275

Sorry about that. I didn't notice this because I had sys-libs/libcap built with ABI_X86="32"

Thanks for reporting!