[Pkg-javascript-devel] nodejs-12 transition

Nilesh Patra npatra974 at gmail.com
Sat Jan 18 20:01:59 GMT 2020


On Sat, 18 Jan 2020 at 13:33, Jérémy Lal <kapouer at melix.org> wrote:

> Nilesh: how to you build node-nan ?
> Using
> gbp buildpackage -d experimental --extra-repository='deb
> http://httpredir.debian.org/debian experimental main'
> --build-dep-resolver=aspcud
> tests + autopkgtests are all right doing that.
>

Hi,
I used sbuild:
[1]: sbuild --extra-repository='deb http://deb.debian.org/debian
experimental main' --build-dep-resolver=aptitude

Directly using it returns the same log for me, i.e. test failures. These
are the steps I took:

* In node-gyp, pass in nodejs(>= 12) and libnode-dev(>= 12) in d/control.
Build it with the sbuild command[1] above [so as to ensure getting the deb
with nodejs-12]
* In node-nan, pass in nodejs(>= 12) in d/control and use the same command
with extra-package i.e.: [since node-gyp is a reverse-build-dep]

sbuild --extra-repository='deb http://deb.debian.org/debian experimental
main' --build-dep-resolver=aptitude
--extra-package='/home/nilesh/gyp/node-gyp_6.0.1-2_all.deb'

Does it not seem right to you? Or am I missing something?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200118/e34b1d22/attachment.html>


More information about the Pkg-javascript-devel mailing list