#1149122 emperor: FTBFS with the nocheck build profile

#1149122#5
Date:
2026-09-26 23:27:52 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/202609/

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

Thanks.
--------------------------------------------------------------------------------
[...]
  +-+---------------- 1 ----------------
    | Traceback (most recent call last):
    |   File "/usr/lib/python3/dist-packages/sphinx/ext/autosummary/__init__.py", line 708, in _import_by_name
    |     _import_module(modname)
    |     ~~~~~~~~~~~~~~^^^^^^^^^
    |   File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/_dynamic/_importer.py", line 221, in _import_module
    |     module = importlib.import_module(modname)
    |   File "/usr/lib/python3.14/importlib/__init__.py", line 88, in import_module
    |     return _bootstrap._gcd_import(name[level:], package, level)
    |            ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "<frozen importlib._bootstrap>", line 1406, in _gcd_import
    |   File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
    |   File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
    |   File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
    |   File "<frozen importlib._bootstrap_external>", line 763, in exec_module
    |   File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
    |   File "/<<PKGBUILDDIR>>/emperor/__init__.py", line 15, in <module>
    |     from emperor.core import Emperor
    |   File "/<<PKGBUILDDIR>>/emperor/core.py", line 13, in <module>
    |     import numpy as np
    | ModuleNotFoundError: No module named 'numpy'
    +---------------- 2 ----------------
    | Traceback (most recent call last):
    |   File "/usr/lib/python3/dist-packages/sphinx/ext/autosummary/__init__.py", line 723, in _import_by_name
    |     return sys.modules[modname], None, modname
    |            ~~~~~~~~~~~^^^^^^^^^
    | KeyError: 'emperor'
    +------------------------------------
make[2]: *** [Makefile:57: html] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[1]: *** [debian/rules:12: execute_after_dh_auto_build-indep] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1149122#8
Date:
2026-10-03 16:44:55 UTC
From:
To:
Hello,

Bug #1149122 in emperor reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/med-team/emperor/-/commit/7a96804aea8b7b3c66df472385a7fa99b037a8f9
------------------------------------------------------------------------
d/control: Drop <!nocheck> from python3-skbio. Closes: #1149122.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1149122

#1149122#15
Date:
2026-10-03 17:05:52 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
emperor, 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 1149122@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <sanvila@debian.org> (supplier of updated emperor 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: Sat, 03 Oct 2026 18:30:00 +0200
Source: emperor
Architecture: source
Version: 1.0.5+ds1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Santiago Vila <sanvila@debian.org>
Closes: 1149122
Changes:
 emperor (1.0.5+ds1-2) unstable; urgency=medium
 .
   * Team upload.
   * d/control: Drop <!nocheck> from python3-skbio. Closes: #1149122.
Checksums-Sha1:
 0ef3f88e66d3b508cd3e37ee1946774c58f3a44c 2157 emperor_1.0.5+ds1-2.dsc
 820bcd687ca4bee3205f287cb3b31236fa4cdeca 10364 emperor_1.0.5+ds1-2.debian.tar.xz
 19f6ded3e6f2c1285989971c66c145d7655d5359 36225 emperor_1.0.5+ds1-2_source.buildinfo
Checksums-Sha256:
 75f29698ba9dda10057249478b864beceb9e72c65123d2a3ecb59324b0cec2b9 2157 emperor_1.0.5+ds1-2.dsc
 05efd5ce5b149c66ea86e0aebb71d63144c111567c9618db031df50468722e81 10364 emperor_1.0.5+ds1-2.debian.tar.xz
 5528db754316be7a8c8867b0d1f1ab756fd278c5a9a89bb1f83e315615353b13 36225 emperor_1.0.5+ds1-2_source.buildinfo
Files:
 a43a00387a98bf247dbef1f027b01cef 2157 science optional emperor_1.0.5+ds1-2.dsc
 f8acb3ae0b6dff8d923c1ddb443ea978 10364 science optional emperor_1.0.5+ds1-2.debian.tar.xz
 f03a33edf38b6286f00275267bd08773 36225 science optional emperor_1.0.5+ds1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmrBMCgACgkQQc5/C58b
izLoRAgAg8xISPxL1GCg4g7ija1XKNOH7poYN19rvNo1xYJ2zvk/EXVF66imHFs1
2iHgz/MCkJTqdOs6tW88pinvKnCwtw8ekXvA9btJ1cXxZz0MOmHj7eDpxD4ndgRS
ZGUKQuJh0CWNdQqluN42HRrM7v9RTU7jlRdCY0N9iavXzHNW3qBB1hv8O7b2UGU1
dKFhy4sCluFOHraniNR3djoj1FfV1HXDiOycCPAI3spmpvYLeaobRhsMy0ecyKJ1
WJ7CDDfdWVPqXRTbV88VP45IkIFgenxK688PoVk9+EXsHPzsFI7UHs8H6fMvOvQa
7RYSSUklLj6DBu4Kbvx8V9fM85Zrnw==
=KBll
-----END PGP SIGNATURE-----

#1149122#20
Date:
2026-10-03 17:11:48 UTC
From:
To:
Hi.

I know this is weird because the build log suggests that the BD to
drop its <!nocheck> would be python3-numpy , but this is actually what
my script check-nocheck told me:

==== Checking annotations for package emperor ====
Trying with all build-dependencies
Build worked
Trying without libjs-qunit
Build worked, it is ok to keep libjs-qunit <!nocheck>
Trying without python3-click
Build worked, it is ok to keep python3-click <!nocheck>
Trying without python3-notebook
Build worked, it is ok to keep python3-notebook <!nocheck>
Trying without python3-numpy
Build worked, it is ok to keep python3-numpy <!nocheck>
Trying without python3-pandas
Build worked, it is ok to keep python3-pandas <!nocheck>
Trying without python3-pytest
Build worked, it is ok to keep python3-pytest <!nocheck>
Trying without python3-skbio
Build did NOT work, python3-skbio should not have <!nocheck>
==== build-dependencies that should drop their <!nocheck> annotation ====
python3-skbio


So that's what I did.

(There may be some other solution, but not in the form of dropping
nocheck annotations).

Thanks.