Source: ofxstatement-plugins
Version: 20210108
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210213 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cd ofxstatement-1822direkt && python3 setup.py test
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing src/ofxstatement_germany_1822direkt.egg-info/PKG-INFO
> writing dependency_links to 
> src/ofxstatement_germany_1822direkt.egg-info/dependency_links.txt
> writing entry points to 
> src/ofxstatement_germany_1822direkt.egg-info/entry_points.txt
> writing namespace_packages to 
> src/ofxstatement_germany_1822direkt.egg-info/namespace_packages.txt
> writing requirements to 
> src/ofxstatement_germany_1822direkt.egg-info/requires.txt
> writing top-level names to 
> src/ofxstatement_germany_1822direkt.egg-info/top_level.txt
> reading manifest file 
> 'src/ofxstatement_germany_1822direkt.egg-info/SOURCES.txt'
> writing manifest file 
> 'src/ofxstatement_germany_1822direkt.egg-info/SOURCES.txt'
> running build_ext
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
> 
> OK
> # run pytest with doctest and ignore exit code 5 (no tests found)
> cd ofxstatement-1822direkt && PYTEST_ADDOPTS=--doctest-modules python3 
> setup.py pytest; \
>       PYTEST_RESULT=$?; \
>       test $PYTEST_RESULT -eq 5 && exit 0; \
>       exit $PYTEST_RESULT
> running pytest
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing src/ofxstatement_germany_1822direkt.egg-info/PKG-INFO
> writing dependency_links to 
> src/ofxstatement_germany_1822direkt.egg-info/dependency_links.txt
> writing entry points to 
> src/ofxstatement_germany_1822direkt.egg-info/entry_points.txt
> writing namespace_packages to 
> src/ofxstatement_germany_1822direkt.egg-info/namespace_packages.txt
> writing requirements to 
> src/ofxstatement_germany_1822direkt.egg-info/requires.txt
> writing top-level names to 
> src/ofxstatement_germany_1822direkt.egg-info/top_level.txt
> reading manifest file 
> 'src/ofxstatement_germany_1822direkt.egg-info/SOURCES.txt'
> writing manifest file 
> 'src/ofxstatement_germany_1822direkt.egg-info/SOURCES.txt'
> running build_ext
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.1+, pytest-6.0.2, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>/_ofxstatement-germany/germany_1822direkt
> collected 0 items
> 
> ============================ no tests ran in 0.01s 
> =============================
> cd ofxstatement-airbankcz && python3 setup.py test
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing src/ofxstatement_airbankcz.egg-info/PKG-INFO
> writing dependency_links to 
> src/ofxstatement_airbankcz.egg-info/dependency_links.txt
> writing entry points to src/ofxstatement_airbankcz.egg-info/entry_points.txt
> writing namespace_packages to 
> src/ofxstatement_airbankcz.egg-info/namespace_packages.txt
> writing requirements to src/ofxstatement_airbankcz.egg-info/requires.txt
> writing top-level names to src/ofxstatement_airbankcz.egg-info/top_level.txt
> reading manifest file 'src/ofxstatement_airbankcz.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'src/ofxstatement_airbankcz.egg-info/SOURCES.txt'
> running build_ext
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
> 
> OK
> # run pytest with doctest and ignore exit code 5 (no tests found)
> cd ofxstatement-airbankcz && PYTEST_ADDOPTS=--doctest-modules python3 
> setup.py pytest; \
>       PYTEST_RESULT=$?; \
>       test $PYTEST_RESULT -eq 5 && exit 0; \
>       exit $PYTEST_RESULT
> running pytest
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing src/ofxstatement_airbankcz.egg-info/PKG-INFO
> writing dependency_links to 
> src/ofxstatement_airbankcz.egg-info/dependency_links.txt
> writing entry points to src/ofxstatement_airbankcz.egg-info/entry_points.txt
> writing namespace_packages to 
> src/ofxstatement_airbankcz.egg-info/namespace_packages.txt
> writing requirements to src/ofxstatement_airbankcz.egg-info/requires.txt
> writing top-level names to src/ofxstatement_airbankcz.egg-info/top_level.txt
> reading manifest file 'src/ofxstatement_airbankcz.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'src/ofxstatement_airbankcz.egg-info/SOURCES.txt'
> running build_ext
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.1+, pytest-6.0.2, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>/ofxstatement-airbankcz
> collected 0 items
> 
> ============================ no tests ran in 0.02s 
> =============================
> cd ofxstatement-al_bank && python3 setup.py test
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing src/ofxstatement_al_bank.egg-info/PKG-INFO
> writing dependency_links to 
> src/ofxstatement_al_bank.egg-info/dependency_links.txt
> writing entry points to src/ofxstatement_al_bank.egg-info/entry_points.txt
> writing namespace_packages to 
> src/ofxstatement_al_bank.egg-info/namespace_packages.txt
> writing requirements to src/ofxstatement_al_bank.egg-info/requires.txt
> writing top-level names to src/ofxstatement_al_bank.egg-info/top_level.txt
> reading manifest file 'src/ofxstatement_al_bank.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'src/ofxstatement_al_bank.egg-info/SOURCES.txt'
> running build_ext
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
> 
> OK
> # run pytest with doctest and ignore exit code 5 (no tests found)
> cd ofxstatement-al_bank && PYTEST_ADDOPTS=--doctest-modules python3 setup.py 
> pytest; \
>       PYTEST_RESULT=$?; \
>       test $PYTEST_RESULT -eq 5 && exit 0; \
>       exit $PYTEST_RESULT
> running pytest
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing src/ofxstatement_al_bank.egg-info/PKG-INFO
> writing dependency_links to 
> src/ofxstatement_al_bank.egg-info/dependency_links.txt
> writing entry points to src/ofxstatement_al_bank.egg-info/entry_points.txt
> writing namespace_packages to 
> src/ofxstatement_al_bank.egg-info/namespace_packages.txt
> writing requirements to src/ofxstatement_al_bank.egg-info/requires.txt
> writing top-level names to src/ofxstatement_al_bank.egg-info/top_level.txt
> reading manifest file 'src/ofxstatement_al_bank.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'src/ofxstatement_al_bank.egg-info/SOURCES.txt'
> running build_ext
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.1+, pytest-6.0.2, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>/ofxstatement-al_bank
> collected 0 items
> 
> ============================ no tests ran in 0.01s 
> =============================
> cd ofxstatement-austrian && python3 setup.py test
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing src/ofxstatement_austrian.egg-info/PKG-INFO
> writing dependency_links to 
> src/ofxstatement_austrian.egg-info/dependency_links.txt
> writing entry points to src/ofxstatement_austrian.egg-info/entry_points.txt
> writing namespace_packages to 
> src/ofxstatement_austrian.egg-info/namespace_packages.txt
> writing requirements to src/ofxstatement_austrian.egg-info/requires.txt
> writing top-level names to src/ofxstatement_austrian.egg-info/top_level.txt
> reading manifest file 'src/ofxstatement_austrian.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'src/ofxstatement_austrian.egg-info/SOURCES.txt'
> running build_ext
> test_empty_string 
> (ofxstatement.plugins.tests.test_utils.TestCleanMultipleWhiteSpaces) ... ok
> test_just_spaces 
> (ofxstatement.plugins.tests.test_utils.TestCleanMultipleWhiteSpaces) ... ok
> test_just_tabs 
> (ofxstatement.plugins.tests.test_utils.TestCleanMultipleWhiteSpaces) ... ok
> test_mixed_tabs_and_spaces 
> (ofxstatement.plugins.tests.test_utils.TestCleanMultipleWhiteSpaces) ... ok
> test_string_with_spaces 
> (ofxstatement.plugins.tests.test_utils.TestCleanMultipleWhiteSpaces) ... ok
> test_integer_string 
> (ofxstatement.plugins.tests.test_utils.TestFixAmountString) ... ok
> test_no_thousand_mark 
> (ofxstatement.plugins.tests.test_utils.TestFixAmountString) ... ok
> test_with_thousand_mark 
> (ofxstatement.plugins.tests.test_utils.TestFixAmountString) ... ok
> test_line0_credit 
> (ofxstatement.plugins.tests.test_livebank.TestLivebankCsvParser) ... ok
> test_line1_debit 
> (ofxstatement.plugins.tests.test_livebank.TestLivebankCsvParser) ... ok
> test_line2_credit 
> (ofxstatement.plugins.tests.test_livebank.TestLivebankCsvParser) ... ok
> test_statement_properties 
> (ofxstatement.plugins.tests.test_livebank.TestLivebankCsvParser) ... ok
> test_line0_interest_earned 
> (ofxstatement.plugins.tests.test_ingdiba.TestLivebankCsvParser) ... ok
> test_line1_interest_paid 
> (ofxstatement.plugins.tests.test_ingdiba.TestLivebankCsvParser) ... ok
> test_line2_credit 
> (ofxstatement.plugins.tests.test_ingdiba.TestLivebankCsvParser) ... ok
> test_line3_transfer_credit 
> (ofxstatement.plugins.tests.test_ingdiba.TestLivebankCsvParser) ... ok
> test_line4_debit 
> (ofxstatement.plugins.tests.test_ingdiba.TestLivebankCsvParser) ... ok
> test_line5_bonus 
> (ofxstatement.plugins.tests.test_ingdiba.TestLivebankCsvParser) ... ok
> test_statement_properties 
> (ofxstatement.plugins.tests.test_ingdiba.TestLivebankCsvParser) ... ok
> test_line0_interest_earned 
> (ofxstatement.plugins.tests.test_raiffeisen.TestRaiffeisenCsvParser) ... ok
> test_line1_interest_paid 
> (ofxstatement.plugins.tests.test_raiffeisen.TestRaiffeisenCsvParser) ... ok
> test_line2_service_fee_print_statement 
> (ofxstatement.plugins.tests.test_raiffeisen.TestRaiffeisenCsvParser) ... ok
> test_line3_service_fee 
> (ofxstatement.plugins.tests.test_raiffeisen.TestRaiffeisenCsvParser) ... ok
> test_line4_elba_payment 
> (ofxstatement.plugins.tests.test_raiffeisen.TestRaiffeisenCsvParser) ... ok
> test_line5_debit 
> (ofxstatement.plugins.tests.test_raiffeisen.TestRaiffeisenCsvParser) ... ok
> test_line6_credit 
> (ofxstatement.plugins.tests.test_raiffeisen.TestRaiffeisenCsvParser) ... ok
> test_statement_properties 
> (ofxstatement.plugins.tests.test_raiffeisen.TestRaiffeisenCsvParser) ... ok
> test_line0_debit 
> (ofxstatement.plugins.tests.test_easybank.TestEasybankCreditCardCsvParser) 
> ... ok
> test_line1_credit 
> (ofxstatement.plugins.tests.test_easybank.TestEasybankCreditCardCsvParser) 
> ... ok
> test_line2_debit_with_foreign_currency 
> (ofxstatement.plugins.tests.test_easybank.TestEasybankCreditCardCsvParser) 
> ... ok
> test_statement_properties 
> (ofxstatement.plugins.tests.test_easybank.TestEasybankCreditCardCsvParser) 
> ... ok
> test_line0_interest_paid 
> (ofxstatement.plugins.tests.test_easybank.TestEasybankGiroCsvParser) ... ok
> test_line1_interest_earned 
> (ofxstatement.plugins.tests.test_easybank.TestEasybankGiroCsvParser) ... ok
> test_line2_debit_with_iban_bic 
> (ofxstatement.plugins.tests.test_easybank.TestEasybankGiroCsvParser) ... ok
> test_line3_debit_legacy_bank_account 
> (ofxstatement.plugins.tests.test_easybank.TestEasybankGiroCsvParser) ... ok
> test_line4_debit_iban_only 
> (ofxstatement.plugins.tests.test_easybank.TestEasybankGiroCsvParser) ... ok
> test_line5_debit_withdraw 
> (ofxstatement.plugins.tests.test_easybank.TestEasybankGiroCsvParser) ... ok
> test_line6_debit_with_more_text_before_check_no 
> (ofxstatement.plugins.tests.test_easybank.TestEasybankGiroCsvParser) ... ok
> test_line7_debit_with_more_text_before_check_no_and_without_banking_infos 
> (ofxstatement.plugins.tests.test_easybank.TestEasybankGiroCsvParser) ... ok
> test_line8_credit_iban_bic 
> (ofxstatement.plugins.tests.test_easybank.TestEasybankGiroCsvParser) ... ok
> test_line9_memo_starts_with_forward_slash 
> (ofxstatement.plugins.tests.test_easybank.TestEasybankGiroCsvParser) ... ok
> test_statement_properties 
> (ofxstatement.plugins.tests.test_easybank.TestEasybankGiroCsvParser) ... ok
> test_line0_payment_description_reference 
> (ofxstatement.plugins.tests.test_oberbank.TestOberbankCsvParser) ... ok
> test_line1_payment_description_usage 
> (ofxstatement.plugins.tests.test_oberbank.TestOberbankCsvParser) ... ok
> test_line2_payment_description_end2end 
> (ofxstatement.plugins.tests.test_oberbank.TestOberbankCsvParser) ... ok
> test_line3_credeit 
> (ofxstatement.plugins.tests.test_oberbank.TestOberbankCsvParser) ... ok
> test_line4_credeit 
> (ofxstatement.plugins.tests.test_oberbank.TestOberbankCsvParser) ... ok
> test_statement_properties 
> (ofxstatement.plugins.tests.test_oberbank.TestOberbankCsvParser) ... ok
> 
> ----------------------------------------------------------------------
> Ran 48 tests in 0.019s
> 
> OK
> # run pytest with doctest and ignore exit code 5 (no tests found)
> cd ofxstatement-austrian && PYTEST_ADDOPTS=--doctest-modules python3 setup.py 
> pytest; \
>       PYTEST_RESULT=$?; \
>       test $PYTEST_RESULT -eq 5 && exit 0; \
>       exit $PYTEST_RESULT
> running pytest
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing src/ofxstatement_austrian.egg-info/PKG-INFO
> writing dependency_links to 
> src/ofxstatement_austrian.egg-info/dependency_links.txt
> writing entry points to src/ofxstatement_austrian.egg-info/entry_points.txt
> writing namespace_packages to 
> src/ofxstatement_austrian.egg-info/namespace_packages.txt
> writing requirements to src/ofxstatement_austrian.egg-info/requires.txt
> writing top-level names to src/ofxstatement_austrian.egg-info/top_level.txt
> reading manifest file 'src/ofxstatement_austrian.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'src/ofxstatement_austrian.egg-info/SOURCES.txt'
> running build_ext
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.1+, pytest-6.0.2, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>/ofxstatement-austrian
> collected 48 items
> 
> src/ofxstatement/plugins/tests/test_easybank.py ...............          [ 
> 31%]
> src/ofxstatement/plugins/tests/test_ingdiba.py .......                   [ 
> 45%]
> src/ofxstatement/plugins/tests/test_livebank.py ....                     [ 
> 54%]
> src/ofxstatement/plugins/tests/test_oberbank.py ......                   [ 
> 66%]
> src/ofxstatement/plugins/tests/test_raiffeisen.py ........               [ 
> 83%]
> src/ofxstatement/plugins/tests/test_utils.py ........                    
> [100%]
> 
> ============================== 48 passed in 0.13s 
> ==============================
> cd ofxstatement-be-argenta && python3 setup.py test
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing ofxstatement_be_argenta.egg-info/PKG-INFO
> writing dependency_links to 
> ofxstatement_be_argenta.egg-info/dependency_links.txt
> writing entry points to ofxstatement_be_argenta.egg-info/entry_points.txt
> writing namespace_packages to 
> ofxstatement_be_argenta.egg-info/namespace_packages.txt
> writing requirements to ofxstatement_be_argenta.egg-info/requires.txt
> writing top-level names to ofxstatement_be_argenta.egg-info/top_level.txt
> reading manifest file 'ofxstatement_be_argenta.egg-info/SOURCES.txt'
> writing manifest file 'ofxstatement_be_argenta.egg-info/SOURCES.txt'
> running build_ext
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/ofxstatement-be-argenta/setup.py", line 10, in 
> <module>
>     setup(name='ofxstatement-be-argenta',
>   File "/usr/lib/python3.9/distutils/core.py", line 148, in setup
>     dist.run_commands()
>   File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
>     self.run_command(cmd)
>   File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
>     cmd_obj.run()
>   File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 232, 
> in run
>     self.run_tests()
>   File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 250, 
> in run_tests
>     test = unittest.main(
>   File "/usr/lib/python3.9/unittest/main.py", line 100, in __init__
>     self.parseArgs(argv)
>   File "/usr/lib/python3.9/unittest/main.py", line 124, in parseArgs
>     self._do_discovery(argv[2:])
>   File "/usr/lib/python3.9/unittest/main.py", line 244, in _do_discovery
>     self.createTests(from_discovery=True, Loader=Loader)
>   File "/usr/lib/python3.9/unittest/main.py", line 154, in createTests
>     self.test = loader.discover(self.start, self.pattern, self.top)
>   File "/usr/lib/python3.9/unittest/loader.py", line 349, in discover
>     tests = list(self._find_tests(start_dir, pattern))
>   File "/usr/lib/python3.9/unittest/loader.py", line 405, in _find_tests
>     tests, should_recurse = self._find_test_path(
>   File "/usr/lib/python3.9/unittest/loader.py", line 483, in _find_test_path
>     tests = self.loadTestsFromModule(package, pattern=pattern)
>   File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 42, 
> in loadTestsFromModule
>     for file in resource_listdir(module.__name__, ''):
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1148, 
> in resource_listdir
>     return get_provider(package_or_requirement).resource_listdir(
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 349, 
> in get_provider
>     return _find_adapter(_provider_factories, loader)(module)
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1379, 
> in __init__
>     self.module_path = os.path.dirname(getattr(module, '__file__', ''))
>   File "/usr/lib/python3.9/posixpath.py", line 152, in dirname
>     p = os.fspath(p)
> TypeError: expected str, bytes or os.PathLike object, not NoneType
> make[1]: *** [debian/rules:32: plugin_test_ofxstatement-be-argenta] Error 1

The full build log is available from:
   
http://qa-logs.debian.net/2021/02/13/ofxstatement-plugins_20210108_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 me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to