Bug#1123273: python-nxs: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" returned exit code 13

Santiago Vila sanvila at debian.org
Tue Dec 16 19:47:59 GMT 2025


Package: src:python-nxs
Version: 4.4.1-7
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

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

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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with sphinxdoc --buildsystem pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:317: python3.14 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_nxs/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.14' does not exist -- can't clean it
I: pybuild base:317: python3.13 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_nxs/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with sphinxdoc --buildsystem pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:317: python3.14 setup.py config 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running config
I: pybuild base:317: python3.13 setup.py config 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:317: /usr/bin/python3.14 setup.py build 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_nxs/build/nxs
copying nxs/tree.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_nxs/build/nxs
copying nxs/unit.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_nxs/build/nxs
copying nxs/napi.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_nxs/build/nxs
copying nxs/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_nxs/build/nxs
I: pybuild base:317: /usr/bin/python3 setup.py build 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_nxs/build/nxs
copying nxs/tree.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_nxs/build/nxs
copying nxs/unit.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_nxs/build/nxs
copying nxs/napi.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_nxs/build/nxs
copying nxs/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_nxs/build/nxs
   debian/rules execute_after_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
http_proxy=127.0.0.1:9 \
  https_proxy=127.0.0.1:9 \
  PYTHONPATH=. \
  python3 -m sphinx -N -bhtml doc/source build/html
Running Sphinx v8.2.3
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
WARNING: html_static_path entry '_static' does not exist
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`.
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 2 source files that are out of date
updating environment: [new config] 2 added, 0 changed, 0 removed
reading sources... [ 50%] index
reading sources... [100%] napi_api_documentation

/<<PKGBUILDDIR>>/nxs/napi.py:docstring of nxs.napi:172: ERROR: Unexpected indentation. [docutils]
/<<PKGBUILDDIR>>/nxs/napi.py:docstring of nxs.napi:63: ERROR: Unknown target name: "napi". [docutils]
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... 
copying static files... 
Writing evaluated template result to /<<PKGBUILDDIR>>/build/html/_static/basic.css
Writing evaluated template result to /<<PKGBUILDDIR>>/build/html/_static/language_data.js
Writing evaluated template result to /<<PKGBUILDDIR>>/build/html/_static/documentation_options.js
Writing evaluated template result to /<<PKGBUILDDIR>>/build/html/_static/js/versions.js
copying static files: done
copying extra files... 
copying extra files: done
copying assets: done
writing output... [ 50%] index
writing output... [100%] napi_api_documentation

generating indices... genindex py-modindex done
highlighting module code... [100%] nxs.napi

writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 4 warnings.

The HTML pages are in build/html.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_nxs/build; python3.14 -m unittest discover -v 
nxs (unittest.loader._FailedTest.nxs) ... ERROR

======================================================================
ERROR: nxs (unittest.loader._FailedTest.nxs)
----------------------------------------------------------------------
ImportError: Failed to import test module: nxs
Traceback (most recent call last):
  File "/usr/lib/python3.14/unittest/loader.py", line 460, in _find_test_path
    package = self._get_module_from_name(name)
  File "/usr/lib/python3.14/unittest/loader.py", line 367, in _get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_nxs/build/nxs/__init__.py", line 20, in <module>
    from nxs.napi import *
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_nxs/build/nxs/napi.py", line 198, in <module>
    class _NXlink(ctypes.Structure):
    ...<4 lines>...
        _pack_ = False
  File "/usr/lib/python3.14/ctypes/_layout.py", line 126, in get_layout
    raise ValueError('_pack_ is not compatible with gcc-sysv layout')
ValueError: _pack_ is not compatible with gcc-sysv layout


----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (errors=1)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_nxs/build; python3.14 -m unittest discover -v 
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_nxs/build; python3.13 -m unittest discover -v 

----------------------------------------------------------------------
Ran 0 tests in 0.000s

NO TESTS RAN
dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" returned exit code 13
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the debian-science-maintainers mailing list