#1150022 nitrokey-app2: FTBFS: ImportError: cannot import name 'should_default_ccid' from 'nitrokey.trussed' (/usr/lib/python3/dist-packages/nitrokey/trussed/__init__.py)

#1150022#5
Date:
2026-10-05 12:23:52 UTC
From:
To:
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/202610/

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

Thanks.
---------------------------------------------------------------------- Ran 4 tests in 0.000s FAILED (errors=4) E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m unittest discover -v dh_auto_test: error: pybuild --test -i python{version} -p 3.14 --parallel=2 returned exit code 13 make: *** [debian/rules:4: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
#1150022#10
Date:
2026-10-05 17:08:26 UTC
From:
To:
Control: reassign -1 python3-nitrokey 0.5.0-1
Control: affects -1 src:nitrokey-app2

The update of python3-nitrokey breaks both build and runtime of
nitrokey-app2. Reassigning to python3-nitrokey as I probably need to
downgrade that package back to 0.5.0~rc2-1.

Cheers