Package: src:python-can
Version: 2.1.0-3
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with python3,python2,sphinxdoc --buildsystem=pybuild
dh_update_autotools_config -i -O--buildsystem=pybuild
dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py config
running config
I: pybuild base:217: python3.6 setup.py config
running config
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:217: /usr/bin/python setup.py build
running build
running build_py
[... snipped ...]
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/socketcan/socketcan_common.py
to socketcan_common.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/socketcan/__init__.py
to __init__.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/socketcan/socketcan_constants.py
to socketcan_constants.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/socketcan/socketcan_native.py
to socketcan_native.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/socketcan/socketcan_ctypes.py
to socketcan_ctypes.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/slcan.py
to slcan.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/__init__.py
to __init__.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/pcan/PCANBasic.py
to PCANBasic.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/pcan/pcan.py
to pcan.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/pcan/__init__.py
to __init__.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/virtual.py
to virtual.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/usb2can/serial_selector.py
to serial_selector.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/usb2can/usb2canabstractionlayer.py
to usb2canabstractionlayer.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/usb2can/usb2canInterface.py
to usb2canInterface.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/usb2can/__init__.py
to __init__.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/interface.py
to interface.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/kvaser/__init__.py
to __init__.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/kvaser/canlib.py
to canlib.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/kvaser/argument_parser.py
to argument_parser.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/kvaser/constants.py
to constants.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/nican.py
to nican.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/vector/__init__.py
to __init__.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/vector/exceptions.py
to exceptions.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/vector/vxlapi.py
to vxlapi.cpython-36.pyc
byte-compiling
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/can/interfaces/vector/canlib.py
to canlib.cpython-36.pyc
running install_egg_info
running egg_info
writing python_can.egg-info/PKG-INFO
writing dependency_links to python_can.egg-info/dependency_links.txt
writing requirements to python_can.egg-info/requires.txt
writing top-level names to python_can.egg-info/top_level.txt
reading manifest file 'python_can.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'python_can.egg-info/SOURCES.txt'
Copying python_can.egg-info to
/<<PKGBUILDDIR>>/debian/python3-can/usr/lib/python3.6/dist-packages/python_can-2.1.0.egg-info
Skipping SOURCES.txt
running install_scripts
for f in debian/*/usr/bin/*.py; do mv $f ${f%.py}; done
mv: cannot stat 'debian/*/usr/bin/*.py': No such file or directory
debian/rules:18: recipe for target 'override_dh_auto_install' failed
make[1]: [override_dh_auto_install] Error 1 (ignored)
rm -f debian/*/usr/lib/python*/dist-packages/test.???
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_installdocs -i -O--buildsystem=pybuild
dh_installdocs: Cannot find (any matches for) "README" (tried in .)
debian/rules:6: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess
returned exit status 2
--------------------------------------------------------------------------------
The build was made with "dpkg-buildpackage -A" in my autobuilder
but it also fails in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-can.html
[ Note: There has been a recent change in debhelper behaviour, the current
behaviour is the intended one. See Bug #903133 for details ].
Thanks.