Package: src:python-friendly-traceback Version: 0.7.62+git20240811.d7dbff6-1.1 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/202512/ 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:python-friendly-traceback, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" module I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_friendly-traceback * Building wheel... /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. [... snipped ...] INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 396, in pytest_runtestloop INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) INTERNALERROR> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in __call__ INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) INTERNALERROR> ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall INTERNALERROR> raise exception INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall INTERNALERROR> teardown.throw(exception) INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/assertion/__init__.py", line 192, in pytest_runtest_protocol INTERNALERROR> return (yield) INTERNALERROR> ^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall INTERNALERROR> teardown.throw(exception) INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/unittest.py", line 587, in pytest_runtest_protocol INTERNALERROR> return (yield) INTERNALERROR> ^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall INTERNALERROR> teardown.throw(exception) INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/faulthandler.py", line 102, in pytest_runtest_protocol INTERNALERROR> return (yield) INTERNALERROR> ^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 118, in pytest_runtest_protocol INTERNALERROR> runtestprotocol(item, nextitem=nextitem) INTERNALERROR> ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 137, in runtestprotocol INTERNALERROR> reports.append(call_and_report(item, "call", log)) INTERNALERROR> ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 249, in call_and_report INTERNALERROR> report: TestReport = ihook.pytest_runtest_makereport(item=item, call=call) INTERNALERROR> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 512, in __call__ INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) INTERNALERROR> ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in _multicall INTERNALERROR> raise exception INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall INTERNALERROR> teardown.throw(exception) INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/tmpdir.py", line 311, in pytest_runtest_makereport INTERNALERROR> rep = yield INTERNALERROR> ^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall INTERNALERROR> teardown.throw(exception) INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 280, in pytest_runtest_makereport INTERNALERROR> rep = yield INTERNALERROR> ^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 377, in pytest_runtest_makereport INTERNALERROR> return TestReport.from_item_and_call(item, call) INTERNALERROR> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/reports.py", line 438, in from_item_and_call INTERNALERROR> longrepr = _format_failed_longrepr(item, call, excinfo) INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/reports.py", line 263, in _format_failed_longrepr INTERNALERROR> longrepr = item.repr_failure(excinfo) INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1762, in repr_failure INTERNALERROR> return self._repr_failure_py(excinfo, style=style) INTERNALERROR> ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/nodes.py", line 456, in _repr_failure_py INTERNALERROR> return excinfo.getrepr( INTERNALERROR> ~~~~~~~~~~~~~~~^ INTERNALERROR> funcargs=True, INTERNALERROR> ^^^^^^^^^^^^^^ INTERNALERROR> ...<5 lines>... INTERNALERROR> truncate_args=truncate_args, INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ INTERNALERROR> ) INTERNALERROR> ^ INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/_code/code.py", line 765, in getrepr INTERNALERROR> return fmt.repr_excinfo(self) INTERNALERROR> ~~~~~~~~~~~~~~~~^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/_code/code.py", line 1200, in repr_excinfo INTERNALERROR> reprtraceback = self.repr_traceback(excinfo_) INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/_code/code.py", line 1133, in repr_traceback INTERNALERROR> self.repr_traceback_entry(entry, excinfo if last == entry else None) INTERNALERROR> ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/_code/code.py", line 1063, in repr_traceback_entry INTERNALERROR> source = self._getentrysource(entry) INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/_code/code.py", line 901, in _getentrysource INTERNALERROR> source = entry.getsource(self.astcache) INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/_code/code.py", line 299, in getsource INTERNALERROR> astnode, _, end = getstatementrange_ast( INTERNALERROR> ~~~~~~~~~~~~~~~~~~~~~^ INTERNALERROR> self.lineno, source, astnode=astnode INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ INTERNALERROR> ) INTERNALERROR> ^ INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/_code/source.py", line 193, in getstatementrange_ast INTERNALERROR> start, end = get_statement_startend2(lineno, astnode) INTERNALERROR> ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/_code/source.py", line 171, in get_statement_startend2 INTERNALERROR> start = values[insert_index - 1] INTERNALERROR> ~~~~~~^^^^^^^^^^^^^^^^^^ INTERNALERROR> IndexError: list index out of range ================== 23 failed, 254 passed, 1 skipped in 1.55s =================== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=3: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_friendly-traceback/build; python3.14 -m pytest -v I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_friendly-traceback/build; python3.13 -m pytest -v ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_friendly-traceback/build configfile: pytest.ini testpaths: tests plugins: typeguard-4.4.4 collected 432 items run-last-failure: no previously failed tests, not deselecting items. tests/runtime/test_attribute_error.py ................... tests/runtime/test_file_not_found_error.py .... tests/runtime/test_module_not_found_error.py ...... tests/runtime/test_zero_division_error.py ....new case to consider float modulo by zero New case to consider. new case to consider float modulo by zero New case to consider. ....... tests/unit/test_check_syntax.py Potentially untranslated text for fr: More lines not shown. Potentially untranslated text for fr: Python exception: Potentially untranslated text for fr: A `SyntaxError` occurs when Python cannot understand your code. Potentially untranslated text for fr: You cannot assign a value to `{keyword}`. Potentially untranslated text for fr: `{keyword}` is a constant in Python; you cannot assign it a different value. Potentially untranslated text for fr: The entire content of `{filename}` is not available. Potentially untranslated text for fr: Python could not understand the code in the file '{filename}' Potentially untranslated text for fr: at the location indicated. .. tests/unit/test_exec_code.py Potentially untranslated text for fr: More lines not shown. Potentially untranslated text for fr: Python exception: Potentially untranslated text for fr: A `NameError` exception indicates that a variable or function name is not known to Python. Most often, this is because there is a spelling mistake. However, sometimes it is because the name is used before being defined or given a value. Potentially untranslated text for fr: In your program, no object with the name `{var_name}` exists. Potentially untranslated text for fr: A type hint found for `{name}` in the {scope} scope. Perhaps you had used a colon instead of an equal sign and wrote {name} : {hint} instead of {name} = {hint} Potentially untranslated text for fr: I have no additional information for you. Potentially untranslated text for fr: Problem: source of `{filename}` is not available Potentially untranslated text for fr: Exception raised on line `{linenumber}` of file '{filename}'. .. tests/unit/test_run.py .Potentially untranslated text for fr: More lines not shown. Potentially untranslated text for fr: Python exception: Potentially untranslated text for fr: A `NameError` exception indicates that a variable or function name is not known to Python. Most often, this is because there is a spelling mistake. However, sometimes it is because the name is used before being defined or given a value. Potentially untranslated text for fr: In your program, no object with the name `{var_name}` exists. Potentially untranslated text for fr: A type hint found for `{name}` in the {scope} scope. Perhaps you had used a colon instead of an equal sign and wrote {name} : {hint} instead of {name} = {hint} Potentially untranslated text for fr: Did you mean `{name}`? Potentially untranslated text for fr: The similar name `{name}` was found in the local scope. Potentially untranslated text for fr: The similar name `{name}` was found in the global scope. Potentially untranslated text for fr: The Python builtin `{name}` has a similar name. Potentially untranslated text for fr: Problem: source of `{filename}` is not available Potentially untranslated text for fr: Exception raised on line `{linenumber}` of file '{filename}'. .. tests/formatting/catch_for_formatting_tests.py . tests/runtime/test_arithmetic_error.py . tests/runtime/test_assertion_error.py . tests/runtime/test_import_error.py . tests/runtime/test_index_error.py .... tests/runtime/test_key_error.py ....... tests/runtime/test_lookup_error.py . tests/runtime/test_memory_error.py . tests/runtime/test_name_error.py ............... tests/runtime/test_os_error.py s.. tests/runtime/test_overflow_error.py .. tests/runtime/test_recursion_error.py . tests/runtime/test_runtime_error.py . tests/runtime/test_type_error.py ............................. tests/runtime/test_unbound_local_error.py ..... tests/runtime/test_unknown_error.py . tests/runtime/test_value_error.py ......test for issue #78 skipped .... tests/syntax/catch_syntax_error.py .......................................This message is not known: f-string: expecting a valid expression after '{' file: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_friendly-traceback/build/tests/syntax/cannot_use_double_star.py ......................................................................................................after IndentationError, error from token_utils.tokenize() ValueError('too many values to unpack (expected 4)') ................................................................................................after IndentationError, error from token_utils.tokenize() ValueError('too many values to unpack (expected 4)') ........... tests/unit/test_carets_utils.py . tests/unit/test_clean_traceback.py .. tests/unit/test_confidential.py .. tests/unit/test_console_helpers.py ............ tests/unit/test_exception_note.py . tests/unit/test_flush.py . tests/unit/test_formatter.py .s tests/unit/test_highlight_tokens.py .... tests/unit/test_info_variables.py .... tests/unit/test_no_exception.py . tests/unit/test_path_info.py ... tests/unit/test_source_missing.py .. tests/unit/test_source_with_args.py .. tests/unit/test_token_utils.py ................ ======================== 430 passed, 2 skipped in 1.91s ======================== dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

