Package: sphinx-common
Version: 7.2.6-3
Severity: normal

I'm trying to run dh_sphinxdoc on new docs generated for lammps.
But dh_sphinxdoc fails:

$ dh_sphinxdoc
dh_sphinxdoc: error: debian/lammps-doc/usr/share/doc/lammps/html/search.html 
does not load searchindex.js

with exit code 255.

Well no kidding, search.html really does not reference searchindex.js.
Why is this causing dh_sphinxdoc to fail?  dh_sphinxdoc should be
replacing existing .js references in the html files, not complaining
about ones which are not there.

Adding an -Xsearch.html option does not fix the problem.



-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-5-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sphinx-common depends on:
ii  libjs-sphinxdoc  7.2.6-3
ii  libjson-perl     4.10000-1
ii  perl             5.36.0-10

Versions of packages sphinx-common recommends:
ii  python3-sphinx  7.2.6-3

sphinx-common suggests no packages.

-- no debconf information

Reply via email to