[Pkg-javascript-devel] help to port nodejs to Debian riscv

Jérémy Lal kapouer at melix.org
Thu Mar 10 08:00:10 GMT 2022


On Thu, Mar 10, 2022 at 8:56 AM Yadd <yadd at debian.org> wrote:

> On 10/03/2022 08:19, vimer wrote:
> > Hi,
> > According to https://github.com/nodejs/build/issues/2876, The nodejs
> > upstream seems have supported riscv64. I want to help port it to Debian
> > riscv
> > if possible.
> >
> > But I want to know workflow about porting.
> >
> > The nodejs released in Debian Bulleye sid is 12.22.9~dfsg-1, But nodejs
> > upstream version upon 16 or 17 can support riscv64. So, the question is:
> >
> > Need I gpb import nodejs-16 or 17 in current
> > https://salsa.debian.org/js-team/nodejs.git
> > or gpb import nodejs latest version from upstream?
>
> Hi,
>
> don't do that, updating nodejs requires a lot of job and node-16
> requires a newer libicu.
>

Indeed,
You will want to use nodejs 16 from the master-16.x branch.
(it is a gbp layout with master-16.x / upstream-16.x/pristine-tar branches)

>From that point, i suggest you setup a riscv64 vm and try to
git-buildpackage node 16 in it.
You will probably need to use the "build profiles" documented
in debian/README.source.

Also later today i'll push latest 16.x upstream release in that branch.

Feel free to ask more questions.

Jérémy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220310/50719d87/attachment.htm>


More information about the Pkg-javascript-devel mailing list