#1144125 python-m2r2: FTBFS with the nocheck build profile

#1144125#5
Date:
2026-08-11 12:08:11 UTC
From:
To:
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/202608/

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

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

Thanks.
--------------------------------------------------------------------------------
[...]
adding 'm2r2-0.3.4.dist-info/top_level.txt'
adding 'm2r2-0.3.4.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built m2r2-0.3.4-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.14 with "installer" module
dh_doc_privacy
cd docs; PYTHONPATH=/<<PKGBUILDDIR>> LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 sphinx-build \
	-bhtml \
	-d _build/doctrees \
	-D html_theme_options.github_button=false \
	-D 'mathjax_path=mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML' \
	. _build/html
Running Sphinx v9.1.0

Configuration error!

Versions
========

* Platform:         linux; (Linux-6.12.101+deb13-cloud-amd64-x86_64-with-glibc2.43)
* Python version:   3.14.6 (CPython)
* Sphinx version:   9.1.0
* Docutils version: 0.22.4
* Jinja2 version:   3.1.6
* Pygments version: 2.20.0

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

None.

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

None.

Traceback
=========

      File "/usr/lib/python3/dist-packages/sphinx/config.py", line 611, 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 596, in eval_config_file
        exec(code, namespace)  # NoQA: S102
        ~~~~^^^^^^^^^^^^^^^^^
      File "/<<PKGBUILDDIR>>/docs/conf.py", line 19, in <module>
        from m2r2 import __version__ as __m2r2_version__
      File "/<<PKGBUILDDIR>>/m2r2.py", line 14, in <module>
        import mistune0
    ModuleNotFoundError: No module named 'mistune0'


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

#1144125#10
Date:
2026-08-11 16:48:54 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-m2r2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1144125@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated python-m2r2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 11 Aug 2026 18:29:13 +0200
Source: python-m2r2
Architecture: source
Version: 0.3.4-3
Distribution: unstable
Urgency: medium
Maintainer: Home Assistant Team <team+homeassistant@tracker.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1144125
Changes:
 python-m2r2 (0.3.4-3) unstable; urgency=medium
 .
   * Team Upload
   * Salsa CI: test the nocheck & nodoc profiles
   * Rewrite d/rules with newer & shorter syntax
   * Protect sphinx-build call with a if-block
   * Fix FTBFS with nodoc profile
   * Fix FTBFS in nocheck profile (Closes: #1144125)
Checksums-Sha1:
 b0a5fda9ce6dd2be3375c9411bf37892212c1dc0 2280 python-m2r2_0.3.4-3.dsc
 2409baa914d952249a59dd3511e091b031eb2123 4512 python-m2r2_0.3.4-3.debian.tar.xz
 97678f1e1ea3df228b87231a037b0b8be5831e97 7265 python-m2r2_0.3.4-3_source.buildinfo
Checksums-Sha256:
 569fd47998a431305d81c3e2111d8bd97244b7052e8e7089af43946af143c780 2280 python-m2r2_0.3.4-3.dsc
 1a2f2ee6a2987014de516558c1193df226ac2c49505744784e8e14c2071c8e71 4512 python-m2r2_0.3.4-3.debian.tar.xz
 4e2ba628c50509d5da970747efde8450172571da0d56614792b9abc6ab0718be 7265 python-m2r2_0.3.4-3_source.buildinfo
Files:
 ea4b05b3e350125ac350ba4708202e7c 2280 python optional python-m2r2_0.3.4-3.dsc
 522a3832f73870ab5c78773315aee4bb 4512 python optional python-m2r2_0.3.4-3.debian.tar.xz
 79c77a5e6dd45937bdbbf5f1b9ec23f1 7265 python optional python-m2r2_0.3.4-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmp7ThERHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBrEtQ//SlqYENxZBcwxf1zmhONLpcqINR8vUcQr
awDQhWwvQzGvfuA0QeqY1rIhbEC4MYnhbpuAuOiwLIQeTTx0acMFVa/Gh1A9Zb3u
ooLAnep5K2KOblLJjBRNwLi4P9UBsxUT0RZaph3Wt0i4FzgeM6xR6pVEov5hBEzz
koJ6gaSgeouVovrBpHVYKo3EQVtnBC8klOFglyLoe5K/va9l5fjYgkjvyxgp8ftc
chpiUvkuGVCvYsepqrHS4ZzebpFzPIk8W5w5BoP0qTxclPqalx5ZLgllIHXITdiJ
1MOPqunxsxdBcngs7TzuEkfSmI3MWm2JEVi9XfWb/h9Y8xk9V/3LKll/Df7NRJql
WJmqKHu/As9OqJFCmIWGek09rIoxgrPnSN25HpGmnDzKlNgusOBbYVVG5eD84lX6
re7AigpQYwYbTD2/Yj//u3qYwD9eNOXEvI7QhrUsIDv2zFW+Ka8790T7L+a98Uqp
3V6r9JUe8s57Jh/XUEogN/uMe1MVvQFpB4+uxxEShhFRMtk99U/Nsr1wNK/RTymy
8KAK+4z9zhvOs071xsDuX5eaC1Eyo/k/MhxI1fO4L47m3l7qIFBNjAXb+atS/9DO
UhiT6VaHjRI3eC5Ey07kgRhzDeNcUj7rsyBFJGadRjRErIaCw8JEjKbAAmQPgcLd
RSsPxryJk5Y=
=fEQ6
-----END PGP SIGNATURE-----