Your message dated Sun, 25 Jan 2026 20:38:26 +0000
with message-id <[email protected]>
and subject line Bug#1125979: fixed in dh-python 7.20260125
has caused the Debian Bug report #1125979,
regarding dh-python: llvm-21-tools fails in postinst script because of
py3compile
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 [email protected]
immediately.)
--
1125979: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1125979
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dh-python
Version: 7.20251231
Severity: important
X-Debbugs-Cc: [email protected]
Dear Maintainer,
dh_python3 generates postint script that contains:
Automatically added by dh_python3
if command -v py3compile >/dev/null 2>&1; then
py3compile -p llvm-21-tools:amd64 /usr/lib/llvm-21/build/utils/lit
fi
Lack of || true or similar(py3compile not returning 1 on fail?) causes
llvm-21-tools to fail at install:
Setting up llvm-21-tools (1:21.1.8-1+b1) ...
File "/usr/lib/llvm-21/build/utils/lit/tests/shtest-encoding.py", line 3
# Here is a string that cannot be decoded in line mode: �.
^
SyntaxError: Non-UTF-8 code starting with '\xc2' on line 3, but no encoding
declared; see https://peps.python.org/pep-0263/ for details
dpkg: error processing package llvm-21-tools (--configure):
old llvm-21-tools package postinst maintainer script subprocess failed with
exit status 1
Errors were encountered while processing:
llvm-21-tools
-- System Information:
Debian Release: forky/sid
APT prefers experimental
APT policy: (502, 'experimental'), (501, 'unstable'), (500,
'unstable-debug'), (500, 'testing'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.19-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages dh-python depends on:
ii python3 3.14.2-1
dh-python recommends no packages.
Versions of packages dh-python suggests:
ii dpkg-dev 1.23.4
pn flit <none>
ii libdpkg-perl 1.23.4
ii python3-build 1.2.2-5
ii python3-installer 0.7.0+dfsg1-3
ii python3-wheel 0.46.1-2
-- debconf-show failed
--- End Message ---
--- Begin Message ---
Source: dh-python
Source-Version: 7.20260125
Done: Stefano Rivera <[email protected]>
We believe that the bug you reported is fixed in the latest version of
dh-python, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stefano Rivera <[email protected]> (supplier of updated dh-python package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 25 Jan 2026 14:05:36 -0400
Source: dh-python
Architecture: source
Version: 7.20260125
Distribution: unstable
Urgency: medium
Maintainer: Piotr Ożarowski <[email protected]>
Changed-By: Stefano Rivera <[email protected]>
Closes: 1125979
Changes:
dh-python (7.20260125) unstable; urgency=medium
.
* Catch TOMLDecodeError in plugin_pyproject
* Drop python2.* autoscripts
* autoscripts: Ignore py3compile failure (Closes: #1125979)
Checksums-Sha1:
acf839ff134c11a438d61c027fd6a0e63d895f7a 1686 dh-python_7.20260125.dsc
7e7f7be7b01ab2397d7771216856da5b1fb6cf1c 136604 dh-python_7.20260125.tar.xz
2ccf0672f824b734dc4f2467a19bf933c89ddaae 6484
dh-python_7.20260125_source.buildinfo
Checksums-Sha256:
8c815fe75bc19d839fcb5cb25dcf15b961633d22766552f3fb8711ad83aacda8 1686
dh-python_7.20260125.dsc
5192cd14c939fd45d0500ea9f9c39ed4ed2b109f20edaa172bb2f1430fa7f119 136604
dh-python_7.20260125.tar.xz
73714ce97c853ec40d2f2c3f83fafc155ac750995c9a91c1921ddaaf4b37cad7 6484
dh-python_7.20260125_source.buildinfo
Files:
732a9ee26b9279f0d7496a59cbd159e4 1686 python optional dh-python_7.20260125.dsc
d4baf1fc4fd5117afba23bb6062bdd8e 136604 python optional
dh-python_7.20260125.tar.xz
e6c1ff3b8ede58098c83df9b7ee2a70a 6484 python optional
dh-python_7.20260125_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCaXZ28xQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2Ll1AP9EQdP+dNSvAkgI1ZYVg8I2Tp4F5hA3
s4ImbTQnfKnE/gD+IFbSdsVrTQN3uLNt7cMSYyBb7Kn/d2aeXG4enHVw2QE=
=c0x1
-----END PGP SIGNATURE-----
pgpJVL7Ss2JjW.pgp
Description: PGP signature
--- End Message ---