Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558048 - sys-fs/udev-224-r1 fail compile capability.c
Summary: sys-fs/udev-224-r1 fail compile capability.c
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-18 02:06 UTC by Ivan Bagaev
Modified: 2015-08-18 19:29 UTC (History)
1 user (show)

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


Attachments
build environment (environment,167.08 KB, text/plain)
2015-08-18 02:11 UTC, Ivan Bagaev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Bagaev 2015-08-18 02:06:50 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -m32 -shared  -fPIC -DPIC  src/libudev/.libs/libudev.o src/libudev/.libs/libudev-list.o src/libudev/.libs/libudev-util.o src/libudev/.libs/libudev-device.o src/libudev/.libs/libudev-device-private.o src/libudev/.libs/libudev-enumerate.o src/libudev/.libs/libudev-monitor.o src/libudev/.libs/libudev-queue.o src/libudev/.libs/libudev-hwdb.o  -Wl,--whole-archive ./.libs/libsystemd-internal.a -Wl,--no-whole-archive  -ldl -lrt -lm -lresolv  -m32 -fstack-protector -fstack-protector-strong -Ofast -march=core-avx-i -mtune=core-avx-i -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.1 -msse4.2 -mno-lzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -fstack-protector -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-fuse-ld=gold -Wl,--version-script=/var/tmp/portage/sys-fs/udev-224-r1/work/systemd-224/src/libudev/libudev.sym -Wl,-O1 -Wl,--as-needed   -pthread -Wl,-soname -Wl,libudev.so.1 -o .libs/libudev.so.1.6.4
./.libs/libsystemd-internal.a(bus-dump.o):bus-dump.c:function bus_message_dump: warning: memset used with constant zero length parameter; this could be due to transposed parameters
./.libs/libsystemd-internal.a(bus-dump.o):bus-dump.c:function bus_message_dump: warning: memset used with constant zero length parameter; this could be due to transposed parameters
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function have_effective_cap: error: undefined reference to 'cap_get_proc'
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function have_effective_cap: error: undefined reference to 'cap_get_flag'
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function have_effective_cap: error: undefined reference to 'cap_free'
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function capability_bounding_set_drop: error: undefined reference to 'cap_get_proc'
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function capability_bounding_set_drop: error: undefined reference to 'cap_get_flag'
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function capability_bounding_set_drop: error: undefined reference to 'cap_dup'
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function capability_bounding_set_drop: error: undefined reference to 'cap_set_flag'
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function capability_bounding_set_drop: error: undefined reference to 'cap_set_proc'
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function capability_bounding_set_drop: error: undefined reference to 'cap_free'
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function capability_bounding_set_drop: error: undefined reference to 'cap_set_flag'
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function capability_bounding_set_drop: error: undefined reference to 'cap_set_flag'
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function capability_bounding_set_drop: error: undefined reference to 'cap_set_proc'
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function capability_bounding_set_drop: error: undefined reference to 'cap_free'
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function capability_bounding_set_drop: error: undefined reference to 'cap_set_flag'
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function capability_bounding_set_drop: error: undefined reference to 'cap_free'
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function drop_privileges: error: undefined reference to 'cap_init'
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function drop_privileges: error: undefined reference to 'cap_set_proc'
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function drop_capability: error: undefined reference to 'cap_get_proc'
./.libs/libsystemd-internal.a(libbasic_la-capability.o):capability.c:function drop_capability: error: undefined reference to 'cap_set_proc'
Comment 1 Ivan Bagaev 2015-08-18 02:11:55 UTC
Created attachment 409318 [details]
build environment
Comment 2 Ivan Bagaev 2015-08-18 02:13:03 UTC
emerge --info '=sys-fs/udev-224-r1::gentoo'

Portage 2.2.20.1 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.21-r1, 4.1.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-3520M_CPU_@_2.90GHz-with-gentoo-2.2
KiB Mem:     7857388 total,   3850404 free
KiB Swap:    2097148 total,   2097044 free
Timestamp of repository gentoo: Mon, 17 Aug 2015 14:13:20 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.0) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000

intersvyaz
    location: /var/lib/layman/intersvyaz
    sync-type: laymansync
    sync-uri: https://github.com/intersvyaz/gentoo-layman.git
    masters: gentoo

miramir
    location: /var/lib/layman/miramir
    sync-type: laymansync
    sync-uri: https://github.com/miramir/miramir-layman.git
    masters: gentoo

hhvm
    location: /var/lib/layman/hhvm
    sync-type: laymansync
    sync-uri: git://github.com/reanimus/hhvm-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Ofast -march=core-avx-i -mtune=core-avx-i -funroll-loops -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.1 -msse4.2 -mno-lzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -fstack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/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="-Ofast -march=core-avx-i -mtune=core-avx-i -funroll-loops -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.1 -msse4.2 -mno-lzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -fstack-protector -std=gnu++11"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y --with-bdeps=y --autounmask=y --autounmask-write=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.yandex.ru/gentoo-distfiles rsync://gentoo.bloodhost.ru/gentoo-distfiles http://mirror.neolabs.kz/gentoo/pub http://mirror.netcologne.de/gentoo/"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--quiet"
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"
USE="X a52 aac acl acpi alsa amd64 apulse berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fontconfig fortran gdbm gif glamor gnome-keyring gpm gtk gtk3 iconv ipv6 ithreads jpeg lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds python3 qt3support qt5 readline sdl session spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vaapi vdpau vim-syntax vorbis wxwidgets x264 xattr xcb xinerama xml xv xvid zlib zsh-completion" ABI_X86="32 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" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru ru_RU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="intel i915 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"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 3 Mike Gilbert gentoo-dev 2015-08-18 02:42:35 UTC
This looks similar to recent systemd bug. I will look for that later.
Comment 4 William Hubbs gentoo-dev 2015-08-18 19:29:23 UTC
This is fixed in udev-224-r2.

Thanks for the report.

William