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

vimer tsu.yubo at gmail.com
Thu Mar 10 08:20:31 GMT 2022


Hi,
On Thu, Mar 10, 2022 at 09:00:10AM +0100, Jérémy Lal wrote:
>   On Thu, Mar 10, 2022 at 8:56 AM Yadd <[1]yadd at debian.org> wrote:
>
>     On 10/03/2022 08:19, vimer wrote:
>     > Hi,
>     > According to [2]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
>     > [3]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
Ok, will do. Thanks all,
BR,
vimer
>
>References
>
>   1. mailto:yadd at debian.org
>   2. https://github.com/nodejs/build/issues/2876
>   3. https://salsa.debian.org/js-team/nodejs.git



More information about the Pkg-javascript-devel mailing list