Bug#1031433: diffoscope: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13

2023-02-17 Thread FC Stegerman
Should be fixed by [1]

- FC

[1] https://salsa.debian.org/reproducible-builds/diffoscope/-/merge_requests/126



Bug#1031433: diffoscope: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13

2023-02-16 Thread Lucas Nussbaum
Source: diffoscope
Version: 235
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230216 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[2]: Entering directory '/<>/doc'
> { cat diffoscope.h2m.0; cat ../README.rst | \
>   sed -e '/^\.\. raw:: /d' -e '/^\.\. image:: /d' -e '/ :target: /d' | tee 
> out.txt | \
>   rst2man -q --no-doc-title | \
>   sed -e 's,^ \\- ,,' -e 's,^\[,\\[char91],g' -e 's,\.TH *"" "" "",,g' \
>   -e 's,bin/diffoscope,diffoscope,g' \
>   -e 's,\.SH \(.*\),[\1],g' -e 's,\[diffoscope\],[DESCRIPTION],gi'; } > 
> "diffoscope.h2m"
> help2man --version-string=$(cd .. && python3 setup.py -V) ../bin/diffoscope 
> -N --include="diffoscope.h2m" | \
>   sed -e '/end_of_description_header/,/positional arguments/{d}' > 
> "diffoscope.1"
> make[2]: Leaving directory '/<>/doc'
> make[1]: Leaving directory '/<>'
>dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:307: flake8 --config=/dev/null --select=F821
> I: pybuild base:240: cd /<>/.pybuild/cpython3_3.11/build; 
> python3.11 -m pytest -vv -r sxX -l --cov=diffoscope --cov-report=term-missing 
> --cov-report=html
> = test session starts 
> ==
> platform linux -- Python 3.11.2, pytest-7.2.1, pluggy-1.0.0+repack -- 
> /usr/bin/python3.11
> cachedir: .pytest_cache
> rootdir: /<>, configfile: pytest.ini
> plugins: cov-4.0.0
> collecting ... collected 711 items / 1 skipped
> 
> tests/test_diff_mask.py::test_none PASSED[  
> 0%]
> tests/test_diff_mask.py::test_all PASSED [  
> 0%]
> tests/test_diff_mask.py::test_specific PASSED[  
> 0%]
> tests/test_difference.py::test_too_much_input_for_diff PASSED[  
> 0%]
> tests/test_difference.py::test_too_long_diff_block_lines PASSED  [  
> 0%]
> tests/test_difference.py::test_size_updates PASSED   [  
> 0%]
> tests/test_difference.py::test_traverse_heapq PASSED [  
> 0%]
> tests/test_difference.py::test_non_str_arguments_to_source1_source2 PASSED [  
> 1%]
> tests/test_difference.py::test_adjust_diff_context PASSED[  
> 1%]
> tests/test_excludes.py::test_none PASSED [  
> 1%]
> tests/test_excludes.py::test_all PASSED  [  
> 1%]
> tests/test_excludes.py::test_specific PASSED [  
> 1%]
> tests/test_excludes.py::test_specific_case PASSED[  
> 1%]
> tests/test_excludes.py::test_multiple PASSED [  
> 1%]
> tests/test_excludes.py::test_nomatch PASSED  [  
> 2%]
> tests/test_excludes.py::test_wildcard PASSED [  
> 2%]
> tests/test_main.py::test_non_existing_files PASSED   [  
> 2%]
> tests/test_main.py::test_non_existing_left_with_new_file PASSED  [  
> 2%]
> tests/test_main.py::test_non_existing_right_with_new_file PASSED [  
> 2%]
> tests/test_main.py::test_non_existing_files_with_new_file PASSED [  
> 2%]
> tests/test_main.py::test_remove_temp_files_on_sigterm PASSED [  
> 2%]
> tests/test_main.py::test_ctrl_c_handling PASSED  [  
> 3%]
> tests/test_main.py::test_no_differences PASSED   [  
> 3%]
> tests/test_main.py::test_no_differences_directories PASSED   [  
> 3%]
> tests/test_main.py::test_list_tools PASSED   [  
> 3%]
> tests/test_main.py::test_list_missing_tools PASSED   [  
> 3%]
> tests/test_main.py::test_profiling PASSED[  
> 3%]
> tests/test_main.py::test_non_unicode_filename PASSED [  
> 3%]
> tests/test_main.py::test_help PASSED [  
> 4%]
> tests/test_main.py::test_usage PASSED[  
> 4%]
> tests/test_presenters.py::test_text_option_is_default PASSED [  
> 4%]
> tests/test_presenters.py::test_text_proper_indentation PASSED[  
> 4%]
> tests/test_presenters.py::test_text_option_color PASSED  [  
> 4%]
> tests/test_presenters.py::test_text_option_with_file PASSED  [  
> 4%]
> tests/test_presenters.py::test_text_option_with_stdout PASSED[  
> 4%]
> tests/test_presenters.py::test_markdown PASSED   [  
> 5%]
> tests/test_presenters.py::test_restructuredtext PASSED   [  
> 5%]
> tests/test_presenters.py::test_json PASSED   [  
> 5%]
> tests/test_presenters.py::test_no_report_option PASSED   [  
> 5%]
> tests/test_presenters.py::test_html_option_with_file PASSED  [  
> 5%]
>