firmware-nonfree: Fails to build without linux-support but linux-support isn't listed in Build-Depends
Package:
firmware-nonfree
;
Maintainer for
firmware-nonfree
is
Debian Kernel Team <debian-kernel@lists.debian.org>
;
Report forwarded
to
debian-bugs-dist@lists.debian.org, genpfault@gmail.com, Debian Kernel Team <debian-kernel@lists.debian.org>
:
Bug#1011048
; Package
firmware-nonfree
.
(Mon, 16 May 2022 04:18:04 GMT) (
full text
,
mbox
,
link
).
Acknowledgement sent
to
Charles Huber <genpfault@gmail.com>
:
New Bug report received and forwarded. Copy sent to
genpfault@gmail.com, Debian Kernel Team <debian-kernel@lists.debian.org>
.
(Mon, 16 May 2022 04:18:04 GMT) (
full text
,
mbox
,
link
).
Message #5
received at submit@bugs.debian.org (
full text
,
mbox
,
reply
):
Package: firmware-nonfree
Version: 20210818
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: genpfault@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 <user@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
to Charles Huber <genpfault@gmail.com>
:
Bug acknowledged by developer.
(Mon, 16 May 2022 14:03:03 GMT) (full text, mbox, link).
Message #10 received at 1011048-done@bugs.debian.org (full text, mbox, reply):
On Mon, May 16, 2022 at 04:15:38AM +0000, Charles Huber wrote:
> 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:
> 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.
This code only runs if you modified the source. Please read
README.Source if you want to modify the package and how to do it.
linux-support is _not_ required to build the package, only to prepare
some parts.
Closing, as the package is not broken.
Bastian
To live is always desirable.
-- Eleen the Capellan, "Friday's Child", stardate 3498.9
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org
.
(Tue, 14 Jun 2022 07:26:32 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Mon Jul 24 11:32:28 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,