Your message dated Sun, 01 Mar 2026 04:48:46 +0000
with message-id <[email protected]>
and subject line Bug#1121931: fixed in isomd5sum 1:1.2.5-1
has caused the Debian Bug report #1121931,
regarding Installs C extensions directly into the Python 3.x stdlib
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.)


-- 
1121931: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1121931
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-pyisomd5sum
Version: 1.2.3-5
Severity: serious
Tags: patch

python3-pyisomd5sum is installing its extensions directly into the 
cPython stdlib. That's insane. 3rd party library modules belong in 
/usr/lib/python3/dist-packages/.

$ apt-file show python3-pyisomd5sum
python3-pyisomd5sum: 
/usr/lib/python3.13/pyisomd5sum.cpython-313-x86_64-linux-gnu.so
python3-pyisomd5sum: 
/usr/lib/python3.14/pyisomd5sum.cpython-314-x86_64-linux-gnu.so

If you were using any standard build tooling, you'd automatically get 
your files put in the right place, but alas... it's all hand-written in 
debian/rules.

I can at least give you an patch that let you take advantage of 
pybuild.

Stefano
diff -Nru isomd5sum-1.2.3/debian/changelog isomd5sum-1.2.3/debian/changelog
--- isomd5sum-1.2.3/debian/changelog	2021-03-16 15:04:40.000000000 -0400
+++ isomd5sum-1.2.3/debian/changelog	2025-12-04 17:01:53.000000000 -0400
@@ -1,3 +1,10 @@
+isomd5sum (1:1.2.3-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * HAX
+
+ -- Stefano Rivera <[email protected]>  Thu, 04 Dec 2025 17:01:53 -0400
+
 isomd5sum (1:1.2.3-5) unstable; urgency=medium
 
   * Remove usage of genisoimage (Closes: #982236)
diff -Nru isomd5sum-1.2.3/debian/control isomd5sum-1.2.3/debian/control
--- isomd5sum-1.2.3/debian/control	2021-03-16 15:01:31.000000000 -0400
+++ isomd5sum-1.2.3/debian/control	2025-12-04 17:01:53.000000000 -0400
@@ -26,8 +26,6 @@
 Section: python
 Depends: ${misc:Depends}, ${shlibs:Depends}, ${python3:Depends}
 Suggests: xorriso
-Provides: ${python3:Provides}
-X-Python3-Version: >= 3.2
 Description: ISO9660 checksum Python 3 module
  isomd5sum is a set of utilities for implanting a MD5 checksum in an
  ISO (or any block device), then verifying the checksum later.  isomd5sum
diff -Nru isomd5sum-1.2.3/debian/rules isomd5sum-1.2.3/debian/rules
--- isomd5sum-1.2.3/debian/rules	2021-03-16 14:53:59.000000000 -0400
+++ isomd5sum-1.2.3/debian/rules	2025-12-04 17:01:53.000000000 -0400
@@ -4,37 +4,13 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-include /usr/share/python3/python.mk
-
-PY3VERS=$(shell py3versions -r)
+export PYBUILD_SYSTEM=custom
+export PYBUILD_NAME=pyisomd5sum
+export PYBUILD_BEFORE_BUILD=$(MAKE) implantisomd5 checkisomd5
+export PYBUILD_BEFORE_INSTALL=$(MAKE) DESTDIR=$(CURDIR)/debian/isomd5sum install-bin
+export PYBUILD_BUILD_ARGS=$(MAKE) -C {build_dir} -f {dir}/Makefile VPATH={dir} PYTHON={interpreter} pyisomd5sum.so
+export PYBUILD_TEST_ARGS=gunzip -c {dir}/debian/testiso.iso.gz | {interpreter} {dir}/testpyisomd5sum.py -
+export PYBUILD_INSTALL_ARGS=mkdir -p {destdir}{install_dir} && cp {build_dir}/pyisomd5sum.so {destdir}{install_dir}
 
 %:
-	dh $@ --with=python3
-
-override_dh_auto_build:
-	$(MAKE) implantisomd5 checkisomd5
-	set -e; \
-	for python in $(PY3VERS); do \
-		mkdir -p build/$$python; \
-		$(MAKE) -C build/$$python -f ../../Makefile VPATH=$(CURDIR) \
-		PYTHON=$$python pyisomd5sum.so; \
-	done
-
-override_dh_auto_test:
-	set -e; \
-	for python in $(PY3VERS); do \
-		gunzip -c debian/testiso.iso.gz | env PYTHONPATH=$(CURDIR)/build/$$python $$python ./testpyisomd5sum.py -; \
-	done
-
-override_dh_auto_clean:
-	rm -rf build
-	$(MAKE) clean
-	dh_clean
-
-override_dh_auto_install:
-	$(MAKE) DESTDIR=$(CURDIR)/debian/isomd5sum install-bin
-	set -e; \
-	for python in $(PY3VERS); do \
-		install -m 0755 -d $(CURDIR)/debian/python3-pyisomd5sum/usr/lib/$$python/$(call py_sitename_sh, $$python); \
-		install -m 0644 build/$$python/pyisomd5sum.so $(CURDIR)/debian/python3-pyisomd5sum/usr/lib/$$python/$(call py_sitename_sh, $$python)/pyisomd5sum.so; \
-	done
+	dh $@ --with=python3 --buildsystem pybuild

--- End Message ---
--- Begin Message ---
Source: isomd5sum
Source-Version: 1:1.2.5-1
Done: Ryan Finnie <[email protected]>

We believe that the bug you reported is fixed in the latest version of
isomd5sum, 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.
Ryan Finnie <[email protected]> (supplier of updated isomd5sum 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: Sat, 28 Feb 2026 20:28:08 -0800
Source: isomd5sum
Architecture: source
Version: 1:1.2.5-1
Distribution: unstable
Urgency: medium
Maintainer: Ryan Finnie <[email protected]>
Changed-By: Ryan Finnie <[email protected]>
Closes: 1121931
Changes:
 isomd5sum (1:1.2.5-1) unstable; urgency=medium
 .
   * New upstream release
   * Port to pybuild (Closes: #1121931)
   * Lintian cleanup
Checksums-Sha1:
 fb7a2940e6dbb050136956d6319651e57569e03b 2028 isomd5sum_1.2.5-1.dsc
 91ef7b951ff2136f96abdab1dcdc347f79248958 21427 isomd5sum_1.2.5.orig.tar.gz
 fa3d3877527df45b84400e74ff7229208a72fcff 5312 isomd5sum_1.2.5-1.debian.tar.xz
 2c147d486316f863e4e1ce47649b130b07782f2f 6492 
isomd5sum_1.2.5-1_source.buildinfo
Checksums-Sha256:
 86891e8e2c69f4f819ee1c77b3a42b984439dee24e33b9d3c45992e8601a84fa 2028 
isomd5sum_1.2.5-1.dsc
 b4ffe78a8277b28f7c4528989c55af3eec87d48245f362229c213c704b8c2b97 21427 
isomd5sum_1.2.5.orig.tar.gz
 eff15be4b0d69225358a8f04e46b04d47b6080f007efc69f75894e3fec52ee4d 5312 
isomd5sum_1.2.5-1.debian.tar.xz
 abbb42ec69920d5f7e795238b1c78a97c22f999a61f24e8e0c3c48cc55d83813 6492 
isomd5sum_1.2.5-1_source.buildinfo
Files:
 59935f2af24b0deb2621318fa1ac50f3 2028 misc optional isomd5sum_1.2.5-1.dsc
 c7a19657248a693800103cf1a487624e 21427 misc optional 
isomd5sum_1.2.5.orig.tar.gz
 cd7752b49dcd78a4ace25b18903ebbf1 5312 misc optional 
isomd5sum_1.2.5-1.debian.tar.xz
 d3fb5c22a8498d2c485bc12f95d5c71e 6492 misc optional 
isomd5sum_1.2.5-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEEQuLI3owXOrEC9SxufmCjpoaujZgFAmmjwJoQHHJ5YW5AZmlu
bmllLm9yZwAKCRB+YKOmhq6NmGfaD/4yrRLUipGCUwyuEUv8jPgVKScCqmhXx0/8
qpokhctwy47FPUdqITvBOO2TOdKrpsmms4nfnZ7pIZLeEYmPC25Sxw7CljF0Ku5G
Z6mRy+uNAURRk1dGpgz6NF8bb9tXmXQWT39oELfld3dKoPLZh7zEwAElT3rUSDPI
OCJjdgyw2CoxsBydTUa9YyCrASt6OWf/d1jFxF+wZliWUjreXPUPFAoWS82jR8Cf
oPJZ86aoNs7U9HSkQgBGASoR1Pk2LvpkanbSvf8M8llFj31G2WbLmnOI5fTtbvMI
w5qVdWUD12BrmRwZCDSFLG2lHEICo7ct3dvn6WSfGtUImKJvpNQZqQ2iMTyBOKsF
oUURB4VH42BT82PNUsb39xMy4gXpPeeS+OwEQ6S0uCl4t8ohpO55k6aK12S0vAb+
ymmIFFccwoe3ZU5aTC7bxpkV6Go17kv8FEDafLpyKhBBeEg/TvxTagWzjRRQ+Nr+
hm1lSkqRXrCR9H93GsxqY4zU85GUQeCjI6JHmMrLM+msPyPj7OM2gVHX5M8Vf1PP
wF/R8zltu+MtC/8s5gVdSffJO7BMa3QG476ph9ZM/NW1uB5GFoW6VB0dIa/FrfIO
DGGP9uR/qMY9hz9wO+HrS6lZs/qrnLsXAX7vSlfIv1A6Zl3SYBxAqViIK6UTwimj
W+2UYIiY8g==
=c8Ed
-----END PGP SIGNATURE-----

Attachment: pgpVc0Z3DKb10.pgp
Description: PGP signature


--- End Message ---

Reply via email to