* Package: dev-python/pyusb-1.1.0 * Repository: gentoo * Maintainer: python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_7 python_targets_python3_8 python_targets_python3_9 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo/gentoo/commit/746c00fabf5d170212cbe1407b661d697cb19eab (Thu Jan 7 10:28:30 UTC 2021) @@@@@ END @@@@@ emerge --info: Portage 3.0.12 (python 3.7.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r6, 5.4.0-1029-aws x86_64) ================================================================= System uname: Linux-5.4.0-1029-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8124M_CPU_@_3.00GHz-with-gentoo-2.7 KiB Mem: 71926568 total, 52020384 free KiB Swap: 0 total, 0 free sh bash 5.1_p4 ld GNU ld (Gentoo 2.35.1 p2) 2.35.1 app-shells/bash: 5.1_p4::gentoo dev-lang/perl: 5.32.0-r1::gentoo dev-lang/python: 2.7.18-r5::gentoo, 3.7.9-r1::gentoo, 3.8.7::gentoo, 3.9.1::gentoo dev-util/cmake: 3.19.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7-r1::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.3-r1::gentoo sys-devel/binutils: 2.35.1-r1::gentoo sys-devel/gcc: 10.2.0-r5::gentoo sys-devel/gcc-config: 2.3.2-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* BSD" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" DISTDIR="/var/tmp/portage/dev-python/pyusb-1.1.0/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j36 V=1" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" PYTHON_TARGETS="python3_7 python3_8 python3_9" USERLAND="GNU" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS emerge history: 2021-01-07T13:59:13 >>> dev-libs/libusb-1.0.24-r1 2021-01-07T13:59:15 >>> virtual/libusb-1-r2 2021-01-07T13:59:18 >>> dev-python/pyusb-1.1.0 >>> Unpacking source... >>> Unpacking pyusb-1.1.0.tar.gz to /var/tmp/portage/dev-python/pyusb-1.1.0/work >>> Source unpacked in /var/tmp/portage/dev-python/pyusb-1.1.0/work >>> Preparing source in /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0 ... * python3_7: running distutils-r1_run_phase distutils-r1_python_compile python3.7 setup.py build -j 36 running build running build_py creating /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_7/lib/usb copying usb/legacy.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_7/lib/usb copying usb/__init__.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_7/lib/usb copying usb/control.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_7/lib/usb copying usb/util.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_7/lib/usb copying usb/_version.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_7/lib/usb copying usb/_lookup.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_7/lib/usb copying usb/_interop.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_7/lib/usb copying usb/_objfinalizer.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_7/lib/usb copying usb/core.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_7/lib/usb copying usb/libloader.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_7/lib/usb copying usb/_debug.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_7/lib/usb creating /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_7/lib/usb/backend copying usb/backend/__init__.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_7/lib/usb/backend copying usb/backend/libusb1.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_7/lib/usb/backend copying usb/backend/libusb0.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_7/lib/usb/backend copying usb/backend/openusb.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_7/lib/usb/backend warning: build_py: byte-compiling is disabled, skipping. * python3_8: running distutils-r1_run_phase distutils-r1_python_compile python3.8 setup.py build -j 36 running build running build_py creating /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_8/lib/usb copying usb/legacy.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_8/lib/usb copying usb/__init__.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_8/lib/usb copying usb/control.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_8/lib/usb copying usb/util.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_8/lib/usb copying usb/_version.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_8/lib/usb copying usb/_lookup.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_8/lib/usb copying usb/_interop.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_8/lib/usb copying usb/_objfinalizer.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_8/lib/usb copying usb/core.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_8/lib/usb copying usb/libloader.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_8/lib/usb copying usb/_debug.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_8/lib/usb creating /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_8/lib/usb/backend copying usb/backend/__init__.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_8/lib/usb/backend copying usb/backend/libusb1.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_8/lib/usb/backend copying usb/backend/libusb0.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_8/lib/usb/backend copying usb/backend/openusb.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_8/lib/usb/backend warning: build_py: byte-compiling is disabled, skipping. * python3_9: running distutils-r1_run_phase distutils-r1_python_compile python3.9 setup.py build -j 36 running build running build_py creating /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_9/lib/usb copying usb/legacy.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_9/lib/usb copying usb/__init__.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_9/lib/usb copying usb/control.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_9/lib/usb copying usb/util.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_9/lib/usb copying usb/_version.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_9/lib/usb copying usb/_lookup.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_9/lib/usb copying usb/_interop.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_9/lib/usb copying usb/_objfinalizer.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_9/lib/usb copying usb/core.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_9/lib/usb copying usb/libloader.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_9/lib/usb copying usb/_debug.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_9/lib/usb creating /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_9/lib/usb/backend copying usb/backend/__init__.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_9/lib/usb/backend copying usb/backend/libusb1.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_9/lib/usb/backend copying usb/backend/libusb0.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_9/lib/usb/backend copying usb/backend/openusb.py -> /var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0-python3_9/lib/usb/backend warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/pyusb-1.1.0 * python3_7: running distutils-r1_run_phase python_test E...... ====================================================================== ERROR: runTest (test_util.FindDescriptorTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0/tests/test_util.py", line 70, in runTest d = usb.core.find(idVendor=ID_VENDOR) File "/var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0/usb/core.py", line 1297, in find raise NoBackendError('No backend available') usb.core.NoBackendError: No backend available ---------------------------------------------------------------------- Ran 7 tests in 0.098s FAILED (errors=1) * ERROR: dev-python/pyusb-1.1.0::gentoo failed (test phase): * Tests failed with python3.7 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 3063: Called distutils-r1_src_test * environment, line 1260: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 476: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2668: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2100: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2098: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 833: Called distutils-r1_run_phase 'python_test' * environment, line 1197: Called python_test * environment, line 3023: Called die * The specific snippet of code: * "${PYTHON}" testall.py || die "Tests failed with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/pyusb-1.1.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pyusb-1.1.0::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/dev-python/pyusb-1.1.0:20210107-125931.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pyusb-1.1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyusb-1.1.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0/tests' * S: '/var/tmp/portage/dev-python/pyusb-1.1.0/work/pyusb-1.1.0'