[Pkg-privacy-maintainers] Bug#1081871: mat2: FTBFS: libmat2.pdf.cairo.MemoryError: out of memory

Santiago Vila sanvila at debian.org
Sun Sep 15 18:31:54 BST 2024


Package: src:mat2
Version: 0.13.4-2.1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary --with python3 --buildsystem=pybuild
    dh_update_autotools_config -O--buildsystem=pybuild
    dh_autoreconf -O--buildsystem=pybuild
    dh_auto_configure -O--buildsystem=pybuild
	pybuild --configure -i python{version} -p 3.12
I: pybuild base:311: python3.12 setup.py config
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:71: _MissingDynamic: `description` defined outside of `pyproject.toml` is ignored.
!!

         ********************************************************************************
         The following seems to be defined outside of `pyproject.toml`:

         `description = 'A handy tool to trash your metadata'`

         According to the spec (see the link below), however, setuptools CANNOT
         consider this value unless `description` is listed as `dynamic`.

         https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

         To prevent this problem, you can list `description` under `dynamic` or alternatively
         remove the `[project]` table from your file and rely entirely on other means of
         configuration.
         ********************************************************************************

!!
   _handle_missing_dynamic(dist, project_table)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:71: _MissingDynamic: `authors` defined outside of `pyproject.toml` is ignored.
!!

         ********************************************************************************
         The following seems to be defined outside of `pyproject.toml`:

         `authors = 'Julien (jvoisin) Voisin'`

         According to the spec (see the link below), however, setuptools CANNOT
         consider this value unless `authors` is listed as `dynamic`.

         https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

         To prevent this problem, you can list `authors` under `dynamic` or alternatively
         remove the `[project]` table from your file and rely entirely on other means of
         configuration.
         ********************************************************************************

!!
   _handle_missing_dynamic(dist, project_table)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:71: _MissingDynamic: `classifiers` defined outside of `pyproject.toml` is ignored.
!!

         ********************************************************************************
         The following seems to be defined outside of `pyproject.toml`:

         `classifiers = ['Development Status :: 3 - Alpha', 'Environment :: Console', 'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3 :: Only', 'Topic :: Security', 'Intended Audience :: End Users/Desktop']`

         According to the spec (see the link below), however, setuptools CANNOT
         consider this value unless `classifiers` is listed as `dynamic`.

         https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

         To prevent this problem, you can list `classifiers` under `dynamic` or alternatively
         remove the `[project]` table from your file and rely entirely on other means of
         configuration.
         ********************************************************************************

!!
   _handle_missing_dynamic(dist, project_table)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:71: _MissingDynamic: `urls` defined outside of `pyproject.toml` is ignored.
!!

         ********************************************************************************
         The following seems to be defined outside of `pyproject.toml`:

         `urls = {'bugtacker': 'https://0xacab.org/jvoisin/mat2/issues'}`

         According to the spec (see the link below), however, setuptools CANNOT
         consider this value unless `urls` is listed as `dynamic`.

         https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

         To prevent this problem, you can list `urls` under `dynamic` or alternatively
         remove the `[project]` table from your file and rely entirely on other means of
         configuration.
         ********************************************************************************

!!
   _handle_missing_dynamic(dist, project_table)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:71: _MissingDynamic: `dependencies` defined outside of `pyproject.toml` is ignored.
!!

         ********************************************************************************
         The following seems to be defined outside of `pyproject.toml`:

         `dependencies = ['mutagen', 'PyGObject', 'pycairo']`

         According to the spec (see the link below), however, setuptools CANNOT
         consider this value unless `dependencies` is listed as `dynamic`.

         https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

         To prevent this problem, you can list `dependencies` under `dynamic` or alternatively
         remove the `[project]` table from your file and rely entirely on other means of
         configuration.
         ********************************************************************************

!!
   _handle_missing_dynamic(dist, project_table)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:78: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies)
   corresp(dist, value, root_dir)
running config
    dh_auto_build -O--buildsystem=pybuild
	pybuild --build -i python{version} -p 3.12
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:71: _MissingDynamic: `description` defined outside of `pyproject.toml` is ignored.
!!

         ********************************************************************************
         The following seems to be defined outside of `pyproject.toml`:

         `description = 'A handy tool to trash your metadata'`

         According to the spec (see the link below), however, setuptools CANNOT
         consider this value unless `description` is listed as `dynamic`.

         https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

         To prevent this problem, you can list `description` under `dynamic` or alternatively
         remove the `[project]` table from your file and rely entirely on other means of
         configuration.
         ********************************************************************************

!!
   _handle_missing_dynamic(dist, project_table)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:71: _MissingDynamic: `authors` defined outside of `pyproject.toml` is ignored.
!!

         ********************************************************************************
         The following seems to be defined outside of `pyproject.toml`:

         `authors = 'Julien (jvoisin) Voisin'`

         According to the spec (see the link below), however, setuptools CANNOT
         consider this value unless `authors` is listed as `dynamic`.

         https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

         To prevent this problem, you can list `authors` under `dynamic` or alternatively
         remove the `[project]` table from your file and rely entirely on other means of
         configuration.
         ********************************************************************************

!!
   _handle_missing_dynamic(dist, project_table)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:71: _MissingDynamic: `classifiers` defined outside of `pyproject.toml` is ignored.
!!

         ********************************************************************************
         The following seems to be defined outside of `pyproject.toml`:

         `classifiers = ['Development Status :: 3 - Alpha', 'Environment :: Console', 'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3 :: Only', 'Topic :: Security', 'Intended Audience :: End Users/Desktop']`

         According to the spec (see the link below), however, setuptools CANNOT
         consider this value unless `classifiers` is listed as `dynamic`.

         https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

         To prevent this problem, you can list `classifiers` under `dynamic` or alternatively
         remove the `[project]` table from your file and rely entirely on other means of
         configuration.
         ********************************************************************************

!!
   _handle_missing_dynamic(dist, project_table)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:71: _MissingDynamic: `urls` defined outside of `pyproject.toml` is ignored.
!!

         ********************************************************************************
         The following seems to be defined outside of `pyproject.toml`:

         `urls = {'bugtacker': 'https://0xacab.org/jvoisin/mat2/issues'}`

         According to the spec (see the link below), however, setuptools CANNOT
         consider this value unless `urls` is listed as `dynamic`.

         https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

         To prevent this problem, you can list `urls` under `dynamic` or alternatively
         remove the `[project]` table from your file and rely entirely on other means of
         configuration.
         ********************************************************************************

!!
   _handle_missing_dynamic(dist, project_table)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:71: _MissingDynamic: `dependencies` defined outside of `pyproject.toml` is ignored.
!!

         ********************************************************************************
         The following seems to be defined outside of `pyproject.toml`:

         `dependencies = ['mutagen', 'PyGObject', 'pycairo']`

         According to the spec (see the link below), however, setuptools CANNOT
         consider this value unless `dependencies` is listed as `dynamic`.

         https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

         To prevent this problem, you can list `dependencies` under `dynamic` or alternatively
         remove the `[project]` table from your file and rely entirely on other means of
         configuration.
         ********************************************************************************

!!
   _handle_missing_dynamic(dist, project_table)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:78: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies)
   corresp(dist, value, root_dir)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/libmat2
copying libmat2/archive.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/libmat2
copying libmat2/video.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/libmat2
copying libmat2/harmless.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/libmat2
copying libmat2/torrent.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/libmat2
copying libmat2/exiftool.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/libmat2
copying libmat2/office.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/libmat2
copying libmat2/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/libmat2
copying libmat2/bubblewrap.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/libmat2
copying libmat2/audio.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/libmat2
copying libmat2/parser_factory.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/libmat2
copying libmat2/epub.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/libmat2
copying libmat2/web.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/libmat2
copying libmat2/abstract.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/libmat2
copying libmat2/pdf.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/libmat2
copying libmat2/images.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/libmat2
running egg_info
creating mat.egg-info
writing mat.egg-info/PKG-INFO
writing dependency_links to mat.egg-info/dependency_links.txt
writing top-level names to mat.egg-info/top_level.txt
writing manifest file 'mat.egg-info/SOURCES.txt'
reading manifest file 'mat.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'mat.egg-info/SOURCES.txt'
running build_scripts
creating build
creating build/scripts-3.12
copying and adjusting mat2 -> build/scripts-3.12
changing mode of build/scripts-3.12/mat2 from 644 to 755
    debian/rules override_dh_auto_test
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.mp4" (video/mp4) has some mandatory metadata fields; mat2 filled them with standard data.
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: 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) ... /<<PKGBUILDDIR>>/libmat2/archive.py:155: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
   zin.extract(member=item, path=temp_folder)
/<<PKGBUILDDIR>>/libmat2/archive.py:206: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
   zin.extract(member=item, path=temp_folder)
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) ...
   test_all_parametred (tests.test_libmat2.TestCleaning.test_all_parametred) (case={'name': 'pdf', 'parser': <class 'libmat2.pdf.PDFParser'>, 'meta': {'producer': 'pdfTeX-1.40.14'}, 'expected_meta': {'creation-date': -1, 'format': 'PDF-1.5', 'mod-date': -1}}) ... ERROR
Warning: [minor] Can't delete IFD0 from TIFF - ./tests/data/clean.tiff
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) ... /<<PKGBUILDDIR>>/tests/test_libmat2.py:690: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
   zout.extractall(path=tmp_dir)
ok
test_tarbz2 (tests.test_libmat2.TestCleaningArchives.test_tarbz2) ... /<<PKGBUILDDIR>>/tests/test_libmat2.py:760: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
   zout.extractall(path=tmp_dir)
ok
test_targz (tests.test_libmat2.TestCleaningArchives.test_targz) ... /<<PKGBUILDDIR>>/tests/test_libmat2.py:725: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
   zout.extractall(path=tmp_dir)
ok
test_tarxz (tests.test_libmat2.TestCleaningArchives.test_tarxz) ... /<<PKGBUILDDIR>>/tests/test_libmat2.py:795: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
   zout.extractall(path=tmp_dir)
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) ... ERROR
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

======================================================================
ERROR: test_all_parametred (tests.test_libmat2.TestCleaning.test_all_parametred) (case={'name': 'pdf', 'parser': <class 'libmat2.pdf.PDFParser'>, 'meta': {'producer': 'pdfTeX-1.40.14'}, 'expected_meta': {'creation-date': -1, 'format': 'PDF-1.5', 'mod-date': -1}})
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/<<PKGBUILDDIR>>/tests/test_libmat2.py", line 554, in test_all_parametred
     self.assertTrue(p1.remove_all())
                     ^^^^^^^^^^^^^^^
   File "/<<PKGBUILDDIR>>/libmat2/pdf.py", line 39, in remove_all
     return self.__remove_all_lightweight()
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/<<PKGBUILDDIR>>/libmat2/pdf.py", line 63, in __remove_all_lightweight
     pdf_surface.finish()
libmat2.pdf.cairo.MemoryError: out of memory

======================================================================
ERROR: test_all (tests.test_lightweight_cleaning.TestLightWeightCleaning.test_all)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/<<PKGBUILDDIR>>/tests/test_lightweight_cleaning.py", line 55, in test_all
     self.assertTrue(p1.remove_all())
                     ^^^^^^^^^^^^^^^
   File "/<<PKGBUILDDIR>>/libmat2/pdf.py", line 39, in remove_all
     return self.__remove_all_lightweight()
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/<<PKGBUILDDIR>>/libmat2/pdf.py", line 63, in __remove_all_lightweight
     pdf_surface.finish()
libmat2.pdf.cairo.MemoryError: out of memory

----------------------------------------------------------------------
Ran 121 tests in 37.711s

FAILED (errors=2)
[+] 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
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202409/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.



More information about the Pkg-privacy-maintainers mailing list