[Pkg-matrix-maintainers] Bug#1135459: python-signedjson: FTBFS: ModuleNotFoundError: No module named '_cffi_backend'

Santiago Vila sanvila at debian.org
Sat May 2 00:14:27 BST 2026


Package: src:python-signedjson
Version: 1.1.4-3
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/202605/

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-signedjson, 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_signedjson  
* Building wheel...
<string>:29: DeprecationWarning: codecs.open() is deprecated. Use open() instead.
toml section missing PosixPath('pyproject.toml') does not contain a tool.setuptools_scm section
toml section missing PosixPath('pyproject.toml') does not contain a tool.setuptools_scm section
running bdist_wheel
running build
running build_py
creating build/lib/signedjson
copying signedjson/__init__.py -> build/lib/signedjson
copying signedjson/types.py -> build/lib/signedjson
copying signedjson/key.py -> build/lib/signedjson
copying signedjson/sign.py -> build/lib/signedjson
copying signedjson/py.typed -> build/lib/signedjson
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/signedjson
copying build/lib/signedjson/__init__.py -> build/bdist.linux-x86_64/wheel/./signedjson
copying build/lib/signedjson/types.py -> build/bdist.linux-x86_64/wheel/./signedjson
copying build/lib/signedjson/key.py -> build/bdist.linux-x86_64/wheel/./signedjson
copying build/lib/signedjson/sign.py -> build/bdist.linux-x86_64/wheel/./signedjson
copying build/lib/signedjson/py.typed -> build/bdist.linux-x86_64/wheel/./signedjson
running install_egg_info
running egg_info
creating signedjson.egg-info
writing signedjson.egg-info/PKG-INFO
writing dependency_links to signedjson.egg-info/dependency_links.txt
writing requirements to signedjson.egg-info/requires.txt
writing top-level names to signedjson.egg-info/top_level.txt
writing manifest file 'signedjson.egg-info/SOURCES.txt'
reading manifest file 'signedjson.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching '.idea'
adding license file 'LICENSE'
writing manifest file 'signedjson.egg-info/SOURCES.txt'
Copying signedjson.egg-info to build/bdist.linux-x86_64/wheel/./signedjson-1.1.4.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/signedjson-1.1.4.dist-info/WHEEL
creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_signedjson/.tmp-oqm6aqjh/signedjson-1.1.4-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'signedjson/__init__.py'
adding 'signedjson/key.py'
adding 'signedjson/py.typed'
adding 'signedjson/sign.py'
adding 'signedjson/types.py'
adding 'signedjson-1.1.4.dist-info/licenses/LICENSE'
adding 'signedjson-1.1.4.dist-info/METADATA'
adding 'signedjson-1.1.4.dist-info/WHEEL'
adding 'signedjson-1.1.4.dist-info/top_level.txt'
adding 'signedjson-1.1.4.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built signedjson-1.1.4-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_signedjson  
* Building wheel...
toml section missing PosixPath('pyproject.toml') does not contain a tool.setuptools_scm section
toml section missing PosixPath('pyproject.toml') does not contain a tool.setuptools_scm section
running bdist_wheel
running build
running build_py
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/signedjson
copying build/lib/signedjson/__init__.py -> build/bdist.linux-x86_64/wheel/./signedjson
copying build/lib/signedjson/types.py -> build/bdist.linux-x86_64/wheel/./signedjson
copying build/lib/signedjson/key.py -> build/bdist.linux-x86_64/wheel/./signedjson
copying build/lib/signedjson/sign.py -> build/bdist.linux-x86_64/wheel/./signedjson
copying build/lib/signedjson/py.typed -> build/bdist.linux-x86_64/wheel/./signedjson
running install_egg_info
running egg_info
writing signedjson.egg-info/PKG-INFO
writing dependency_links to signedjson.egg-info/dependency_links.txt
writing requirements to signedjson.egg-info/requires.txt
writing top-level names to signedjson.egg-info/top_level.txt
reading manifest file 'signedjson.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching '.idea'
adding license file 'LICENSE'
writing manifest file 'signedjson.egg-info/SOURCES.txt'
Copying signedjson.egg-info to build/bdist.linux-x86_64/wheel/./signedjson-1.1.4.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/signedjson-1.1.4.dist-info/WHEEL
creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_signedjson/.tmp-rql0a2vt/signedjson-1.1.4-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'signedjson/__init__.py'
adding 'signedjson/key.py'
adding 'signedjson/py.typed'
adding 'signedjson/sign.py'
adding 'signedjson/types.py'
adding 'signedjson-1.1.4.dist-info/licenses/LICENSE'
adding 'signedjson-1.1.4.dist-info/METADATA'
adding 'signedjson-1.1.4.dist-info/WHEEL'
adding 'signedjson-1.1.4.dist-info/top_level.txt'
adding 'signedjson-1.1.4.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built signedjson-1.1.4-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.13 with "installer" module
   dh_auto_test -O--buildsystem=pybuild
W: pybuild base:328: No test runner selected, defaulting to unittest, ignoring test discovery problems.
Use --test-unittest to explicitly select the unittest runner.
I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_signedjson/build; python3.14 -m unittest discover -v 
tests.test_key (unittest.loader._FailedTest.tests.test_key) ... ERROR
tests.test_known_key (unittest.loader._FailedTest.tests.test_known_key) ... ERROR
tests.test_sign (unittest.loader._FailedTest.tests.test_sign) ... ERROR

======================================================================
ERROR: tests.test_key (unittest.loader._FailedTest.tests.test_key)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_key
Traceback (most recent call last):
  File "/usr/lib/python3.14/unittest/loader.py", line 426, in _find_test_path
    module = 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_signedjson/build/tests/test_key.py", line 3, in <module>
    from signedjson.key import (
    ...<11 lines>...
    )
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_signedjson/build/signedjson/key.py", line 20, in <module>
    import nacl.signing
  File "/usr/lib/python3/dist-packages/nacl/signing.py", line 16, in <module>
    import nacl.bindings
  File "/usr/lib/python3/dist-packages/nacl/bindings/__init__.py", line 16, in <module>
    from nacl.bindings.crypto_aead import (
    ...<42 lines>...
    )
  File "/usr/lib/python3/dist-packages/nacl/bindings/crypto_aead.py", line 17, in <module>
    from nacl._sodium import ffi, lib
ModuleNotFoundError: No module named '_cffi_backend'


======================================================================
ERROR: tests.test_known_key (unittest.loader._FailedTest.tests.test_known_key)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_known_key
Traceback (most recent call last):
  File "/usr/lib/python3.14/unittest/loader.py", line 426, in _find_test_path
    module = 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_signedjson/build/tests/test_known_key.py", line 19, in <module>
    import nacl.signing
  File "/usr/lib/python3/dist-packages/nacl/signing.py", line 16, in <module>
    import nacl.bindings
  File "/usr/lib/python3/dist-packages/nacl/bindings/__init__.py", line 16, in <module>
    from nacl.bindings.crypto_aead import (
    ...<42 lines>...
    )
  File "/usr/lib/python3/dist-packages/nacl/bindings/crypto_aead.py", line 17, in <module>
    from nacl._sodium import ffi, lib
ModuleNotFoundError: No module named '_cffi_backend'


======================================================================
ERROR: tests.test_sign (unittest.loader._FailedTest.tests.test_sign)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_sign
Traceback (most recent call last):
  File "/usr/lib/python3.14/unittest/loader.py", line 426, in _find_test_path
    module = 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_signedjson/build/tests/test_sign.py", line 21, in <module>
    from signedjson.sign import (
    ...<4 lines>...
    )
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_signedjson/build/signedjson/sign.py", line 25, in <module>
    from signedjson.key import SUPPORTED_ALGORITHMS
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_signedjson/build/signedjson/key.py", line 20, in <module>
    import nacl.signing
  File "/usr/lib/python3/dist-packages/nacl/signing.py", line 16, in <module>
    import nacl.bindings
  File "/usr/lib/python3/dist-packages/nacl/bindings/__init__.py", line 16, in <module>
    from nacl.bindings.crypto_aead import (
    ...<42 lines>...
    )
  File "/usr/lib/python3/dist-packages/nacl/bindings/crypto_aead.py", line 17, in <module>
    from nacl._sodium import ffi, lib
ModuleNotFoundError: No module named '_cffi_backend'


----------------------------------------------------------------------
Ran 3 tests in 0.000s

FAILED (errors=3)
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_signedjson/build; python3.14 -m unittest discover -v 
W: pybuild base:328: No test runner selected, defaulting to unittest, ignoring test discovery problems.
Use --test-unittest to explicitly select the unittest runner.
I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_signedjson/build; python3.13 -m unittest discover -v 
tests.test_key (unittest.loader._FailedTest.tests.test_key) ... ERROR
tests.test_known_key (unittest.loader._FailedTest.tests.test_known_key) ... ERROR
tests.test_sign (unittest.loader._FailedTest.tests.test_sign) ... ERROR

======================================================================
ERROR: tests.test_key (unittest.loader._FailedTest.tests.test_key)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_key
Traceback (most recent call last):
  File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_signedjson/build/tests/test_key.py", line 3, in <module>
    from signedjson.key import (
    ...<11 lines>...
    )
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_signedjson/build/signedjson/key.py", line 20, in <module>
    import nacl.signing
  File "/usr/lib/python3/dist-packages/nacl/signing.py", line 16, in <module>
    import nacl.bindings
  File "/usr/lib/python3/dist-packages/nacl/bindings/__init__.py", line 16, in <module>
    from nacl.bindings.crypto_aead import (
    ...<42 lines>...
    )
  File "/usr/lib/python3/dist-packages/nacl/bindings/crypto_aead.py", line 17, in <module>
    from nacl._sodium import ffi, lib
ModuleNotFoundError: No module named '_cffi_backend'


======================================================================
ERROR: tests.test_known_key (unittest.loader._FailedTest.tests.test_known_key)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_known_key
Traceback (most recent call last):
  File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_signedjson/build/tests/test_known_key.py", line 19, in <module>
    import nacl.signing
  File "/usr/lib/python3/dist-packages/nacl/signing.py", line 16, in <module>
    import nacl.bindings
  File "/usr/lib/python3/dist-packages/nacl/bindings/__init__.py", line 16, in <module>
    from nacl.bindings.crypto_aead import (
    ...<42 lines>...
    )
  File "/usr/lib/python3/dist-packages/nacl/bindings/crypto_aead.py", line 17, in <module>
    from nacl._sodium import ffi, lib
ModuleNotFoundError: No module named '_cffi_backend'


======================================================================
ERROR: tests.test_sign (unittest.loader._FailedTest.tests.test_sign)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_sign
Traceback (most recent call last):
  File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_signedjson/build/tests/test_sign.py", line 21, in <module>
    from signedjson.sign import (
    ...<4 lines>...
    )
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_signedjson/build/signedjson/sign.py", line 25, in <module>
    from signedjson.key import SUPPORTED_ALGORITHMS
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_signedjson/build/signedjson/key.py", line 20, in <module>
    import nacl.signing
  File "/usr/lib/python3/dist-packages/nacl/signing.py", line 16, in <module>
    import nacl.bindings
  File "/usr/lib/python3/dist-packages/nacl/bindings/__init__.py", line 16, in <module>
    from nacl.bindings.crypto_aead import (
    ...<42 lines>...
    )
  File "/usr/lib/python3/dist-packages/nacl/bindings/crypto_aead.py", line 17, in <module>
    from nacl._sodium import ffi, lib
ModuleNotFoundError: No module named '_cffi_backend'


----------------------------------------------------------------------
Ran 3 tests in 0.000s

FAILED (errors=3)
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_signedjson/build; python3.13 -m unittest discover -v 
dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" --parallel=2 returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-matrix-maintainers mailing list