Source: python-m2r
Version: 0.2.1-7
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220412 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> sphinx-build -b html docs debian/doc/html
> Running Sphinx v4.5.0
> making output directory... done
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 4 source files that are out of date
> updating environment: [new config] 4 added, 0 changed, 0 removed
> reading sources... [ 25%] changes
> reading sources... [ 50%] example
> reading sources... [ 75%] included
> reading sources... [100%] index
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [ 25%] changes
> writing output... [ 50%] example
> writing output... [ 75%] included
> writing output... [100%] index
> 
> generating indices... genindex done
> writing additional pages... search done
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded.
> 
> The HTML pages are in debian/doc/html.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild -O--exclude=.nojekyll
> I: pybuild base:239: python3.10 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing m2r.egg-info/PKG-INFO
> writing dependency_links to m2r.egg-info/dependency_links.txt
> writing entry points to m2r.egg-info/entry_points.txt
> writing requirements to m2r.egg-info/requires.txt
> writing top-level names to m2r.egg-info/top_level.txt
> reading manifest file 'm2r.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '__pycache__' found under 
> directory '*'
> warning: no previously-included files matching '*.py[co]' found under 
> directory '*'
> adding license file 'LICENSE'
> writing manifest file 'm2r.egg-info/SOURCES.txt'
> running build_ext
> test_anonymous_reference_option (tests.test_cli.TestConvert) ... ok
> test_disable_inline_math (tests.test_cli.TestConvert) ... ok
> test_dryrun (tests.test_cli.TestConvert) ... ok
> test_no_file (tests.test_cli.TestConvert) ... FAIL
> test_overwrite_file (tests.test_cli.TestConvert) ... ok
> test_overwrite_option (tests.test_cli.TestConvert) ... ok
> test_parse_file (tests.test_cli.TestConvert) ... ok
> test_underscore_option (tests.test_cli.TestConvert) ... ok
> test_write_file (tests.test_cli.TestConvert) ... ok
> test_fail_rst (tests.test_renderer.TestBasic) ... <string>:1: (WARNING/2) 
> Inline literal start-string without end-string.
> <string>:1: (WARNING/2) Inline interpreted text or phrase reference 
> start-string without end-string.
> ok
> test_hr (tests.test_renderer.TestBasic) ... ok
> test_linebreak (tests.test_renderer.TestBasic) ... ok
> test_multi_paragraph (tests.test_renderer.TestBasic) ... ok
> test_multiline_paragraph (tests.test_renderer.TestBasic) ... ok
> test_simple_paragraph (tests.test_renderer.TestBasic) ... ok
> test_block_quote (tests.test_renderer.TestBlockQuote) ... ok
> test_block_quote_nested (tests.test_renderer.TestBlockQuote) ... ok
> test_block_quote_nested_2 (tests.test_renderer.TestBlockQuote) ... skipped 
> 'markdown does not support dedent in block quote'
> test_code_block_math (tests.test_renderer.TestCodeBlock) ... ok
> test_plain_code_block (tests.test_renderer.TestCodeBlock) ... ok
> test_plain_code_block_indent (tests.test_renderer.TestCodeBlock) ... ok
> test_plain_code_block_tilda (tests.test_renderer.TestCodeBlock) ... ok
> test_python_code_block (tests.test_renderer.TestCodeBlock) ... ok
> test_python_code_block_indent (tests.test_renderer.TestCodeBlock) ... ok
> test_code (tests.test_renderer.TestConplexText) ... ok
> test_comment_indented (tests.test_renderer.TestDirective) ... ok
> test_comment_multiline (tests.test_renderer.TestDirective) ... ok
> test_comment_newline (tests.test_renderer.TestDirective) ... ok
> test_comment_oneline (tests.test_renderer.TestDirective) ... ok
> test_footnote (tests.test_renderer.TestFootNote) ... ok
> test_sphinx_ref (tests.test_renderer.TestFootNote) ... ok
> test_heading (tests.test_renderer.TestHeading) ... ok
> test_heading_multibyte (tests.test_renderer.TestHeading) ... ok
> test_image (tests.test_renderer.TestImage) ... ok
> test_image_title (tests.test_renderer.TestImage) ... ok
> test_anchor (tests.test_renderer.TestInlineMarkdown) ... ok
> test_anonymous_link (tests.test_renderer.TestInlineMarkdown) ... ok
> test_anonymous_link_with_rel_link_enabled 
> (tests.test_renderer.TestInlineMarkdown) ... ok
> test_autolink (tests.test_renderer.TestInlineMarkdown) ... ok
> test_block_html (tests.test_renderer.TestInlineMarkdown) ... ok
> test_code_with_rest_link (tests.test_renderer.TestInlineMarkdown) ... ok
> test_code_with_rest_role (tests.test_renderer.TestInlineMarkdown) ... ok
> test_code_with_rest_role2 (tests.test_renderer.TestInlineMarkdown) ... ok
> test_disable_inline_math (tests.test_renderer.TestInlineMarkdown) ... ok
> test_double_emphasis (tests.test_renderer.TestInlineMarkdown) ... ok
> test_double_emphasis__ (tests.test_renderer.TestInlineMarkdown) ... ok
> test_emphasis (tests.test_renderer.TestInlineMarkdown) ... ok
> test_emphasis_ (tests.test_renderer.TestInlineMarkdown) ... ok
> test_emphasis_no_ (tests.test_renderer.TestInlineMarkdown) ... ok
> test_emphasis_no__ (tests.test_renderer.TestInlineMarkdown) ... ok
> test_image_link (tests.test_renderer.TestInlineMarkdown) ... ok
> test_inline_code (tests.test_renderer.TestInlineMarkdown) ... ok
> test_inline_code_with_backticks (tests.test_renderer.TestInlineMarkdown) ... 
> ok
> test_inline_html (tests.test_renderer.TestInlineMarkdown) ... ok
> test_inline_math (tests.test_renderer.TestInlineMarkdown) ... ok
> test_link (tests.test_renderer.TestInlineMarkdown) ... ok
> test_link_title (tests.test_renderer.TestInlineMarkdown) ... ok
> test_link_with_rel_link_enabled (tests.test_renderer.TestInlineMarkdown) ... 
> ok
> test_relative_link (tests.test_renderer.TestInlineMarkdown) ... ok
> test_relative_link_with_anchor (tests.test_renderer.TestInlineMarkdown) ... ok
> test_rest2_role_with_code (tests.test_renderer.TestInlineMarkdown) ... ok
> test_rest_link (tests.test_renderer.TestInlineMarkdown) ... ok
> test_rest_link_and_role (tests.test_renderer.TestInlineMarkdown) ... ok
> test_rest_link_and_role2 (tests.test_renderer.TestInlineMarkdown) ... ok
> test_rest_link_with_code (tests.test_renderer.TestInlineMarkdown) ... ok
> test_rest_role (tests.test_renderer.TestInlineMarkdown) ... ok
> test_rest_role2 (tests.test_renderer.TestInlineMarkdown) ... ok
> test_rest_role_incomplete (tests.test_renderer.TestInlineMarkdown) ... ok
> test_rest_role_incomplete2 (tests.test_renderer.TestInlineMarkdown) ... ok
> test_rest_role_with_code (tests.test_renderer.TestInlineMarkdown) ... ok
> test_strikethrough (tests.test_renderer.TestInlineMarkdown) ... ok
> test_nested_mixed_1 (tests.test_renderer.TestList) ... ok
> test_nested_multiline_1 (tests.test_renderer.TestList) ... ok
> test_nested_multiline_2 (tests.test_renderer.TestList) ... ok
> test_nested_multiline_3 (tests.test_renderer.TestList) ... ok
> test_nested_ol (tests.test_renderer.TestList) ... ok
> test_nested_ol_2 (tests.test_renderer.TestList) ... ok
> test_nested_ul (tests.test_renderer.TestList) ... ok
> test_nested_ul_2 (tests.test_renderer.TestList) ... ok
> test_ol (tests.test_renderer.TestList) ... ok
> test_ul (tests.test_renderer.TestList) ... ok
> test_eol_marker (tests.test_renderer.TestRestCode) ... ok
> test_eol_marker_remove (tests.test_renderer.TestRestCode) ... ok
> test_rest_code_block_empty (tests.test_renderer.TestRestCode) ... ok
> test_table (tests.test_renderer.TestTable) ... ok
> 
> ======================================================================
> FAIL: test_no_file (tests.test_cli.TestConvert)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/test_cli.py", line 61, in test_no_file
>     self.assertIn('optional arguments:', message)
> AssertionError: 'optional arguments:' not found in 'usage: m2r.py [-h] 
> [--overwrite] [--dry-run] [--no-underscore-emphasis]\n              
> [--parse-relative-links] [--anonymous-references]\n              
> [--disable-inline-math]\n              [input_file ...]\n\npositional 
> arguments:\n  input_file            files to convert to reST 
> format\n\noptions:\n  -h, --help            show this help message and exit\n 
>  --overwrite           overwrite output file without confirmaion\n  --dry-run 
>             print conversion result and not save output file\n  
> --no-underscore-emphasis\n                        do not use underscore (_) 
> for emphasis\n  --parse-relative-links\n                        parse 
> relative links into ref or doc directives\n  --anonymous-references\n         
>                use anonymous references in generated rst\n  
> --disable-inline-math\n                        disable parsing inline math\n'
> 
> ----------------------------------------------------------------------
> Ran 85 tests in 0.417s
> 
> FAILED (failures=1, skipped=1)
> Test failed: <unittest.runner.TextTestResult run=85 errors=0 failures=1>
> error: Test failed: <unittest.runner.TextTestResult run=85 errors=0 
> failures=1>
> E: pybuild pybuild:369: test: plugin distutils failed with: exit code=1: 
> python3.10 setup.py test 
> dh_auto_test: error: pybuild --test -i python{version} -p 3.10 returned exit 
> code 13


The full build log is available from:
http://qa-logs.debian.net/2022/04/12/python-m2r_0.2.1-7_unstable.log

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

Reply via email to