Package: src:python-ofxhome Version: 0.3.3-3 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules build dh build --with python3 --buildsystem=pybuild dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_update_autotools_config -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use) I: pybuild base:311: python3.12 setup.py config /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) running config dh_auto_build -O--buildsystem=pybuild dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use) I: pybuild base:311: /usr/bin/python3 setup.py build /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome copying ofxhome/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests copying ofxhome/tests/test_suite.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests copying ofxhome/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests running egg_info creating ofxhome.egg-info writing ofxhome.egg-info/PKG-INFO writing dependency_links to ofxhome.egg-info/dependency_links.txt writing top-level names to ofxhome.egg-info/top_level.txt writing manifest file 'ofxhome.egg-info/SOURCES.txt' reading manifest file 'ofxhome.egg-info/SOURCES.txt' writing manifest file 'ofxhome.egg-info/SOURCES.txt' dh_auto_test -O--buildsystem=pybuild dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use) I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build; python3.12 -m unittest discover -v testBadXML (ofxhome.tests.test_suite.InstitutionListTestCase.testBadXML) ... ERROR testFromFile (ofxhome.tests.test_suite.InstitutionListTestCase.testFromFile) ... ERROR testGoodResult (ofxhome.tests.test_suite.InstitutionListTestCase.testGoodResult) ... ERROR testIterator (ofxhome.tests.test_suite.InstitutionListTestCase.testIterator) ... ERROR testResultWithPHPError (ofxhome.tests.test_suite.InstitutionListTestCase.testResultWithPHPError) ... ERROR testBadParse (ofxhome.tests.test_suite.InstitutionTestCase.testBadParse) ... ERROR testDictKeys (ofxhome.tests.test_suite.InstitutionTestCase.testDictKeys) ... ERROR testFromFile (ofxhome.tests.test_suite.InstitutionTestCase.testFromFile) ... ERROR testGoodParse (ofxhome.tests.test_suite.InstitutionTestCase.testGoodParse) ... ERROR testOptionalBroker (ofxhome.tests.test_suite.InstitutionTestCase.testOptionalBroker) ... ERROR ====================================================================== ERROR: testBadXML (ofxhome.tests.test_suite.InstitutionListTestCase.testBadXML) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/test_suite.py", line 96, in testBadXML with testfile('badxml_search.xml') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/test_suite.py", line 113, in testfile return open(testfile_name(filename)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/testfiles/badxml_search.xml' ====================================================================== ERROR: testFromFile (ofxhome.tests.test_suite.InstitutionListTestCase.testFromFile) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/test_suite.py", line 67, in testFromFile l = InstitutionList.from_file( testfile_name('search_america.xml') ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/__init__.py", line 97, in from_file with open(file, 'r') as f: ^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/testfiles/search_america.xml' ====================================================================== ERROR: testGoodResult (ofxhome.tests.test_suite.InstitutionListTestCase.testGoodResult) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/test_suite.py", line 71, in testGoodResult with testfile('search_america.xml') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/test_suite.py", line 113, in testfile return open(testfile_name(filename)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/testfiles/search_america.xml' ====================================================================== ERROR: testIterator (ofxhome.tests.test_suite.InstitutionListTestCase.testIterator) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/test_suite.py", line 88, in testIterator with testfile('search_america.xml') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/test_suite.py", line 113, in testfile return open(testfile_name(filename)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/testfiles/search_america.xml' ====================================================================== ERROR: testResultWithPHPError (ofxhome.tests.test_suite.InstitutionListTestCase.testResultWithPHPError) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/test_suite.py", line 80, in testResultWithPHPError with testfile('search_noexist.xml') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/test_suite.py", line 113, in testfile return open(testfile_name(filename)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/testfiles/search_noexist.xml' ====================================================================== ERROR: testBadParse (ofxhome.tests.test_suite.InstitutionTestCase.testBadParse) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/test_suite.py", line 56, in testBadParse with testfile('badxml_bank.xml') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/test_suite.py", line 113, in testfile return open(testfile_name(filename)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/testfiles/badxml_bank.xml' ====================================================================== ERROR: testDictKeys (ofxhome.tests.test_suite.InstitutionTestCase.testDictKeys) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/test_suite.py", line 46, in testDictKeys with testfile('scottrade.xml') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/test_suite.py", line 113, in testfile return open(testfile_name(filename)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/testfiles/scottrade.xml' ====================================================================== ERROR: testFromFile (ofxhome.tests.test_suite.InstitutionTestCase.testFromFile) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/test_suite.py", line 41, in testFromFile i = Institution.from_file( testfile_name('scottrade.xml') ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/__init__.py", line 141, in from_file with open(file, 'r') as f: ^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/testfiles/scottrade.xml' ====================================================================== ERROR: testGoodParse (ofxhome.tests.test_suite.InstitutionTestCase.testGoodParse) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/test_suite.py", line 9, in testGoodParse with testfile('scottrade.xml') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/test_suite.py", line 113, in testfile return open(testfile_name(filename)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/testfiles/scottrade.xml' ====================================================================== ERROR: testOptionalBroker (ofxhome.tests.test_suite.InstitutionTestCase.testOptionalBroker) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/test_suite.py", line 25, in testOptionalBroker with testfile('jpmorgan.xml') as f: ^^^^^^^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/test_suite.py", line 113, in testfile return open(testfile_name(filename)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/build/ofxhome/tests/testfiles/jpmorgan.xml' ---------------------------------------------------------------------- Ran 10 tests in 0.002s FAILED (errors=10) E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ofxhome/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:9: build] Error 255 dpkg-buildpackage: error: debian/rules build 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/202408/ About the archive rebuild: The build was made on virtual machines of type m6a.large and r6a.large 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.