Package: src:ledgerhelpers Version: 0.3.10-2 Severity: serious Tags: ftbfs trixie sid
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild debian/rules execute_after_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' for f in doc/*.md; do rm -f "${f%.md}.html"; done rm -rf src/ledgerhelpers.egg-info make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild 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 dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ledgerhelpers * Building wheel... /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build running build_py creating build/lib/ledgerhelpers copying src/ledgerhelpers/gui.py -> build/lib/ledgerhelpers copying src/ledgerhelpers/dateentry.py -> build/lib/ledgerhelpers copying src/ledgerhelpers/editabletransactionview.py -> build/lib/ledgerhelpers copying src/ledgerhelpers/__init__.py -> build/lib/ledgerhelpers copying src/ledgerhelpers/legacy_needsledger.py -> build/lib/ledgerhelpers copying src/ledgerhelpers/legacy.py -> build/lib/ledgerhelpers copying src/ledgerhelpers/diffing.py -> build/lib/ledgerhelpers copying src/ledgerhelpers/parser.py -> build/lib/ledgerhelpers copying src/ledgerhelpers/transactionstatebutton.py -> build/lib/ledgerhelpers copying src/ledgerhelpers/journal.py -> build/lib/ledgerhelpers creating build/lib/ledgerhelpers/programs copying src/ledgerhelpers/programs/common.py -> build/lib/ledgerhelpers/programs copying src/ledgerhelpers/programs/updateprices.py -> build/lib/ledgerhelpers/programs copying src/ledgerhelpers/programs/__init__.py -> build/lib/ledgerhelpers/programs copying src/ledgerhelpers/programs/withdrawcli.py -> build/lib/ledgerhelpers/programs copying src/ledgerhelpers/programs/cleartranscli.py -> build/lib/ledgerhelpers/programs copying src/ledgerhelpers/programs/sellstockcli.py -> build/lib/ledgerhelpers/programs copying src/ledgerhelpers/programs/sorttranscli.py -> build/lib/ledgerhelpers/programs copying src/ledgerhelpers/programs/addtrans.py -> build/lib/ledgerhelpers/programs running egg_info creating src/ledgerhelpers.egg-info writing src/ledgerhelpers.egg-info/PKG-INFO writing dependency_links to src/ledgerhelpers.egg-info/dependency_links.txt writing requirements to src/ledgerhelpers.egg-info/requires.txt writing top-level names to src/ledgerhelpers.egg-info/top_level.txt writing manifest file 'src/ledgerhelpers.egg-info/SOURCES.txt' reading manifest file 'src/ledgerhelpers.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'src/ledgerhelpers.egg-info/SOURCES.txt' running build_scripts creating build/scripts-3.13 copying and adjusting bin/addtrans -> build/scripts-3.13 copying and adjusting bin/cleartrans-cli -> build/scripts-3.13 copying and adjusting bin/sellstock-cli -> build/scripts-3.13 copying and adjusting bin/sorttrans-cli -> build/scripts-3.13 copying and adjusting bin/updateprices -> build/scripts-3.13 copying and adjusting bin/withdraw-cli -> build/scripts-3.13 changing mode of build/scripts-3.13/addtrans from 644 to 755 changing mode of build/scripts-3.13/cleartrans-cli from 644 to 755 changing mode of build/scripts-3.13/sellstock-cli from 644 to 755 changing mode of build/scripts-3.13/sorttrans-cli from 644 to 755 changing mode of build/scripts-3.13/updateprices from 644 to 755 changing mode of build/scripts-3.13/withdraw-cli from 644 to 755 installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/ledgerhelpers copying build/lib/ledgerhelpers/gui.py -> build/bdist.linux-x86_64/wheel/./ledgerhelpers creating build/bdist.linux-x86_64/wheel/ledgerhelpers/programs copying build/lib/ledgerhelpers/programs/common.py -> build/bdist.linux-x86_64/wheel/./ledgerhelpers/programs copying build/lib/ledgerhelpers/programs/updateprices.py -> build/bdist.linux-x86_64/wheel/./ledgerhelpers/programs copying build/lib/ledgerhelpers/programs/__init__.py -> build/bdist.linux-x86_64/wheel/./ledgerhelpers/programs copying build/lib/ledgerhelpers/programs/withdrawcli.py -> build/bdist.linux-x86_64/wheel/./ledgerhelpers/programs copying build/lib/ledgerhelpers/programs/cleartranscli.py -> build/bdist.linux-x86_64/wheel/./ledgerhelpers/programs copying build/lib/ledgerhelpers/programs/sellstockcli.py -> build/bdist.linux-x86_64/wheel/./ledgerhelpers/programs copying build/lib/ledgerhelpers/programs/sorttranscli.py -> build/bdist.linux-x86_64/wheel/./ledgerhelpers/programs copying build/lib/ledgerhelpers/programs/addtrans.py -> build/bdist.linux-x86_64/wheel/./ledgerhelpers/programs copying build/lib/ledgerhelpers/dateentry.py -> build/bdist.linux-x86_64/wheel/./ledgerhelpers copying build/lib/ledgerhelpers/editabletransactionview.py -> build/bdist.linux-x86_64/wheel/./ledgerhelpers copying build/lib/ledgerhelpers/__init__.py -> build/bdist.linux-x86_64/wheel/./ledgerhelpers copying build/lib/ledgerhelpers/legacy_needsledger.py -> build/bdist.linux-x86_64/wheel/./ledgerhelpers copying build/lib/ledgerhelpers/legacy.py -> build/bdist.linux-x86_64/wheel/./ledgerhelpers copying build/lib/ledgerhelpers/diffing.py -> build/bdist.linux-x86_64/wheel/./ledgerhelpers copying build/lib/ledgerhelpers/parser.py -> build/bdist.linux-x86_64/wheel/./ledgerhelpers copying build/lib/ledgerhelpers/transactionstatebutton.py -> build/bdist.linux-x86_64/wheel/./ledgerhelpers copying build/lib/ledgerhelpers/journal.py -> build/bdist.linux-x86_64/wheel/./ledgerhelpers running install_data creating build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data creating build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/applications copying applications/withdraw-cli.desktop -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/applications copying applications/cleartrans-cli.desktop -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/applications copying applications/sorttrans-cli.desktop -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/applications copying applications/updateprices.desktop -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/applications copying applications/sellstock-cli.desktop -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/applications copying applications/addtrans.desktop -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/applications creating build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/doc/ledgerhelpers copying doc/addtrans.md -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/doc/ledgerhelpers copying doc/addtrans-account.png -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/doc/ledgerhelpers copying doc/addtrans-amount.png -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/doc/ledgerhelpers copying doc/addtrans-dropdown.png -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/doc/ledgerhelpers copying doc/addtrans-readyagain.png -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/doc/ledgerhelpers copying doc/addtrans-started-up.png -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/doc/ledgerhelpers creating build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/man/man1 copying man/addtrans.1 -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/man/man1 copying man/cleartrans-cli.1 -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/man/man1 copying man/sellstock-cli.1 -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/man/man1 copying man/sorttrans-cli.1 -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/man/man1 copying man/withdraw-cli.1 -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/data/share/man/man1 running install_egg_info Copying src/ledgerhelpers.egg-info to build/bdist.linux-x86_64/wheel/./ledgerhelpers-0.3.10.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/scripts copying build/scripts-3.13/updateprices -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/scripts copying build/scripts-3.13/sellstock-cli -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/scripts copying build/scripts-3.13/addtrans -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/scripts copying build/scripts-3.13/withdraw-cli -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/scripts copying build/scripts-3.13/sorttrans-cli -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/scripts copying build/scripts-3.13/cleartrans-cli -> build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/scripts changing mode of build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/scripts/updateprices to 755 changing mode of build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/scripts/sellstock-cli to 755 changing mode of build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/scripts/addtrans to 755 changing mode of build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/scripts/withdraw-cli to 755 changing mode of build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/scripts/sorttrans-cli to 755 changing mode of build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.data/scripts/cleartrans-cli to 755 creating build/bdist.linux-x86_64/wheel/ledgerhelpers-0.3.10.dist-info/WHEEL creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ledgerhelpers/.tmp-dijx38ry/ledgerhelpers-0.3.10-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'ledgerhelpers/__init__.py' adding 'ledgerhelpers/dateentry.py' adding 'ledgerhelpers/diffing.py' adding 'ledgerhelpers/editabletransactionview.py' adding 'ledgerhelpers/gui.py' adding 'ledgerhelpers/journal.py' adding 'ledgerhelpers/legacy.py' adding 'ledgerhelpers/legacy_needsledger.py' adding 'ledgerhelpers/parser.py' adding 'ledgerhelpers/transactionstatebutton.py' adding 'ledgerhelpers/programs/__init__.py' adding 'ledgerhelpers/programs/addtrans.py' adding 'ledgerhelpers/programs/cleartranscli.py' adding 'ledgerhelpers/programs/common.py' adding 'ledgerhelpers/programs/sellstockcli.py' adding 'ledgerhelpers/programs/sorttranscli.py' adding 'ledgerhelpers/programs/updateprices.py' adding 'ledgerhelpers/programs/withdrawcli.py' adding 'ledgerhelpers-0.3.10.data/data/share/applications/addtrans.desktop' adding 'ledgerhelpers-0.3.10.data/data/share/applications/cleartrans-cli.desktop' adding 'ledgerhelpers-0.3.10.data/data/share/applications/sellstock-cli.desktop' adding 'ledgerhelpers-0.3.10.data/data/share/applications/sorttrans-cli.desktop' adding 'ledgerhelpers-0.3.10.data/data/share/applications/updateprices.desktop' adding 'ledgerhelpers-0.3.10.data/data/share/applications/withdraw-cli.desktop' adding 'ledgerhelpers-0.3.10.data/data/share/doc/ledgerhelpers/addtrans-account.png' adding 'ledgerhelpers-0.3.10.data/data/share/doc/ledgerhelpers/addtrans-amount.png' adding 'ledgerhelpers-0.3.10.data/data/share/doc/ledgerhelpers/addtrans-dropdown.png' adding 'ledgerhelpers-0.3.10.data/data/share/doc/ledgerhelpers/addtrans-readyagain.png' adding 'ledgerhelpers-0.3.10.data/data/share/doc/ledgerhelpers/addtrans-started-up.png' adding 'ledgerhelpers-0.3.10.data/data/share/doc/ledgerhelpers/addtrans.md' adding 'ledgerhelpers-0.3.10.data/data/share/man/man1/addtrans.1' adding 'ledgerhelpers-0.3.10.data/data/share/man/man1/cleartrans-cli.1' adding 'ledgerhelpers-0.3.10.data/data/share/man/man1/sellstock-cli.1' adding 'ledgerhelpers-0.3.10.data/data/share/man/man1/sorttrans-cli.1' adding 'ledgerhelpers-0.3.10.data/data/share/man/man1/withdraw-cli.1' adding 'ledgerhelpers-0.3.10.data/scripts/addtrans' adding 'ledgerhelpers-0.3.10.data/scripts/cleartrans-cli' adding 'ledgerhelpers-0.3.10.data/scripts/sellstock-cli' adding 'ledgerhelpers-0.3.10.data/scripts/sorttrans-cli' adding 'ledgerhelpers-0.3.10.data/scripts/updateprices' adding 'ledgerhelpers-0.3.10.data/scripts/withdraw-cli' adding 'ledgerhelpers-0.3.10.dist-info/licenses/LICENSE.txt' adding 'ledgerhelpers-0.3.10.dist-info/METADATA' adding 'ledgerhelpers-0.3.10.dist-info/WHEEL' adding 'ledgerhelpers-0.3.10.dist-info/top_level.txt' adding 'ledgerhelpers-0.3.10.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built ledgerhelpers-0.3.10-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module debian/rules execute_after_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' for f in doc/*.md; do markdown_py -f "${f%.md}.html" "${f}"; done make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ledgerhelpers/build; python3.13 -m unittest discover -v test_empty_record_auto_goes_last (tests.test_ledgerhelpers.TestGenerateRecord.test_empty_record_auto_goes_last) ... ok test_no_cleared_date_when_cleared_date_not_supplied (tests.test_ledgerhelpers.TestGenerateRecord.test_no_cleared_date_when_cleared_date_not_supplied) ... ok test_no_spurious_whitespace (tests.test_ledgerhelpers.TestGenerateRecord.test_no_spurious_whitespace) ... ok test_journal_with_simple_transaction (tests.test_ledgerhelpers.TestJournal.test_journal_with_simple_transaction) ... ok test_reload_works (tests.test_ledgerhelpers.TestJournal.test_reload_works) ... FAIL test_transaction_with_zero_posting (tests.test_ledgerhelpers.TestJournal.test_transaction_with_zero_posting) ... ok test_transactions_with_payee_match (tests.test_ledgerhelpers.TestJournal.test_transactions_with_payee_match) ... ok test_my_data_file (tests.test_parser.TestParser.test_my_data_file) ... ok test_no_end_value (tests.test_parser.TestParser.test_no_end_value) ... ok test_simple_transaction (tests.test_parser.TestParser.test_simple_transaction) ... ok test_with_comments (tests.test_parser.TestParser.test_with_comments) ... ok ====================================================================== FAIL: test_reload_works (tests.test_ledgerhelpers.TestJournal.test_reload_works) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ledgerhelpers/build/tests/test_ledgerhelpers.py", line 40, in test_reload_works self.assertEqual(commos["Expenses:Drinking"], "1.00 EUR") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: 1.00 CHF != '1.00 EUR' ---------------------------------------------------------------------- Ran 11 tests in 0.015s FAILED (failures=1) E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ledgerhelpers/build; python3.13 -m unittest discover -v dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit code 13 make: *** [debian/rules:9: 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. I've put several full build logs here: https://people.debian.org/~sanvila/build-logs/202507/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. Note: The build might not always fail (hence the "randomly" in the title), but I'm getting a failure rate around 44% here, which is way above the usual thresholds used by the RT. If you could not reproduce these random failures please contact me privately, as I am willing to provide ssh access to a virtual machine where they happen. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:ledgerhelpers, so that this is still visible in the BTS web page for this package. Thanks.