#1148580 mat2: autopkgtest failure with ffmpeg 9.0

Package:
src:mat2
Source:
src:mat2
Submitter:
Sebastian Ramacher
Date:
2026-10-23 17:11:01 UTC
Severity:
normal
Tags:
#1148580#5
Date:
2026-09-21 07:05:02 UTC
From:
To:
Source: mat2
Version: 0.15.0-1
Severity: serious
X-Debbugs-Cc: sramacher@debian.org
Control: forwarded -1 https://github.com/jvoisin/mat2/issues/53

Dear maintainer,

the autopkgtests of mat2 fail with ffmpeg 9.0:

194s _ TestCleaning.test_all_parametred (case={'name': 'mp4', 'ffmpeg': 1, 'parser': <class 'libmat2.video.MP4Parser'>, 'meta': {'Encoder': 'HandBrake 0.9.4 2009112300'}, ...}) _
194s
194s self = <tests.test_libmat2.TestCleaning testMethod=test_all_parametred>
194s
194s     def test_all_parametred(self):
194s         for case in self.data:
194s             with self.subTest(case=case):
194s                 if 'ffmpeg' in case:
194s                     try:
194s                         video._get_ffmpeg_path()
194s                     except RuntimeError:
194s                         raise unittest.SkipTest
194s
194s                 print('[+] Testing %s' % case['name'])
194s                 target = './tests/data/clean.' + case['name']
194s                 shutil.copy('./tests/data/dirty.' + case['name'], target)
194s                 p1 = case['parser'](target)
194s
194s                 for k, v in p1.get_meta().items():
194s                     if k not in case['meta']:
194s                         continue
194s                     if isinstance(v, dict):
194s                         for _k, _v in v.items():
194s                             if _k in case['meta'][k]:
194s                                 self.assertEqual(_v, case['meta'][k][_k])
194s                     else:
194s                         self.assertEqual(v, case['meta'][k])
194s
194s                 p1.lightweight_cleaning = True
194s                 self.assertTrue(p1.remove_all())
194s
194s                 p2 = case['parser'](p1.output_filename)
194s                 meta = p2.get_meta()
194s                 if meta:
194s                     for k, v in p2.get_meta().items():
194s                         self.assertIn(k, case['expected_meta'], '"%s" is not in "%s" (%s), with all of them being %s' % (k, case['expected_meta'], case['name'], p2.get_meta().items()))
194s                         if str(case['expected_meta'][k]) in str(v):
194s                             continue
194s                         if 'extra_expected_meta' in case and k in case['extra_expected_meta']:
194s                             if str(case['extra_expected_meta'][k]) in str(v):
194s                                 continue
194s >                       self.assertTrue(False, "got a different value (%s) than excepted (%s) for %s, with all of them being %s" % (str(v), meta, k, p2.get_meta().items()))
194s E                       AssertionError: False is not true : got a different value (720000) than excepted ({'MajorBrand': 'MP4 Base Media v1 [IS0 14496-12:2003]', 'MinorVersion': '0.2.0', 'CompatibleBrands': ['isom', 'iso2', 'avc1', 'mp41'], 'MediaDataSize': 379872, 'MediaDataOffset': 48, 'MovieHeaderVersion': 0, 'TimeScale': 720000, 'PreferredRate': 1, 'NextTrackID': 3, 'TrackHeaderVersion': 0, 'TrackID': 1, 'TrackLayer': 0, 'GraphicsMode': 'srcCopy', 'CompressorID': 'avc1', 'ColorProfiles': 'nclx', 'ColorPrimaries': 'BT.709', 'TransferCharacteristics': 'BT.709', 'MatrixCoefficients': 'BT.709', 'VideoFullRangeFlag': 'Limited', 'BufferSize': 0, 'MaxBitrate': 465641, 'AverageBitrate': 465641, 'MediaHeaderVersion': 0, 'HandlerDescription': 'SoundHandler', 'HandlerType': 'Metadata', 'HandlerVendorID': 'Apple', 'Rotation': 0}) for TimeScale, with all of them being dict_items([('MajorBrand', 'MP4 Base Media v1 [IS0 14496-12:2003]'), ('MinorVersion', '0.2.0'), ('CompatibleBrands', ['isom', 'iso2', 'avc1', 'mp41']), ('MediaDataSize', 379872), ('MediaDataOffset', 48), ('MovieHeaderVersion', 0), ('TimeScale', 720000), ('PreferredRate', 1), ('NextTrackID', 3), ('TrackHeaderVersion', 0), ('TrackID', 1), ('TrackLayer', 0), ('GraphicsMode', 'srcCopy'), ('CompressorID', 'avc1'), ('ColorProfiles', 'nclx'), ('ColorPrimaries', 'BT.709'), ('TransferCharacteristics', 'BT.709'), ('MatrixCoefficients', 'BT.709'), ('VideoFullRangeFlag', 'Limited'), ('BufferSize', 0), ('MaxBitrate', 465641), ('AverageBitrate', 465641), ('MediaHeaderVersion', 0), ('HandlerDescription', 'SoundHandler'), ('HandlerType', 'Metadata'), ('HandlerVendorID', 'Apple'), ('Rotation', 0)])
194s
194s tests/test_libmat2.py:662: AssertionError
194s =========================== short test summary info ============================
194s SUBFAILED(case={'name': 'mp4', 'ffmpeg': 1, 'parser': <class 'libmat2.video.MP4Parser'>, 'meta': {'Encoder': 'HandBrake 0.9.4 2009112300'}, ...}) tests/test_libmat2.py::TestCleaning::test_all_parametred

See https://ci.debian.net/packages/m/mat2/testing/arm64/75829081/ for
details.

Cheers

#1148580#14
Date:
2026-10-23 17:09:25 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
mat2, 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 1148580@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Maximiliano Curia <maxy@debian.org> (supplier of updated mat2 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 23 Oct 2026 18:50:17 +0200
Source: mat2
Architecture: source
Version: 0.15.0-1.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Privacy Tools Maintainers <pkg-privacy-maintainers@lists.alioth.debian.org>
Changed-By: Maximiliano Curia <maxy@debian.org>
Closes: 1148580 1151452
Changes:
 mat2 (0.15.0-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Holger Paradies ]
   * change install mat2.desktop target
 .
   [ Maximiliano Curia ]
   * debian/patches: add patch to fix MP4 test with FFmpeg 9
     (Closes: #1148580)
   * debian/patches: backport upstream patch to disable namespace package
     discovery (Closes: #1151452)
Checksums-Sha1:
 a6dfdb8e3d8934fe0d3019992184a001c05c42f4 2250 mat2_0.15.0-1.1.dsc
 79d9c5cf497a2feee91329eb1ccba4f083bd2ca1 11732 mat2_0.15.0-1.1.debian.tar.xz
 0a891fc3d8100026e1e5f5f296811741e023469a 13620 mat2_0.15.0-1.1_source.buildinfo
Checksums-Sha256:
 5a99e608558bf48e3a69f50fc7de0929e744ceebc0d63646bfdea97af7d16f81 2250 mat2_0.15.0-1.1.dsc
 ed3540a1f4711f906764137e85962192e4cc19f73d999d9bc44716e6984d9a97 11732 mat2_0.15.0-1.1.debian.tar.xz
 75ba46c40c9cca23a80f61b8b9dd3b3d62bf5fc7512d397656e1e50fb3993228 13620 mat2_0.15.0-1.1_source.buildinfo
Files:
 2d543025eb059fc3a2b89faa822dde3a 2250 utils optional mat2_0.15.0-1.1.dsc
 5dbd8eb00641d7fbc1f39a79e14e014f 11732 utils optional mat2_0.15.0-1.1.debian.tar.xz
 3c9662b687480ed6d06b557d8aae3895 13620 utils optional mat2_0.15.0-1.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE+JIdOnQEyG4RNSIVxxl2mbKbIyoFAmrbkTQACgkQxxl2mbKb
IyovMg/+OJPec5+CTNXwverz3CCZr1XB95xzbfAu9mU8nb0+EldbGNGhyR3JZRzg
nCWiDHwslqcLrD37RbNy5pfgwQHW1ejyG6MAm5Najps1Ogm3Q7tKCZ3PjaG+q8bZ
eXBN+TLqIuYAvkP7uW+0B2311D59vcHx3ve8mi43UXBupgH4mIuxzZ9CA6qILnmr
2LOUWgx7uSeCjTUbO1vV5B44lQDYvnBtrIT+f/bSZRT4PRqpnhw1GFZH4/L8NxH9
KQ9/gBkEMqa1BzboKlGNblp6Q0PRgngt/vkCeMDowPJr9MPdXH0qOySFx3vukRi+
ERTWaVCNO3uCG+8DxHRNC+zQqGQ8KUBFC9gOFQ0a4VLVgstG+fRMhKm59OoWVEO7
f5sTn1hXWqlDPieqyDPqu9gVkq5hX+yjpTWJxob5ZblQxPg/noY+ndcdRCF4KLBb
T80yp1RQzPNgiAtroQ3YQJZQbBShGmoAQ2HDvbwSuW8S1JLY8pbTozm8fXW7YTN7
dEaJVRviNqig7Jp/52qVeYZLW/A/oGsAu/Ue/xkkoj9sxSb/3fKCLZ8jTa88ZZnP
R1w8IkQg2OrmQ50Lfc8up4Rq8+rdXoUe5A+bVJpmlheYDKzWPjGkmUOzq4uuv8/T
0DneDEzmZw9ZtK74mchiwmQUynmjl07ksOo+8gc1MCpWHl46IyU=
=HUbe
-----END PGP SIGNATURE-----