Bug#1042690: ceres-solver: FTBFS with Sphinx 7.1, docutils 0.20: rm: cannot remove '/<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/Ceres/html/_static/jquery.js': No such file or directory
Pierre Gruet
pgt at debian.org
Mon Aug 7 13:54:11 BST 2023
Control: tags -1 pending confirmed
Hi,
On Sun, 30 Jul 2023 20:27:51 +0200 Lucas Nussbaum <lucas at debian.org> wrote:
> Source: ceres-solver
> Version: 2.1.0+really2.1.0+dfsg-1
> Severity: important
> Tags: ftbfs
> User: python-modules-team at lists.alioth.debian.org
> Usertags: sphinx7.1
>
> Hi,
>
> ceres-solver fails to build with Sphinx 7.1 and docutils 0.20, both
of which
> are currently available in experimental.
>
> Relevant part (hopefully):
> > make[1]: Entering directory '/<<PKGBUILDDIR>>'
> > # make lintian happy
> > # https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0 ->
/usr/share/javascript/mathjax
> > sed -i
's/https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/mathjax\/2.7.1/\/usr\/share\/javascript\/mathjax/g'
/<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/Ceres/html/*.html
> > sed -i 's/https:\/\/cdn.jsdelivr.net//g'
/<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/Ceres/html/*.html
> > rm
/<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/Ceres/html/_static/doctools.js
> > ln -s /usr/share/javascript/sphinxdoc/1.0/doctools.js
/<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/Ceres/html/_static/doctools.js
> > rm
/<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/Ceres/html/_static/jquery.js
> > rm: cannot remove
'/<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/Ceres/html/_static/jquery.js':
No such file or directory
> > make[1]: *** [debian/rules:83: override_dh_installdocs-indep] Error 1
>
>
> The full build log is available from:
>
http://qa-logs.debian.net/2023/07/30/exp/ceres-solver_2.1.0+really2.1.0+dfsg-1_unstable_sphinx-exp.log
>
> Please see [1] for Sphinx changelog and [2] for Docutils changelog.
>
> Also see [3] for the list of deprecated/removed APIs in Sphinx and
possible
> alternatives to them.
>
> Some notable changes in Sphinx 6 and Sphinx 7:
>
> - Sphinx no longer includes jquery.js and underscore.js by default.
> Please use python3-sphinxcontrib.jquery package if you are using a custom
> template and it still needs jquery.
>
> - The setup.py build_sphinx command was removed. Please instead call
> sphinx-build or "python3 -m sphinx" directly.
>
> - For packages using the extlinks extension, the caption should contain
> exactly one "%s" placeholder (if caption is not None).
>
> In case you have questions, please Cc sphinx at packages.debian.org on
reply.
>
> [1]: https://www.sphinx-doc.org/en/master/changes.html
> [2]:
https://repo.or.cz/docutils.git/blob/refs/tags/docutils-0.20.1:/RELEASE-NOTES.txt
> [3]:
https://www.sphinx-doc.org/en/master/extdev/deprecated.html#dev-deprecated-apis
>
> All bugs filed during this archive rebuild are listed at:
>
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=sphinx7.1;users=python-modules-team@lists.alioth.debian.org
> or:
>
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=sphinx7.1&fusertaguser=python-modules-team@lists.alioth.debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
>
> 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
>
>
This is corrected by removing some creations of symlinks in d/rules,
pushed to Salsa.
Cheers,
--
Pierre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20230807/2d430ac0/attachment.sig>
More information about the debian-science-maintainers
mailing list