[Python-modules-team] Bug#712426: /usr/bin/dh_sphinxdoc: dh_sphinxdoc: fails with "unknown JavaScript code"

Hideki Yamane henrich at iijmio-mail.jp
Sat Jul 28 08:30:16 BST 2018


Hi,

On Sat, 15 Jun 2013 14:26:26 -0700 Nikolaus Rath <Nikolaus at rath.org> wrote:
> For the s3ql-beta package (not yet uploaded), dh_sphinxdoc fails with:
> 
>    dh_installdocs
>       dh_sphinxdoc
>       dh_sphinxdoc: error: unknown JavaScript code:
>       debian/s3ql-beta/usr/share/doc/s3ql-beta/html/_static/jquery.js
>       make: *** [binary] Error 255

 Now I'm trying to update debian-policy package, and got same error.

> make[1]: Leaving directory '/build/debian-policy-4.1.6.0'
>    dh_installdocs                                               
>    dh_sphinxdoc                                                                                                                                                                              
> dh_sphinxdoc: error: unknown JavaScript code: debian/debian-policy/usr/share/doc/debian-policy/policy.html/_static/searchtools.js                                                            
> make: *** [debian/rules:4: binary] Error 255
> dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
> I: copying local configuration                            
> E: Failed autobuilding of package

 The reason why I got this is I used "sphinx-build -b html", instead of
 broken "sphinx-build -M html". -b option works correctly, and now I got
 error.

 It's debian/rules file is very simple

> #!/usr/bin/make -f
> 
> %:
>         dh $@ --with sphinxdoc

 Could you give me a suggestion, please?


-- 
Hideki Yamane <henrich at iijmio-mail.jp>



More information about the Python-modules-team mailing list