Package: src:arcp
Version: 0.2.1-6
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --with python3 --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
/usr/lib/python3/dist-packages/setuptools/dist.py:452:
SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'description-file' will not be supported in
future
versions. Please use the underscore name 'description_file' instead.
By 2024-Sep-26, you need to update your project and remove deprecated
calls
or your builds will no longer be supported.
See
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/dist.py:452:
SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'description-file' will not be supported in
future
versions. Please use the underscore name 'description_file' instead.
By 2024-Sep-26, you need to update your project and remove deprecated
calls
or your builds will no longer be supported.
See
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_arcp/build/arcp
copying arcp/parse.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_arcp/build/arcp
copying arcp/generate.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_arcp/build/arcp
copying arcp/__init__.py ->
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_arcp/build/arcp
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_arcp/build;
python3.12 -m unittest discover -v
testHash (tests.test_generate.HashTest.testHash) ... ok
testHashFragment (tests.test_generate.HashTest.testHashFragment) ... ok
testHashHash (tests.test_generate.HashTest.testHashHash) ... ok
testHashPath (tests.test_generate.HashTest.testHashPath) ... ok
testHashPathEmptyHash (tests.test_generate.HashTest.testHashPathEmptyHash) ...
ok
testHashPathPremadeHash (tests.test_generate.HashTest.testHashPathPremadeHash)
... ok
testHashPathQueryFragment
(tests.test_generate.HashTest.testHashPathQueryFragment) ... ok
testHashQuery (tests.test_generate.HashTest.testHashQuery) ... ok
testHashWrongHash (tests.test_generate.HashTest.testHashWrongHash) ... ok
testExampleZip (tests.test_generate.LocationTest.testExampleZip) ... ok
testExampleZipUUIDValid
(tests.test_generate.LocationTest.testExampleZipUUIDValid) ... ok
testLocationNamespaceUUIDstrPathQueryFrag
(tests.test_generate.LocationTest.testLocationNamespaceUUIDstrPathQueryFrag)
... ok
testLocationOtherNamespace
(tests.test_generate.LocationTest.testLocationOtherNamespace) ... ok
testEmptyName (tests.test_generate.NameTest.testEmptyName) ... ok
testExampleName (tests.test_generate.NameTest.testExampleName) ... ok
testInvalidName (tests.test_generate.NameTest.testInvalidName) ... ok
testNameHash (tests.test_generate.NameTest.testNameHash) ... ok
testNamePath (tests.test_generate.NameTest.testNamePath) ... ok
testNamePathQueryHash (tests.test_generate.NameTest.testNamePathQueryHash) ...
ok
testNameQuery (tests.test_generate.NameTest.testNameQuery) ... ok
testRandom (tests.test_generate.RandomTest.testRandom) ... ok
testRandomFrag (tests.test_generate.RandomTest.testRandomFrag) ... ok
testRandomPath (tests.test_generate.RandomTest.testRandomPath) ... ok
testRandomPathQueryFrag
(tests.test_generate.RandomTest.testRandomPathQueryFrag) ... ok
testRandomQuery (tests.test_generate.RandomTest.testRandomQuery) ... ok
testRandomValidUUID (tests.test_generate.RandomTest.testRandomValidUUID) ... ok
testUUID (tests.test_generate.RandomTest.testUUID) ... ok
testUUIDPath (tests.test_generate.RandomTest.testUUIDPath) ... ok
testUUIDstr (tests.test_generate.RandomTest.testUUIDstr) ... ok
testUUIDstrInvalidUUID (tests.test_generate.RandomTest.testUUIDstrInvalidUUID)
... ok
testUUIDstrPathQueryFrag
(tests.test_generate.RandomTest.testUUIDstrPathQueryFrag) ... ok
testUUID (tests.test_generate.UUIDTest.testUUID) ... ok
testUUIDFrag (tests.test_generate.UUIDTest.testUUIDFrag) ... ok
testUUIDPath (tests.test_generate.UUIDTest.testUUIDPath) ... ok
testUUIDPathQuery (tests.test_generate.UUIDTest.testUUIDPathQuery) ... ok
testUUIDPathQueryFrag (tests.test_generate.UUIDTest.testUUIDPathQueryFrag) ...
ok
testUUIDQuery (tests.test_generate.UUIDTest.testUUIDQuery) ... ok
testUUIDstr (tests.test_generate.UUIDTest.testUUIDstr) ... ok
testUUIDstrFromUpperCase
(tests.test_generate.UUIDTest.testUUIDstrFromUpperCase) ... ok
testUUIDstrInvalidUUID (tests.test_generate.UUIDTest.testUUIDstrInvalidUUID)
... ok
testUUIDstrPathQueryFrag
(tests.test_generate.UUIDTest.testUUIDstrPathQueryFrag) ... ok
test_checkdigit (tests.test_parse.NIH_CheckDigit.test_checkdigit) ... ok
test_segment (tests.test_parse.NIH_Segmented.test_segment) ... ok
test_arcp_uri (tests.test_parse.TestIsArcpURI.test_arcp_uri) ... ok
test_arcp_uri_authority_fallback
(tests.test_parse.TestIsArcpURI.test_arcp_uri_authority_fallback) ... ok
test_not_arcp_uri (tests.test_parse.TestIsArcpURI.test_not_arcp_uri) ... ok
test_parse (tests.test_parse.TestParse.test_parse) ... ok
test_parseFails (tests.test_parse.TestParse.test_parseFails) ... ok
test_parse_authority_fallback
(tests.test_parse.TestParse.test_parse_authority_fallback) ... ok
test_parse_empty_authority
(tests.test_parse.TestParse.test_parse_empty_authority) ... ok
test_parse_hash (tests.test_parse.TestParse.test_parse_hash) ... ok
test_parse_name (tests.test_parse.TestParse.test_parse_name) ... ok
test_parse_ni (tests.test_parse.TestParse.test_parse_ni) ... ok
test_parse_ni_invalid_fails
(tests.test_parse.TestParse.test_parse_ni_invalid_fails) ... ok
test_parse_ni_uri (tests.test_parse.TestParse.test_parse_ni_uri) ... FAIL
test_parse_ni_well_known (tests.test_parse.TestParse.test_parse_ni_well_known)
... ok
test_parse_nih_uri (tests.test_parse.TestParse.test_parse_nih_uri) ... ok
test_parse_path_query_fragment
(tests.test_parse.TestParse.test_parse_path_query_fragment) ... ok
test_parse_prefix (tests.test_parse.TestParse.test_parse_prefix) ... ok
test_parse_repr_ni (tests.test_parse.TestParse.test_parse_repr_ni) ... ok
test_parse_repr_uuid (tests.test_parse.TestParse.test_parse_repr_uuid) ... ok
test_parse_str_ni (tests.test_parse.TestParse.test_parse_str_ni) ... ok
test_parse_uuid (tests.test_parse.TestParse.test_parse_uuid) ... ok
test_parse_uuid_fails (tests.test_parse.TestParse.test_parse_uuid_fails) ... ok
test_urlparse (tests.test_parse.URLParse.test_urlparse) ... ok
======================================================================
FAIL: test_parse_ni_uri (tests.test_parse.TestParse.test_parse_ni_uri)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_arcp/build/tests/test_parse.py", line
169, in test_parse_ni_uri
self.assertEqual("ni:///sha-256;f4OxZX_x_FO5LcGBSKHWXfwtSx-j1ncoSt3SABJtkGk",
AssertionError: 'ni:///sha-256;f4OxZX_x_FO5LcGBSKHWXfwtSx-j1ncoSt3SABJtkGk' !=
'ni:sha-256;f4OxZX_x_FO5LcGBSKHWXfwtSx-j1ncoSt3SABJtkGk'
- ni:///sha-256;f4OxZX_x_FO5LcGBSKHWXfwtSx-j1ncoSt3SABJtkGk
? ---
+ ni:sha-256;f4OxZX_x_FO5LcGBSKHWXfwtSx-j1ncoSt3SABJtkGk
----------------------------------------------------------------------
Ran 65 tests in 0.002s
FAILED (failures=1)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_arcp/build; python3.12 -m unittest
discover -v
dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit
code 13
make: *** [debian/rules:5: binary] Error 25
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/202409/
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 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.