[Pkg-javascript-devel] Help: nodejs 16 need node-acorn source to break bootstrapping loop

Jérémy Lal kapouer at melix.org
Wed Dec 1 12:01:10 GMT 2021


Hi,

To work around the bootstrapping issue that is posed by the huge loop
of build-dependencies:
nodejs -> node-acorn -> rollup -> zillion things -> nodejs,
it is possible to make a stage 1 nodejs build that loads node-acorn
*source* files,
instead of the compiled ones.

However, to do that, I wonder what's the best option:
- a new node-acorn-source provides /usr/share/nodejs/node-acorn/src/
and "stage 1 nodejs" depends on it ?
- nodejs source stops dfsg-excluding all of node-acorn from its tarball,
keeps only
the source files and install them for the runtime ? not possible, nodejs
tarball
only includes the built node-acorn files.
- nodejs adds a uscan component to get node-acorn source ?

NB: likewise for node-acorn-walk

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


More information about the Pkg-javascript-devel mailing list