[pkg-go] Bug#872206: restic: broken symlinks: /usr/share/doc/restic/_static/*/* -> ../../../../sphinx_rtd_theme/*/*

Andreas Beckmann anbe at debian.org
Sun Jul 4 09:50:37 BST 2021


Followup-For: Bug #872206

Hi,

there are still broken symlinks:

0m14.2s ERROR: FAIL: Broken symlinks:
  /usr/share/doc/restic/html/_static/doctools.js -> ../../../../javascript/sphinx-doc/html/_static/doctools.js (restic)
  /usr/share/doc/restic/html/_static/fonts/Lato-Bold.ttf -> ../../../../../sphinx_rtd_theme/static/fonts/Lato-Bold.ttf (restic)
  /usr/share/doc/restic/html/_static/fonts/Lato-BoldItalic.ttf -> ../../../../../sphinx_rtd_theme/static/fonts/Lato-BoldItalic.ttf (restic)
  /usr/share/doc/restic/html/_static/fonts/Lato-Italic.ttf -> ../../../../../sphinx_rtd_theme/static/fonts/Lato-Italic.ttf (restic)
  /usr/share/doc/restic/html/_static/fonts/Lato-Regular.ttf -> ../../../../../sphinx_rtd_theme/static/fonts/Lato-Regular.ttf (restic)
  /usr/share/doc/restic/html/_static/fonts/fontawesome-webfont.ttf -> ../../../../../sphinx_rtd_theme/static/fonts/fontawesome-webfont.ttf (restic)
  /usr/share/doc/restic/html/_static/js/html5shiv-printshiv.min.js -> ../../../../../sphinx_rtd_theme/static/js/html5shiv-printshiv.min.js (restic)
  /usr/share/doc/restic/html/_static/js/html5shiv.min.js -> ../../../../../sphinx_rtd_theme/static/js/html5shiv.min.js (restic)
  /usr/share/doc/restic/html/_static/language_data.js -> ../../../../javascript/sphinx-doc/html/_static/language_data.js (restic)
  /usr/share/doc/restic/html/_static/searchtools.js -> ../../../../javascript/sphinx-doc/html/_static/searchtools.js (restic)

Some of the targets would be provided by sphinx-rtd-theme-common,
but most?/all? .js files are not located (any more?) at the
targeted location.

Theoretically you should be able to use the ${sphinxdoc:Depends}
substitution variable generated by sphinxdoc to get the correct
dependencies, but that does not seem to get populated for your
package. Perhaps you are calling sphinxdoc in some non-standard
way?

Andreas

PS: Also a 'Suggests: ${sphinxdoc:Depends}' would be fine if
it brings the correct dependencies.



More information about the Pkg-go-maintainers mailing list