[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1011048: marked as done (firmware-nonfree: Fails to build without linux-support but linux-support isn't listed in Build-Depends)



Your message dated Mon, 16 May 2022 16:01:49 +0200
with message-id <YoJZTa2Pad4YTYY4@shell.thinkmo.de>
and subject line Re: Bug#1011048: firmware-nonfree: Fails to build without linux-support but linux-support isn't listed in Build-Depends
has caused the Debian Bug report #1011048,
regarding firmware-nonfree: Fails to build without linux-support but linux-support isn't listed in Build-Depends
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1011048: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011048
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
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

--- End Message ---

Reply to: