[Python-modules-team] Bug#955058: speedcrunch: FTBFS with Sphinx 2.4: Could not import extension qtkeyword (exception: No module named 'sphinxcontrib')

Felix Krull f_krull at gmx.de
Sat Mar 28 16:40:05 GMT 2020


I do have a question: this is caused by the qthelp builder being
deprecated and moved to sphinxcontrib (but with a shim in the main
package). Are there existing plans to package
https://github.com/sphinx-doc/sphinxcontrib-qthelp or do I need to
take care of it myself?

On Fri, 27 Mar 2020 at 15:57, Lucas Nussbaum <lucas at debian.org> wrote:
>
> Source: speedcrunch
> Version: 0.12.0-4
> Severity: important
> Tags: ftbfs
> User: python-modules-team at lists.alioth.debian.org
> Usertags: sphinx2.4
>
> Hi,
>
> speedcrunch fails to build with Sphinx 2.4, currently available in
> experimental.
>
> Relevant part (hopefully):
> > make[4]: Entering directory '/<<PKGBUILDDIR>>/build-docs'
> > [100%] Generating manual.qrc
> > Running Sphinx v2.4.3
> > loading translations [en_US]... not available for built-in messages
> >
> > Extension error:
> > Could not import extension qtkeyword (exception: No module named 'sphinxcontrib')
> > Building docs for en_US...
> > Traceback (most recent call last):
> >   File "/<<PKGBUILDDIR>>/doc/src/doc-tool.py", line 208, in <module>
> >     main(sys.argv)
> >   File "/<<PKGBUILDDIR>>/doc/src/doc-tool.py", line 202, in main
> >     args.func(tools, args)
> >   File "/<<PKGBUILDDIR>>/doc/src/doc-tool.py", line 135, in build_bundled_docs
> >     build_docs(tools, args.source_dir, args.build_dir, lang,
> >   File "/<<PKGBUILDDIR>>/doc/src/doc-tool.py", line 77, in build_docs
> >     return tools.sphinx_build(*args)
> >   File "/<<PKGBUILDDIR>>/doc/src/doc-tool.py", line 52, in <lambda>
> >     return lambda *args: self.run_tool(name, *args)
> >   File "/<<PKGBUILDDIR>>/doc/src/doc-tool.py", line 49, in run_tool
> >     return subprocess.check_call(cmd)
> >   File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
> >     raise CalledProcessError(retcode, cmd)
> > subprocess.CalledProcessError: Command '['/usr/bin/sphinx-build', '/<<PKGBUILDDIR>>/doc/src', '/<<PKGBUILDDIR>>/build-docs/en_US', '-b', 'qthelp2', '-D', 'qthelp_basename=manual-en_US', '-D', 'language=en_US', '-t', 'sc_bundled_docs']' returned non-zero exit status 2.
> > make[4]: *** [CMakeFiles/manual.dir/build.make:90: manual.qrc] Error 1
>
> The full build log is available from:
>    http://qa-logs.debian.net/2020/03/26/speedcrunch_0.12.0-4_unstable_sphinx243.log
>
> Please see [1] for Sphinx changelog, which may give a hint of what changes in
> Sphinx caused this error.
>
> Also see [2] for the list of deprecated/removed APIs and possible alternatives
> to them.
>
> Sphinx 2.4 is going to be uploaded to unstable in a couple of weeks. When that
> happens, the severity of this bug will be bumped to serious.
>
> In case you have questions, please Cc sphinx at packages.debian.org on reply.
>
> [1]: https://www.sphinx-doc.org/en/2.0/changes.html
> [2]: https://www.sphinx-doc.org/en/2.0/extdev/deprecated.html#dev-deprecated-apis
>
> 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 Python-modules-team mailing list