[Debian-astro-maintainers] Bug#1040536: cpl-plugin-amber-doc: missing Depends: ${sphinxdoc:Depends}

Andreas Beckmann anbe at debian.org
Fri Jul 7 13:10:33 BST 2023


Package: cpl-plugin-amber-doc
Version: 4.4.3+dfsg-1
Severity: normal
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package ships (or creates)
broken symlinks:

0m14.1s ERROR: FAIL: Broken symlinks:
  /usr/share/doc/cpl-plugin-amber/html/_static/doctools.js -> ../../../../javascript/sphinxdoc/1.0/doctools.js (cpl-plugin-amber-doc)
  /usr/share/doc/cpl-plugin-amber/html/_static/jquery.js -> ../../../../javascript/sphinxdoc/1.0/jquery.js (cpl-plugin-amber-doc)
  /usr/share/doc/cpl-plugin-amber/html/_static/language_data.js -> ../../../../javascript/sphinxdoc/1.0/language_data.js (cpl-plugin-amber-doc)
  /usr/share/doc/cpl-plugin-amber/html/_static/searchtools.js -> ../../../../javascript/sphinxdoc/1.0/searchtools.js (cpl-plugin-amber-doc)
  /usr/share/doc/cpl-plugin-amber/html/_static/underscore.js -> ../../../../javascript/sphinxdoc/1.0/underscore.js (cpl-plugin-amber-doc)

sphinxdoc provides the neccessary dependency in a substvar, but that is
currently not being used:

(from the buildlog:)
dpkg-gencontrol: warning: package cpl-plugin-amber-doc: substitution variable ${sphinxdoc:Built-Using} unused, but is defined
dpkg-gencontrol: warning: package cpl-plugin-amber-doc: substitution variable ${sphinxdoc:Depends} unused, but is defined

I'd suggest adding a Depends: ${sphinxdoc:Depends} (or at least a
Recommends:).


This bug seems to be present in all cpl-plugin-*-doc packages, but I'm
only filing this one for now.


cheers,

Andreas



More information about the Debian-astro-maintainers mailing list