[Debian-pan-maintainers] Bug#1058255: mantis-xray: FTBFS: ModuleNotFoundError: No module named 'imp'

Lucas Nussbaum lucas at debian.org
Tue Dec 12 08:01:43 GMT 2023


Source: mantis-xray
Version: 3.1.13-1
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):
>  debian/rules build
> dh build --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py config 
> running config
> I: pybuild base:310: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/data_struct.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/Mrc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/logos.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/analyze.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/mantis.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/data_stack.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/nnma.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/tomo_reconstruction.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/helpers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/henke.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/mantis_qt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/TomoCS
> copying mantis_xray/TomoCS/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/TomoCS
> copying mantis_xray/TomoCS/sirt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/TomoCS
> copying mantis_xray/TomoCS/forward_backward_tv.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/TomoCS
> copying mantis_xray/TomoCS/tv_denoising.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/TomoCS
> copying mantis_xray/TomoCS/_rank_order.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/TomoCS
> copying mantis_xray/TomoCS/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/TomoCS
> copying mantis_xray/TomoCS/projections.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/TomoCS
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_tif.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_stk.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_sdf.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_json.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_csv.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_dataexch_hdf5.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_sm_netcdf.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_xrm.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_bim.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_nexus_hdf5.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_ncb.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/file_plugins
> running egg_info
> creating mantis_xray.egg-info
> writing mantis_xray.egg-info/PKG-INFO
> writing dependency_links to mantis_xray.egg-info/dependency_links.txt
> writing entry points to mantis_xray.egg-info/entry_points.txt
> writing requirements to mantis_xray.egg-info/requires.txt
> writing top-level names to mantis_xray.egg-info/top_level.txt
> writing manifest file 'mantis_xray.egg-info/SOURCES.txt'
> reading manifest file 'mantis_xray.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> writing manifest file 'mantis_xray.egg-info/SOURCES.txt'
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: Package 'mantis_xray.images' is absent from the `packages` configuration.
> !!
> 
>         ********************************************************************************
>         ############################
>         # Package would be ignored #
>         ############################
>         Python recognizes 'mantis_xray.images' as an importable package[^1],
>         but it is absent from setuptools' `packages` configuration.
> 
>         This leads to an ambiguous overall configuration. If you want to distribute this
>         package, please make sure that 'mantis_xray.images' is explicitly added
>         to the `packages` configuration field.
> 
>         Alternatively, you can also rely on setuptools' discovery methods
>         (for example by using `find_namespace_packages(...)`/`find_namespace:`
>         instead of `find_packages(...)`/`find:`).
> 
>         You can read more about "package discovery" on setuptools documentation page:
> 
>         - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
> 
>         If you don't want 'mantis_xray.images' to be distributed and are
>         already explicitly excluding 'mantis_xray.images' via
>         `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
>         you can try to use `exclude_package_data`, or `include-package-data=False` in
>         combination with a more fine grained `package-data` configuration.
> 
>         You can read more about "package data files" on setuptools documentation page:
> 
>         - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
> 
> 
>         [^1]: For Python, any directory (with suitable naming) can be imported,
>               even if it does not contain any `.py` files.
>               On the other hand, currently there is no concept of package data
>               directory, all directories are treated like packages.
>         ********************************************************************************
> 
> !!
>   check.warn(importable)
> copying mantis_xray/Mantis_batch_settings.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/dialogalign.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/henke.xdr -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/pageloaddata.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/pagemap.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/showalign2.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/showartefacts.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/showhistogram.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/showmulticrop.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/showspectralroi.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> copying mantis_xray/stylesheet_global.qss -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/Mantis_logo.icns -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/Mantis_logo.ico -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/Mantis_logo_about.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/document-open.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/help-browser.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/logo-2l-32.ico -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/media-floppy.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/mirror.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/open-sl.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/rotate.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/images
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/data_struct.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/Mrc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/logos.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/analyze.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/mantis.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/data_stack.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/nnma.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/tomo_reconstruction.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/helpers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/henke.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/mantis_qt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/TomoCS
> copying mantis_xray/TomoCS/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/TomoCS
> copying mantis_xray/TomoCS/sirt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/TomoCS
> copying mantis_xray/TomoCS/forward_backward_tv.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/TomoCS
> copying mantis_xray/TomoCS/tv_denoising.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/TomoCS
> copying mantis_xray/TomoCS/_rank_order.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/TomoCS
> copying mantis_xray/TomoCS/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/TomoCS
> copying mantis_xray/TomoCS/projections.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/TomoCS
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_tif.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_stk.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_sdf.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_json.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_csv.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_dataexch_hdf5.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_sm_netcdf.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_xrm.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_bim.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_nexus_hdf5.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/file_plugins
> copying mantis_xray/file_plugins/file_ncb.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/file_plugins
> running egg_info
> writing mantis_xray.egg-info/PKG-INFO
> writing dependency_links to mantis_xray.egg-info/dependency_links.txt
> writing entry points to mantis_xray.egg-info/entry_points.txt
> writing requirements to mantis_xray.egg-info/requires.txt
> writing top-level names to mantis_xray.egg-info/top_level.txt
> reading manifest file 'mantis_xray.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> writing manifest file 'mantis_xray.egg-info/SOURCES.txt'
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: Package 'mantis_xray.images' is absent from the `packages` configuration.
> !!
> 
>         ********************************************************************************
>         ############################
>         # Package would be ignored #
>         ############################
>         Python recognizes 'mantis_xray.images' as an importable package[^1],
>         but it is absent from setuptools' `packages` configuration.
> 
>         This leads to an ambiguous overall configuration. If you want to distribute this
>         package, please make sure that 'mantis_xray.images' is explicitly added
>         to the `packages` configuration field.
> 
>         Alternatively, you can also rely on setuptools' discovery methods
>         (for example by using `find_namespace_packages(...)`/`find_namespace:`
>         instead of `find_packages(...)`/`find:`).
> 
>         You can read more about "package discovery" on setuptools documentation page:
> 
>         - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
> 
>         If you don't want 'mantis_xray.images' to be distributed and are
>         already explicitly excluding 'mantis_xray.images' via
>         `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
>         you can try to use `exclude_package_data`, or `include-package-data=False` in
>         combination with a more fine grained `package-data` configuration.
> 
>         You can read more about "package data files" on setuptools documentation page:
> 
>         - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
> 
> 
>         [^1]: For Python, any directory (with suitable naming) can be imported,
>               even if it does not contain any `.py` files.
>               On the other hand, currently there is no concept of package data
>               directory, all directories are treated like packages.
>         ********************************************************************************
> 
> !!
>   check.warn(importable)
> copying mantis_xray/Mantis_batch_settings.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/dialogalign.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/henke.xdr -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/pageloaddata.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/pagemap.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/showalign2.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/showartefacts.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/showhistogram.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/showmulticrop.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/showspectralroi.ui -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> copying mantis_xray/stylesheet_global.qss -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/Mantis_logo.icns -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/Mantis_logo.ico -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/Mantis_logo_about.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/document-open.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/help-browser.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/logo-2l-32.ico -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/media-floppy.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/mirror.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/open-sl.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/images
> copying mantis_xray/images/rotate.png -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build/mantis_xray/images
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build; python3.12 -m unittest discover -v 
> mantis_xray.file_plugins (unittest.loader._FailedTest.mantis_xray.file_plugins) ... ERROR
> 
> ======================================================================
> ERROR: mantis_xray.file_plugins (unittest.loader._FailedTest.mantis_xray.file_plugins)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: mantis_xray.file_plugins
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 427, in _find_test_path
>     package = self._get_module_from_name(name)
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build/mantis_xray/file_plugins/__init__.py", line 40, in <module>
>     import pkgutil, imp, os, sys
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
> 
> FAILED (errors=1)
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mantis-xray/build; python3.12 -m unittest discover -v 
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mantis-xray/build; python3.11 -m unittest discover -v 
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
> 
> OK
> Loading file plugin: file_bim . Not a valid plugin - skipping.
> Loading file plugin: file_csv . (text spectrum) Success!
> Loading file plugin: file_dataexch_hdf5 . (Exchange) Success!
> Loading file plugin: file_json . (JSON) Success!
> Loading file plugin: file_ncb . (Ncb) Success!
> Loading file plugin: file_nexus_hdf5 . (NXstxm) Success!
> Loading file plugin: file_sdf . (SDF) Success!
> Loading file plugin: file_sm_netcdf . Not a valid plugin - skipping.
> Loading file plugin: file_stk . (STK) Success!
> Loading file plugin: file_tif . (Tiff) Success!
> Loading file plugin: file_xrm . (XRM) Success!
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/mantis-xray_3.1.13-1_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 Debian-pan-maintainers mailing list