Bug#1114267: pointpats: FTBFS: dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Santiago Vila sanvila at debian.org
Fri Sep 5 19:22:32 BST 2025


Package: src:pointpats
Version: 2.5.1-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, 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/

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:pointpats, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --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_pointpats  
* 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/pointpats
copying pointpats/random.py -> build/lib/pointpats
copying pointpats/spacetime.py -> build/lib/pointpats
copying pointpats/geometry.py -> build/lib/pointpats
copying pointpats/pointpattern.py -> build/lib/pointpats
copying pointpats/kde.py -> build/lib/pointpats
copying pointpats/window.py -> build/lib/pointpats
copying pointpats/process.py -> build/lib/pointpats
copying pointpats/util.py -> build/lib/pointpats
copying pointpats/centrography.py -> build/lib/pointpats
copying pointpats/quadrat_statistics.py -> build/lib/pointpats
copying pointpats/distance_statistics.py -> build/lib/pointpats
copying pointpats/__init__.py -> build/lib/pointpats
creating build/lib/pointpats/tests
copying pointpats/tests/test_spacetime.py -> build/lib/pointpats/tests
copying pointpats/tests/test_distance_statistics.py -> build/lib/pointpats/tests
copying pointpats/tests/test_pointpattern.py -> build/lib/pointpats/tests
copying pointpats/tests/test_centrography.py -> build/lib/pointpats/tests
copying pointpats/tests/test_quadrat_statistics.py -> build/lib/pointpats/tests
copying pointpats/tests/test_kde.py -> build/lib/pointpats/tests
copying pointpats/tests/__init__.py -> build/lib/pointpats/tests
running egg_info
creating pointpats.egg-info
writing pointpats.egg-info/PKG-INFO
writing dependency_links to pointpats.egg-info/dependency_links.txt
writing requirements to pointpats.egg-info/requires.txt
writing top-level names to pointpats.egg-info/top_level.txt
writing manifest file 'pointpats.egg-info/SOURCES.txt'
reading manifest file 'pointpats.egg-info/SOURCES.txt'
adding license file 'LICENSE.txt'
writing manifest file 'pointpats.egg-info/SOURCES.txt'
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/pointpats
copying build/lib/pointpats/random.py -> build/bdist.linux-x86_64/wheel/./pointpats
creating build/bdist.linux-x86_64/wheel/pointpats/tests
copying build/lib/pointpats/tests/test_spacetime.py -> build/bdist.linux-x86_64/wheel/./pointpats/tests
copying build/lib/pointpats/tests/test_distance_statistics.py -> build/bdist.linux-x86_64/wheel/./pointpats/tests
copying build/lib/pointpats/tests/test_pointpattern.py -> build/bdist.linux-x86_64/wheel/./pointpats/tests
copying build/lib/pointpats/tests/test_centrography.py -> build/bdist.linux-x86_64/wheel/./pointpats/tests
copying build/lib/pointpats/tests/test_quadrat_statistics.py -> build/bdist.linux-x86_64/wheel/./pointpats/tests
copying build/lib/pointpats/tests/test_kde.py -> build/bdist.linux-x86_64/wheel/./pointpats/tests
copying build/lib/pointpats/tests/__init__.py -> build/bdist.linux-x86_64/wheel/./pointpats/tests
copying build/lib/pointpats/spacetime.py -> build/bdist.linux-x86_64/wheel/./pointpats
copying build/lib/pointpats/geometry.py -> build/bdist.linux-x86_64/wheel/./pointpats
copying build/lib/pointpats/pointpattern.py -> build/bdist.linux-x86_64/wheel/./pointpats
copying build/lib/pointpats/kde.py -> build/bdist.linux-x86_64/wheel/./pointpats
copying build/lib/pointpats/window.py -> build/bdist.linux-x86_64/wheel/./pointpats
copying build/lib/pointpats/process.py -> build/bdist.linux-x86_64/wheel/./pointpats
copying build/lib/pointpats/util.py -> build/bdist.linux-x86_64/wheel/./pointpats
copying build/lib/pointpats/centrography.py -> build/bdist.linux-x86_64/wheel/./pointpats
copying build/lib/pointpats/quadrat_statistics.py -> build/bdist.linux-x86_64/wheel/./pointpats
copying build/lib/pointpats/distance_statistics.py -> build/bdist.linux-x86_64/wheel/./pointpats
copying build/lib/pointpats/__init__.py -> build/bdist.linux-x86_64/wheel/./pointpats
running install_egg_info
Copying pointpats.egg-info to build/bdist.linux-x86_64/wheel/./pointpats-2.5.1.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/pointpats-2.5.1.dist-info/WHEEL
creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pointpats/.tmp-4j5f_gde/pointpats-2.5.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'pointpats/__init__.py'
adding 'pointpats/centrography.py'
adding 'pointpats/distance_statistics.py'
adding 'pointpats/geometry.py'
adding 'pointpats/kde.py'
adding 'pointpats/pointpattern.py'
adding 'pointpats/process.py'
adding 'pointpats/quadrat_statistics.py'
adding 'pointpats/random.py'
adding 'pointpats/spacetime.py'
adding 'pointpats/util.py'
adding 'pointpats/window.py'
adding 'pointpats/tests/__init__.py'
adding 'pointpats/tests/test_centrography.py'
adding 'pointpats/tests/test_distance_statistics.py'
adding 'pointpats/tests/test_kde.py'
adding 'pointpats/tests/test_pointpattern.py'
adding 'pointpats/tests/test_quadrat_statistics.py'
adding 'pointpats/tests/test_spacetime.py'
adding 'pointpats-2.5.1.dist-info/licenses/LICENSE.txt'
adding 'pointpats-2.5.1.dist-info/METADATA'
adding 'pointpats-2.5.1.dist-info/WHEEL'
adding 'pointpats-2.5.1.dist-info/top_level.txt'
adding 'pointpats-2.5.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built pointpats-2.5.1-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=. http_proxy='http://127.0.0.1:9/' python3 -m sphinx -N  -d debian/doctrees -bhtml docs/ debian/html
Running Sphinx v8.2.3
mkdir -p failed for path /sbuild-nonexistent/.config/matplotlib: [Errno 13] Permission denied: '/sbuild-nonexistent'
Matplotlib created a temporary cache directory at /tmp/matplotlib-k7fs3myd because there was an issue with the default path (/sbuild-nonexistent/.config/matplotlib); it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
WARNING: Calling get_html_theme_path is deprecated. If you are calling it to define html_theme_path, you are safe to remove that code.
loading translations [en]... done
making output directory... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`.
WARNING: The config value `html_theme_path' has type `str'; expected `list' or `tuple'.
checking bibtex cache... out of date
parsing bibtex file /<<PKGBUILDDIR>>/docs/_static/references.bib... parsed 7 entries


Versions
========

* Platform:         linux; (Linux-6.12.41+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.13/pathlib/_local.py", line 517, in stat
        return os.stat(self, follow_symlinks=follow_symlinks)
               ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    PermissionError: [Errno 13] Permission denied: '/root/theme.toml'


The full traceback has been saved in:
/tmp/sphinx-err-xid6shj6.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:16: execute_after_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the debian-science-maintainers mailing list