Package: src:python-libnacl Version: 1.6.1-3 Severity: serious Tags: ftbfs Dear maintainer:
I tried to build this package in buster but it failed: -------------------------------------------------------------------------------- [...] debian/rules binary-indep dh binary-indep --with python2,python3 --buildsystem=pybuild dh_update_autotools_config -i -O--buildsystem=pybuild dh_auto_configure -i -O--buildsystem=pybuild I: pybuild base:217: python2.7 setup.py config running config I: pybuild base:217: python3.7 setup.py config running config dh_auto_build -i -O--buildsystem=pybuild I: pybuild base:217: /usr/bin/python setup.py build running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_libnacl/build/libnacl copying libnacl/public.py -> /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_libnacl/build/libnacl [... snipped ...] test_box (unit.test_raw_public.TestPublic) ... ok test_box_seal (unit.test_raw_public.TestPublic) ... ok test_boxnm (unit.test_raw_public.TestPublic) ... ok test_gen (unit.test_raw_public.TestPublic) ... ok copied from libsodium default/randombytes.c ... ok test_randombytes_random (unit.test_raw_random.TestRandomBytes) ... ok test_randombytes_uniform (unit.test_raw_random.TestRandomBytes) ... ok test_secretbox (unit.test_raw_secret.TestSecret) ... ok test_box (unit.test_raw_sign.TestSign) ... ok test_gen (unit.test_raw_sign.TestSign) ... ok test_save_load (unit.test_save.TestSave) ... ok test_save_load_secret (unit.test_save.TestSave) ... ok test_save_load_sign (unit.test_save.TestSave) ... ok test_save_perms (unit.test_save.TestSave) ... ok test_publickey_only (unit.test_seal.TestSealed) ... ok test_secretkey (unit.test_seal.TestSealed) ... ok test_secret (unit.test_secret.TestSecret) ... ok test_sign (unit.test_sign.TestSigning) ... ok test_verify16 (unit.test_verify.TestVerify) ... ok test_verify32 (unit.test_verify.TestVerify) ... ERROR test_verify64 (unit.test_verify.TestVerify) ... ok test_different (unit.test_verify.TestVerifyBytesEq) ... ok test_different_length (unit.test_verify.TestVerifyBytesEq) ... ok test_equal (unit.test_verify.TestVerifyBytesEq) ... ok test_invalid_type (unit.test_verify.TestVerifyBytesEq) ... ok test_library_version_major (unit.test_version.TestSodiumVersion) ... ok test_library_version_minor (unit.test_version.TestSodiumVersion) ... ok test_version_string (unit.test_version.TestSodiumVersion) ... ok ====================================================================== ERROR: test_verify32 (unit.test_verify.TestVerify) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_libnacl/build/tests/unit/test_verify.py", line 30, in test_verify32 v32x[libnacl.randombytes_random() & 31] += 1 ValueError: byte must be in range(0, 256) ---------------------------------------------------------------------- Ran 43 tests in 0.776s FAILED (errors=1) E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_libnacl/build; python3.7 -m nose -v tests dh_auto_test: pybuild --test -i python{version} -p 3.7 returned exit code 13 make: *** [debian/rules:7: binary-indep] Error 25 dpkg-buildpackage: error: debian/rules binary-indep subprocess returned exit status 2 -------------------------------------------------------------------------------- (The above is just how the build ends and not necessarily the most relevant part) The build was made in my autobuilder with "dpkg-buildpackage -A" and it also fails here: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-libnacl.html where you can get a full build log if you need it. 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.