Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #83311 > unrolled thread
| Started by | Johannes Schauer Marin Rodrigues <josch@debian.org> |
|---|---|
| First post | 2024-08-04 17:10 +0200 |
| Last post | 2024-08-04 23:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.kernel
Bug#1077922: regression: `debian/rules debian/control-real` results in: TypeError: 'BinaryPackage' object is not subscriptable Johannes Schauer Marin Rodrigues <josch@debian.org> - 2024-08-04 17:10 +0200
Bug#1077922: marked as done (regression: `debian/rules debian/control-real` results in: TypeError: 'BinaryPackage' object is not subscriptable) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-08-04 23:10 +0200
| From | Johannes Schauer Marin Rodrigues <josch@debian.org> |
|---|---|
| Date | 2024-08-04 17:10 +0200 |
| Subject | Bug#1077922: regression: `debian/rules debian/control-real` results in: TypeError: 'BinaryPackage' object is not subscriptable |
| Message-ID | <J7L1T-2Ggj-3@gated-at.bofh.it> |
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.
[toc] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2024-08-04 23:10 +0200 |
| Subject | Bug#1077922: marked as done (regression: `debian/rules debian/control-real` results in: TypeError: 'BinaryPackage' object is not subscriptable) |
| Message-ID | <J7QEh-2JOq-17@gated-at.bofh.it> |
| In reply to | #83311 |
[Multipart message — attachments visible in raw view] — view raw
Your message dated Sun, 4 Aug 2024 23:03:58 +0200 with message-id <20240804210358.tf766nvdfjj6mn6j@shell.thinkmo.de> and subject line Re: Bug#1077922: regression: `debian/rules debian/control-real` results in: TypeError: 'BinaryPackage' object is not subscriptable has caused the Debian Bug report #1077922, regarding regression: `debian/rules debian/control-real` results in: TypeError: 'BinaryPackage' object is not subscriptable 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.) -- 1077922: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077922 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web