Skip to content

Instantly share code, notes, and snippets.

Created December 1, 2012 19:47
Show Gist options
  • Save anonymous/4184499 to your computer and use it in GitHub Desktop.
Save anonymous/4184499 to your computer and use it in GitHub Desktop.
eudev Fails to Compile
* Package: sys-fs/udev-9999
* Repository: udev-overlay
* Maintainer: lu_zero@gentoo.org blueness@gentoo.org,klondike@gentoo.org,axs@gentoo.org,prometheanfire@gentoo.org,chainsaw@gentoo.org,ryao@gentoo.org
* USE: acl elibc_glibc kernel_linux modules openrc userland_GNU x86
* FEATURES: sandbox
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/3.5.3-gentoo/build
* Found sources for kernel version:
* 3.5.3-gentoo
* Checking for suitable kernel configuration options... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux-3.5.3-gentoo
* Found kernel object directory:
* /lib/modules/3.5.3-gentoo/build
* Found sources for kernel version:
* 3.5.3-gentoo
>>> Unpacking source...
GIT update -->
repository: git://github.com/gentoo/eudev.git
at the commit: 6ea07b48a52babf89d94888b13320bdf6a63a420
branch: master
storage directory: "/usr/portage/distfiles/egit-src/eudev.git"
checkout type: bare repository
Cloning into '/var/tmp/portage/sys-fs/udev-9999/work/udev-9999'...
done.
Branch branch-master set up to track remote branch master from origin.
Switched to a new branch 'branch-master'
>>> Unpacked to /var/tmp/portage/sys-fs/udev-9999/work/udev-9999
>>> Source unpacked in /var/tmp/portage/sys-fs/udev-9999/work
>>> Preparing source in /var/tmp/portage/sys-fs/udev-9999/work/udev-9999 ...
* Running eautoreconf in '/var/tmp/portage/sys-fs/udev-9999/work/udev-9999' ...
* Skipping 'gtkdocize --copy' due gtkdocize not installed
* Running libtoolize --install --copy --force --automake ... [ ok ]
* Running aclocal -I m4 ... [ ok ]
* Running autoconf ... [ ok ]
* Running autoheader ... [ ok ]
* Running automake --add-missing --copy --foreign ... [ ok ]
* Running elibtoolize in: udev-9999/
* Applying portage/1.2.0 patch ...
* Applying sed/1.5.6 patch ...
* Applying as-needed/2.2.6 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-fs/udev-9999/work/udev-9999 ...
* econf: updating udev-9999/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating udev-9999/config.guess with /usr/share/gnuconfig/config.guess
./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 ac_cv_search_cap_init= ac_cv_header_sys_capability_h=yes DBUS_CFLAGS= DBUS_LIBS= --with-rootprefix=/ --docdir=//usr/share/doc/udev-9999 --libdir=//usr/lib --with-firmware-path=//usr/lib/firmware/updates:/usr/lib/firmware:/lib/firmware/updates:/lib/firmware --with-html-dir=//usr/share/doc/udev-9999/html --with-rootlibdir=//lib --exec-prefix=/ --enable-split-usr --enable-acl --disable-gtk-doc --disable-gudev --disable-introspection --disable-keymap --disable-libkmod --enable-modules --disable-selinux --disable-static
configure: WARNING: unrecognized options: --enable-acl
configure: loading site script /usr/share/config.site
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 dependency style of i686-pc-linux-gnu-gcc... none
checking whether make supports nested variables... 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 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-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... none
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-g++ static flag -static works... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for m4... /usr/bin/m4
checking for xsltproc... /usr/bin/xsltproc
checking for i686-pc-linux-gnu-gperf... no
checking for gperf... /usr/bin/gperf
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 BLKID... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking for int32_t... yes
checking for int64_t... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for struct stat.st_rdev... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking whether gettid is declared... no
checking whether pivot_root is declared... no
checking whether name_to_handle_at is declared... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking type of array argument to getgroups... gid_t
checking for getgroups... yes
checking for working getgroups... yes
checking whether lstat correctly handles trailing slash... yes
checking whether sys/types.h defines makedev... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for working strnlen... yes
checking for working strtod... yes
checking for alarm... (cached) yes
checking for dup2... yes
checking for ftruncate... yes
checking for localtime_r... yes
checking for memchr... yes
checking for memmove... yes
checking for mempcpy... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for nl_langinfo... yes
checking for rmdir... yes
checking for setlocale... yes
checking for socket... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strndup... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for strtoull... yes
checking for uname... yes
checking for library containing clock_gettime... -lrt
checking for library containing sqrt... -lm
checking for gobject-introspection... no (disabled, use --enable-introspection to enable)
checking whether unshare is declared... 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
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/gudev/Makefile
config.status: creating docs/gudev/version.xml
config.status: creating docs/libudev/Makefile
config.status: creating docs/libudev/version.xml
config.status: creating hwdb/Makefile
config.status: creating keymaps-force-release/Makefile
config.status: creating keymaps/Makefile
config.status: creating man/Makefile
config.status: creating rules/Makefile
config.status: creating src/Makefile
config.status: creating src/accelerometer/Makefile
config.status: creating src/ata_id/Makefile
config.status: creating src/cdrom_id/Makefile
config.status: creating src/collect/Makefile
config.status: creating src/mtd_probe/Makefile
config.status: creating src/scsi_id/Makefile
config.status: creating src/v4l_id/Makefile
config.status: creating src/gudev/Makefile
config.status: creating src/gudev/gudev-1.0.pc
config.status: creating src/keymap/Makefile
config.status: creating src/keymap/check-keymaps.sh
config.status: creating src/keymap/keyboard-force-release.sh
config.status: creating src/libudev/Makefile
config.status: creating src/libudev/libudev.pc
config.status: creating src/udev/Makefile
config.status: creating src/udev/udev.pc
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --enable-acl
prefix: /usr
exec_prefix: /
sysconfdir: /etc
datadir: /usr/share
includedir: ${prefix}/include
libdir: //usr/lib
rootprefix: /
rootlibdir: //lib
udevlibexecdir: //lib/udev
datarootdir: ${prefix}/share
udevconfdir: /etc/udev
udevconffile: /etc/udev/udev.conf
udevhwdbdir: /etc/udev/hwdb.d
udevhwdbbin: /etc/udev/hwdb.bin
udevkeymapdir: /etc/udev/keymaps
udevkeymapforceredir: /etc/udev/keymaps/force-release
udevrulesdir: //lib/udev/rules.d
pkgconfiglibdir: //usr/lib/pkgconfig
sharepkgconfigdir /usr/share/pkgconfig
libgudev_includedir ${prefix}/include/gudev-1.0/gudev
girdir /usr/share/gir-1.0
typelibsdir //usr/lib/girepository-1.0
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-fs/udev-9999/work/udev-9999 ...
make -j5
make all-recursive
make[1]: Entering directory `/var/tmp/portage/sys-fs/udev-9999/work/udev-9999'
Making all in src
make[2]: Entering directory `/var/tmp/portage/sys-fs/udev-9999/work/udev-9999/src'
Making all in libudev
make[3]: Entering directory `/var/tmp/portage/sys-fs/udev-9999/work/udev-9999/src/libudev'
CC libudev_la-libudev.lo
CC libudev_la-libudev-list.lo
CC libudev_la-libudev-util.lo
CC libudev_la-libudev-device.lo
CC libudev_la-libudev-enumerate.lo
CC libudev_la-libudev-monitor.lo
CC libudev_la-libudev-queue.lo
CC libudev_la-libudev-hwdb.lo
CC libudev_la-cgroup-util.lo
CC libudev_la-conf-files.lo
CC libudev_la-exit-status.lo
CC libudev_la-hashmap.lo
CC libudev_la-log.lo
cgroup-util.c:604:82: warning: 'struct FTW' declared inside parameter list
cgroup-util.c:604:82: warning: its scope is only this definition or declaration, which is probably not what you want
cgroup-util.c: In function 'trim_cb':
cgroup-util.c:608:25: error: 'FTW_DP' undeclared (first use in this function)
cgroup-util.c:608:25: note: each undeclared identifier is reported only once for each function it appears in
cgroup-util.c:611:19: error: dereferencing pointer to incomplete type
cgroup-util.c: In function 'cg_trim':
cgroup-util.c:642:35: error: 'FTW_DEPTH' undeclared (first use in this function)
cgroup-util.c:642:45: error: 'FTW_MOUNT' undeclared (first use in this function)
cgroup-util.c:642:55: error: 'FTW_PHYS' undeclared (first use in this function)
CC libudev_la-path-util.lo
make[3]: *** [libudev_la-cgroup-util.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from log.c:35:0:
missing.h:234:8: error: redefinition of 'struct file_handle'
/usr/include/bits/fcntl.h:239:8: note: originally defined here
missing.h:240:19: error: conflicting types for 'name_to_handle_at'
/usr/include/bits/fcntl.h:309:12: note: previous declaration of 'name_to_handle_at' was here
log.c:626:9: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic'
log.c:639:9: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic'
In file included from path-util.c:40:0:
missing.h:234:8: error: redefinition of 'struct file_handle'
/usr/include/bits/fcntl.h:239:8: note: originally defined here
missing.h:240:19: error: conflicting types for 'name_to_handle_at'
/usr/include/bits/fcntl.h:309:12: note: previous declaration of 'name_to_handle_at' was here
make[3]: *** [libudev_la-log.lo] Error 1
make[3]: *** [libudev_la-path-util.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-fs/udev-9999/work/udev-9999/src/libudev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-fs/udev-9999/work/udev-9999/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-fs/udev-9999/work/udev-9999'
make: *** [all] Error 2
* ERROR: sys-fs/udev-9999 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-fs/udev-9999'`,
* the complete build log and the output of `emerge -pqv '=sys-fs/udev-9999'`.
* This ebuild is from an overlay named 'udev-overlay': '/var/lib/layman/udev-overlay/'
* The complete build log is located at '/var/tmp/portage/sys-fs/udev-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/udev-9999/temp/environment'.
* Working directory: '/var/tmp/portage/sys-fs/udev-9999/work/udev-9999'
* S: '/var/tmp/portage/sys-fs/udev-9999/work/udev-9999'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment