[Pkg-javascript-devel] Bug#900032: Help with a RC bug in one of my package
Paolo Greppi
paolo.greppi at libpf.com
Sat May 26 21:48:43 BST 2018
Il 26/05/2018 21:33, Bastien ROUCARIES ha scritto:
> Hi,
>
> I am clueless about #900032 ...
>
> I found a bug and pushed it due to build profile but the empty doc is strange
>
> It will be empty only on upgrade (install will create the symlink). I
> use dpkg-maintscript-helper so normally dir to symlink should work
>
> Bastien
>From what I can see, you want to install docs only for binary libjs-mocha and add a symlink for mocha, using dh_installdocs --link-doc
As per CAVEAT 1 in man dh_installdocs, since the previous version was built without this option, you enabled a "dir to symlink" migration by providing a "debian/package.maintscript" file:
https://salsa.debian.org/js-team/node-mocha/blob/master/debian/mocha.maintscript
According to https://codesearch.debian.net/search?q=link-doc, this has never been used for a node-* package before, so the pkg-javascript-devel list may not be right rigth place where to ask ..
As for me, I have no clue.
Is there a way you can test these dh_* wizardry manually so that you can check what's going on step by step ?
Alternatively, can you frop the 4.1.0+ds1-1 version and revert back to not using --link-doc ?
BTW I think there's something wrong with the repo:
debcheckout node-mocha
cd node-mocha
gbp buildpackage -us -uc
...
dpkg-source: error: cannot read node-mocha/debian/patches/0004-use-relative-path-in-doc.patch: No such file or directory
...
Paolo
More information about the Pkg-javascript-devel
mailing list