Its not possible to cross compile usbutils for arm on x86 platform. The configure script fails with "configure: error: get libusb 0.1.8 or newer". Reproducible: Always Steps to Reproduce: 1. xmerge usbutils --- xmerge script ------------------- #!/bin/bash SYSROOT="/opt/board/root/portux_arm9200/fs" CBUILD=$(portageq envvar CHOST) PORTAGE_CONFIGROOT="$SYSROOT" if [[ "$1" == "--root" ]] ; then ROOT="$2" shift 2 else ROOT="$SYSROOT" fi export CBUILD PORTAGE_CONFIGROOT ROOT emerge $* ------------------- Actual Results: Calculating dependencies... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 2) sys-apps/usbutils-0.72-r4 to /opt/board/root/portux_arm9200/fs/ * usbutils-0.72.tar.gz RMD160 ;-) ... [ ok ] * usbutils-0.72.tar.gz SHA1 ;-) ... [ ok ] * usbutils-0.72.tar.gz SHA256 ;-) ... [ ok ] * usbutils-0.72.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking usbutils-0.72.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking usbutils-0.72.tar.gz to /var/tmp/portage/sys-apps/usbutils-0.72-r4/work * Applying usbutils-0.72-update-usbids.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sys-apps/usbutils-0.72-r4/work/usbutils-0.72 ... ./configure --prefix=/usr --host=arm-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datadir=/usr/share/misc --enable-usbmodules --build=i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for arm-unknown-linux-gnu-strip... arm-unknown-linux-gnu-strip checking for arm-unknown-linux-gnu-gcc... arm-unknown-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether arm-unknown-linux-gnu-gcc accepts -g... yes checking for arm-unknown-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of arm-unknown-linux-gnu-gcc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking how to run the C preprocessor... arm-unknown-linux-gnu-gcc -E checking for egrep... grep -E checking for working alloca.h... yes checking for alloca... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... 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/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for unistd.h... (cached) yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... no checking for vprintf... yes checking for _doprnt... no checking for getcwd... yes checking for memset... yes checking for getopt_long... yes checking for strchr... yes checking for strerror... yes checking for strstr... yes checking for strtoul... yes checking for uname... yes checking for usb_get_string_simple in -lusb... no configure: error: get libusb 0.1.8 or newer !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/sys-apps/usbutils-0.72-r4/work/usbutils-0.72/config.log !!! ERROR: sys-apps/usbutils-0.72-r4 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile usbutils-0.72-r4.ebuild, line 34: Called econf '--datadir=/usr/share/misc' '--enable-usbmodules' ebuild.sh, line 578: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/sys-apps/usbutils-0.72-r4/temp/build.log'.
This has exactly ZERO to do w/ Gentoo Bugzilla product; kindly read the descriptions.
nor is this an arm issue
you havent properly setup your cross-toolchain environment read the config.log for the full error