[Pkg-privacy-maintainers] Bug#1058167: mat2: FTBFS: AssertionError: 'VideoFullRangeFlag' not found in {'AverageBitrate': 465641, 'BufferSize': 0, 'ColorPrimaries': 'BT.709', 'ColorProfiles': 'nclx', 'ColorRepresentation': 'nclx 1 1 1', 'CompatibleBrands': ['isom', 'iso2', 'avc1', 'mp41'], 'CompressorID': 'avc1', 'CompressorName': 'JVT/AVC Coding', 'GraphicsMode': 'srcCopy', 'HandlerDescription': 'SoundHandler', 'HandlerType': 'Metadata', 'HandlerVendorID': 'Apple', 'MajorBrand': 'Base Media v1 [IS0 14496-12:2003]', 'MatrixCoefficients': 'BT.709', 'MaxBitrate': 465641, 'MediaDataOffset': 48, 'MediaDataSize': 379872, 'MediaHeaderVersion': 0, 'MediaLanguageCode': 'eng', 'MinorVersion': '0.2.0', 'MovieDataOffset': 48, 'MovieHeaderVersion': 0, 'NextTrackID': 3, 'PreferredRate': 1, 'Rotation': 0, 'TimeScale': 1000, 'TrackHeaderVersion': 0, 'TrackID': 1, 'TrackLayer': 0, 'TransferCharacteristics': 'BT.709'} : "VideoFullRangeFlag" is not in "{'AverageBitrate': 465641, 'BufferSize': 0, 'ColorPrimaries': 'BT.709', 'ColorProfiles': 'nclx', 'ColorRepresentation': 'nclx 1 1 1', 'CompatibleBrands': ['isom', 'iso2', 'avc1', 'mp41'], 'CompressorID': 'avc1', 'CompressorName': 'JVT/AVC Coding', 'GraphicsMode': 'srcCopy', 'HandlerDescription': 'SoundHandler', 'HandlerType': 'Metadata', 'HandlerVendorID': 'Apple', 'MajorBrand': 'Base Media v1 [IS0 14496-12:2003]', 'MatrixCoefficients': 'BT.709', 'MaxBitrate': 465641, 'MediaDataOffset': 48, 'MediaDataSize': 379872, 'MediaHeaderVersion': 0, 'MediaLanguageCode': 'eng', 'MinorVersion': '0.2.0', 'MovieDataOffset': 48, 'MovieHeaderVersion': 0, 'NextTrackID': 3, 'PreferredRate': 1, 'Rotation': 0, 'TimeScale': 1000, 'TrackHeaderVersion': 0, 'TrackID': 1, 'TrackLayer': 0, 'TransferCharacteristics': 'BT.709'}" (mp4)

Lucas Nussbaum lucas at debian.org
Tue Dec 12 08:05:13 GMT 2023


Source: mat2
Version: 0.13.4-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> python3 -m unittest discover -v
> test_jpg (tests.test_climat2.TestCleanFolder.test_jpg) ... ok
> test_jpg (tests.test_climat2.TestCleanMeta.test_jpg) ... ok
> test_jpg_nosandbox (tests.test_climat2.TestCleanMeta.test_jpg_nosandbox) ... ok
> test_different (tests.test_climat2.TestCommandLineParallel.test_different) ... WARNING: The format of "./tests/data/parallel/dirty.wmv" (video/x-ms-wmv) has some mandatory metadata fields; mat2 filled them with standard data.
> WARNING: The format of "./tests/data/parallel/dirty.mp4" (video/mp4) has some mandatory metadata fields; mat2 filled them with standard data.
> Warning: ICC_Profile deleted. Image colors may be affected - ./tests/data/parallel/dirty.heic
> ok
> test_faulty (tests.test_climat2.TestCommandLineParallel.test_faulty) ... ok
> test_same (tests.test_climat2.TestCommandLineParallel.test_same) ... ok
> test_jpg (tests.test_climat2.TestControlCharInjection.test_jpg) ... ok
> test_jpg_777 (tests.test_climat2.TestCopyPermissions.test_jpg_777) ... ok
> test_dependencies (tests.test_climat2.TestDependencies.test_dependencies) ... ok
> test_docx (tests.test_climat2.TestGetMeta.test_docx) ... ok
> test_flac (tests.test_climat2.TestGetMeta.test_flac) ... ok
> test_jpg (tests.test_climat2.TestGetMeta.test_jpg) ... ok
> test_mp3 (tests.test_climat2.TestGetMeta.test_mp3) ... ok
> test_odt (tests.test_climat2.TestGetMeta.test_odt) ... ok
> test_ogg (tests.test_climat2.TestGetMeta.test_ogg) ... ok
> test_pdf (tests.test_climat2.TestGetMeta.test_pdf) ... ok
> test_png (tests.test_climat2.TestGetMeta.test_png) ... ok
> test_help (tests.test_climat2.TestHelp.test_help) ... ok
> test_no_arg (tests.test_climat2.TestHelp.test_no_arg) ... ok
> test_cleaning (tests.test_climat2.TestInplaceCleaning.test_cleaning) ... ok
> test_cleaning_multiple_one_fails (tests.test_climat2.TestInplaceCleaning.test_cleaning_multiple_one_fails) ... ok
> test_pdf (tests.test_climat2.TestIsSupported.test_pdf) ... ok
> test_nonzero (tests.test_climat2.TestReturnValue.test_nonzero) ... ok
> test_zero (tests.test_climat2.TestReturnValue.test_zero) ... ok
> test_version (tests.test_climat2.TestVersion.test_version) ... ok
> test_docx (tests.test_corrupted_files.TestCorruptedEmbedded.test_docx) ... ok
> test_odt (tests.test_corrupted_files.TestCorruptedEmbedded.test_odt) ... ok
> test_avi (tests.test_corrupted_files.TestCorruptedFiles.test_avi) ... ok
> test_avi_injection (tests.test_corrupted_files.TestCorruptedFiles.test_avi_injection) ... ok
> test_bmp (tests.test_corrupted_files.TestCorruptedFiles.test_bmp) ... ok
> test_docx (tests.test_corrupted_files.TestCorruptedFiles.test_docx) ... ok
> test_epub (tests.test_corrupted_files.TestCorruptedFiles.test_epub) ... ok
> test_flac (tests.test_corrupted_files.TestCorruptedFiles.test_flac) ... ok
> test_html (tests.test_corrupted_files.TestCorruptedFiles.test_html) ... ok
> test_jpg (tests.test_corrupted_files.TestCorruptedFiles.test_jpg) ... ok
> test_mp3 (tests.test_corrupted_files.TestCorruptedFiles.test_mp3) ... ok
> test_odg (tests.test_corrupted_files.TestCorruptedFiles.test_odg) ... ok
> test_pdf (tests.test_corrupted_files.TestCorruptedFiles.test_pdf) ... ok
> test_png (tests.test_corrupted_files.TestCorruptedFiles.test_png) ... ok
> test_png2 (tests.test_corrupted_files.TestCorruptedFiles.test_png2) ... ok
> test_png_lightweight (tests.test_corrupted_files.TestCorruptedFiles.test_png_lightweight) ... ok
> test_tar (tests.test_corrupted_files.TestCorruptedFiles.test_tar) ... ok
> test_torrent (tests.test_corrupted_files.TestCorruptedFiles.test_torrent) ... ok
> test_wrong_tif (tests.test_corrupted_files.TestCorruptedFiles.test_wrong_tif) ... ok
> test_zip (tests.test_corrupted_files.TestCorruptedFiles.test_zip) ... ok
> test_pdf (tests.test_corrupted_files.TestExplicitelyUnsupportedFiles.test_pdf) ... ok
> test_brokensymlink (tests.test_corrupted_files.TestInexistentFiles.test_brokensymlink) ... ok
> test_chardevice (tests.test_corrupted_files.TestInexistentFiles.test_chardevice) ... ok
> test_folder (tests.test_corrupted_files.TestInexistentFiles.test_folder) ... ok
> test_inexistingfile (tests.test_corrupted_files.TestInexistentFiles.test_inexistingfile) ... ok
> test_notaccessible (tests.test_corrupted_files.TestInexistentFiles.test_notaccessible) ... ok
> test_ro (tests.test_corrupted_files.TestInexistentFiles.test_ro) ... ok
> test_tar_absolute_path (tests.test_corrupted_files.TestPathTraversalArchiveMembers.test_tar_absolute_path) ... ok
> test_tar_device_file (tests.test_corrupted_files.TestPathTraversalArchiveMembers.test_tar_device_file) ... ok
> test_tar_duplicate_file (tests.test_corrupted_files.TestPathTraversalArchiveMembers.test_tar_duplicate_file) ... ok
> test_tar_hardlink (tests.test_corrupted_files.TestPathTraversalArchiveMembers.test_tar_hardlink) ... ok
> test_tar_setgid (tests.test_corrupted_files.TestPathTraversalArchiveMembers.test_tar_setgid) ... ok
> test_tar_setuid (tests.test_corrupted_files.TestPathTraversalArchiveMembers.test_tar_setuid) ... ok
> test_tar_symlink_absolute (tests.test_corrupted_files.TestPathTraversalArchiveMembers.test_tar_symlink_absolute) ... ok
> test_tar_symlink_ok (tests.test_corrupted_files.TestPathTraversalArchiveMembers.test_tar_symlink_ok) ... ok
> test_tar_symlink_relative (tests.test_corrupted_files.TestPathTraversalArchiveMembers.test_tar_symlink_relative) ... ok
> test_tar_traversal (tests.test_corrupted_files.TestPathTraversalArchiveMembers.test_tar_traversal) ... ok
> test_onlymember_tar (tests.test_corrupted_files.TestReadOnlyArchiveMembers.test_onlymember_tar) ... ok
> test_pdf (tests.test_corrupted_files.TestUnsupportedFiles.test_pdf) ... ok
> test_office_absent (tests.test_corrupted_files.TestWrongContentTypesFileOffice.test_office_absent) ... ok
> test_office_broken (tests.test_corrupted_files.TestWrongContentTypesFileOffice.test_office_broken) ... ok
> test_office_incomplete (tests.test_corrupted_files.TestWrongContentTypesFileOffice.test_office_incomplete) ... ok
> test_office (tests.test_deep_cleaning.TestNsidRemoval.test_office) ... ok
> test_office (tests.test_deep_cleaning.TestRsidRemoval.test_office) ... ok
> test_libreoffice (tests.test_deep_cleaning.TestZipMetadata.test_libreoffice) ... ok
> test_office (tests.test_deep_cleaning.TestZipMetadata.test_office) ... ok
> test_libreoffice (tests.test_deep_cleaning.TestZipOrder.test_libreoffice) ... ok
> test_deps (tests.test_libmat2.TestCheckDependencies.test_deps) ... ok
> test_all_parametred (tests.test_libmat2.TestCleaning.test_all_parametred) ... Warning: [minor] Can't delete IFD0 from TIFF - ./tests/data/clean.tiff
> 
>   test_all_parametred (tests.test_libmat2.TestCleaning.test_all_parametred) (case={'name': 'mp4', 'ffmpeg': 1, 'parser': <class 'libmat2.video.MP4Parser'>, 'meta': {'Encoder': 'HandBrake 0.9.4 2009112300'}, 'expected_meta': {'AverageBitrate': 465641, 'BufferSize': 0, 'ColorPrimaries': 'BT.709', 'ColorProfiles': 'nclx', 'ColorRepresentation': 'nclx 1 1 1', 'CompatibleBrands': ['isom', 'iso2', 'avc1', 'mp41'], 'CompressorID': 'avc1', 'CompressorName': 'JVT/AVC Coding', 'GraphicsMode': 'srcCopy', 'HandlerDescription': 'SoundHandler', 'HandlerType': 'Metadata', 'HandlerVendorID': 'Apple', 'MajorBrand': 'Base Media v1 [IS0 14496-12:2003]', 'MatrixCoefficients': 'BT.709', 'MaxBitrate': 465641, 'MediaDataOffset': 48, 'MediaDataSize': 379872, 'MediaHeaderVersion': 0, 'MediaLanguageCode': 'eng', 'MinorVersion': '0.2.0', 'MovieDataOffset': 48, 'MovieHeaderVersion': 0, 'NextTrackID': 3, 'PreferredRate': 1, 'Rotation': 0, 'TimeScale': 1000, 'TrackHeaderVersion': 0, 'TrackID': 1, 'TrackLayer': 0, 'TransferCharacteristics': 'BT.709'}}) ... FAIL
> Warning: ICC_Profile deleted. Image colors may be affected - ./tests/data/clean.heic
> Warning: ICC_Profile deleted. Image colors may be affected - ./tests/data/clean.cleaned.heic
> test_epub (tests.test_libmat2.TestCleaning.test_epub) ... ok
> test_html (tests.test_libmat2.TestCleaning.test_html) ... ok
> test_tar (tests.test_libmat2.TestCleaningArchives.test_tar) ... ok
> test_tarbz2 (tests.test_libmat2.TestCleaningArchives.test_tarbz2) ... ok
> test_targz (tests.test_libmat2.TestCleaningArchives.test_targz) ... ok
> test_tarxz (tests.test_libmat2.TestCleaningArchives.test_tarxz) ... ok
> test_zip (tests.test_libmat2.TestCleaningArchives.test_zip) ... ok
> test_complex_pptx (tests.test_libmat2.TestComplexOfficeFiles.test_complex_pptx) ... ok
> test_aiff (tests.test_libmat2.TestGetMeta.test_aiff) ... ok
> test_css (tests.test_libmat2.TestGetMeta.test_css) ... ok
> test_docx (tests.test_libmat2.TestGetMeta.test_docx) ... ok
> test_epub (tests.test_libmat2.TestGetMeta.test_epub) ... ok
> test_flac (tests.test_libmat2.TestGetMeta.test_flac) ... ok
> test_gif (tests.test_libmat2.TestGetMeta.test_gif) ... ok
> test_heic (tests.test_libmat2.TestGetMeta.test_heic) ... ok
> test_jpg (tests.test_libmat2.TestGetMeta.test_jpg) ... ok
> test_libreoffice (tests.test_libmat2.TestGetMeta.test_libreoffice) ... ok
> test_mp3 (tests.test_libmat2.TestGetMeta.test_mp3) ... ok
> test_ogg (tests.test_libmat2.TestGetMeta.test_ogg) ... ok
> test_pdf (tests.test_libmat2.TestGetMeta.test_pdf) ... ok
> test_png (tests.test_libmat2.TestGetMeta.test_png) ... ok
> test_ppm (tests.test_libmat2.TestGetMeta.test_ppm) ... ok
> test_svg (tests.test_libmat2.TestGetMeta.test_svg) ... ok
> test_tar (tests.test_libmat2.TestGetMeta.test_tar) ... ok
> test_tiff (tests.test_libmat2.TestGetMeta.test_tiff) ... ok
> test_torrent (tests.test_libmat2.TestGetMeta.test_torrent) ... ok
> test_txt (tests.test_libmat2.TestGetMeta.test_txt) ... ok
> test_wav (tests.test_libmat2.TestGetMeta.test_wav) ... ok
> test_wmv (tests.test_libmat2.TestGetMeta.test_wmv) ... ok
> test_zip (tests.test_libmat2.TestGetMeta.test_zip) ... ok
> test_avi_nosandbox (tests.test_libmat2.TestNoSandbox.test_avi_nosandbox) ... ok
> test_png_nosandbox (tests.test_libmat2.TestNoSandbox.test_png_nosandbox) ... ok
> test_ffmpeg_injection (tests.test_libmat2.TestParameterInjection.test_ffmpeg_injection) ... ok
> test_ffmpeg_injection_complete_path (tests.test_libmat2.TestParameterInjection.test_ffmpeg_injection_complete_path) ... ok
> test_ver_injection (tests.test_libmat2.TestParameterInjection.test_ver_injection) ... ok
> test_subsubcalss (tests.test_libmat2.TestParserFactory.test_subsubcalss)
> Test that our module auto-detection is handling sub-sub-classes ... ok
> test_tarfile_double_extension_handling (tests.test_libmat2.TestParserFactory.test_tarfile_double_extension_handling)
> Test that our module auto-detection is handling sub-sub-classes ... ok
> test_odt (tests.test_libmat2.TestRemovingThumbnails.test_odt) ... ok
> test_libreoffice (tests.test_libmat2.TestRevisionsCleaning.test_libreoffice) ... ok
> test_msoffice (tests.test_libmat2.TestRevisionsCleaning.test_msoffice) ... ok
> test_docx_with_py (tests.test_libmat2.TestUnsupportedEmbeddedFiles.test_docx_with_py) ... ok
> test_odt_with_py (tests.test_libmat2.TestUnsupportedEmbeddedFiles.test_odt_with_py) ... ok
> test_all (tests.test_lightweight_cleaning.TestLightWeightCleaning.test_all) ... Warning: [minor] Can't delete IFD0 from TIFF - ./tests/data/clean.tiff
> ok
> test_exiftool_overwrite (tests.test_lightweight_cleaning.TestLightWeightCleaning.test_exiftool_overwrite) ... ok
> test_policy_keep (tests.test_policy.TestPolicy.test_policy_keep) ... ok
> test_policy_omit (tests.test_policy.TestPolicy.test_policy_omit) ... ok
> test_policy_unknown (tests.test_policy.TestPolicy.test_policy_unknown) ... ok
> 
> ======================================================================
> FAIL: test_all_parametred (tests.test_libmat2.TestCleaning.test_all_parametred) (case={'name': 'mp4', 'ffmpeg': 1, 'parser': <class 'libmat2.video.MP4Parser'>, 'meta': {'Encoder': 'HandBrake 0.9.4 2009112300'}, 'expected_meta': {'AverageBitrate': 465641, 'BufferSize': 0, 'ColorPrimaries': 'BT.709', 'ColorProfiles': 'nclx', 'ColorRepresentation': 'nclx 1 1 1', 'CompatibleBrands': ['isom', 'iso2', 'avc1', 'mp41'], 'CompressorID': 'avc1', 'CompressorName': 'JVT/AVC Coding', 'GraphicsMode': 'srcCopy', 'HandlerDescription': 'SoundHandler', 'HandlerType': 'Metadata', 'HandlerVendorID': 'Apple', 'MajorBrand': 'Base Media v1 [IS0 14496-12:2003]', 'MatrixCoefficients': 'BT.709', 'MaxBitrate': 465641, 'MediaDataOffset': 48, 'MediaDataSize': 379872, 'MediaHeaderVersion': 0, 'MediaLanguageCode': 'eng', 'MinorVersion': '0.2.0', 'MovieDataOffset': 48, 'MovieHeaderVersion': 0, 'NextTrackID': 3, 'PreferredRate': 1, 'Rotation': 0, 'TimeScale': 1000, 'TrackHeaderVersion': 0, 'TrackID': 1, 'TrackLayer': 0, 'TransferCharacteristics': 'BT.709'}})
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/test_libmat2.py", line 559, in test_all_parametred
>     self.assertIn(k, case['expected_meta'], '"%s" is not in "%s" (%s)' % (k, case['expected_meta'], case['name']))
> AssertionError: 'VideoFullRangeFlag' not found in {'AverageBitrate': 465641, 'BufferSize': 0, 'ColorPrimaries': 'BT.709', 'ColorProfiles': 'nclx', 'ColorRepresentation': 'nclx 1 1 1', 'CompatibleBrands': ['isom', 'iso2', 'avc1', 'mp41'], 'CompressorID': 'avc1', 'CompressorName': 'JVT/AVC Coding', 'GraphicsMode': 'srcCopy', 'HandlerDescription': 'SoundHandler', 'HandlerType': 'Metadata', 'HandlerVendorID': 'Apple', 'MajorBrand': 'Base Media v1 [IS0 14496-12:2003]', 'MatrixCoefficients': 'BT.709', 'MaxBitrate': 465641, 'MediaDataOffset': 48, 'MediaDataSize': 379872, 'MediaHeaderVersion': 0, 'MediaLanguageCode': 'eng', 'MinorVersion': '0.2.0', 'MovieDataOffset': 48, 'MovieHeaderVersion': 0, 'NextTrackID': 3, 'PreferredRate': 1, 'Rotation': 0, 'TimeScale': 1000, 'TrackHeaderVersion': 0, 'TrackID': 1, 'TrackLayer': 0, 'TransferCharacteristics': 'BT.709'} : "VideoFullRangeFlag" is not in "{'AverageBitrate': 465641, 'BufferSize': 0, 'ColorPrimaries': 'BT.709', 'ColorProfiles': 'nclx', 'ColorRepresentation': 'nclx 1 1 1', 'CompatibleBrands': ['isom', 'iso2', 'avc1', 'mp41'], 'CompressorID': 'avc1', 'CompressorName': 'JVT/AVC Coding', 'GraphicsMode': 'srcCopy', 'HandlerDescription': 'SoundHandler', 'HandlerType': 'Metadata', 'HandlerVendorID': 'Apple', 'MajorBrand': 'Base Media v1 [IS0 14496-12:2003]', 'MatrixCoefficients': 'BT.709', 'MaxBitrate': 465641, 'MediaDataOffset': 48, 'MediaDataSize': 379872, 'MediaHeaderVersion': 0, 'MediaLanguageCode': 'eng', 'MinorVersion': '0.2.0', 'MovieDataOffset': 48, 'MovieHeaderVersion': 0, 'NextTrackID': 3, 'PreferredRate': 1, 'Rotation': 0, 'TimeScale': 1000, 'TrackHeaderVersion': 0, 'TrackID': 1, 'TrackLayer': 0, 'TransferCharacteristics': 'BT.709'}" (mp4)
> 
> ----------------------------------------------------------------------
> Ran 121 tests in 74.195s
> 
> FAILED (failures=1)
> [+] Testing pdf
> [+] Testing png
> [+] Testing jpg
> [+] Testing wav
> [+] Testing aiff
> [+] Testing mp3
> [+] Testing ogg
> [+] Testing flac
> [+] Testing docx
> [+] Testing odt
> [+] Testing tiff
> [+] Testing bmp
> [+] Testing torrent
> [+] Testing odf
> [+] Testing odg
> [+] Testing txt
> [+] Testing gif
> [+] Testing css
> [+] Testing svg
> [+] Testing ppm
> [+] Testing avi
> [+] Testing mp4
> [+] Testing wmv
> [+] Testing heic
> make[1]: *** [debian/rules:10: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/mat2_0.13.4-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-privacy-maintainers mailing list