building systemd-183 for udev only gives a link error
All,
I am attempting to a basic build of systemd so I can pull out the udev portions of it, but I am getting an error in the link phase. The build log is attached; any help would be appreciated.
Thanks,
William
* Package: sys-fs/udev-183
* Repository: gentoo
* Maintainer: [email protected]
* USE: elibc_glibc kernel_linux nls userland_GNU x86 * FEATURES: preserve-libs sandbox userpriv usersandbox * Package: sys-fs/udev-183
* Repository: gentoo
* Maintainer: [email protected]
* USE: elibc_glibc kernel_linux nls userland_GNU x86
* FEATURES: preserve-libs sandbox userpriv usersandbox
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 3.2.12-gentoo
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Unpacking source...
Unpacking systemd-183.tar.xz to/var/tmp/portage/sys-fs/udev-183/workSource unpacked in/var/tmp/portage/sys-fs/udev-183/workPreparing source in/var/tmp/portage/sys-fs/udev-183/work/systemd-183...
* Running elibtoolize in: systemd-183/build-aux/
* Applying portage/1.2.0 patch ...
* Applying sed/1.5.6 patch ...
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Source prepared.
Configuring source in/var/tmp/portage/sys-fs/udev-183/work/systemd-183...
/var/tmp/portage/sys-fs/udev-183/temp/environment: line 3136: systemd_with_unitdir: command not found
* econf: updating systemd-183/build-aux/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating systemd-183/build-aux/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --with-rootprefix=/ --docdir=/usr/share/doc/udev-183 --libdir=/usr/lib --libexecdir=/lib --disable-acl --disable-audit --disable-binfmt --disable-coredump --disable-hostnamed --disable-ima --disable-libcryptsetup --disable-localed --disable-logind --disable-pam --disable-quotacheck --disable-randomseed --disable-readahead --disable-tcpwrap --disable-timedated --disable-vconsole --disable-xz --with-pci-ids-path=/usr/share/misc/pci.ids --with-usb-ids-path=/usr/share/misc/usb.ids --with-html-dir=/usr/share/doc/udev-183/html --disable-gtk-doc --disable-gudev --disable-introspection --disable-keymap --enable-nls --disable-selinux --disable-static
configure: WARNING: you should use --build, --host, --target
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking dependency style of i686-pc-linux-gnu-gcc... none
checking whether make supports nested variables... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for i686-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.12.4
checking for XML::Parser... ok
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for gawk... (cached) gawk
checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking for i686-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99
checking whether i686-pc-linux-gnu-gcc -std=gnu99 and cc understand -c and -o together... yes
checking whether i686-pc-linux-gnu-gcc -std=gnu99 needs -traditional... no
checking for m4... /usr/bin/m4
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtkdoc-check... no
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for gobject-introspection... no (disabled, use --enable-introspection to enable)
checking for i686-pc-linux-gnu-objcopy... i686-pc-linux-gnu-objcopy
checking for i686-pc-linux-gnu-strings... i686-pc-linux-gnu-strings
checking for i686-pc-linux-gnu-gperf... no
checking for gperf... gperf
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -pipe in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wall in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -W in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wextra in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-inline in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wvla in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wundef in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wformat=2 in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wlogical-op in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wsign-compare in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wformat-security in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-include-dirs in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wformat-nonliteral in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wold-style-definition in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wpointer-arith in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Winit-self in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wdeclaration-after-statement in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wfloat-equal in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-prototypes in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wstrict-prototypes in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wredundant-decls in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-declarations in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-noreturn in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wshadow in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wendif-labels in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wcast-align in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wstrict-aliasing=2 in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wwrite-strings in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-long-long in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-overlength-strings in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-unused-parameter in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-missing-field-initializers in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-unused-result in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Werror=overflow in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wp,-D_FORTIFY_SOURCE=2 in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -ffast-math in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fno-common in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fdiagnostics-show-option in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fno-strict-aliasing in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fvisibility=hidden in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -ffunction-sections in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fdata-sections in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wl,--as-needed in envvar LDFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wl,--gc-sections in envvar LDFLAGS... yes
checking for library containing clock_gettime... -lrt
checking for library containing dlsym... -ldl
checking for library containing cap_init... -lcap
checking sys/capability.h usability... yes
checking sys/capability.h presence... yes
checking for sys/capability.h... yes
checking for DBUS... yes
checking for KMOD... yes
checking for BLKID... yes
checking for USB database location... /usr/share/misc/usb.ids
checking for PCI database location... /usr/share/misc/pci.ids
checking for xsltproc... /usr/bin/xsltproc/bin/grep: /etc/os-release: No such file or directory
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating docs/libudev/Makefile
config.status: creating docs/libudev/version.xml
config.status: creating docs/gudev/Makefile
config.status: creating docs/gudev/version.xml
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po/stamp-it commands
systemd 183
Distribution: other
SysV compatibility: yes
SysV init scripts: /etc/init.d
SysV rc?.d directories: /etc/rc.d
libcryptsetup: no
tcpwrap: no
PAM: no
AUDIT: no
IMA: no
SELinux: no
XZ: no
ACL: no
binfmt: no
vconsole: no
readahead: no
quotacheck: no
randomseed: no
logind: no
hostnamed: no
timedated: no
localed: no
coredump: no
plymouth: no
firmware path: \"/lib/firmware/updates/\", \"/lib/firmware/\"
usb.ids: /usr/share/misc/usb.ids
pci.ids: /usr/share/misc/pci.ids
gudev: no
gintrospection: no
keymap: no
prefix: /usr
rootprefix: /
sysconf dir: /etc
datarootdir: ${prefix}/share
includedir: ${prefix}/include
include_prefix:
libexec dir: /lib
lib dir: /usr/lib
rootlib dir: /usr/lib
PAM modules dir: /usr/lib/security
D-Bus policy dir: /etc/dbus-1/system.d
D-Bus session dir: /usr/share/dbus-1/services
D-Bus system dir: /usr/share/dbus-1/services/../system-services
D-Bus interfaces dir: /usr/share/dbus-1/services/../interfaces
Split /usr: yes
man pages: yes
CFLAGS: -march=native -O2 -pipe
CPPLAGS:
LDFLAGS: -Wl,-O1 -Wl,--as-needed
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Source configured.
Compiling source in/var/tmp/portage/sys-fs/udev-183/work/systemd-183...
make -j2
make --no-print-directory all-recursive
Making all in .
CC src/shared/libsystemd_dbus_la-dbus-common.lo CC src/shared/libsystemd_dbus_la-dbus-loop.lo CC src/shared/libsystemd_dbus_la-polkit.lo CC src/shared/libsystemd_label_la-install.lo CC src/shared/libsystemd_label_la-path-lookup.lo CC src/shared/libsystemd_label_la-cgroup-label.lo CC src/shared/libsystemd_label_la-socket-label.lo CC src/shared/libsystemd_label_la-label.lo CC src/shared/libsystemd_label_la-mkdir.lo CC src/shared/libsystemd_label_la-ask-password-api.lo CC src/shared/libsystemd_label_la-dev-setup.lo CC src/shared/libsystemd_logs_la-logs-show.lo CC src/shared/libsystemd_capability_la-capability.lo CC src/shared/audit.lo GEN src/core/load-fragment-gperf.gperf CC src/libudev/libudev_private_la-libudev.lo CC src/libudev/libudev_private_la-libudev-list.lo CC src/libudev/libudev_private_la-libudev-util.lo CC src/libudev/libudev_private_la-libudev-device.lo CC src/libudev/libudev_private_la-libudev-enumerate.lo CC src/libudev/libudev_private_la-libudev-monitor.lo CC src/libudev/libudev_private_la-libudev-queue.lo src/libudev/libudev-monitor.c: In function 'udev_monitor_receive_device': src/libudev/libudev-monitor.c:581:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] CC src/libudev/libudev_private_la-libudev-device-private.lo CC src/libudev/libudev_private_la-libudev-queue-private.lo CC src/libsystemd-daemon/libudev_core_la-sd-daemon.lo CC src/core/mount-setup.o CC src/core/loopback-setup.o CC src/udev/udevadm.o CC src/udev/udevadm-info.o CC src/udev/udevadm-control.o CC src/udev/udevadm-monitor.o CC src/udev/udevadm-settle.o CC src/udev/udevadm-trigger.o CC src/udev/udevadm-test.o CC src/udev/udevadm-test-builtin.o CC src/journal/cat.o CC src/udev/test_udev-udev-event.o CC src/udev/test_udev-udev-watch.o CC src/udev/test_udev-udev-node.o CC src/udev/test_udev-udev-rules.o CC src/udev/test_udev-udev-ctrl.o CC src/udev/test_udev-udev-builtin.o CC src/udev/test_udev-udev-builtin-blkid.o CC src/udev/test_udev-udev-builtin-firmware.o CC src/udev/test_udev-udev-builtin-hwdb.o CC src/udev/test_udev-udev-builtin-input_id.o src/udev/udev-builtin-input_id.c:41:9: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ [-Wpragmas] src/udev/udev-builtin-input_id.c:91:9: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ [-Wpragmas] src/udev/udev-builtin-input_id.c: In function ‘test_key’: src/udev/udev-builtin-input_id.c:162:17: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 6 has type ‘unsigned int’ [-Wformat] CC src/udev/test_udev-udev-builtin-kmod.o CC src/udev/test_udev-udev-builtin-path_id.o CC src/udev/test_udev-udev-builtin-usb_id.o CC src/libsystemd-daemon/test_udev-sd-daemon.o CC src/libudev/test_udev-libudev.o CC src/libudev/test_udev-libudev-list.o CC src/libudev/test_udev-libudev-util.o CC src/libudev/test_udev-libudev-device.o CC src/libudev/test_udev-libudev-enumerate.o CC src/libudev/test_udev-libudev-monitor.o CC src/libudev/test_udev-libudev-queue.o src/libudev/libudev-monitor.c: In function ‘udev_monitor_receive_device’: src/libudev/libudev-monitor.c:581:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] CC src/libudev/test_udev-libudev-device-private.o CC src/libudev/test_udev-libudev-queue-private.o CC src/test/test-id128.o CC src/journal/test_journal-test-journal.o CC src/journal/test_journal-sd-journal.o CC src/journal/test_journal-journal-file.o CC src/journal/test_journal-lookup3.o CC src/journal/test_journal-journal-send.o CC src/journal/test-journal-send.o CC src/core/machine-id-setup.o CC src/journal/journalctl.o CC src/core/systemd-main.o CC src/core/umount.o CC src/core/shutdown.o CC src/udev/udevd.o CC src/journal/systemd_journald-journald.o CC src/journal/systemd_journald-sd-journal.o CC src/journal/systemd_journald-journal-file.o CC src/journal/systemd_journald-lookup3.o CC src/journal/systemd_journald-journal-rate-limit.o GEN src/journal/journald-gperf.c CCLD libsystemd-login.la GEN units/emergency.service GEN rules/99-systemd.rules GEN src/core/org.freedesktop.systemd1.policy.in GEN units/[email protected] GEN units/[email protected] GEN units/console-shell.service.m4 GEN units/console-getty.service.m4 GEN units/systemd-initctl.service GEN units/systemd-shutdownd.service GEN units/systemd-modules-load.service GEN units/systemd-remount-fs.service GEN units/systemd-update-utmp-runlevel.service GEN units/systemd-update-utmp-shutdown.service GEN units/systemd-tmpfiles-setup.service GEN units/systemd-tmpfiles-clean.service GEN units/systemd-ask-password-wall.service GEN units/systemd-ask-password-console.service GEN units/systemd-sysctl.service GEN units/halt.service GEN units/hibernate.service GEN units/poweroff.service GEN units/reboot.service GEN units/kexec.service GEN units/[email protected] GEN units/fsck-root.service GEN units/rescue.service.m4 GEN units/suspend.service GEN units/[email protected] GEN units/systemd-udev.service GEN units/systemd-udev-trigger.service GEN units/systemd-udev-settle.service GEN units/systemd-journald.service GEN units/user/exit.service GEN src/core/systemd.pc GEN src/libsystemd-daemon/libsystemd-daemon.pc GEN src/libudev/libudev.pc GEN src/libsystemd-id128/libsystemd-id128.pc GEN src/journal/libsystemd-journal.pc GEN src/udev/udev.pc CC src/libsystemd-daemon/libsystemd_daemon_la-sd-daemon.lo CC src/libudev/libudev_la-libudev.lo CC src/libudev/libudev_la-libudev-list.lo CC src/libudev/libudev_la-libudev-util.lo CC src/libudev/libudev_la-libudev-device.lo CC src/libudev/libudev_la-libudev-enumerate.lo CC src/libudev/libudev_la-libudev-monitor.lo CC src/libudev/libudev_la-libudev-queue.lo src/libudev/libudev-monitor.c: In function 'udev_monitor_receive_device': src/libudev/libudev-monitor.c:581:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] CC src/shared/util.lo CC src/shared/virt.lo CC src/shared/path-util.lo CC src/shared/hashmap.lo CC src/shared/set.lo CC src/shared/strv.lo CC src/shared/conf-parser.lo CC src/shared/log.lo CC src/shared/ratelimit.lo src/shared/log.c:638:9: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic' [-Wpragmas] src/shared/log.c:651:9: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic' [-Wpragmas] CC src/shared/exit-status.lo CC src/shared/utf8.lo CC src/shared/pager.lo CC src/shared/socket-util.lo CC src/shared/conf-files.lo CC src/shared/cgroup-util.lo CC src/shared/cgroup-show.lo CC src/shared/unit-name.lo CC src/shared/utmp-wtmp.lo CC src/shared/watchdog.lo CC src/shared/spawn-ask-password-agent.lo CC src/shared/specifier.lo CC src/shared/spawn-polkit-agent.lo CC src/shared/hwclock.lo CC src/libsystemd-id128/libsystemd_id128_la-sd-id128.lo CC src/journal/libsystemd_journal_la-sd-journal.lo CC src/journal/libsystemd_journal_la-journal-file.lo CC src/journal/libsystemd_journal_la-lookup3.lo CC src/journal/libsystemd_journal_la-journal-send.lo CCLD libsystemd-dbus.la CCLD libsystemd-label.la CCLD libsystemd-capability.la CC src/core/libsystemd_core_la-unit.lo CC src/core/libsystemd_core_la-job.lo CC src/core/libsystemd_core_la-manager.lo CC src/core/libsystemd_core_la-transaction.lo CC src/core/libsystemd_core_la-load-fragment.lo CC src/core/libsystemd_core_la-service.lo CC src/core/libsystemd_core_la-automount.lo CC src/core/libsystemd_core_la-mount.lo CC src/core/libsystemd_core_la-swap.lo CC src/core/libsystemd_core_la-device.lo CC src/core/libsystemd_core_la-target.lo CC src/core/libsystemd_core_la-snapshot.lo CC src/core/libsystemd_core_la-socket.lo CC src/core/libsystemd_core_la-timer.lo CC src/core/libsystemd_core_la-path.lo CC src/core/libsystemd_core_la-load-dropin.lo CC src/core/libsystemd_core_la-execute.lo CC src/core/libsystemd_core_la-dbus.lo CC src/core/libsystemd_core_la-dbus-manager.lo CC src/core/libsystemd_core_la-dbus-unit.lo CC src/core/libsystemd_core_la-dbus-job.lo CC src/core/libsystemd_core_la-dbus-service.lo CC src/core/libsystemd_core_la-dbus-socket.lo CC src/core/libsystemd_core_la-dbus-timer.lo CC src/core/libsystemd_core_la-dbus-target.lo CC src/core/libsystemd_core_la-dbus-mount.lo CC src/core/libsystemd_core_la-dbus-automount.lo CC src/core/libsystemd_core_la-dbus-swap.lo CC src/core/libsystemd_core_la-dbus-snapshot.lo CC src/core/libsystemd_core_la-dbus-device.lo CC src/core/libsystemd_core_la-dbus-execute.lo CC src/core/libsystemd_core_la-dbus-path.lo CC src/core/libsystemd_core_la-cgroup.lo CC src/core/libsystemd_core_la-selinux-setup.lo CC src/core/libsystemd_core_la-ima-setup.lo CC src/core/libsystemd_core_la-kmod-setup.lo CC src/core/libsystemd_core_la-locale-setup.lo src/core/kmod-setup.c:39:9: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic' [-Wpragmas] src/core/kmod-setup.c:46:9: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic' [-Wpragmas] CC src/core/libsystemd_core_la-hostname-setup.lo CC src/core/libsystemd_core_la-machine-id-setup.lo CC src/core/libsystemd_core_la-mount-setup.lo CC src/core/libsystemd_core_la-loopback-setup.lo CC src/core/libsystemd_core_la-fdset.lo CC src/core/libsystemd_core_la-condition.lo CC src/core/libsystemd_core_la-namespace.lo CC src/core/libsystemd_core_la-tcpwrap.lo CC src/core/libsystemd_core_la-cgroup-attr.lo CC src/core/libsystemd_core_la-switch-root.lo GEN src/core/load-fragment-gperf.c GEN src/core/load-fragment-gperf-nulstr.c CC src/udev/libudev_core_la-udev-event.lo CC src/udev/libudev_core_la-udev-watch.lo CC src/udev/libudev_core_la-udev-node.lo CC src/udev/libudev_core_la-udev-rules.lo CC src/udev/libudev_core_la-udev-ctrl.lo CC src/udev/libudev_core_la-udev-builtin.lo CC src/udev/libudev_core_la-udev-builtin-blkid.lo CC src/udev/libudev_core_la-udev-builtin-firmware.lo CC src/udev/libudev_core_la-udev-builtin-hwdb.lo CC src/udev/libudev_core_la-udev-builtin-input_id.lo CC src/udev/libudev_core_la-udev-builtin-kmod.lo src/udev/udev-builtin-input_id.c:41:9: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic' [-Wpragmas] src/udev/udev-builtin-input_id.c:91:9: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic' [-Wpragmas] src/udev/udev-builtin-input_id.c: In function 'test_key': src/udev/udev-builtin-input_id.c:162:17: warning: format '%lu' expects type 'long unsigned int', but argument 6 has type 'unsigned int' [-Wformat] CC src/udev/libudev_core_la-udev-builtin-path_id.lo CC src/udev/libudev_core_la-udev-builtin-usb_id.lo CC src/cgls/cgls.o CC src/cgtop/cgtop.o CC src/stdio-bridge/stdio-bridge.o CC src/nspawn/nspawn.o CC src/detect-virt/detect-virt.o CC src/delta/delta.o CC src/test/test_engine-test-engine.o CC src/test/test_job_type-test-job-type.o CC src/test/test-ns.o CC src/test/test-loopback.o CC src/test/test-hostname.o CC src/test/test-daemon.o CC src/test/test-cgroup.o CC src/test/test-env-replace.o CC src/test/test-strv.o CC src/test/test_install-test-install.o CC src/test/test-watchdog.o CC src/test/test-libudev.o CC src/test/test_udev-test-udev.o CC src/systemctl/systemctl-systemctl.o CC src/notify/notify.o CC src/readahead/sd-readahead.o CC src/ask-password/ask-password.o
src/systemctl/systemctl.c:174:13: warning: ‘polkit_agent_open_if_enabled’ defined but not used [-Wunused-function]
CC src/tty-ask-password-agent/tty-ask-password-agent.osrc/systemctl/systemctl.c: In function ‘halt_now’:src/systemctl/systemctl.c:5395:13: warning: function might be possible candidate for attribute ‘noreturn’ [-Wmissing-noreturn]
CC src/tmpfiles/tmpfiles.o CC src/machine-id-setup/machine-id-setup-main.o CC src/cgroups-agent/systemd_cgroups_agent-cgroups-agent.o CC src/initctl/systemd_initctl-initctl.o CC src/update-utmp/systemd_update_utmp-update-utmp.o CC src/shutdownd/shutdownd.o CC src/modules-load/systemd_modules_load-modules-load.o src/modules-load/modules-load.c:36:9: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ [-Wpragmas] src/modules-load/modules-load.c:43:9: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ [-Wpragmas] CC src/remount-fs/remount-fs.o CC src/reply-password/reply-password.o CC src/fsck/systemd_fsck-fsck.o CC src/timestamp/timestamp.o CC src/ac-power/ac-power.o CC src/sysctl/sysctl.o CC src/sleep/sleep.o CC src/journal/systemd_journald-journald-gperf.o CC src/getty-generator/getty-generator.o CC src/fstab-generator/fstab-generator.o CC src/system-update-generator/system-update-generator.o CC src/udev/ata_id/ata_id.o CC src/udev/cdrom_id/cdrom_id.o CC src/udev/collect/collect.o src/udev/collect/collect.c: In function ‘sig_alrm’: src/udev/collect/collect.c:63:13: warning: function might be possible candidate for attribute ‘noreturn’ [-Wmissing-noreturn] CC src/udev/scsi_id/scsi_id.o CC src/udev/scsi_id/scsi_serial.o CC src/udev/v4l_id/v4l_id.o CC src/udev/accelerometer/accelerometer.o CC src/udev/mtd_probe/mtd_probe-mtd_probe.o CC src/udev/mtd_probe/mtd_probe-probe_smartmedia.o ITMRG src/core/org.freedesktop.systemd1.policy GEN units/console-shell.service GEN units/console-getty.service GEN units/rescue.service CCLD libsystemd-daemon.la CCLD libsystemd-shared.la CCLD libsystemd-audit.la CC src/core/libsystemd_core_la-load-fragment-gperf.lo CC src/core/libsystemd_core_la-load-fragment-gperf-nulstr.lo CCLD libudev-private.la CCLD systemd-cgls CCLD systemd-cgtop CCLD systemd-stdio-bridge CCLD systemd-nspawn CCLD systemd-detect-virt CCLD systemd-delta CCLD test-daemon CCLD test-cgroup CCLD test-env-replace CCLD test-strv CCLD test-install CCLD test-watchdog CCLD test-udev CCLD systemd-notify CCLD systemd-ask-password CCLD systemd-tty-ask-password-agent CCLD systemd-tmpfiles CCLD systemd-cgroups-agent CCLD systemd-initctl CCLD systemd-update-utmp CCLD systemd-shutdownd CCLD systemd-modules-load CCLD systemd-remount-fs CCLD systemd-reply-password CCLD systemd-timestamp CCLD systemd-sysctl CCLD systemd-sleep CCLD systemd-getty-generator CCLD systemd-fstab-generator CCLD systemd-system-update-generator CCLD ata_id CCLD collect CCLD scsi_id CCLD mtd_probe CCLD libudev.la CCLD libsystemd-id128.la CCLD libudev-core.la CCLD test-libudev CCLD test-id128 copying selected object files to avoid basename conflicts... CCLD test-journal CCLD systemd-machine-id-setup CCLD systemd-shutdown CCLD systemd-fsck CCLD systemd-ac-power CCLD systemd-udevd CCLD systemd-journald CCLD cdrom_id
src/journal/systemd_journald-journald.o: In function `dispatch_message_real.clone.4':
journald.c:(.text+0x264e): undefined reference to `sd_pid_get_session'
journald.c:(.text+0x26cc): undefined reference to `sd_pid_get_unit'
journald.c:(.text+0x274b): undefined reference to `sd_pid_get_owner_uid'
collect2: ld returned 1 exit status
make[2]: *** [systemd-journald] Error 1
make[2]: *** Waiting for unfinished jobs....
CCLD v4l_id
rm units/console-getty.service.m4 src/core/org.freedesktop.systemd1.policy.in units/rescue.service.m4 units/console-shell.service.m4 make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
* ERROR: sys-fs/udev-183 failed (compile phase):
* emake failed
*
* If you need support, post the output of emerge --info '=sys-fs/udev-183',
* the complete build log and the output of emerge -pqv '=sys-fs/udev-183'.
* The complete build log is located at '/var/tmp/portage/sys-fs/udev-183/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/udev-183/temp/environment'.
* Working directory: '/var/tmp/portage/sys-fs/udev-183/work/systemd-183'
* S: '/var/tmp/portage/sys-fs/udev-183/work/systemd-183'
Quoted 3 lines · William Hubbs
I am attempting to a basic build of systemd so I can pull out the udev portions of it, but I am getting an error in the link phase. The build log is attached; any help would be appreciated.
Don't disable logind, it's a bug in the build-sys, some stuff does not compile when it's disabled.
Kay
Quoted 2 lines · Kay Sievers
Don't disable logind, it's a bug in the build-sys, some stuff does not compile when it's disabled.
Ok, that is enabled now, but I get this.
Thanks,
William
* Package: sys-fs/udev-183
* Repository: local
* Maintainer: [email protected]
* USE: elibc_glibc kernel_linux nls userland_GNU x86 * FEATURES: preserve-libs sandbox userpriv usersandbox * Package: sys-fs/udev-183
* Repository: local
* Maintainer: [email protected]
* USE: elibc_glibc kernel_linux nls userland_GNU x86
* FEATURES: preserve-libs sandbox userpriv usersandbox
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 3.2.12-gentoo
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Unpacking source...
Unpacking systemd-183.tar.xz to/var/tmp/portage/sys-fs/udev-183/workSource unpacked in/var/tmp/portage/sys-fs/udev-183/workPreparing source in/var/tmp/portage/sys-fs/udev-183/work/systemd-183...
* Running elibtoolize in: systemd-183/build-aux/
* Applying portage/1.2.0 patch ...
* Applying sed/1.5.6 patch ...
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Source prepared.
Configuring source in/var/tmp/portage/sys-fs/udev-183/work/systemd-183...
* econf: updating systemd-183/build-aux/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating systemd-183/build-aux/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --with-rootprefix=/ --docdir=/usr/share/doc/udev-183 --libdir=/usr/lib --libexecdir=/lib --disable-acl --disable-audit --disable-binfmt --disable-coredump --disable-hostnamed --disable-ima --disable-libcryptsetup --disable-localed --disable-pam --disable-quotacheck --disable-randomseed --disable-readahead --disable-tcpwrap --disable-timedated --disable-vconsole --disable-xz --with-pci-ids-path=/usr/share/misc/pci.ids --with-usb-ids-path=/usr/share/misc/usb.ids --with-html-dir=/usr/share/doc/udev-183/html --disable-gtk-doc --disable-gudev --disable-introspection --disable-keymap --enable-nls --disable-selinux --disable-static checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking dependency style of i686-pc-linux-gnu-gcc... none
checking whether make supports nested variables... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for i686-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.12.4
checking for XML::Parser... ok
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for gawk... (cached) gawk
checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking for i686-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99
checking whether i686-pc-linux-gnu-gcc -std=gnu99 and cc understand -c and -o together... yes
checking whether i686-pc-linux-gnu-gcc -std=gnu99 needs -traditional... no
checking for m4... /usr/bin/m4
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtkdoc-check... no
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for gobject-introspection... no (disabled, use --enable-introspection to enable)
checking for i686-pc-linux-gnu-objcopy... i686-pc-linux-gnu-objcopy
checking for i686-pc-linux-gnu-strings... i686-pc-linux-gnu-strings
checking for i686-pc-linux-gnu-gperf... no
checking for gperf... gperf
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -pipe in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wall in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -W in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wextra in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-inline in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wvla in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wundef in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wformat=2 in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wlogical-op in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wsign-compare in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wformat-security in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-include-dirs in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wformat-nonliteral in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wold-style-definition in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wpointer-arith in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Winit-self in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wdeclaration-after-statement in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wfloat-equal in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-prototypes in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wstrict-prototypes in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wredundant-decls in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-declarations in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wmissing-noreturn in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wshadow in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wendif-labels in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wcast-align in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wstrict-aliasing=2 in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wwrite-strings in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-long-long in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-overlength-strings in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-unused-parameter in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-missing-field-initializers in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wno-unused-result in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Werror=overflow in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wp,-D_FORTIFY_SOURCE=2 in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -ffast-math in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fno-common in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fdiagnostics-show-option in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fno-strict-aliasing in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fvisibility=hidden in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -ffunction-sections in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -fdata-sections in envvar CFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wl,--as-needed in envvar LDFLAGS... yes
checking if i686-pc-linux-gnu-gcc -std=gnu99 supports flag -Wl,--gc-sections in envvar LDFLAGS... yes
checking for library containing clock_gettime... -lrt
checking for library containing dlsym... -ldl
checking for library containing cap_init... -lcap
checking sys/capability.h usability... yes
checking sys/capability.h presence... yes
checking for sys/capability.h... yes
checking for DBUS... yes
checking for KMOD... yes
checking for BLKID... yes
checking for USB database location... /usr/share/misc/usb.ids
checking for PCI database location... /usr/share/misc/pci.ids
checking for xsltproc... /usr/bin/xsltproc/bin/grep: /etc/os-release: No such file or directory
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating docs/libudev/Makefile
config.status: creating docs/libudev/version.xml
config.status: creating docs/gudev/Makefile
config.status: creating docs/gudev/version.xml
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po/stamp-it commands
systemd 183
Distribution: other
SysV compatibility: yes
SysV init scripts: /etc/init.d
SysV rc?.d directories: /etc/rc.d
libcryptsetup: no
tcpwrap: no
PAM: no
AUDIT: no
IMA: no
SELinux: no
XZ: no
ACL: no
binfmt: no
vconsole: no
readahead: no
quotacheck: no
randomseed: no
logind: yes
hostnamed: no
timedated: no
localed: no
coredump: no
plymouth: no
firmware path: \"/lib/firmware/updates/\", \"/lib/firmware/\"
usb.ids: /usr/share/misc/usb.ids
pci.ids: /usr/share/misc/pci.ids
gudev: no
gintrospection: no
keymap: no
prefix: /usr
rootprefix: /
sysconf dir: /etc
datarootdir: ${prefix}/share
includedir: ${prefix}/include
include_prefix:
libexec dir: /lib
lib dir: /usr/lib
rootlib dir: /usr/lib
PAM modules dir: /usr/lib/security
D-Bus policy dir: /etc/dbus-1/system.d
D-Bus session dir: /usr/share/dbus-1/services
D-Bus system dir: /usr/share/dbus-1/services/../system-services
D-Bus interfaces dir: /usr/share/dbus-1/services/../interfaces
Split /usr: yes
man pages: yes
CFLAGS: -march=native -O2 -pipe
CPPLAGS:
LDFLAGS: -Wl,-O1 -Wl,--as-needed
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Source configured.
Compiling source in/var/tmp/portage/sys-fs/udev-183/work/systemd-183...
make -j2
make --no-print-directory all-recursive
Making all in .
CC src/shared/libsystemd_dbus_la-dbus-common.lo
CC src/shared/libsystemd_dbus_la-dbus-loop.lo
CC src/shared/libsystemd_dbus_la-polkit.lo
CC src/shared/libsystemd_label_la-install.lo
CC src/shared/libsystemd_label_la-path-lookup.lo
CC src/shared/libsystemd_label_la-cgroup-label.lo
CC src/shared/libsystemd_label_la-socket-label.lo
CC src/shared/libsystemd_label_la-label.lo
CC src/shared/libsystemd_label_la-mkdir.lo
CC src/shared/libsystemd_label_la-ask-password-api.lo
CC src/shared/libsystemd_label_la-dev-setup.lo
CC src/shared/libsystemd_logs_la-logs-show.lo
CC src/shared/libsystemd_capability_la-capability.lo
CC src/shared/audit.lo
GEN src/core/load-fragment-gperf.gperf
CC src/libudev/libudev_private_la-libudev.lo
CC src/libudev/libudev_private_la-libudev-list.lo
CC src/libudev/libudev_private_la-libudev-util.lo
CC src/libudev/libudev_private_la-libudev-device.lo
CC src/libudev/libudev_private_la-libudev-enumerate.lo
CC src/libudev/libudev_private_la-libudev-monitor.lo
CC src/libudev/libudev_private_la-libudev-queue.lo
src/libudev/libudev-monitor.c: In function 'udev_monitor_receive_device':
src/libudev/libudev-monitor.c:581:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
CC src/libudev/libudev_private_la-libudev-device-private.lo
CC src/libudev/libudev_private_la-libudev-queue-private.lo
CC src/libsystemd-daemon/libudev_core_la-sd-daemon.lo
CC src/core/mount-setup.o
CC src/core/loopback-setup.o
CC src/udev/udevadm.o
CC src/udev/udevadm-info.o
CC src/udev/udevadm-control.o
CC src/udev/udevadm-monitor.o
CC src/udev/udevadm-settle.o
CC src/udev/udevadm-trigger.o
CC src/udev/udevadm-test.o
CC src/udev/udevadm-test-builtin.o
CC src/journal/cat.o
CC src/udev/test_udev-udev-event.o
CC src/udev/test_udev-udev-watch.o
CC src/udev/test_udev-udev-node.o
CC src/udev/test_udev-udev-rules.o
CC src/udev/test_udev-udev-ctrl.o
CC src/udev/test_udev-udev-builtin.o
CC src/udev/test_udev-udev-builtin-blkid.o
CC src/udev/test_udev-udev-builtin-firmware.o
CC src/udev/test_udev-udev-builtin-hwdb.o
CC src/udev/test_udev-udev-builtin-input_id.o
src/udev/udev-builtin-input_id.c:41:9: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ [-Wpragmas]
src/udev/udev-builtin-input_id.c:91:9: warning: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ [-Wpragmas]
src/udev/udev-builtin-input_id.c: In function ‘test_key’:
src/udev/udev-builtin-input_id.c:162:17: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 6 has type ‘unsigned int’ [-Wformat]
CC src/udev/test_udev-udev-builtin-kmod.o
CC src/udev/test_udev-udev-builtin-path_id.o
CC src/udev/test_udev-udev-builtin-usb_id.o
CC src/libsystemd-daemon/test_udev-sd-daemon.o
CC src/libudev/test_udev-libudev.o
CC src/libudev/test_udev-libudev-list.o
CC src/libudev/test_udev-libudev-util.o
CC src/libudev/test_udev-libudev-device.o
CC src/libudev/test_udev-libudev-enumerate.o
CC src/libudev/test_udev-libudev-monitor.o
CC src/libudev/test_udev-libudev-queue.o
src/libudev/libudev-monitor.c: In function ‘udev_monitor_receive_device’:
src/libudev/libudev-monitor.c:581:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
CC src/libudev/test_udev-libudev-device-private.o
CC src/libudev/test_udev-libudev-queue-private.o
CC src/test/test-id128.o
CC src/journal/test_journal-test-journal.o
CC src/journal/test_journal-sd-journal.o
CC src/journal/test_journal-journal-file.o
CC src/journal/test_journal-lookup3.o
CC src/journal/test_journal-journal-send.o
CC src/journal/test-journal-send.o
CC src/login/test-login.o
CC src/login/test_inhibit-test-inhibit.o
CC src/core/machine-id-setup.o
CC src/journal/journalctl.o
CC src/login/loginctl-loginctl.o
CC src/login/loginctl-sysfs-show.o
CC src/login/systemd_inhibit-inhibit.o
CC src/core/systemd-main.o
CC src/core/umount.o
CC src/core/shutdown.o
CC src/udev/udevd.o
CC src/journal/systemd_journald-journald.o
CC src/journal/systemd_journald-sd-journal.o
CC src/journal/systemd_journald-journal-file.o
CC src/journal/systemd_journald-lookup3.o
CC src/journal/systemd_journald-journal-rate-limit.o
GEN src/journal/journald-gperf.c
CC src/login/systemd_logind-logind.o
In file included from src/login/logind.h:42:0,
from src/login/logind.c:34:src/login/logind-inhibit.h:37:3: error: redefinition of typedef ‘InhibitWhat’ src/login/logind-inhibit.h:26:26: note: previous declaration of ‘InhibitWhat’ was here make[2]: *** [src/login/systemd_logind-logind.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
* ERROR: sys-fs/udev-183 failed (compile phase):
* emake failed
*
* If you need support, post the output of emerge --info '=sys-fs/udev-183',
* the complete build log and the output of emerge -pqv '=sys-fs/udev-183'.
* This ebuild is from an overlay named 'local': '/usr/local/portage/'
* The complete build log is located at '/var/tmp/portage/sys-fs/udev-183/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/udev-183/temp/environment'.
* Working directory: '/var/tmp/portage/sys-fs/udev-183/work/systemd-183'
* S: '/var/tmp/portage/sys-fs/udev-183/work/systemd-183'
Quoted 3 lines · William Hubbs
Quoted 2 lines · Kay Sievers
Don't disable logind, it's a bug in the build-sys, some stuff does not compile when it's disabled.
It looks like this is fixed in release 184.
Thanks much. :-)
William