Package: src:bdebstrap
Version: 0.7.0-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202602/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot 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 add an affects on src:bdebstrap, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem pybuild --with python3
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:384: python3.13 setup.py clean 
/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 :: ISC License (ISCL)

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running clean
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 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:384: python3.13 setup.py config 
/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 :: ISC License (ISCL)

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:384: /usr/bin/python3 setup.py build 
/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 :: ISC License (ISCL)

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running build
running doc
running command: pandoc -s -t man bdebstrap.1.md -o bdebstrap.1
running build_scripts
creating build/scripts-3.13
copying and adjusting bdebstrap -> build/scripts-3.13
changing mode of build/scripts-3.13/bdebstrap from 644 to 755
   dh_auto_test -O--buildsystem=pybuild
W: pybuild base:327: No test runner selected, defaulting to unittest, ignoring 
test discovery problems.
Use --test-unittest to explicitly select the unittest runner.
I: pybuild base:384: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -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. ... skipped 'requested 
via SKIP_LINTERS env variable'
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_flow_style (tests.test_config.TestConfig.test_yaml_flow_style)
Test that config.yaml follows the correct flow style. ... ok
test_yaml_rendering (tests.test_config.TestConfig.test_yaml_rendering)
Test that config.yaml is a syntactically valid yaml file. ... 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. ... skipped 'requested via SKIP_LINTERS 
env variable'
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. ... skipped 'requested via SKIP_LINTERS 
env variable'
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_mypy (tests.test_mypy.MypyTestCase.test_mypy)
Test: Run mypy on Python source code. ... Running following command:
mypy --strict /<<PKGBUILDDIR>>/bdebstrap tests /<<PKGBUILDDIR>>/setup.py
FAIL
test_pylint (tests.test_pylint.PylintTestCase.test_pylint)
Test: Run pylint on Python source code. ... Running following command:
pylint --rcfile=/<<PKGBUILDDIR>>/tests/../.pylintrc --errors-only -- 
/<<PKGBUILDDIR>>/bdebstrap tests /<<PKGBUILDDIR>>/setup.py
ok
test_shellcheck (tests.test_shellcheck.ShellcheckTestCase.test_shellcheck)
Test: Run shellcheck on Shell source code. ... skipped 'requested via 
SKIP_LINTERS env variable'

======================================================================
FAIL: test_mypy (tests.test_mypy.MypyTestCase.test_mypy)
Test: Run mypy on Python source code.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_mypy.py", line 56, in test_mypy
    self.fail("\n".join(msgs))
    ~~~~~~~~~^^^^^^^^^^^^^^^^^
AssertionError: mypy found issues:
/<<PKGBUILDDIR>>/setup.py:40: error: Cannot override class variable (previously 
declared on base class "Command") with instance variable  [misc]
Found 1 error in 1 file (checked 13 source files)

----------------------------------------------------------------------
Ran 63 tests in 4.999s

FAILED (failures=1, skipped=4)
E: pybuild pybuild:483: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m unittest discover 
-v -s /<<PKGBUILDDIR>>
dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit 
code 13
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to