Source: bdebstrap
Version: 0.6.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20240702 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> 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:311: python3.12 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:311: /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.12
> copying and adjusting bdebstrap -> build/scripts-3.12
> changing mode of build/scripts-3.12/bdebstrap from 644 to 755
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build;
> python3.12 -m unittest discover -v -s /<<PKGBUILDDIR>>
> test_get_path_exists (tests.TestGetPath.test_get_path_exists)
> Test get_path(__file__). ... ok
> test_get_path_missing (tests.TestGetPath.test_get_path_missing)
> Test non-existing file for get_path(). ... ok
> test_get_path_pybuild (tests.TestGetPath.test_get_path_pybuild)
> Test changing current directory before calling get_path(). ... ok
> test_black (tests.test_black.BlackTestCase.test_black)
> 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)
> Test --debug argument parsing. ... ok
> test_empty_args (tests.test_config.TestArguments.test_empty_args)
> Test setting arguments to empty strings. ... ok
> test_malformed_env (tests.test_config.TestArguments.test_malformed_env)
> Test malformed --env parameter (missing equal sign). ... ok
> test_mirrors_with_spaces
> (tests.test_config.TestArguments.test_mirrors_with_spaces)
> Test --mirrors with leading/trailing spaces. ... ok
> test_no_args (tests.test_config.TestArguments.test_no_args)
> Test calling bdebstrap without arguments. ... ok
> test_optional_args (tests.test_config.TestArguments.test_optional_args)
> Test optional arguments (which also have positional ones). ... ok
> test_parse_env (tests.test_config.TestArguments.test_parse_env)
> Test parsing --env parameters. ... ok
> test_positional_args (tests.test_config.TestArguments.test_positional_args)
> Test positional arguments (overwriting optional ones). ... ok
> test_split (tests.test_config.TestArguments.test_split)
> Test splitting comma and space separated values. ... ok
> test_add_command_line_arguments
> (tests.test_config.TestConfig.test_add_command_line_arguments)
> Test Config.add_command_line_arguments(). ... ok
> test_add_command_line_arguments_no_config
> (tests.test_config.TestConfig.test_add_command_line_arguments_no_config)
> Test Config.add_command_line_arguments() with no config file. ... ok
> test_check_example (tests.test_config.TestConfig.test_check_example)
> Test example unstable.yaml file. ... ok
> test_commented_packages (tests.test_config.TestConfig.test_commented_packages)
> Test commented-packages.yaml file. ... ok
> test_config_and_arguments
> (tests.test_config.TestConfig.test_config_and_arguments)
> Test Config.add_command_line_arguments() with config file and arguments. ...
> ok
> test_env_items (tests.test_config.TestConfig.test_env_items)
> Test environment variables for example unstable.yaml. ... ok
> test_loading (tests.test_config.TestConfig.test_loading)
> Test loading a YAML configuration file. ... ok
> test_sanitize_packages_debs
> (tests.test_config.TestConfig.test_sanitize_packages_debs)
> Test sanitize_packages method: multiple local .debs ... ok
> test_sanitize_packages_duplicate_debs
> (tests.test_config.TestConfig.test_sanitize_packages_duplicate_debs)
> Test sanitize_packages method: remove duplicate local .debs. ... ok
> test_sanitize_packages_duplicates
> (tests.test_config.TestConfig.test_sanitize_packages_duplicates)
> Test sanitize_packages method: remove duplicates. ... ok
> test_sanitize_packages_pattern
> (tests.test_config.TestConfig.test_sanitize_packages_pattern)
> Test sanitize_packages method: APT pattern ... ok
> test_source_date_epoch (tests.test_config.TestConfig.test_source_date_epoch)
> Test getting and setting SOURCE_DATE_EPOCH. ... ok
> test_wrong_element_type (tests.test_config.TestConfig.test_wrong_element_type)
> Test error message for wrong list element type. ... ok
> test_yaml_rendering (tests.test_config.TestConfig.test_yaml_rendering)
> Test that config.yaml is formatted correctly. ... ok
> test_merge_lists (tests.test_config.TestDictMerge.test_merge_lists)
> Test merging nested dicts. ... ok
> test_merge_nested_dicts
> (tests.test_config.TestDictMerge.test_merge_nested_dicts)
> Test merging nested dicts. ... ok
> test_flake8 (tests.test_flake8.Flake8TestCase.test_flake8)
> Test: Run flake8 on Python source code. ... Running following command:
> /usr/bin/python3.12 -m flake8 --max-line-length=99 /<<PKGBUILDDIR>>/bdebstrap
> tests /<<PKGBUILDDIR>>/setup.py
> ok
> test_clamp (tests.test_helper.TestClampMtime.test_clamp)
> Test clamping the modification time. ... ok
> test_no_source_date_epoch
> (tests.test_helper.TestClampMtime.test_no_source_date_epoch)
> Test doing nothing if SOURCE_DATE_EPOCH is not set. ... ok
> test_not_clamping (tests.test_helper.TestClampMtime.test_not_clamping)
> Test not clamping the modification time. ... ok
> test_hours (tests.test_helper.TestDuration.test_hours)
> Test calling duration_str(7397.447488069534). ... ok
> test_minutes (tests.test_helper.TestDuration.test_minutes)
> Test calling duration_str(421.88086652755737). ... ok
> test_seconds (tests.test_helper.TestDuration.test_seconds)
> Test calling duration_str(3.606104612350464). ... ok
> test_customize_hook (tests.test_helper.TestEscapeCmd.test_customize_hook)
> Test calling escape_cmd on mmdebstrap customize hook. ... ok
> test_escape (tests.test_helper.TestEscapeCmd.test_escape)
> Test calling escape_cmd(["dpkg-query", r"-f=${Package} ${Version} ...
> ok
> test_simple (tests.test_helper.TestEscapeCmd.test_simple)
> Test calling escape_cmd(["free"]). ... ok
> test_spaces (tests.test_helper.TestEscapeCmd.test_spaces)
> Test calling escape_cmd(["scp", "source", "a space"]). ... ok
> test_dry_run (tests.test_helper.TestPrepareOutputDir.test_dry_run)
> Test that dry run does not create the directory. ... ok
> test_existing (tests.test_helper.TestPrepareOutputDir.test_existing)
> Test failure when output directory already exists. ... ok
> test_force (tests.test_helper.TestPrepareOutputDir.test_force)
> Test replacing an existing output directory. ... ok
> test_missing_output_dir
> (tests.test_helper.TestPrepareOutputDir.test_missing_output_dir)
> Test creating the missing output directory. ... ok
> test_isort (tests.test_isort.IsortTestCase.test_isort)
> 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_example)
> Test Debian unstable example. ... ok
> test_empty_target (tests.test_main.TestMain.test_empty_target)
> Test keeping target empty. ... ok
> test_failed_mmdebstrap (tests.test_main.TestMain.test_failed_mmdebstrap)
> Test failure of mmdebstrap call. ... ok
> test_minus_target (tests.test_main.TestMain.test_minus_target)
> Test --target=-. ... ok
> test_clamp_mtime (tests.test_mmdebstrap.TestMmdebstrap.test_clamp_mtime)
> Test clamping mtime of output files/directories. ... ok
> test_clamp_mtime_permission
> (tests.test_mmdebstrap.TestMmdebstrap.test_clamp_mtime_permission)
> Test permission error when clamping mtime of output files/directories. ... ok
> test_debian_example (tests.test_mmdebstrap.TestMmdebstrap.test_debian_example)
> Test Mmdebstrap with Debian unstable config. ... ok
> test_dry_run (tests.test_mmdebstrap.TestMmdebstrap.test_dry_run)
> Test Mmdebstrap with dry run set. ... ok
> test_extra_opts (tests.test_mmdebstrap.TestMmdebstrap.test_extra_opts)
> Test Mmdebstrap with extra options. ... ok
> test_hooks (tests.test_mmdebstrap.TestMmdebstrap.test_hooks)
> Test Mmdebstrap with custom hooks. ... ok
> test_log_level_debug
> (tests.test_mmdebstrap.TestMmdebstrap.test_log_level_debug)
> Test Mmdebstrap with log level debug. ... ok
> test_log_level_error
> (tests.test_mmdebstrap.TestMmdebstrap.test_log_level_error)
> Test Mmdebstrap with log level error. ... ok
> test_log_level_info (tests.test_mmdebstrap.TestMmdebstrap.test_log_level_info)
> Test Mmdebstrap with log level info. ... ok
> test_log_level_warning
> (tests.test_mmdebstrap.TestMmdebstrap.test_log_level_warning)
> Test Mmdebstrap with log level warning. ... ok
> test_pylint (tests.test_pylint.PylintTestCase.test_pylint)
> Test: Run pylint on Python source code. ... Running following command:
> /usr/bin/python3.12 -m pylint --rcfile=/<<PKGBUILDDIR>>/tests/pylint.conf --
> /<<PKGBUILDDIR>>/bdebstrap tests /<<PKGBUILDDIR>>/setup.py
> FAIL
> test_flake8 (tests.test_shellcheck.ShellcheckTestCase.test_flake8)
> Test: Run shellcheck on Shell source code. ... Running following command:
> shellcheck /<<PKGBUILDDIR>>/hooks/disable-units
> /<<PKGBUILDDIR>>/hooks/enable-units
> ok
>
> ======================================================================
> FAIL: test_pylint (tests.test_pylint.PylintTestCase.test_pylint)
> Test: Run pylint on Python source code.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/test_pylint.py", line 74, in test_pylint
> self.fail("\n".join(msgs))
> AssertionError: pylint found issues:
> ************* Module setup
> /<<PKGBUILDDIR>>/setup.py:60:4: C0116: Missing function or method docstring
> (missing-function-docstring)
>
> ----------------------------------------------------------------------
> Ran 61 tests in 8.396s
>
> FAILED (failures=1)
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m unittest
> discover -v -s /<<PKGBUILDDIR>>
> dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit
> code 13
The full build log is available from:
http://qa-logs.debian.net/2024/07/02/bdebstrap_0.6.1-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240702;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240702&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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 mark 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.