Bug#1116861: python-h5netcdf: FTBFS with the nocheck build profile

Santiago Vila sanvila at debian.org
Tue Sep 30 15:53:31 BST 2025


Package: src:python-h5netcdf
Version: 1.6.4-1
Severity: important
Tags: forky sid ftbfs
User: debian-qa at lists.debian.org
Usertags: ftbfs-nocheck-profile

Dear maintainer:

During a rebuild of all packages in unstable using the nocheck build profile,
your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

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

A wiki page discussing how to reproduce bugs in this category and
possible solutions is available here:

https://wiki.debian.org/qa.debian.org/FTBFS/Nocheck

(It's a wiki, so you are welcome to contribute)

[ Note: This is RC, but I will wait at least two weeks before raising
the severities, there are a lot of gcc-15 and CMake 4 bugs open now ].

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 add an affects on src:python-h5netcdf, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3,sphinxdoc --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
   debian/rules execute_after_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf doc/generated
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 debian/rules binary
dh binary --with python3,sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_h5netcdf  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!

        ********************************************************************************
        Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).

        By 2026-Feb-18, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  corresp(dist, value, root_dir)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: BSD License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  dist._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: BSD License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib/h5netcdf
copying h5netcdf/legacyapi.py -> build/lib/h5netcdf
copying h5netcdf/__init__.py -> build/lib/h5netcdf
copying h5netcdf/dimensions.py -> build/lib/h5netcdf
copying h5netcdf/core.py -> build/lib/h5netcdf
copying h5netcdf/_version.py -> build/lib/h5netcdf
copying h5netcdf/attrs.py -> build/lib/h5netcdf
copying h5netcdf/utils.py -> build/lib/h5netcdf
creating build/lib/h5netcdf/tests
copying h5netcdf/tests/conftest.py -> build/lib/h5netcdf/tests
copying h5netcdf/tests/test_h5netcdf.py -> build/lib/h5netcdf/tests
running egg_info
writing h5netcdf.egg-info/PKG-INFO
writing dependency_links to h5netcdf.egg-info/dependency_links.txt
writing requirements to h5netcdf.egg-info/requires.txt
writing top-level names to h5netcdf.egg-info/top_level.txt
reading manifest file 'h5netcdf.egg-info/SOURCES.txt'
adding license file 'LICENSE'
adding license file 'AUTHORS.txt'
writing manifest file 'h5netcdf.egg-info/SOURCES.txt'
copying h5netcdf/tests/pytest.ini -> build/lib/h5netcdf/tests
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/h5netcdf
copying build/lib/h5netcdf/legacyapi.py -> build/bdist.linux-x86_64/wheel/./h5netcdf
copying build/lib/h5netcdf/__init__.py -> build/bdist.linux-x86_64/wheel/./h5netcdf
creating build/bdist.linux-x86_64/wheel/h5netcdf/tests
copying build/lib/h5netcdf/tests/conftest.py -> build/bdist.linux-x86_64/wheel/./h5netcdf/tests
copying build/lib/h5netcdf/tests/pytest.ini -> build/bdist.linux-x86_64/wheel/./h5netcdf/tests
copying build/lib/h5netcdf/tests/test_h5netcdf.py -> build/bdist.linux-x86_64/wheel/./h5netcdf/tests
copying build/lib/h5netcdf/dimensions.py -> build/bdist.linux-x86_64/wheel/./h5netcdf
copying build/lib/h5netcdf/core.py -> build/bdist.linux-x86_64/wheel/./h5netcdf
copying build/lib/h5netcdf/_version.py -> build/bdist.linux-x86_64/wheel/./h5netcdf
copying build/lib/h5netcdf/attrs.py -> build/bdist.linux-x86_64/wheel/./h5netcdf
copying build/lib/h5netcdf/utils.py -> build/bdist.linux-x86_64/wheel/./h5netcdf
running install_egg_info
Copying h5netcdf.egg-info to build/bdist.linux-x86_64/wheel/./h5netcdf-1.6.4.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/h5netcdf-1.6.4.dist-info/WHEEL
creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_h5netcdf/.tmp-hkkq5_b7/h5netcdf-1.6.4-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'h5netcdf/__init__.py'
adding 'h5netcdf/_version.py'
adding 'h5netcdf/attrs.py'
adding 'h5netcdf/core.py'
adding 'h5netcdf/dimensions.py'
adding 'h5netcdf/legacyapi.py'
adding 'h5netcdf/utils.py'
adding 'h5netcdf/tests/conftest.py'
adding 'h5netcdf/tests/pytest.ini'
adding 'h5netcdf/tests/test_h5netcdf.py'
adding 'h5netcdf-1.6.4.dist-info/licenses/AUTHORS.txt'
adding 'h5netcdf-1.6.4.dist-info/licenses/LICENSE'
adding 'h5netcdf-1.6.4.dist-info/METADATA'
adding 'h5netcdf-1.6.4.dist-info/WHEEL'
adding 'h5netcdf-1.6.4.dist-info/top_level.txt'
adding 'h5netcdf-1.6.4.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built h5netcdf-1.6.4-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module
   debian/rules execute_after_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYTHONPATH=`pybuild -p 3.13 --print "{build_dir}"` sphinx-build -b html -N doc/ /<<PKGBUILDDIR>>/.pybuild/docs/html
Running Sphinx v8.2.3

Configuration error!

Versions
========

* Platform:         linux; (Linux-6.12.48+deb13-cloud-amd64-x86_64-with-glibc2.41)
* Python version:   3.13.7 (CPython)
* Sphinx version:   8.2.3
* Docutils version: 0.21.2
* Jinja2 version:   3.1.6
* Pygments version: 2.18.0

Last Messages
=============

None.

Loaded Extensions
=================

None.

Traceback
=========

      File "/usr/lib/python3/dist-packages/sphinx/config.py", line 616, in eval_config_file
        raise ConfigError(msg % traceback.format_exc()) from exc
    sphinx.errors.ConfigError: There is a programmable error in your configuration file:
    
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/sphinx/config.py", line 601, in eval_config_file
        exec(code, namespace)  # NoQA: S102
        ~~~~^^^^^^^^^^^^^^^^^
      File "/<<PKGBUILDDIR>>/doc/conf.py", line 23, in <module>
        import h5netcdf
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_h5netcdf/build/h5netcdf/__init__.py", line 16, in <module>
        from .core import CompatibilityError, Dimension, File, Group, Variable  # noqa
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_h5netcdf/build/h5netcdf/core.py", line 9, in <module>
        import h5py
    ModuleNotFoundError: No module named 'h5py'


The full traceback has been saved in:
/tmp/sphinx-err-m_040rzh.log

To report this error to the developers, please open an issue at <https://github.com/sphinx-doc/sphinx/issues/>. Thanks!
Please also report this if it was a user error, so that a better error message can be provided next time.
make[1]: *** [debian/rules:19: execute_after_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the debian-science-maintainers mailing list