Source: python-ofxclient Version: 2.0.4-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20211220 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > env -u XDG_RUNTIME_DIR -u DBUS_SESSION_BUS_ADDRESS dh_auto_test > I: pybuild base:237: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ofxclient/build; python3.10 -m nose > -v -v tests/__init__.py tests/account.py tests/institution.py > tests/ofxconfig.py tests/secure_config.py > nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$'] > testDescription (tests.account.OfxAccountTests) ... ok > testInstitutionRequired (tests.account.OfxAccountTests) ... ok > testMasked (tests.account.OfxAccountTests) ... ok > testNoInstitution (tests.account.OfxAccountTests) ... ok > testNumberRequired (tests.account.OfxAccountTests) ... ok > testClientAllOverride (tests.institution.OfxInstitutionTests) ... ok > testClientDefaultsPreserved (tests.institution.OfxInstitutionTests) ... ok > testClientSomeOverride (tests.institution.OfxInstitutionTests) ... ok > testRequiredParams (tests.institution.OfxInstitutionTests) ... ok > testGet (tests.secure_config.IdentifySecureOptionTests) ... ok > testIsSecureOption (tests.secure_config.IdentifySecureOptionTests) ... ok > testItemsHavePasswords (tests.secure_config.IdentifySecureOptionTests) ... ok > testKeyringOffSet (tests.secure_config.IdentifySecureOptionTests) ... ok > testSecureItems (tests.secure_config.IdentifySecureOptionTests) ... ok > testSetThenSetSecureTurnsSecure > (tests.secure_config.IdentifySecureOptionTests) ... ok > testStaysSecure (tests.secure_config.IdentifySecureOptionTests) ... ok > testStaysUnsecure (tests.secure_config.IdentifySecureOptionTests) ... ok > testUnsavedOptions (tests.secure_config.IdentifySecureOptionTests) ... ok > Failure: ImportError (cannot import name 'EnvironmentVarGuard' from > 'test.test_support' (/usr/lib/python3.10/test/test_support.py)) ... ERROR > > ====================================================================== > ERROR: Failure: ImportError (cannot import name 'EnvironmentVarGuard' from > 'test.test_support' (/usr/lib/python3.10/test/test_support.py)) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ofxclient/build/tests/ofxconfig.py", > line 8, in <module> > from test.support import EnvironmentVarGuard > ImportError: cannot import name 'EnvironmentVarGuard' from 'test.support' > (/usr/lib/python3.10/test/support/__init__.py) > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest > raise self.exc_val.with_traceback(self.tb) > File "/usr/lib/python3/dist-packages/nose/loader.py", line 416, in > loadTestsFromName > module = self.importer.importFromPath( > File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in > importFromPath > return self.importFromDir(dir_path, fqname) > File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in > importFromDir > mod = load_module(part_fqname, fh, filename, desc) > File "/usr/lib/python3.10/imp.py", line 235, in load_module > return load_source(name, filename, file) > File "/usr/lib/python3.10/imp.py", line 172, in load_source > module = _load(spec) > File "<frozen importlib._bootstrap>", line 719, in _load > File "<frozen importlib._bootstrap>", line 688, in _load_unlocked > File "<frozen importlib._bootstrap_external>", line 883, in exec_module > File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ofxclient/build/tests/ofxconfig.py", > line 10, in <module> > from test.test_support import EnvironmentVarGuard > ImportError: cannot import name 'EnvironmentVarGuard' from > 'test.test_support' (/usr/lib/python3.10/test/test_support.py) > > ---------------------------------------------------------------------- > Ran 19 tests in 0.003s > > FAILED (errors=1) > E: pybuild pybuild:355: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ofxclient/build; python3.10 -m nose > -v -v tests/__init__.py tests/account.py tests/institution.py > tests/ofxconfig.py tests/secure_config.py > I: pybuild base:237: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_ofxclient/build; python3.9 -m nose -v > -v tests/__init__.py tests/account.py tests/institution.py tests/ofxconfig.py > tests/secure_config.py > nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$'] > testDescription (tests.account.OfxAccountTests) ... ok > testInstitutionRequired (tests.account.OfxAccountTests) ... ok > testMasked (tests.account.OfxAccountTests) ... ok > testNoInstitution (tests.account.OfxAccountTests) ... ok > testNumberRequired (tests.account.OfxAccountTests) ... ok > testClientAllOverride (tests.institution.OfxInstitutionTests) ... ok > testClientDefaultsPreserved (tests.institution.OfxInstitutionTests) ... ok > testClientSomeOverride (tests.institution.OfxInstitutionTests) ... ok > testRequiredParams (tests.institution.OfxInstitutionTests) ... ok > testAddAccount (tests.ofxconfig.OfxConfigTests) ... ok > testFieldsRemainUnsecure (tests.ofxconfig.OfxConfigTests) ... ok > testFieldsSecured (tests.ofxconfig.OfxConfigTests) ... ok > testFileCreated (tests.ofxconfig.OfxConfigTests) ... ok > testLoadFromFile (tests.ofxconfig.OfxConfigTests) ... ok > testResecuredAfterEncryptAccount (tests.ofxconfig.OfxConfigTests) ... ok > testGet (tests.secure_config.IdentifySecureOptionTests) ... ok > testIsSecureOption (tests.secure_config.IdentifySecureOptionTests) ... ok > testItemsHavePasswords (tests.secure_config.IdentifySecureOptionTests) ... ok > testKeyringOffSet (tests.secure_config.IdentifySecureOptionTests) ... ok > testSecureItems (tests.secure_config.IdentifySecureOptionTests) ... ok > testSetThenSetSecureTurnsSecure > (tests.secure_config.IdentifySecureOptionTests) ... ok > testStaysSecure (tests.secure_config.IdentifySecureOptionTests) ... ok > testStaysUnsecure (tests.secure_config.IdentifySecureOptionTests) ... ok > testUnsavedOptions (tests.secure_config.IdentifySecureOptionTests) ... ok > > ---------------------------------------------------------------------- > Ran 24 tests in 0.008s > > OK > dh_auto_test: error: pybuild --test --test-nose -i python{version} -p "3.10 > 3.9" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2021/12/20/python-ofxclient_2.0.4-2_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.