Your message dated Fri, 19 Jan 2024 17:04:30 +0100
with message-id <fb5fd33da21779368bd3fdd9cffc20d20dbfd5d4.ca...@debian.org>
and subject line Re: Bug#1061031: bdebstrap: FTBFS: AttributeError: module 
'astroid.nodes' has no attribute 'TryExcept'
has caused the Debian Bug report #1061031,
regarding bdebstrap: FTBFS: AttributeError: module 'astroid.nodes' has no 
attribute 'TryExcept'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1061031: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061031
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: bdebstrap
Version: 0.6.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240115 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:305: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:305: /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.11
> copying and adjusting bdebstrap -> build/scripts-3.11
> changing mode of build/scripts-3.11/bdebstrap from 644 to 755
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; 
> python3.11 -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.11 -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.11 -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 exited with code 1 and has unexpected output on stderr:
> Traceback (most recent call last):
>   File "<frozen runpy>", line 198, in _run_module_as_main
>   File "<frozen runpy>", line 88, in _run_code
>   File "/usr/lib/python3/dist-packages/pylint/__main__.py", line 10, in 
> <module>
>     pylint.run_pylint()
>   File "/usr/lib/python3/dist-packages/pylint/__init__.py", line 36, in 
> run_pylint
>     PylintRun(argv or sys.argv[1:])
>   File "/usr/lib/python3/dist-packages/pylint/lint/run.py", line 157, in 
> __init__
>     linter.load_default_plugins()
>   File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 369, in 
> load_default_plugins
>     checkers.initialize(self)
>   File "/usr/lib/python3/dist-packages/pylint/checkers/__init__.py", line 
> 136, in initialize
>     register_plugins(linter, __path__[0])
>   File "/usr/lib/python3/dist-packages/pylint/utils/utils.py", line 204, in 
> register_plugins
>     module = modutils.load_module_from_file(
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/modutils.py", line 235, in 
> load_module_from_file
>     return load_module_from_modpath(modpath)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/modutils.py", line 220, in 
> load_module_from_modpath
>     return load_module_from_name(".".join(parts))
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/modutils.py", line 194, in 
> load_module_from_name
>     module = importlib.import_module(dotted_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
>   File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
>   File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
>   File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
>   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
>   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
>   File 
> "/usr/lib/python3/dist-packages/pylint/checkers/refactoring/__init__.py", 
> line 16, in <module>
>     from pylint.checkers.refactoring.refactoring_checker import 
> RefactoringChecker
>   File 
> "/usr/lib/python3/dist-packages/pylint/checkers/refactoring/refactoring_checker.py",
>  line 36, in <module>
>     nodes.TryExcept, nodes.TryFinally, nodes.While, nodes.For, nodes.If
>     ^^^^^^^^^^^^^^^
> AttributeError: module 'astroid.nodes' has no attribute 'TryExcept'
> 
> ----------------------------------------------------------------------
> Ran 61 tests in 1.713s
> 
> FAILED (failures=1)
> E: pybuild pybuild:391: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m unittest 
> discover -v -s /<<PKGBUILDDIR>>
> dh_auto_test: error: pybuild --test -i python{version} -p 3.11 returned exit 
> code 13


The full build log is available from:
http://qa-logs.debian.net/2024/01/15/bdebstrap_0.6.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240115;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240115&fusertaguser=lu...@debian.org&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.

--- End Message ---
--- Begin Message ---
On Tue, 2024-01-16 at 20:40 +0100, Lucas Nussbaum wrote:
> Source: bdebstrap
> Version: 0.6.0-1
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20240115 ftbfs-trixie
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 

I think this was bug 1056439 and is already fixed.

-- 
Benjamin Drung
Debian & Ubuntu Developer

--- End Message ---

Reply via email to