Bug#1013398: petsc: FTBFS with Sphinx 5.0, docutils 0.18: make[1]: *** [debian/rules:591: override_dh_sphinxdoc-indep] Error 255

Dmitry Shachnev mitya57 at debian.org
Sat Dec 3 10:52:07 GMT 2022


On Thu, Jun 23, 2022 at 08:43:43AM +0200, Lucas Nussbaum wrote:
> petsc fails to build with Sphinx 5.0 and docutils 0.18, both of which
> are currently available in experimental.
>
> Relevant part (hopefully):
> > make[1]: Entering directory '/<<PKGBUILDDIR>>'
> > # various js scripts provided with upstream source were built with a different sphinx version not recognized by dh_sphinxdoc
> > dh_sphinxdoc -i -Xjquery -Xsearchtools -Xunderscore -Xdoctools
> > unexpected end of string while parsing JSON string, at character offset 2 (before "ocnames:["community/...") at /usr/bin/dh_sphinxdoc line 245.
> > make[1]: *** [debian/rules:591: override_dh_sphinxdoc-indep] Error 255

This happens because petsc does not rebuild documentation from source,
but installs pre-built files provided by upstream.

dh_sphinxdoc only supports the current Sphinx version, not the old version
used by upstream. I recommend to rebuild the documentation from source.

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20221203/137800aa/attachment.sig>


More information about the debian-science-maintainers mailing list