[oe] [poky]: libusb1_1.0.18.bb: configure: error: "udev support requested but libudev not installed"

Elvis Dowson elvis.dowson at gmail.com
Sat May 17 06:54:50 UTC 2014


Hi,

The following commit in poky/oe-core master branch, causes a build error due to libusb1_1.0.18.bb: 

configure: error: "udev support requested but libudev not installed”

commit: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=67448158c7ef03119a5065bc62cf90e886f5c564

Reverting this commit allows the build to proceed.

Here is the full log:

Build Configuration:
BB_VERSION        = "1.23.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.10"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "zc706-zynq7"
DISTRO            = "poky"
DISTRO_VERSION    = "1.6+snapshot-20140517"
TUNE_FEATURES     = " arm armv7a vfp neon zynq"
TARGET_FPU        = "vfp-neon"
meta              
meta-yocto        
meta-yocto-bsp    = "master:874d81a5ebb6395b0d65d0082471287e522d0c47"
meta-xilinx       = "master:869cba51d3db7909077ad0f066b784ebfd3b092d"
meta-xilinx-community = "master:b93b7ccfa7bddbe7f5fb280e24b7ddccd78c09ff"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_configure (log file is located at /tool/yocto/build/zc706/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/libusb1/1.0.18-r0/temp/log.do_configure.13881)
ERROR: Logfile of failure stored in: /tool/yocto/build/zc706/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/libusb1/1.0.18-r0/temp/log.do_configure.13881
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
| automake (GNU automake) 1.14.1
| Copyright (C) 2013 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
| 
| Written by Tom Tromey <tromey at redhat.com>
|        and Alexandre Duret-Lutz <adl at gnu.org>.
| AUTOV is 1.14
| NOTE: Executing ACLOCAL="aclocal --system-acdir=/tool/yocto/build/zc706/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/libusb1/1.0.18-r0/build/aclocal-copy/ --automake-acdir=/tool/yocto/build/zc706/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.14" autoreconf --verbose --install --force --exclude=autopoint
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal --system-acdir=/tool/yocto/build/zc706/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/libusb1/1.0.18-r0/build/aclocal-copy/ --automake-acdir=/tool/yocto/build/zc706/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.14 --force -I m4
| autoreconf: configure.ac: tracing
| autoreconf: running: libtoolize --copy --force
| libtoolize: putting auxiliary files in `.'.
| libtoolize: copying file `./ltmain.sh'
| libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
| libtoolize: copying file `m4/libtool.m4'
| libtoolize: copying file `m4/ltoptions.m4'
| libtoolize: copying file `m4/ltsugar.m4'
| libtoolize: copying file `m4/ltversion.m4'
| libtoolize: copying file `m4/lt~obsolete.m4'
| autoreconf: running: /tool/yocto/build/zc706/tmp/sysroots/x86_64-linux/usr/bin/autoconf --force
| autoreconf: running: /tool/yocto/build/zc706/tmp/sysroots/x86_64-linux/usr/bin/autoheader --force
| autoreconf: running: automake --foreign --add-missing --copy --force-missing
| autoreconf: running: gnu-configize
| autoreconf: Leaving directory `.'
| NOTE: Running /tool/yocto/build/zc706/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/libusb1/1.0.18-r0/libusb-1.0.18/configure  --build=x86_64-linux 		  --host=arm-poky-linux-gnueabi 		  --target=arm-poky-linux-gnueabi 		  --prefix=/usr 		  --exec_prefix=/usr 		  --bindir=/usr/bin 		  --sbindir=/usr/sbin 		  --libexecdir=/usr/lib/libusb1 		  --datadir=/usr/share 		  --sysconfdir=/etc 		  --sharedstatedir=/com 		  --localstatedir=/var 		  --libdir=/usr/lib 		  --includedir=/usr/include 		  --oldincludedir=/usr/include 		  --infodir=/usr/share/info 		  --mandir=/usr/share/man 		  --disable-silent-rules 		  --disable-dependency-tracking 	  --with-libtool-sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7 --libdir=/lib
| configure: loading site script /tool/yocto/poky/meta/site/endian-little
| configure: loading site script /tool/yocto/poky/meta/site/arm-common
| configure: loading site script /tool/yocto/poky/meta/site/common-linux
| configure: loading site script /tool/yocto/poky/meta/site/common-glibc
| configure: loading site script /tool/yocto/poky/meta/site/arm-linux
| configure: loading site script /tool/yocto/poky/meta/site/common
| configure: loading site script /tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7/usr/share/arm-poky-linux-gnueabi_config_site.d/eglibc_config
| checking for a BSD-compatible install... /usr/bin/install -c
| checking whether build environment is sane... yes
| checking for arm-poky-linux-gnueabi-strip... arm-poky-linux-gnueabi-strip
| checking for a thread-safe mkdir -p... /bin/mkdir -p
| checking for gawk... gawk
| checking whether make sets $(MAKE)... yes
| checking whether make supports nested variables... yes
| checking whether to enable maintainer-specific portions of Makefiles... no
| checking whether make supports nested variables... (cached) yes
| checking for arm-poky-linux-gnueabi-gcc... arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7
| 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... yes
| checking for suffix of object files... o
| checking whether we are using the GNU C compiler... yes
| checking whether arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7 accepts -g... yes
| checking for arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7 option to accept ISO C89... none needed
| checking whether arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7 understands -c and -o together... yes
| checking for style of include used by make... GNU
| checking dependency style of arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7... none
| checking build system type... x86_64-pc-linux-gnu
| checking host system type... arm-poky-linux-gnueabi
| checking how to print strings... printf
| checking for a sed that does not truncate output... (cached) sed
| checking for grep that handles long lines and -e... /bin/grep
| checking for egrep... /bin/grep -E
| checking for fgrep... /bin/grep -F
| checking for ld used by arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7... arm-poky-linux-gnueabi-ld --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7
| checking if the linker (arm-poky-linux-gnueabi-ld --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7 ) is GNU ld... yes
| checking for BSD- or MS-compatible name lister (nm)... arm-poky-linux-gnueabi-nm
| checking the name lister (arm-poky-linux-gnueabi-nm) 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 x86_64-pc-linux-gnu file names to arm-poky-linux-gnueabi format... func_convert_file_noop
| checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
| checking for arm-poky-linux-gnueabi-ld --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7  option to reload object files... -r
| checking for arm-poky-linux-gnueabi-objdump... arm-poky-linux-gnueabi-objdump
| checking how to recognize dependent libraries... pass_all
| checking for arm-poky-linux-gnueabi-dlltool... no
| checking for dlltool... no
| checking how to associate runtime and link libraries... printf %s\n
| checking for arm-poky-linux-gnueabi-ar... arm-poky-linux-gnueabi-ar
| checking for archiver @FILE support... @
| checking for arm-poky-linux-gnueabi-strip... (cached) arm-poky-linux-gnueabi-strip
| checking for arm-poky-linux-gnueabi-ranlib... arm-poky-linux-gnueabi-ranlib
| checking command to parse arm-poky-linux-gnueabi-nm output from arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7 object... ok
| checking for sysroot... /tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7
| checking for arm-poky-linux-gnueabi-mt... no
| checking for mt... mt
| configure: WARNING: using cross tools not prefixed with host triplet
| checking if mt is a manifest tool... no
| checking how to run the C preprocessor... arm-poky-linux-gnueabi-gcc -E --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon
| checking for ANSI C header files... (cached) yes
| checking for sys/types.h... (cached) yes
| checking for sys/stat.h... (cached) yes
| checking for stdlib.h... (cached) yes
| checking for string.h... (cached) yes
| checking for memory.h... (cached) yes
| checking for strings.h... (cached) yes
| checking for inttypes.h... (cached) yes
| checking for stdint.h... (cached) yes
| checking for unistd.h... (cached) yes
| checking for dlfcn.h... (cached) yes
| checking for objdir... .libs
| checking if arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7 supports -fno-rtti -fno-exceptions... no
| checking for arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7 option to produce PIC... -fPIC -DPIC
| checking if arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7 PIC flag -fPIC -DPIC works... yes
| checking if arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7 static flag -static works... yes
| checking if arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7 supports -c -o file.o... yes
| checking if arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7 supports -c -o file.o... (cached) yes
| checking whether the arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7 linker (arm-poky-linux-gnueabi-ld --sysroot=/tool/yocto/build/zc706/tmp/sysroots/zc706-zynq7 ) 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... yes
| checking for arm-poky-linux-gnueabi-windres... no
| checking for windres... no
| checking for inline... inline
| checking operating system... Linux
| checking for library containing clock_gettime... none required
| checking libudev.h usability... no
| checking libudev.h presence... no
| checking for libudev.h... no
| configure: error: "udev support requested but libudev not installed"
| Configure failed. The contents of all config.log files follows to aid debugging
| ERROR: oe_runconf failed
| WARNING: /tool/yocto/build/zc706/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/libusb1/1.0.18-r0/temp/run.do_configure.13881:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_configure (log file is located at /tool/yocto/build/zc706/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/libusb1/1.0.18-r0/temp/log.do_configure.13881)
ERROR: Task 1382 (/tool/yocto/poky/meta/recipes-support/libusb/libusb1_1.0.18.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1361 tasks of which 4 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /tool/yocto/poky/meta/recipes-support/libusb/libusb1_1.0.18.bb, do_configure
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


Regards,

Elvis Dowson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1536 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140517/0135b396/attachment-0002.sig>


More information about the Openembedded-devel mailing list