Package: src:python-pskc
Version: 1.2-1
User: debian...@lists.debian.org
Usertags: ftbfs-during-trixie-support-period
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable in the year 2028, your package 
failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --with python3,sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:311: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc
copying pskc/device.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc
copying pskc/xml.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc
copying pskc/key.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc
copying pskc/signature.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc
copying pskc/exceptions.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc
copying pskc/encryption.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc
copying pskc/serialiser.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc
copying pskc/algorithms.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc
copying pskc/mac.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc
copying pskc/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc
copying pskc/policy.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc
copying pskc/parser.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc/scripts
copying pskc/scripts/pskc2csv.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc/scripts
copying pskc/scripts/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc/scripts
copying pskc/scripts/csv2pskc.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc/scripts
copying pskc/scripts/util.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc/scripts
copying pskc/scripts/pskc2pskc.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc/scripts
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc/crypto
copying pskc/crypto/tripledeskw.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc/crypto
copying pskc/crypto/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc/crypto
copying pskc/crypto/aeskw.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/pskc/crypto
PYTHONPATH=. python3 -m sphinx -N -bhtml docs build/sphinx/html
Running Sphinx v7.4.7
loading translations [en]... done
making output directory... done
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 12 source files that are out of date
updating environment: [new config] 12 added, 0 changed, 0 removed
reading sources... [  8%] changes
reading sources... [ 17%] csv2pskc
reading sources... [ 25%] encryption
reading sources... [ 33%] exceptions
reading sources... [ 42%] index
reading sources... [ 50%] mac
reading sources... [ 58%] policy
reading sources... [ 67%] pskc2csv
reading sources... [ 75%] pskc2pskc
reading sources... [ 83%] scripts
reading sources... [ 92%] signatures
reading sources... [100%] usage

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets...
copying static files... done
copying extra files... done
copying assets: done
writing output... [  8%] changes
writing output... [ 17%] csv2pskc
writing output... [ 25%] encryption
writing output... [ 33%] exceptions
writing output... [ 42%] index
writing output... [ 50%] mac
writing output... [ 58%] policy
writing output... [ 67%] pskc2csv
writing output... [ 75%] pskc2pskc
writing output... [ 83%] scripts
writing output... [ 92%] signatures
writing output... [100%] usage

generating indices... genindex py-modindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded.

The HTML pages are in build/sphinx/html.
PYTHONPATH=. python3 -m sphinx -N -bman docs build/sphinx/man
Running Sphinx v7.4.7
loading translations [en]... done
making output directory... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 
'restructuredtext'}`.
building [mo]: targets for 0 po files that are out of date
writing output...
building [man]: all manpages
updating environment: [new config] 12 added, 0 changed, 0 removed
reading sources... [  8%] changes
reading sources... [ 17%] csv2pskc
reading sources... [ 25%] encryption
reading sources... [ 33%] exceptions
reading sources... [ 42%] index
reading sources... [ 50%] mac
reading sources... [ 58%] policy
reading sources... [ 67%] pskc2csv
reading sources... [ 75%] pskc2pskc
reading sources... [ 83%] scripts
reading sources... [ 92%] signatures
reading sources... [100%] usage

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... pskc2csv.1 { } pskc2pskc.1 { } csv2pskc.1 { } done
build succeeded.

The manual pages are in build/sphinx/man.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
TZ=Europe/Amsterdam dh_auto_test
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build; 
python3.12 -m pytest --ignore=tests/test_signature.doctest --no-cov
============================= test session starts ==============================
platform linux -- Python 3.12.5, pytest-8.3.2, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
plugins: cov-5.0.0
collected 20 items

pskc/__init__.py .                                                       [  5%]
tests/test_actividentity.doctest .                                       [ 10%]
tests/test_aeskw.doctest .                                               [ 15%]
tests/test_csv2pskc.doctest .                                            [ 20%]
tests/test_draft_hoyer_keyprov_portable_symmetric_key_container.doctest . [ 25%]
                                                                         [ 25%]
tests/test_draft_ietf_keyprov_pskc_02.doctest .                          [ 30%]
tests/test_draft_keyprov.doctest .                                       [ 35%]
tests/test_encryption.doctest .                                          [ 40%]
tests/test_feitian.doctest .                                             [ 45%]
tests/test_invalid.doctest .                                             [ 50%]
tests/test_mac.doctest .                                                 [ 55%]
tests/test_misc.doctest F                                                [ 60%]
tests/test_multiotp.doctest .                                            [ 65%]
tests/test_nagraid.doctest .                                             [ 70%]
tests/test_pskc2csv.doctest .                                            [ 75%]
tests/test_pskc2pskc.doctest .                                           [ 80%]
tests/test_rfc6030.doctest .                                             [ 85%]
tests/test_tripledeskw.doctest .                                         [ 90%]
tests/test_write.doctest .                                               [ 95%]
tests/test_yubico.doctest .                                              [100%]

=================================== FAILURES ===================================
_________________________ [doctest] test_misc.doctest __________________________
201 datetime.datetime(2006, 5, 1, 0, 0, tzinfo=tzutc())
202 >>> key.policy.expiry_date
203 datetime.datetime(2026, 5, 31, 0, 0, tzinfo=tzutc())
204 >>> key.policy.number_of_transactions
205 4321
206 >>> key.policy.key_usage
207 ['OTP']
208 >>> key.policy.unknown_policy_elements
209 False
210 >>> key.policy.may_use()
Expected:
    True
Got:
    False

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build/tests/test_misc.doctest:210: 
DocTestFailure
=========================== short test summary info ============================
FAILED tests/test_misc.doctest::test_misc.doctest
========================= 1 failed, 19 passed in 0.61s =========================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pskc/build; python3.12 -m pytest 
--ignore=tests/test_signature.doctest --no-cov
dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit 
code 13
make[1]: *** [debian/rules:20: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/ftbfs-future/

About the archive rebuild: This is an effort to keep trixie free from FTBFS bugs
during its lifetime as a supported distribution, as explained here:

https://lists.debian.org/debian-devel/2024/05/msg00414.html

(While they are not yet, please note that the bugs will be RC for trixie)

The build was made using sbuild and a reduced chroot with only
build-essential packages.

If you could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to