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
signature.asc
Description: PGP signature