Source: python-libusb1
Version: 1.8-1.1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201226 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
>  debian/rules build
> dh build --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:232: /usr/bin/python3 setup.py build 
> running build
> running build_py
> copying libusb1.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1
> copying usb1/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1
> copying usb1/_version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1
> copying usb1/libusb1.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1
> copying usb1/testUSB1.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1
> /usr/lib/python3/dist-packages/setuptools/lib2to3_ex.py:36: 
> SetuptoolsDeprecationWarning: 2to3 support is deprecated. If the project 
> still requires Python 2 support, please migrate to a single-codebase solution 
> or employ an independent conversion process.
>   warnings.warn(
> Fixing /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/libusb1.py 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1/__init__.py 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1/_version.py 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1/libusb1.py 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1/testUSB1.py
> Skipping optional fixer: buffer
> Skipping optional fixer: idioms
> Skipping optional fixer: set_literal
> Skipping optional fixer: ws_comma
> Fixing /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/libusb1.py 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1/__init__.py 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1/_version.py 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1/libusb1.py 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1/testUSB1.py
> Skipping optional fixer: buffer
> Skipping optional fixer: idioms
> Skipping optional fixer: set_literal
> Skipping optional fixer: ws_comma
> UPDATING /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1/_version.py
> set /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1/_version.py to 
> '1.8'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running build_py
> UPDATING /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1/_version.py
> set /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1/_version.py to 
> '1.8'
> running egg_info
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/libusb1.egg-info
> writing 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/libusb1.egg-info/PKG-INFO
> writing dependency_links to 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/libusb1.egg-info/dependency_links.txt
> writing top-level names to 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/libusb1.egg-info/top_level.txt
> writing manifest file 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/libusb1.egg-info/SOURCES.txt'
> reading manifest file 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/libusb1.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'testUSB1.py'
> writing manifest file 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/libusb1.egg-info/SOURCES.txt'
> running build_ext
> testDefaultEnumScope (usb1.testUSB1.USBTransferTests)
> Enum instances must only affect the scope they are created in. ... ok
> testDescriptors (usb1.testUSB1.USBTransferTests) ... skipped 'descriptor walk 
> test did not complete'
> testDescriptorsWithExtra (usb1.testUSB1.USBTransferTests) ... skipped 
> 'descriptor walk test did not complete'
> testExplicitEnumScope (usb1.testUSB1.USBTransferTests)
> Enum instances must only affect the scope they are created in. ... ok
> testGetVersion (usb1.testUSB1.USBTransferTests)
> Just testing getVersion doesn't raise... ... ok
> testHasCapability (usb1.testUSB1.USBTransferTests)
> Just testing hasCapability doesn't raise... ... ok
> testHasVersion (usb1.testUSB1.USBTransferTests) ... ok
> testImplicitUSBContextOpening (usb1.testUSB1.USBTransferTests)
> Test pre-1.5 API backward compatibility. ... 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1/__init__.py:2205: 
> DeprecationWarning: Use "with USBContext() as context:" for safer cleanup on 
> interpreter shutdown. See also USBContext.open().
>   warnings.warn(
> ok
> testSetBulk (usb1.testUSB1.USBTransferTests)
> Simplest test: feed some data, must not raise. ... ok
> testSetControl (usb1.testUSB1.USBTransferTests)
> Simplest test: feed some data, must not raise. ... ok
> testSetGetCallback (usb1.testUSB1.USBTransferTests) ... ok
> testSetInterrupt (usb1.testUSB1.USBTransferTests)
> Simplest test: feed some data, must not raise. ... ok
> testSetIsochronous (usb1.testUSB1.USBTransferTests)
> Simplest test: feed some data, must not raise. ... ok
> testUSBPollerThreadException (usb1.testUSB1.USBTransferTests)
> USBPollerThread exception handling. ... 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_usb1/build/usb1/__init__.py:978: 
> DeprecationWarning: USBPollerThread causes long stalls when used with poll 
> (it was intended for epoll), and is generally misleading. Consider calling 
> looping over context.handleEvents() in a thread instead.
>   warnings.warn(
> python3.9: ../../libusb/os/threads_posix.h:58: usbi_mutex_destroy: Assertion 
> `pthread_mutex_destroy(mutex) == 0' failed.
> Aborted
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=134: 
> python3.9 setup.py test 
> dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit 
> code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/12/26/python-libusb1_1.8-1.1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to