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

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


On Thu, Mar 10, 2022 at 9:45 AM Jérémy Lal <kapouer at melix.org> wrote:

>
>
> On Thu, Mar 10, 2022 at 9:20 AM vimer <tsu.yubo at gmail.com> wrote:
>
>> 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
>>
>
> node 16.14.0 is available on master-16.x branch.
> Doing a local build right now.
> The documentation generator prints some errors, nothing to be alarmed of.
> This is the command i'm using for the build:
> sbuild -d experimental '--extra-repository=deb
> http://deb.debian.org/debian experimental main'
> --build-dep-resolver=aspcud
>

FYI the package has just been built fine on amd64.

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


More information about the Pkg-javascript-devel mailing list