Package: firmware-nonfree
Version: 20210818
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: genpfa...@gmail.com

Dear Maintainer,

While trying to backport firmware-nonfree/unstable in a bullseye amd64 schroot:

user@host:~/firmware-nonfree/firmware-nonfree-20210818$ dpkg-buildpackage 
--unsigned-source --unsigned-changes               

...the build fails when trying to load the debian_linux Python module from 
linux-support:

dpkg-buildpackage: info: source package firmware-nonfree
dpkg-buildpackage: info: source version 20210818-1~bpo11+1
dpkg-buildpackage: info: source distribution bullseye-backports
dpkg-buildpackage: info: source changed by  <u...@example.com>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 fakeroot debian/rules clean
md5sum --check debian/control.md5sum --status || \
        /usr/bin/make -f debian/rules debian/control-real
make[1]: Entering directory 
'/home/user/firmware-nonfree/firmware-nonfree-20210818'
./copy-firmware.sh debian/build/install
debian/bin/gencontrol.py /usr/src/linux-support-5.10.0-8
Traceback (most recent call last):
  File 
"/home/user/firmware-nonfree/firmware-nonfree-20210818/debian/bin/gencontrol.py",
 line 13, in <module>
    from config import Config
  File "debian/lib/python/config.py", line 1, in <module>
    from debian_linux.config import ConfigParser, SchemaItemList
ModuleNotFoundError: No module named 'debian_linux'
make[1]: *** [debian/rules:53: debian/control-real] Error 1
make[1]: Leaving directory 
'/home/user/firmware-nonfree/firmware-nonfree-20210818'
make: *** [debian/rules:45: debian/control] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit 
status 2

...despite not listing linux-support in the Build-Depends list in the DSC or in 
the debian/control file.


-- System Information:
Debian Release: 11.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.17.4 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Reply via email to