Article View: linux.debian.bugs.rc
Article #1155Bug#1151452: [Pkg-privacy-maintainers] Bug#1151452: mat2: FTBFS with dh-python 7.20261019
From: Maximiliano Curia
Date: Tue, 20 Oct 2026 20:20
Date: Tue, 20 Oct 2026 20:20
142 lines
6969 bytes
6969 bytes
--nFmizUXQWIMx4463
Content-Type: multipart/mixed; boundary="HUZ2A0nQgYgKOkga"
Content-Disposition: inline
--HUZ2A0nQgYgKOkga
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
=A1Hola Georg!
El 2026-10-20 a las 19:36 +0000, Georg Faerber escribi=F3:
>Thanks for your report --
You are welcome.
>On 26-10-20 21:05:10, Maximiliano Curia wrote:
>> While preparing the Python 3.15 migration we realized that some Python
>> packages were shipping broken metadata directories, which leads to
>> errors when trying to import these directories with code running on
>> Python 3.15.
>>
>> To avoid shipping any additional broken directories, dh-python
>> 7.20261019 now throws an error at build-time.
>>
>> Unfortunately, mat2 is one of the affected packages and fails to build
>> with the latest dh-python [1].
>>
>> Most of these errors can be fixed by being more strict with the files
>> considered for installation. I'll try to submit a patch for this ASAP.
>>
>> [1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/511=
8877/
>
>I had a quick look at the above link: to me it seems that the build
>fails not due to broken metadata directories, but rather due to
>
> FAIL: test_all_parametred (tests.test_libmat2.TestCleaning.test_all_para=
metred)
> AssertionError: False is not true : got a different value (720000) than =
excepted [...]
>
>which looks similar to
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D993209
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1021732
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1148580
> ...
>
>The autopkgtest via ci.d.n is failing since quite some time as well.
>Does this make sense?
Yes, this package already had an FTBFS due to a change in ffmpeg 9. I
prepared another patch for that, and I cherry-picked a patch from
upstream (attaching them). With these patches the package builds again.
Happy hacking,
--=20
"It is not the task of the University to offer what society asks for, but t=
o=20
give what society needs."
-- Edsger W. Dijkstra
Saludos /\/\ /\ >< `/
--HUZ2A0nQgYgKOkga
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment;
filename=0001-Fix-mp4-test-with-ffmpeg-9.patch
Description: Fix MP4 test failure with FFmpeg 9
Newer FFmpeg calculates the movie timescale from the stream timescales
(resulting in 720000 for dirty.mp4) rather than defaulting to 1000.
Forwarded: no
--- a/tests/test_libmat2.py
+++ b/tests/test_libmat2.py
@@ -611,6 +611,7 @@
},
'extra_expected_meta': {
'VideoFullRangeFlag': 0,
+ 'TimeScale': 720000,
}
},{
'name': 'wmv',
--HUZ2A0nQgYgKOkga
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment;
filename=0002-Disable-namespace-package-discovery.patch
Content-Transfer-Encoding: quoted-printable
=46rom bdf641b5fda400df70e387cb7379f9a08cef0f17 Mon Sep 17 00:00:00 2001
=46rom: Lukas Schmelting <lschmelting@posteo.com>
Date: Wed, 12 Aug 2026 18:17:50 +0200
Subject: [PATCH] Disable namespace package discovery
Prevent non-Python directories such as data, doc, dolphin and nemo from
being installed into site-packages by setuptools' implicit namespace
package discovery.
---
pyproject.toml | 1 +
1 file changed, 1 insertion(+)
diff --git a/pyproject.toml b/pyproject.toml
index 7b14858..b37aa71 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -38,6 +38,7 @@ script-files =3D ["mat2"]
=20
[tool.setuptools.packages.find]
exclude =3D ["tests*"]
+namespaces =3D false
=20
[tool.setuptools.data-files]
"share/man/man1" =3D ["doc/mat2.1"]
--=20
2.53.0
--HUZ2A0nQgYgKOkga--
--nFmizUXQWIMx4463
Content-Type: application/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE+JIdOnQEyG4RNSIVxxl2mbKbIyoFAmrXy8UACgkQxxl2mbKb
IyoqOg//QuJM7atma0NUQ6RN4K90tz0Y+BN9fv8egtrYZU3kFwHYfi8iRzFyTklm
ZscsGq7aLjBZjshFHXju+esYePjjGE4TdAnBziDi+/+bqdolEByImzVNcM7tMbcQ
TDGqeWhPW8IqBLiOwyiIVzFFzQiei04m5AYwXP2t2qQ8HERdxMPjoZfxEztVyasw
i5s8wlWZHoqe8+x4VJ9gi3WctZexUmZCXFn3YOuizD9/AQ1Z+aqpwJzNnAstWCYL
xprTRqptheV1+pyKADdIF+G0+AUj6aswiZtgfcO/AFw+7m2JP3Lxml3vG77E9Uwq
4cWS3wee2hbXBUz+MVPj5AOA0y0yX2PLWKWgKrXZEfWP/rKUCPiAN4zWzGcwfy1q
3r5M4Mwj/qKLEjJBwtodETPC+Mq8TJ08iarFUGxIPpu/0ooO0Q1+t2WbWUF+KOlP
LlmOE+O9tAhEaz8Qtr9VfJ4p+q9PGe66ZbffHPVCxOkG1GAI+KPPCtQb4gAb2Hb1
BIW8V6vus91gWlNfbEt6NgE/aCqa8tdxAhSoWZCzNHK9xJc8cW9R6x44nzszHLSL
+F0+weujSjpC0ri88QB7wWHIEdveCIgOhXVIQ8Ro/HqupXKDBTjI5KGJvRM5RT2l
dVZNaDCmQf7ABEKg67Ziz3EU9l1mKHkd9wc3qVUdr6cRBnQROoU=
=qSPX
-----END PGP SIGNATURE-----
--nFmizUXQWIMx4463--
Technical Details
Message-ID:
<NQotr-6PRt-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NQnnI-6PcN-11@gated-at.bofh.it> <NQnQJ-6PqR-9@gated-at.bofh.it> <NQnnI-6PcN-11@gated-at.bofh.it> <NQnQJ-6PqR-9@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Maximiliano Curia <maxy@gnuservers.com.ar> Newsgroups: linux.debian.bugs.rc Subject: Bug#1151452: [Pkg-privacy-maintainers] Bug#1151452: mat2: FTBFS with dh-python 7.20261019 Date: Tue, 20 Oct 2026 22:20:01 +0200 Message-ID: <NQotr-6PRt-1@gated-at.bofh.it> References: <NQnnI-6PcN-11@gated-at.bofh.it> <NQnQJ-6PqR-9@gated-at.bofh.it> <NQnnI-6PcN-11@gated-at.bofh.it> <NQnQJ-6PqR-9@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Tue Oct 20 20:17:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.65 Reply-To: Maximiliano Curia <maxy@gnuservers.com.ar>, 1151452@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: pkg-privacy-maintainers@lists.alioth.debian.org X-Debian-Pr-Message: followup 1151452 X-Debian-Pr-Package: src:mat2 X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: mat2 Authentication-Results: nefele.gnuservers.com.ar; dmarc=fail (p=quarantine dis=none) header.from=gnuservers.com.ar Authentication-Results: nefele.gnuservers.com.ar; dkim=none; dkim-atps=neutral MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nFmizUXQWIMx4463" Content-Disposition: inline X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/835278 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 142 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 1151452@bugs.debian.org X-Original-Date: Tue, 20 Oct 2026 22:15:07 +0200 X-Original-Message-ID: <atfLxSS11v0-Hdyt@hecuba.gnuservers.com.ar> X-Original-References: <ate7ZgZ5I2OnzBbv@hecuba.gnuservers.com.ar> <atfCvLcMPWmbs-4K@debian> <ate7ZgZ5I2OnzBbv@hecuba.gnuservers.com.ar> <atfCvLcMPWmbs-4K@debian>