Package: src:python-hjson Version: 3.1.0-2 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.13 setup.py config Warning: 'classifiers' should be a list, got type 'filter' running config I: pybuild base:311: python3.12 setup.py config Warning: 'classifiers' should be a list, got type 'filter' running config dh_auto_build -O--buildsystem=pybuild I: pybuild base:311: /usr/bin/python3.13 setup.py build Warning: 'classifiers' should be a list, got type 'filter' running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson copying hjson/scanner.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson copying hjson/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson copying hjson/decoder.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson copying hjson/compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson copying hjson/encoder.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson copying hjson/tool.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson copying hjson/ordered_dict.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson copying hjson/encoderH.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_bitsize_int_as_string.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_item_sort_key.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_default.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_pass1.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_unicode.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_tool.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_tuple.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_separators.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_for_json.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_hjson.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_recursion.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_float.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_namedtuple.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_decode.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_encode_basestring_ascii.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_scanstring.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_indent.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_decimal.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_pass3.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_dump.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_check_circular.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_pass2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_fail.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_bigint_as_string.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests copying hjson/tests/test_errors.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests running build_scripts creating build/scripts-3.13 copying bin/hjson -> build/scripts-3.13 copying bin/hjson.cmd -> build/scripts-3.13 changing mode of build/scripts-3.13/hjson.cmd from 644 to 755 I: pybuild base:311: /usr/bin/python3 setup.py build Warning: 'classifiers' should be a list, got type 'filter' running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson copying hjson/scanner.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson copying hjson/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson copying hjson/decoder.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson copying hjson/compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson copying hjson/encoder.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson copying hjson/tool.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson copying hjson/ordered_dict.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson copying hjson/encoderH.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_bitsize_int_as_string.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_item_sort_key.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_default.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_pass1.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_unicode.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_tool.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_tuple.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_separators.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_for_json.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_hjson.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_recursion.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_float.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_namedtuple.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_decode.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_encode_basestring_ascii.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_scanstring.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_indent.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_decimal.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_pass3.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_dump.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_check_circular.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_pass2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_fail.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_bigint_as_string.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests copying hjson/tests/test_errors.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests running build_scripts creating build/scripts-3.12 copying bin/hjson -> build/scripts-3.12 copying bin/hjson.cmd -> build/scripts-3.12 changing mode of build/scripts-3.12/hjson.cmd from 644 to 755 debian/rules override_dh_auto_test make[1]: Entering directory '/<<PKGBUILDDIR>>' ln -sr hjson/tests/assets .pybuild/cpython3_*_hjson/build/hjson/tests/ dh_auto_test I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build; python3.13 -m unittest discover -v Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/lib/python3.13/unittest/__main__.py", line 18, in <module> main(module=None) ~~~~^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/main.py", line 103, in __init__ self.parseArgs(argv) ~~~~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.13/unittest/main.py", line 119, in parseArgs self._do_discovery(argv[2:]) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/usr/lib/python3.13/unittest/main.py", line 242, in _do_discovery self.createTests(from_discovery=True, Loader=Loader) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/main.py", line 149, in createTests self.test = loader.discover(self.start, self.pattern, self.top) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/loader.py", line 310, in discover tests = list(self._find_tests(start_dir, pattern)) File "/usr/lib/python3.13/unittest/loader.py", line 374, in _find_tests yield from self._find_tests(full_path, pattern) File "/usr/lib/python3.13/unittest/loader.py", line 374, in _find_tests yield from self._find_tests(full_path, pattern) File "/usr/lib/python3.13/unittest/loader.py", line 374, in _find_tests yield from self._find_tests(full_path, pattern) File "/usr/lib/python3.13/unittest/loader.py", line 366, in _find_tests tests, should_recurse = self._find_test_path(full_path, pattern) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/loader.py", line 420, in _find_test_path return self.loadTestsFromModule(module, pattern=pattern), False ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/loader.py", line 107, in loadTestsFromModule tests.append(self.loadTestsFromTestCase(obj)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^ File "/usr/lib/python3.13/unittest/loader.py", line 94, in loadTestsFromTestCase loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames)) File "/usr/lib/python3.13/unittest/suite.py", line 24, in __init__ self.addTests(tests) ~~~~~~~~~~~~~^^^^^^^ File "/usr/lib/python3.13/unittest/suite.py", line 57, in addTests for test in tests: ^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests/tests/test_hjson.py", line 18, in __init__ self.assets = self.load('testlist.txt', False).split('\n') ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build/hjson/tests/tests/test_hjson.py", line 24, in load with open(name, 'rb') as f: ~~~~^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests/assets/testlist.txt' E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hjson/build; python3.13 -m unittest discover -v I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build; python3.12 -m unittest discover -v Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/lib/python3.12/unittest/__main__.py", line 18, in <module> main(module=None) File "/usr/lib/python3.12/unittest/main.py", line 104, in __init__ self.parseArgs(argv) File "/usr/lib/python3.12/unittest/main.py", line 130, in parseArgs self._do_discovery(argv[2:]) File "/usr/lib/python3.12/unittest/main.py", line 253, in _do_discovery self.createTests(from_discovery=True, Loader=Loader) File "/usr/lib/python3.12/unittest/main.py", line 160, in createTests self.test = loader.discover(self.start, self.pattern, self.top) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/unittest/loader.py", line 310, in discover tests = list(self._find_tests(start_dir, pattern)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/unittest/loader.py", line 374, in _find_tests yield from self._find_tests(full_path, pattern) File "/usr/lib/python3.12/unittest/loader.py", line 374, in _find_tests yield from self._find_tests(full_path, pattern) File "/usr/lib/python3.12/unittest/loader.py", line 366, in _find_tests tests, should_recurse = self._find_test_path(full_path, pattern) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/unittest/loader.py", line 420, in _find_test_path return self.loadTestsFromModule(module, pattern=pattern), False ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/unittest/loader.py", line 107, in loadTestsFromModule tests.append(self.loadTestsFromTestCase(obj)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/unittest/loader.py", line 94, in loadTestsFromTestCase loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/unittest/suite.py", line 24, in __init__ self.addTests(tests) File "/usr/lib/python3.12/unittest/suite.py", line 57, in addTests for test in tests: ^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests/test_hjson.py", line 18, in __init__ self.assets = self.load('testlist.txt', False).split('\n') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests/test_hjson.py", line 24, in load with open(name, 'rb') as f: ^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build/hjson/tests/assets/testlist.txt' E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hjson/build; python3.12 -m unittest discover -v dh_auto_test: error: pybuild --test -i python{version} -p "3.13 3.12" returned exit code 13 make[1]: *** [debian/rules:10: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:6: 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/202412/ 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.