[Pkg-javascript-devel] Bug#1054259: Bug#1054259: Bug#1054259: nodejs: cannot bootstrap nodejs

Jonas Smedegaard jonas at jones.dk
Fri Oct 20 15:04:26 BST 2023


Quoting Jérémy Lal (2023-10-20 10:42:58)
> Le ven. 20 oct. 2023 à 10:33, Christopher Obbard <chris.obbard at collabora.com>
> a écrit :
> 
> > Control: retitle -1 nodejs: cannot bootstrap nodejs
> >
> > Hi Jérémy,
> >
> > On Fri, 2023-10-20 at 02:25 +0200, Jérémy Lal wrote:
> > > https://salsa.debian.org/js-team/nodejs/-/blob/master-
> > > 18.x/debian/README.source
> >
> > Thanks for your suggestion. I actually did follow those instructions to
> > attempt to build nodejs 18.13.0+dfsg1-1.
> >
> > For nodejs 16.15.1+dfsg-1 following those instructions bootstraps the
> > package
> > just fine, I think because the "externalized builtin" JS files are present
> > in
> > the packaging.
> >
> > I have attached the three patches to debian/ to get _something_ bootstrap
> > for
> > 18x but it still fails with the error "Cannot load externalized builtin"
> > when
> > trying to launch bootstrapped node.
> >
> 
> Maybe the README.source isn't clear enough.
> The node package built at first stage is just good enough to build the
> second stage.
> It is not feature-complete. Typically you can't run node REPL with it.
> Once you have first stage, you install the resulting deb, and use that as a
> build-dependency
> to build second stage (which is a normal build).

Perhaps updating that text to point the the Debian wiki page on staged
builds would be a helpful hint.

(on weak internet right now, so haven't checked if that is already done)


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20231020/050a3c78/attachment.sig>


More information about the Pkg-javascript-devel mailing list