[Pkg-privacy-maintainers] Bug#1151452: Bug#1151452: mat2: FTBFS with dh-python 7.20261019

Maximiliano Curia maxy at gnuservers.com.ar
Tue Oct 20 21:15:07 BST 2026


¡Hola Georg!

El 2026-10-20 a las 19:36 +0000, Georg Faerber escribió:
>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/5118877/
>
>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_parametred)
>  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=993209
>  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021732
>  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1148580
>  ...
>
>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,
-- 
"It is not the task of the University to offer what society asks for, but to 
give what society needs."
-- Edsger W. Dijkstra
Saludos /\/\ /\ >< `/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-mp4-test-with-ffmpeg-9.patch
Type: text/x-diff
Size: 471 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-privacy-maintainers/attachments/20261020/510a35cb/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Disable-namespace-package-discovery.patch
Type: text/x-diff
Size: 744 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-privacy-maintainers/attachments/20261020/510a35cb/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-privacy-maintainers/attachments/20261020/510a35cb/attachment.sig>


More information about the Pkg-privacy-maintainers mailing list