Bug#973198: sphinxcontrib-bibtex: FTBFS: dh_auto_test: error: pybuild --test --test-nose -i python{version} -p "3.9 3.8" returned exit code 13

Lucas Nussbaum lucas at debian.org
Tue Oct 27 17:21:19 GMT 2020


Source: sphinxcontrib-bibtex
Version: 1.0.0-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201027 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> sphinx-build -b html -d _build/doctrees   . _build/html
> Running Sphinx v3.2.1
> making output directory... done
> loading intersphinx inventory from /usr/share/doc/python3-doc/html/objects.inv...
> loading intersphinx inventory from /usr/share/doc/sphinx-doc/html/objects.inv...
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 13 source files that are out of date
> updating environment: [new config] 13 added, 0 changed, 0 removed
> reading sources... [  7%] api
> reading sources... [ 15%] api/cache
> reading sources... [ 23%] api/directives
> reading sources... [ 30%] api/interface
> reading sources... [ 38%] api/nodes
> reading sources... [ 46%] api/roles
> reading sources... [ 53%] api/transforms
> reading sources... [ 61%] changes
> reading sources... [ 69%] index
> reading sources... [ 76%] license
> reading sources... [ 84%] quickstart
> reading sources... [ 92%] related
> reading sources... [100%] usage
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [  7%] api
> writing output... [ 15%] api/cache
> writing output... [ 23%] api/directives
> writing output... [ 30%] api/interface
> writing output... [ 38%] api/nodes
> writing output... [ 46%] api/roles
> writing output... [ 53%] api/transforms
> writing output... [ 61%] changes
> writing output... [ 69%] index
> writing output... [ 76%] license
> writing output... [ 84%] quickstart
> writing output... [ 92%] related
> writing output... [100%] usage
> 
> generating indices...  genindex py-modindexdone
> highlighting module code... [ 16%] sphinxcontrib.bibtex
> highlighting module code... [ 33%] sphinxcontrib.bibtex.cache
> highlighting module code... [ 50%] sphinxcontrib.bibtex.directives
> highlighting module code... [ 66%] sphinxcontrib.bibtex.nodes
> highlighting module code... [ 83%] sphinxcontrib.bibtex.roles
> highlighting module code... [100%] sphinxcontrib.bibtex.transforms
> 
> writing additional pages...  searchdone
> 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 _build/html.
> 
> Build finished. The HTML pages are in _build/html.
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinxcontrib.bibtex/build; python3.9 -m nose -v test
> test_bibfile_out_of_date.test_bibfile_out_of_date ... ok
> test_bibfilenotfound.test_bibfilenotfound ... ok
> test_citationnotfound.test_citationnotfound ... ok
> test_custom_labels.test_custom_labels ... ok
> test_custom_style.test_custom_style ... ok
> test_filter.test_filter ... ok
> test_filter_fix_author_keyerror.test_filter_fix_author_keyerror ... ok
> test_filter_option_clash.test_filter_option_clash ... ok
> test_filter_syntax_error.test_filter_syntax_error ... ok
> test_invalid_cite_option.test_invalid_cite_option ... ok
> test_issue14.test_duplicate_label ... ok
> test_issue14_2.test_label_prefix ... ok
> test_issue15.test_duplicate_label ... ok
> test_issue17.test_sphinx_source_no_warning ... ok
> test_issue2.test_mixing_citation_styles ... ok
> test_issue4.test_encoding ... ERROR
> test_issue61.test_multiple_keys ... ok
> test_issue62.test_local_bibliographies ... ok
> test_issue77.test_issue77 ... ok
> test_issue85.test_issue77 ... ok
> test_issue87.test_issue87 ... ok
> test_issue91.test_issue91 ... ok
> test_issue_173.test_issue_173 ... ok
> test_latex_refs.test_latex_refs ... ok
> test_list_bullet.test_list_bullet ... ok
> test_list_citation.test_list_citation ... ok
> test_list_enumerated.test_list_enumerated ... ok
> test_list_invalid.test_list_invalid ... ok
> test_sphinx.test_sphinx ... ok
> 
> ======================================================================
> ERROR: test_issue4.test_encoding
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/usr/lib/python3/dist-packages/sphinx_testing/util.py", line 171, in decorator
>     return func(*(args + (app, status, warning)), **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinxcontrib.bibtex/build/test/test_issue4.py", line 22, in test_encoding
>     app.builder.build_all()
>   File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 260, in build_all
>     self.build(None, summary=__('all source files'), method='all')
>   File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 311, in build
>     updated_docnames = set(self.read())
>   File "/usr/lib/python3.9/contextlib.py", line 124, in __exit__
>     next(self.gen)
>   File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 213, in pending_warnings
>     memhandler.flushTo(logger)
>   File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 178, in flushTo
>     logger.handle(record)
>   File "/usr/lib/python3.9/logging/__init__.py", line 1587, in handle
>     self.callHandlers(record)
>   File "/usr/lib/python3.9/logging/__init__.py", line 1649, in callHandlers
>     hdlr.handle(record)
>   File "/usr/lib/python3.9/logging/__init__.py", line 944, in handle
>     rv = self.filter(record)
>   File "/usr/lib/python3.9/logging/__init__.py", line 802, in filter
>     result = f.filter(record)
>   File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 421, in filter
>     raise exc
> sphinx.errors.SphinxWarning: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinxcontrib.bibtex/build/test/issue4/index.rst:3:Error in "bibliography" directive:
> invalid option value: (option: "encoding"; value: 'latex+utf')
> unknown encoding: "latex+utf".
> 
> .. bibliography:: test.bib
>    :all:
>    :encoding: latex+utf
> 
> ----------------------------------------------------------------------
> Ran 29 tests in 4.592s
> 
> FAILED (errors=1)
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinxcontrib.bibtex/build; python3.9 -m nose -v test
> dh_auto_test: error: pybuild --test --test-nose -i python{version} -p "3.9 3.8" returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/10/27/sphinxcontrib-bibtex_1.0.0-1_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the debian-science-maintainers mailing list