Source: bdebstrap Version: 0.2.0-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20211104 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > dpkg-buildpackage > ----------------- > > Command: dpkg-buildpackage -us -uc -sa -rfakeroot > dpkg-buildpackage: info: source package bdebstrap > dpkg-buildpackage: info: source version 0.2.0-1 > dpkg-buildpackage: info: source distribution unstable > dpkg-buildpackage: info: source changed by Benjamin Drung <bdr...@debian.org> > dpkg-source --before-build . > dpkg-buildpackage: info: host architecture amd64 > debian/rules clean > dh clean --buildsystem pybuild --with python3 > dh_auto_clean -O--buildsystem=pybuild > I: pybuild base:232: python3.9 setup.py clean > running clean > removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build' (and everything under > it) > 'build/bdist.linux-x86_64' does not exist -- can't clean it > 'build/scripts-3.9' does not exist -- can't clean it > dh_autoreconf_clean -O--buildsystem=pybuild > dh_clean -O--buildsystem=pybuild > dpkg-source -b . > dpkg-source: warning: cannot import key in > bdebstrap-0.2.0/debian/upstream/signing-key.asc since GnuPG is not installed > dpkg-source: info: using source format '3.0 (quilt)' > dpkg-source: info: building bdebstrap using existing > ./bdebstrap_0.2.0.orig.tar.xz > dpkg-source: info: building bdebstrap using existing > ./bdebstrap_0.2.0.orig.tar.xz.asc > gpgv: Signature made Tue Jun 8 13:30:13 2021 UTC > gpgv: using RSA key E7FAB70B3950275E6DA30975DD8CD5A5DE8C7E7A > gpgv: Can't check signature: No public key > dpkg-source: warning: failed to verify signature on > ./bdebstrap_0.2.0.orig.tar.xz.asc > dpkg-source: info: building bdebstrap in bdebstrap_0.2.0-1.debian.tar.xz > dpkg-source: info: building bdebstrap in bdebstrap_0.2.0-1.dsc > debian/rules binary > dh binary --buildsystem pybuild --with python3 > dh_update_autotools_config -O--buildsystem=pybuild > dh_autoreconf -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > I: pybuild base:232: python3.9 setup.py config > running config > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:232: /usr/bin/python3 setup.py build > running build > running doc > running command: pandoc -s -t man bdebstrap.1.md -o bdebstrap.1 > running build_scripts > creating build > creating build/scripts-3.9 > copying and adjusting bdebstrap -> build/scripts-3.9 > changing mode of build/scripts-3.9/bdebstrap from 644 to 755 > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; > python3.9 -m unittest discover -v -s /<<PKGBUILDDIR>> > test_black (tests.test_black.BlackTestCase) > Test: Run black code formatter on Python source code. ... Running following > command: > black --check --diff -l 99 /<<PKGBUILDDIR>>/bdebstrap tests > /<<PKGBUILDDIR>>/setup.py > ok > test_debug (tests.test_config.TestArguments) > Test --debug argument parsing. ... ok > test_empty_args (tests.test_config.TestArguments) > Test setting arguments to empty strings. ... > /usr/lib/python3.9/unittest/case.py:1132: DeprecationWarning: > assertDictContainsSubset is deprecated > warnings.warn('assertDictContainsSubset is deprecated', > ok > test_malformed_env (tests.test_config.TestArguments) > Test malformed --env parameter (missing equal sign). ... usage: python3.9 -m > unittest [-h] [-c CONFIG] [-n NAME] [-e ENV] [-s] > [-b OUTPUT_BASE_DIR] [-o OUTPUT] [-q] [-v] > [--debug] [-f] [-t TMPDIR] > [--variant > {extract,custom,essential,apt,required,minbase,buildd,important,debootstrap,-,standard}] > [--mode > {auto,sudo,root,unshare,fakeroot,fakechroot,proot,chrootless}] > [--aptopt APTOPT] [--keyring KEYRING] > [--dpkgopt DPKGOPT] [--hostname HOSTNAME] > [--install-recommends] [--packages PACKAGES] > [--components COMPONENTS] > [--architectures ARCHITECTURES] > [--setup-hook COMMAND] [--essential-hook COMMAND] > [--customize-hook COMMAND] > [--cleanup-hook COMMAND] [--suite SUITE] > [--target TARGET] [--mirrors MIRRORS] > [suite] [target] [mirrors ...] > python3.9 -m unittest: error: Failed to parse --env 'invalid'. It needs to be > in the format KEY=value. > ok > test_mirrors_with_spaces (tests.test_config.TestArguments) > Test --mirrors with leading/trailing spaces. ... ok > test_no_args (tests.test_config.TestArguments) > Test calling bdebstrap without arguments. ... ok > test_optional_args (tests.test_config.TestArguments) > Test optional arguments (which also have positional ones). ... ok > test_parse_env (tests.test_config.TestArguments) > Test parsing --env parameters. ... ok > test_positional_args (tests.test_config.TestArguments) > Test positional arguments (overwriting optional ones). ... ok > test_split (tests.test_config.TestArguments) > Test splitting comma and space separated values. ... ok > test_add_command_line_arguments (tests.test_config.TestConfig) > Test Config.add_command_line_arguments(). ... ok > test_check_example (tests.test_config.TestConfig) > Test example unstable.yaml file. ... ok > test_commented_packages (tests.test_config.TestConfig) > Test commented-packages.yaml file. ... ok > test_config_and_arguments (tests.test_config.TestConfig) > Test Config.add_command_line_arguments() with config file and arguments. ... > ok > test_env_items (tests.test_config.TestConfig) > Test environment variables for example unstable.yaml. ... ok > test_loading (tests.test_config.TestConfig) > Test loading a YAML configuration file. ... ok > test_source_date_epoch (tests.test_config.TestConfig) > Test getting and setting SOURCE_DATE_EPOCH. ... ok > test_wrong_element_type (tests.test_config.TestConfig) > Test error message for wrong list element type. ... ok > test_merge_lists (tests.test_config.TestDictMerge) > Test merging nested dicts. ... ok > test_merge_nested_dicts (tests.test_config.TestDictMerge) > Test merging nested dicts. ... ok > test_flake8 (tests.test_flake8.Flake8TestCase) > Test: Run flake8 on Python source code. ... Running following command: > /usr/bin/python3.9 -m flake8 --max-line-length=99 /<<PKGBUILDDIR>>/bdebstrap > tests /<<PKGBUILDDIR>>/setup.py > ok > test_clamp (tests.test_helper.TestClampMtime) > Test clamping the modification time. ... ok > test_no_source_date_epoch (tests.test_helper.TestClampMtime) > Test doing nothing if SOURCE_DATE_EPOCH is not set. ... ok > test_not_clamping (tests.test_helper.TestClampMtime) > Test not clamping the modification time. ... ok > test_hours (tests.test_helper.TestDuration) > Test calling duration_str(7397.447488069534). ... ok > test_minutes (tests.test_helper.TestDuration) > Test calling duration_str(421.88086652755737). ... ok > test_seconds (tests.test_helper.TestDuration) > Test calling duration_str(3.606104612350464). ... ok > test_customize_hook (tests.test_helper.TestEscapeCmd) > Test calling escape_cmd on mmdebstrap customize hook. ... ok > test_escape (tests.test_helper.TestEscapeCmd) > Test calling escape_cmd(["dpkg-query", r"-f=${Package} ${Version} ... > ok > test_simple (tests.test_helper.TestEscapeCmd) > Test calling escape_cmd(["free"]). ... ok > test_spaces (tests.test_helper.TestEscapeCmd) > Test calling escape_cmd(["scp", "source", "a space"]). ... ok > test_reproducible (tests.test_integration.TestIntegration) > Test building Debian unstable reproducible. ... skipped 'Needs Internet > access. Set environment variable USE_INTERNET to run it.' > test_isort (tests.test_isort.IsortTestCase) > Test: Run isort on Python source code. ... Running following command: > isort --check-only --diff -l 99 /<<PKGBUILDDIR>>/bdebstrap tests > /<<PKGBUILDDIR>>/setup.py > ok > test_debian_example (tests.test_main.TestMain) > Test Debian unstable example. ... ok > test_empty_target (tests.test_main.TestMain) > Test keeping target empty. ... ok > test_failed_mmdebstrap (tests.test_main.TestMain) > Test failure of mmdebstrap call. ... ok > test_minus_target (tests.test_main.TestMain) > Test --target=-. ... ok > test_clamp_mtime (tests.test_mmdebstrap.TestMmdebstrap) > Test clamping mtime of output files/directories. ... ok > test_clamp_mtime_permission (tests.test_mmdebstrap.TestMmdebstrap) > Test permission error when clamping mtime of output files/directories. ... ok > test_debian_example (tests.test_mmdebstrap.TestMmdebstrap) > Test Mmdebstrap with Debian unstable config. ... ok > test_dry_run (tests.test_mmdebstrap.TestMmdebstrap) > Test Mmdebstrap with dry run set. ... ok > test_extra_opts (tests.test_mmdebstrap.TestMmdebstrap) > Test Mmdebstrap with extra options. ... ok > test_hooks (tests.test_mmdebstrap.TestMmdebstrap) > Test Mmdebstrap with custom hooks. ... ok > test_log_level_debug (tests.test_mmdebstrap.TestMmdebstrap) > Test Mmdebstrap with log level debug. ... ok > test_log_level_error (tests.test_mmdebstrap.TestMmdebstrap) > Test Mmdebstrap with log level error. ... ok > test_log_level_info (tests.test_mmdebstrap.TestMmdebstrap) > Test Mmdebstrap with log level info. ... ok > test_log_level_warning (tests.test_mmdebstrap.TestMmdebstrap) > Test Mmdebstrap with log level warning. ... ok > test_pylint (tests.test_pylint.PylintTestCase) > Test: Run pylint on Python source code. ... Running following command: > /usr/bin/python3.9 -m pylint --rcfile=/<<PKGBUILDDIR>>/tests/pylint.conf -- > /<<PKGBUILDDIR>>/bdebstrap tests /<<PKGBUILDDIR>>/setup.py > FAIL > > ====================================================================== > FAIL: test_pylint (tests.test_pylint.PylintTestCase) > Test: Run pylint on Python source code. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/tests/test_pylint.py", line 76, in test_pylint > self.fail("\n".join(msgs)) > AssertionError: pylint found issues: > ************* Module bdebstrap > /<<PKGBUILDDIR>>/bdebstrap.py:83:23: C0209: Formatting a regular string which > could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:85:23: C0209: Formatting a regular string which > could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:87:20: C0209: Formatting a regular string which > could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:89:20: C0209: Formatting a regular string which > could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:91:20: C0209: Formatting a regular string which > could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:94:23: C0209: Formatting a regular string which > could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:96:23: C0209: Formatting a regular string which > could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:98:23: C0209: Formatting a regular string which > could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:100:20: C0209: Formatting a regular string > which could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:101:19: C0209: Formatting a regular string > which could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:103:20: C0209: Formatting a regular string > which could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:105:20: C0209: Formatting a regular string > which could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:108:20: C0209: Formatting a regular string > which could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:113:16: C0209: Formatting a regular string > which could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:118:12: C0209: Formatting a regular string > which could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:121:19: C0209: Formatting a regular string > which could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:122:19: C0209: Formatting a regular string > which could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:166:15: C0209: Formatting a regular string > which could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:168:15: C0209: Formatting a regular string > which could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:171:11: C0209: Formatting a regular string > which could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:444:16: C0209: Formatting a regular string > which could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:619:24: C0209: Formatting a regular string > which could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:627:32: C0209: Formatting a regular string > which could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/bdebstrap.py:640:17: W1514: Using open without explicitly > specifying an encoding (unspecified-encoding) > /<<PKGBUILDDIR>>/bdebstrap.py:686:17: W1514: Using open without explicitly > specifying an encoding (unspecified-encoding) > ************* Module tests.test_black > tests/test_black.py:36:29: C0209: Formatting a regular string which could be > a f-string (consider-using-f-string) > tests/test_black.py:43:22: C0209: Formatting a regular string which could be > a f-string (consider-using-f-string) > tests/test_black.py:45:22: C0209: Formatting a regular string which could be > a f-string (consider-using-f-string) > tests/test_black.py:37:18: R1732: Consider using 'with' for > resource-allocating operations (consider-using-with) > ************* Module tests.test_main > tests/test_main.py:30:8: C0209: Formatting a regular string which could be a > f-string (consider-using-f-string) > tests/test_main.py:31:8: C0209: Formatting a regular string which could be a > f-string (consider-using-f-string) > tests/test_main.py:33:8: C0209: Formatting a regular string which could be a > f-string (consider-using-f-string) > tests/test_main.py:34:8: C0209: Formatting a regular string which could be a > f-string (consider-using-f-string) > ************* Module tests.test_pylint > tests/test_pylint.py:42:29: C0209: Formatting a regular string which could be > a f-string (consider-using-f-string) > tests/test_pylint.py:64:20: C0209: Formatting a regular string which could be > a f-string (consider-using-f-string) > tests/test_pylint.py:69:28: C0209: Formatting a regular string which could be > a f-string (consider-using-f-string) > tests/test_pylint.py:72:20: C0209: Formatting a regular string which could be > a f-string (consider-using-f-string) > tests/test_pylint.py:43:18: R1732: Consider using 'with' for > resource-allocating operations (consider-using-with) > ************* Module tests.test_isort > tests/test_isort.py:36:29: C0209: Formatting a regular string which could be > a f-string (consider-using-f-string) > tests/test_isort.py:43:22: C0209: Formatting a regular string which could be > a f-string (consider-using-f-string) > tests/test_isort.py:37:18: R1732: Consider using 'with' for > resource-allocating operations (consider-using-with) > ************* Module tests.test_flake8 > tests/test_flake8.py:36:29: C0209: Formatting a regular string which could be > a f-string (consider-using-f-string) > tests/test_flake8.py:46:20: C0209: Formatting a regular string which could be > a f-string (consider-using-f-string) > tests/test_flake8.py:51:28: C0209: Formatting a regular string which could be > a f-string (consider-using-f-string) > tests/test_flake8.py:54:20: C0209: Formatting a regular string which could be > a f-string (consider-using-f-string) > tests/test_flake8.py:37:18: R1732: Consider using 'with' for > resource-allocating operations (consider-using-with) > ************* Module setup > /<<PKGBUILDDIR>>/setup.py:46:26: C0209: Formatting a regular string which > could be a f-string (consider-using-f-string) > /<<PKGBUILDDIR>>/setup.py:64:30: C0209: Formatting a regular string which > could be a f-string (consider-using-f-string) > > ---------------------------------------------------------------------- > Ran 48 tests in 6.913s > > FAILED (failures=1, skipped=1) > E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m unittest discover > -v -s /<<PKGBUILDDIR>> > dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit > code 13 The full build log is available from: http://qa-logs.debian.net/2021/11/04/bdebstrap_0.2.0-1_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.