Source: linux
Version: 6.10-1~exp1
Severity: normal

Hi,

in our Debian packaging for the MNT Reform hardware family we add a
`debian/templates/extra.control.in` which you can see at the end of this
email. Since version 6.10-1~exp1 in experimental, running `debian/rules
debian/control-real` results in the following backtrace:

PYTHONHASHSEED=0 debian/bin/gencontrol.py
Traceback (most recent call last):
  File "/home/josch/deb/linux/debian/bin/gencontrol.py", line 645, in <module>
    Gencontrol()()
  File "/home/josch/deb/linux/debian/bin/debian_linux/gencontrol.py", line 386, 
in __call__
    self.do_extra()
  File "/home/josch/deb/linux/debian/bin/debian_linux/gencontrol.py", line 457, 
in do_extra
    arches = package['Architecture']
             ~~~~~~~^^^^^^^^^^^^^^^^
TypeError: 'BinaryPackage' object is not subscriptable
make: *** [debian/rules:149: debian/control-real] Error 1

Bisecting the Debian linux git reveals that this is due to commit
1f3a3d27318a99feef7ffcdb4e302d164250af64 and "git tag --contains" confirms that
this commit first appeared in `debian/6.10-1_exp1`.

Maybe this is intentional and I have to change something in my
`extra.control.in` or maybe this is a regression?

Thanks!

cheers, josch




Package: linux-image-arm64
Architecture: arm64
Meta-Rules-Target: meta
Build-Profiles: <!pkg.linux.nokernel !pkg.linux.nometa>
Depends: linux-image-mnt-reform-arm64 (= ${binary:Version}), ${misc:Depends}
Section: oldlibs
Description: Linux for 64-bit ARMv8 machines (MNT Reform) (meta-meta-package)
 This meta-meta-package depends on the linux-image-mnt-reform-arm64
 meta-package for use on MNT Reform 2, MNT Pocket Reform and Reform Next to
 ensure a smooth transition after changing the kernel flavour name in 6.8.9.
 .
 This is an empty transitional package and can be safely removed as its
 functionality is provided by the linux-image-mnt-reform-arm64 package instead.

Package: linux-headers-arm64
Architecture: arm64
Meta-Rules-Target: meta
Build-Profiles: <!pkg.linux.nokernel !pkg.linux.nometa !pkg.linux.quick>
Depends: linux-headers-mnt-reform-arm64 (= ${binary:Version}), ${misc:Depends}
Section: oldlibs
Description: Linux for 64-bit ARMv8 machines (MNT Reform) (meta-meta-package)
 This meta-meta-package depends on the linux-headers-mnt-reform-arm64
 meta-package for use on MNT Reform 2, MNT Pocket Reform and Reform Next to
 ensure a smooth transition after changing the kernel flavour name in 6.8.9.
 .
 This is an empty transitional package and can be safely removed as its
 functionality is provided by the linux-headers-mnt-reform-arm64 package
 instead.

Reply via email to