[Pkg-javascript-devel] Bug#1057697: nodejs:please enable loong64

Jérémy Lal kapouer at melix.org
Sun Dec 10 22:58:07 GMT 2023


Le sam. 9 déc. 2023 à 16:27, Bo YU <tsu.yubo at gmail.com> a écrit :

> Source: nodejs
> Followup-For: Bug #1057697
> Version: 18.19.0+dfsg-6
> Tags: patch
>
> >>It seems we need to merge the patch[0] from #1054259 to finish the first
> >>stage for bootstraping nodejs on any arches if based on 18.19.0.
>
> >>From my side it's like this.
>
> >Right, I overlooked those patches - because I only read the first one,
> which was very wrong.
> >The actual fixes those patches were proposing are now applied.
>
> >However now I'm a bit worried that this is all in vain, because nodejs
> unconditionally requires cjs-module-lexer,
> >so one cannot execute anything without it (that wasn't the case when only
> acorn was an external builtin).
> ^
> (Copied txt from #1054259)
>
> To be honest, I do not understand the first patch from #1054259.
> Based on past bootstrap riscv64 experiences, I easily bootstrap nodejs
> for loong64 following the debian/README.source.
>
> Just for your convenience, I attach the debdiff for bootstrap nodejs for
> loong64 after finishing the first stage bootstrap.


Good news, the first stage build now works pretty well,
meaning it produces a nodejs binary that can be useful.
It even pass most of its testsuite, except of course everything that needs
- the command line repl (acorn)
- fetch (undici)
- commonjs modules (cjs-module-lexer)

It is on current master-18.x branch, and i double-checked it builds fine.

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


More information about the Pkg-javascript-devel mailing list