[Debichem-devel] Bug#1042629: chemps2: FTBFS with Sphinx 7.1, docutils 0.20: rm: cannot remove 'underscore*.js': No such file or directory

Lucas Nussbaum lucas at debian.org
Sun Jul 30 19:27:54 BST 2023


Source: chemps2
Version: 1.8.12-1
Severity: important
Tags: ftbfs
User: python-modules-team at lists.alioth.debian.org
Usertags: sphinx7.1

Hi,

chemps2 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>>'
> # https://wiki.debian.org/Python/LibraryStyleGuide: info on sphinx-build
> PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -b html \
>                                                            -c obj-x86_64-linux-gnu/sphinx/ \
>                                                            -D html_theme=default \
>                                                            -D mathjax_path="/usr/share/javascript/mathjax/MathJax.js" sphinx/ build-sphinx/html
> Running Sphinx v7.1.1
> WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English).
> making output directory... done
> building [mo]: targets for 0 po files that are out of date
> writing output... 
> building [html]: targets for 13 source files that are out of date
> updating environment: [new config] 13 added, 0 changed, 0 removed
> reading sources... [  8%] caspt2
> reading sources... [ 15%] dmrgscf
> reading sources... [ 23%] dmrgscfcalcs
> reading sources... [ 31%] handson
> reading sources... [ 38%] index
> reading sources... [ 46%] inoutput
> reading sources... [ 54%] interfaces
> reading sources... [ 62%] matrixelements
> reading sources... [ 69%] method
> reading sources... [ 77%] publications
> reading sources... [ 85%] resources
> reading sources... [ 92%] sourcecode
> reading sources... [100%] symmetry
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> copying assets... copying static files... done
> copying extra files... done
> done
> writing output... [  8%] caspt2
> writing output... [ 15%] dmrgscf
> writing output... [ 23%] dmrgscfcalcs
> writing output... [ 31%] handson
> writing output... [ 38%] index
> writing output... [ 46%] inoutput
> writing output... [ 54%] interfaces
> writing output... [ 62%] matrixelements
> writing output... [ 69%] method
> writing output... [ 77%] publications
> writing output... [ 85%] resources
> writing output... [ 92%] sourcecode
> writing output... [100%] symmetry
> 
> generating indices... genindex done
> highlighting module code... 
> writing additional pages... search done
> copying images... [ 12%] handson_orbitals.png
> copying images... [ 25%] handson_comparison.png
> copying images... [ 38%] ExtrapolationN2reorder.png
> copying images... [ 50%] Comparison.png
> copying images... [ 62%] ComparisonN2.png
> copying images... [ 75%] polyene_scaling.png
> copying images... [ 88%] single_node_h2o.png
> copying images... [100%] multi_node_h2o.png
> 
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 1 warning.
> 
> The HTML pages are in build-sphinx/html.
> # I know it's ugly, but sphinx splits strings at equality signs: http://svn.python.org/projects/doctools/trunk/sphinx/cmdline.py
> cd build-sphinx/html && sed -i "s/MathJax.js/MathJax.js?config=TeX-AMS-MML_HTMLorMML/" *.html
> # Solving the complaints from lintian about jquery.js & underscore.js
> cd build-sphinx/html && sed -i "s/_static\/jquery.js/\/usr\/share\/javascript\/jquery\/jquery.js/" *.html
> cd build-sphinx/html && sed -i "s/_static\/underscore.js/\/usr\/share\/javascript\/underscore\/underscore.js/" *.html
> cd build-sphinx/html/_static && rm jquery*.js underscore*.js
> rm: cannot remove 'jquery*.js': No such file or directory
> rm: cannot remove 'underscore*.js': No such file or directory
> make[1]: *** [debian/rules:35: execute_after_dh_auto_build-indep] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/07/30/exp/chemps2_1.8.12-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



More information about the Debichem-devel mailing list