Package: src:ognibuild Version: 0.0.18-1 Severity: important Tags: ftbfs
Dear maintainer: During a rebuild of all packages in bookworm, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary-indep dh binary-indep --buildsystem=pybuild dh_update_autotools_config -i -O--buildsystem=pybuild dh_autoreconf -i -O--buildsystem=pybuild dh_auto_configure -i -O--buildsystem=pybuild I: pybuild base:240: python3.11 setup.py config running config dh_auto_build -i -O--buildsystem=pybuild I: pybuild base:240: /usr/bin/python3 setup.py build running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/clean.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/requirements.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/dep_server.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/buildlog_converters.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/fix_build.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/buildsystem.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/build.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/upstream.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/dist.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/outputs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/logs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/buildlog.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/vcs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/install.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/test.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/dist_catcher.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild copying ognibuild/fixers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild/debian copying ognibuild/debian/udd.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild/debian copying ognibuild/debian/fix_build.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild/debian copying ognibuild/debian/build.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild/debian copying ognibuild/debian/build_deps.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild/debian copying ognibuild/debian/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild/debian copying ognibuild/debian/file_search.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild/debian copying ognibuild/debian/apt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild/debian copying ognibuild/debian/upstream_deps.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild/debian creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild/resolver copying ognibuild/resolver/dep_server.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild/resolver copying ognibuild/resolver/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild/resolver copying ognibuild/resolver/apt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild/resolver creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild/session copying ognibuild/session/plain.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild/session copying ognibuild/session/schroot.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild/session copying ognibuild/session/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild/session copying ognibuild/py.typed -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/ognibuild running build_scripts creating build creating build/scripts-3.11 copying and adjusting scripts/report-apt-deps-status -> build/scripts-3.11 changing mode of build/scripts-3.11/report-apt-deps-status from 644 to 755 dh_auto_test -i -O--buildsystem=pybuild I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m unittest discover -v test_exist (tests.test_buildlog.TestProblemsExists.test_exist) ... ok test_exists (tests.test_debian_build.AddDummyChangelogEntryTests.test_exists) tests.test_debian_build.AddDummyChangelogEntryTests.test_exists ... failed to open trace file: [Errno 13] Permission denied: '/you-should-use-TestCaseInTempDir-if-you-need-a-log-file' ok test_native (tests.test_debian_build.AddDummyChangelogEntryTests.test_native) tests.test_debian_build.AddDummyChangelogEntryTests.test_native ... ok test_simple (tests.test_debian_build.AddDummyChangelogEntryTests.test_simple) tests.test_debian_build.AddDummyChangelogEntryTests.test_simple ... ok test_is_str (tests.test_debian_build.BuildArchitectureTests.test_is_str) tests.test_debian_build.BuildArchitectureTests.test_is_str ... ok test_simple (tests.test_debian_build.BuilddebCommandTests.test_simple) tests.test_debian_build.BuilddebCommandTests.test_simple ... ok test_native (tests.test_debian_build.VersionAddSuffixTests.test_native) tests.test_debian_build.VersionAddSuffixTests.test_native ... ok test_normal (tests.test_debian_build.VersionAddSuffixTests.test_normal) tests.test_debian_build.VersionAddSuffixTests.test_normal ... ok test_already_present (tests.test_debian_fix_build.AddBuildDependencyTests.test_already_present) tests.test_debian_fix_build.AddBuildDependencyTests.test_already_present ... INFO:brz:Committing to: /tmp/testbzr-usu2u22w.tmp/tests.test_debian_fix_build.AddBuildDependencyTests.test_already_present/work/ INFO:brz:added debian INFO:brz:added debian/changelog INFO:brz:added debian/control INFO:brz:Committed revision 1. ok test_basic (tests.test_debian_fix_build.AddBuildDependencyTests.test_basic) tests.test_debian_fix_build.AddBuildDependencyTests.test_basic ... INFO:brz:Committing to: /tmp/testbzr-usu2u22w.tmp/tests.test_debian_fix_build.AddBuildDependencyTests.test_basic/work/ INFO:brz:added debian INFO:brz:added debian/changelog INFO:brz:added debian/control INFO:brz:Committed revision 1. ok test_missing_command_brz (tests.test_debian_fix_build.ResolveErrorTests.test_missing_command_brz) tests.test_debian_fix_build.ResolveErrorTests.test_missing_command_brz ... INFO:brz:Committing to: /tmp/testbzr-usu2u22w.tmp/tests.test_debian_fix_build.ResolveErrorTests.test_missing_command_brz/work/ INFO:brz:added debian INFO:brz:added debian/changelog INFO:brz:added debian/control INFO:brz:Committed revision 1. ok test_missing_command_ps (tests.test_debian_fix_build.ResolveErrorTests.test_missing_command_ps) tests.test_debian_fix_build.ResolveErrorTests.test_missing_command_ps ... INFO:brz:Committing to: /tmp/testbzr-usu2u22w.tmp/tests.test_debian_fix_build.ResolveErrorTests.test_missing_command_ps/work/ INFO:brz:added debian INFO:brz:added debian/changelog INFO:brz:added debian/control INFO:brz:Committed revision 1. ok test_missing_command_unknown (tests.test_debian_fix_build.ResolveErrorTests.test_missing_command_unknown) tests.test_debian_fix_build.ResolveErrorTests.test_missing_command_unknown ... INFO:brz:Committing to: /tmp/testbzr-usu2u22w.tmp/tests.test_debian_fix_build.ResolveErrorTests.test_missing_command_unknown/work/ INFO:brz:added debian INFO:brz:added debian/changelog INFO:brz:added debian/control INFO:brz:Committed revision 1. ok test_missing_go_package (tests.test_debian_fix_build.ResolveErrorTests.test_missing_go_package) tests.test_debian_fix_build.ResolveErrorTests.test_missing_go_package ... INFO:brz:Committing to: /tmp/testbzr-usu2u22w.tmp/tests.test_debian_fix_build.ResolveErrorTests.test_missing_go_package/work/ INFO:brz:added debian INFO:brz:added debian/changelog INFO:brz:added debian/control INFO:brz:Committed revision 1. ok test_missing_perl_module (tests.test_debian_fix_build.ResolveErrorTests.test_missing_perl_module) tests.test_debian_fix_build.ResolveErrorTests.test_missing_perl_module ... INFO:brz:Committing to: /tmp/testbzr-usu2u22w.tmp/tests.test_debian_fix_build.ResolveErrorTests.test_missing_perl_module/work/ INFO:brz:added debian INFO:brz:added debian/changelog INFO:brz:added debian/control INFO:brz:Committed revision 1. ok test_missing_pkg_config (tests.test_debian_fix_build.ResolveErrorTests.test_missing_pkg_config) tests.test_debian_fix_build.ResolveErrorTests.test_missing_pkg_config ... INFO:brz:Committing to: /tmp/testbzr-usu2u22w.tmp/tests.test_debian_fix_build.ResolveErrorTests.test_missing_pkg_config/work/ INFO:brz:added debian INFO:brz:added debian/changelog INFO:brz:added debian/control INFO:brz:Committed revision 1. ok test_missing_pkg_config_versioned (tests.test_debian_fix_build.ResolveErrorTests.test_missing_pkg_config_versioned) tests.test_debian_fix_build.ResolveErrorTests.test_missing_pkg_config_versioned ... INFO:brz:Committing to: /tmp/testbzr-usu2u22w.tmp/tests.test_debian_fix_build.ResolveErrorTests.test_missing_pkg_config_versioned/work/ INFO:brz:added debian INFO:brz:added debian/changelog INFO:brz:added debian/control INFO:brz:Committed revision 1. ok test_missing_python_module (tests.test_debian_fix_build.ResolveErrorTests.test_missing_python_module) tests.test_debian_fix_build.ResolveErrorTests.test_missing_python_module ... INFO:brz:Committing to: /tmp/testbzr-usu2u22w.tmp/tests.test_debian_fix_build.ResolveErrorTests.test_missing_python_module/work/ INFO:brz:added debian INFO:brz:added debian/changelog INFO:brz:added debian/control INFO:brz:Committed revision 1. ok test_missing_ruby_file (tests.test_debian_fix_build.ResolveErrorTests.test_missing_ruby_file) tests.test_debian_fix_build.ResolveErrorTests.test_missing_ruby_file ... INFO:brz:Committing to: /tmp/testbzr-usu2u22w.tmp/tests.test_debian_fix_build.ResolveErrorTests.test_missing_ruby_file/work/ INFO:brz:added debian INFO:brz:added debian/changelog INFO:brz:added debian/control INFO:brz:Committed revision 1. ok test_missing_ruby_file_from_gem (tests.test_debian_fix_build.ResolveErrorTests.test_missing_ruby_file_from_gem) tests.test_debian_fix_build.ResolveErrorTests.test_missing_ruby_file_from_gem ... INFO:brz:Committing to: /tmp/testbzr-usu2u22w.tmp/tests.test_debian_fix_build.ResolveErrorTests.test_missing_ruby_file_from_gem/work/ INFO:brz:added debian INFO:brz:added debian/changelog INFO:brz:added debian/control INFO:brz:Committed revision 1. ok test_missing_ruby_gem (tests.test_debian_fix_build.ResolveErrorTests.test_missing_ruby_gem) tests.test_debian_fix_build.ResolveErrorTests.test_missing_ruby_gem ... INFO:brz:Committing to: /tmp/testbzr-usu2u22w.tmp/tests.test_debian_fix_build.ResolveErrorTests.test_missing_ruby_gem/work/ INFO:brz:added debian INFO:brz:added debian/changelog INFO:brz:added debian/control INFO:brz:Committed revision 1. ok test_missing_vala_package (tests.test_debian_fix_build.ResolveErrorTests.test_missing_vala_package) tests.test_debian_fix_build.ResolveErrorTests.test_missing_vala_package ... INFO:brz:Committing to: /tmp/testbzr-usu2u22w.tmp/tests.test_debian_fix_build.ResolveErrorTests.test_missing_vala_package/work/ INFO:brz:added debian INFO:brz:added debian/changelog INFO:brz:added debian/control INFO:brz:Committed revision 1. ok test_no_tee (tests.test_logs.TestCopyOutput.test_no_tee) ... ok test_tee (tests.test_logs.TestCopyOutput.test_tee) ... /usr/lib/python3.11/subprocess.py:1125: ResourceWarning: subprocess 610934 is still running _warn("subprocess %s is still running" % self.pid, ResourceWarning: Enable tracemalloc to get the object allocation traceback tee: /tmp/tmp7kt8qvlo/foo.logERROR test_simple (tests.test_logs.TestLogManager.test_simple) ... : No such file or directory lala ok test_simple (tests.test_logs.TestRedirectOutput.test_simple) ... ok test_does_not_exist (tests.test_logs.TestRotateLogfile.test_does_not_exist) ... ok test_simple (tests.test_logs.TestRotateLogfile.test_simple) ... ok test_paths (tests.test_resolver_apt.TestPython3Paths.test_paths) ... ok ====================================================================== ERROR: test_tee (tests.test_logs.TestCopyOutput.test_tee) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/tests/test_logs.py", line 48, in test_tee with open(p) as f: ^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp7kt8qvlo/foo.log' ---------------------------------------------------------------------- Ran 29 tests in 1.676s FAILED (errors=1) E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m unittest discover -v dh_auto_test: error: pybuild --test -i python{version} -p 3.11 returned exit code 13 make: *** [debian/rules:4: binary-indep] Error 25 dpkg-buildpackage: error: debian/rules binary-indep subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is really for version 0.0.18-1 where I tested one more time before sending this report (I usually don't do archive-wide rebuilds for unstable), but this kind of error also happens in the buildds: https://buildd.debian.org/status/fetch.php?pkg=ognibuild&arch=all&ver=0.0.16-2&stamp=1672869872&raw=0 and also in reproducible-builds: https://tests.reproducible-builds.org/debian/logs/unstable/armhf/ognibuild_0.0.18-1.build2.log.gz This seems to be "random", but on the machines I've tested it, the failure rate is 100%. ---------------------------------------------------------------------------------- About the archive rebuild: The build was made using virtual machines from Hetzner, with enough memory, enough disk, and either one or two CPUs, using a reduced chroot with only build-essential packages (plus debhelper). 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.