Bug#1131961: mapraster: FTBFS with the nocheck build profile

Santiago Vila sanvila at debian.org
Thu Mar 26 13:18:28 GMT 2026


Package: src:mapraster
Version: 2026.01.06-3
Severity: serious
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,
this package failed to build.

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

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

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)

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 cannot 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:mapraster, 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:142: Building wheel for python3.14 with "build" module
I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_mapraster  
* Building wheel...
Successfully built mapraster-2026.1.6-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.14 with "installer" module
I: pybuild plugin_pyproject:142: Building wheel for python3.13 with "build" module
I: pybuild base:385: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mapraster  
* Building wheel...
Successfully built mapraster-2026.1.6-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.13 with "installer" module
   debian/rules execute_after_dh_auto_build-indep
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYTHONPATH=/<<PKGBUILDDIR>> http_proxy='http://127.0.0.1:9/' https_proxy='https://127.0.0.1:9/' \
sphinx-build -N -E -T -b html docs /<<PKGBUILDDIR>>/.pybuild/docs/html/
Running Sphinx v8.2.3
loading translations [en]... done
making output directory... done
WARNING: html_static_path entry '_static' does not exist
Writing evaluated template result to /<<PKGBUILDDIR>>/.pybuild/docs/html/_static/nbsphinx-code-cells.css
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 5 source files that are out of date
updating environment: [new config] 5 added, 0 changed, 0 removed
reading sources... [ 20%] basic_api
reading sources... [ 40%] examples/how_to_use
/usr/lib/python3/dist-packages/IPython/paths.py:66: UserWarning: IPython parent '/sbuild-nonexistent' is not a writable location, using a temp directory.
  warn("IPython parent '{0}' is not a writable location,"
/usr/lib/python3/dist-packages/IPython/paths.py:66: UserWarning: IPython parent '/sbuild-nonexistent' is not a writable location, using a temp directory.
  warn("IPython parent '{0}' is not a writable location,"

Notebook error!

Versions
========

* Platform:         linux; (Linux-6.12.74+deb13+1-cloud-amd64-x86_64-with-glibc2.42)
* Python version:   3.13.12 (CPython)
* Sphinx version:   8.2.3
* Docutils version: 0.22.4
* Jinja2 version:   3.1.6
* Pygments version: 2.19.2

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

    building [html]: targets for 5 source files that are out of date
    updating environment:
    [new config]
    5 added, 0 changed, 0 removed
    reading sources... [ 20%]
    basic_api

    reading sources... [ 40%]
    examples/how_to_use

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

* sphinx.ext.mathjax (8.2.3)
* alabaster (1.0.0)
* sphinx.ext.autodoc.preserve_defaults (8.2.3)
* sphinx.ext.autodoc.type_comment (8.2.3)
* sphinx.ext.autodoc.typehints (8.2.3)
* sphinx.ext.autodoc (8.2.3)
* sphinx.ext.napoleon (8.2.3)
* nbsphinx (0.9.5)

Traceback
=========

    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/nbsphinx/__init__.py", line 634, in parse
        rststring, resources = exporter.from_notebook_node(nb, resources)
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/nbsphinx/__init__.py", line 397, in from_notebook_node
        nb, resources = pp.preprocess(nb, resources)
                        ~~~~~~~~~~~~~^^^^^^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/nbconvert/preprocessors/execute.py", line 103, in preprocess
        self.preprocess_cell(cell, resources, index)
        ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/nbconvert/preprocessors/execute.py", line 124, in preprocess_cell
        cell = self.execute_cell(cell, index, store_history=True)
      File "/usr/lib/python3/dist-packages/jupyter_core/utils/__init__.py", line 165, in wrapped
        return loop.run_until_complete(inner)
               ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
      File "/usr/lib/python3.13/asyncio/base_events.py", line 725, in run_until_complete
        return future.result()
               ~~~~~~~~~~~~~^^
      File "/usr/lib/python3/dist-packages/nbclient/client.py", line 1062, in async_execute_cell
        await self._check_raise_for_error(cell, cell_index, exec_reply)
      File "/usr/lib/python3/dist-packages/nbclient/client.py", line 918, in _check_raise_for_error
        raise CellExecutionError.from_cell_and_msg(cell, exec_reply_content)
    nbclient.exceptions.CellExecutionError: An error occurred while executing the following cell:
    ------------------
    from tests.tools_test import fake_dataset,fake_ecmwf_0100_1h,build_footprint
    ------------------
    
    
    ---------------------------------------------------------------------------
    ModuleNotFoundError                       Traceback (most recent call last)
    Cell In[2], line 1
    ----> 1 from tests.tools_test import fake_dataset,fake_ecmwf_0100_1h,build_footprint
    
    File /<<PKGBUILDDIR>>/tests/tools_test.py:2
          1 import numpy as np
    ----> 2 import rioxarray  # activate .rio accessor
          3 import xarray as xr
          4 from shapely.geometry import Polygon
    
    ModuleNotFoundError: No module named 'rioxarray'
    
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/sphinx/cmd/build.py", line 432, in build_main
        app.build(args.force_all, args.filenames)
        ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/sphinx/application.py", line 435, in build
        self.builder.build_update()
        ~~~~~~~~~~~~~~~~~~~~~~~~~^^
      File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 375, in build_update
        self.build(
        ~~~~~~~~~~^
            to_build,
            ^^^^^^^^^
        ...<2 lines>...
            method='update',
            ^^^^^^^^^^^^^^^^
        )
        ^
      File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 403, in build
        updated_docnames = set(self.read())
                               ~~~~~~~~~^^
      File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 519, in read
        self._read_serial(docnames)
        ~~~~~~~~~~~~~~~~~^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 584, in _read_serial
        self.read_doc(docname)
        ~~~~~~~~~~~~~^^^^^^^^^
      File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 648, in read_doc
        publisher.publish()
        ~~~~~~~~~~~~~~~~~^^
      File "/usr/lib/python3/dist-packages/docutils/core.py", line 269, in publish
        self.document = self.reader.read(self.source, self.parser,
                        ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
                                         self.settings)
                                         ^^^^^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/sphinx/io.py", line 103, in read
        self.parse()
        ~~~~~~~~~~^^
      File "/usr/lib/python3/dist-packages/docutils/readers/__init__.py", line 101, in parse
        self.parser.parse(self.input, document)
        ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3/dist-packages/nbsphinx/__init__.py", line 641, in parse
        raise NotebookError('\n'.join(lines))
    nbsphinx.NotebookError: CellExecutionError in examples/how_to_use.ipynb:
    ------------------
    from tests.tools_test import fake_dataset,fake_ecmwf_0100_1h,build_footprint
    ------------------
    
    
    ---------------------------------------------------------------------------
    ModuleNotFoundError                       Traceback (most recent call last)
    Cell In[2], line 1
    ----> 1 from tests.tools_test import fake_dataset,fake_ecmwf_0100_1h,build_footprint
    
    File /<<PKGBUILDDIR>>/tests/tools_test.py:2
          1 import numpy as np
    ----> 2 import rioxarray  # activate .rio accessor
          3 import xarray as xr
          4 from shapely.geometry import Polygon
    
    ModuleNotFoundError: No module named 'rioxarray'
    
    You can ignore this error by setting the following in conf.py:
    
        nbsphinx_allow_errors = True


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



More information about the Pkg-grass-devel mailing list