Bug#985659: petsc3.14-doc: broken symlinks: /usr/share/doc/petsc3.14-doc/html/_static/*.js -> ../../../../sphinx/themes/basic/static/*.js

Andreas Beckmann anbe at debian.org
Sun Mar 21 15:29:13 GMT 2021


Package: petsc3.14-doc
Version: 3.14.5+dfsg1-2
Severity: normal
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package ships (or creates)
a broken symlink.

>From the attached log (scroll to the bottom...):

1m13.5s ERROR: FAIL: Broken symlinks:
  /usr/share/doc/petsc3.14-doc/html/_static/underscore.js -> ../../../../sphinx/themes/basic/static/underscore.js (petsc3.14-doc)
  /usr/share/doc/petsc3.14-doc/html/_static/searchtools.js -> ../../../../sphinx/themes/basic/static/searchtools.js (petsc3.14-doc)
  /usr/share/doc/petsc3.14-doc/html/_static/jquery.js -> ../../../../sphinx/themes/basic/static/jquery.js (petsc3.14-doc)
  /usr/share/doc/petsc3.14-doc/html/_static/doctools.js -> ../../../../sphinx/themes/basic/static/doctools.js (petsc3.14-doc)

This should be fixable by adding a dependency on sphinx-common, which
should come automatically via some substvars. But in the build log I see

https://buildd.debian.org/status/fetch.php?pkg=petsc&arch=all&ver=3.14.5%2Bdfsg1-2&stamp=1615378365&raw=0

   debian/rules override_dh_gencontrol
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_gencontrol -- -VMPI:Depends="libopenmpi-dev (>= 4.1.0), libopenmpi-dev (<< 4.2)"
dpkg-gencontrol: warning: Depends field of package libpetsc3.14-dev-common: substitution variable ${sphinxdoc:Depends} used, but is not defined
dpkg-gencontrol: warning: Depends field of package petsc3.14-doc: substitution variable ${sphinxdoc:Depends} used, but is not defined
dpkg-gencontrol: warning: package petsc3.14-doc: substitution variable ${sphinxdoc:Built-Using} unused, but is defined
make[1]: Leaving directory '/<<PKGBUILDDIR>>'

i.e. sphinxdoc:Depends does not (no longer?) get populated.


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libpetsc3.14-dev-common_3.14.5+dfsg1-2.log.gz
Type: application/gzip
Size: 23211 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20210321/795f1b1c/attachment-0001.gz>


More information about the debian-science-maintainers mailing list