[Python-modules-team] Bug#857510: wand-doc, sphinx: broken symlink: /usr/share/doc/wand-doc/html/_static/websupport.js -> ../../../../javascript/sphinxdoc/1.0/websupport.js

Dmitry Shachnev mitya57 at debian.org
Wed Mar 15 10:33:06 UTC 2017


Control: reassign -1 wand-doc 0.4.4-1.1
Control: tags -1 +patch

Hi Andreas,

On Sun, Mar 12, 2017 at 04:06:37AM +0100, Andreas Beckmann wrote:
> 0m21.5s ERROR: FAIL: Broken symlinks:
>   /usr/share/doc/wand-doc/html/_static/websupport.js -> ../../../../javascript/sphinxdoc/1.0/websupport.js
>
> There is no .../javascript/sphinxdoc/1.0/websupport.js in
> libjs-sphinxdoc ...
> therefore assigning the bug to both wand and sphinx.
>
> I have *not* looked at the wand source package to determine whether
> wand or sphinx is responsible for the broken symlink.

This package is not using dh_sphinxdoc, but it is rather linking the files
manually (and wrongly), therefore it is not a bug in sphinx.

I am attaching a patch for wand to use dh_sphinxdoc, which fixes this issue.

The devhelp build is incomplete compared to HTML build (it lacks
searchindex.js), so in order to make dh_sphinxdoc recognize it, I needed
to do both HTML and devhelp builds.

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wand-dh_sphinxdoc.diff
Type: text/x-diff
Size: 2922 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20170315/5c73b126/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20170315/5c73b126/attachment.sig>


More information about the Python-modules-team mailing list