[Pkg-javascript-devel] Bug#921625: Bug#921625: node-gyp install fails

Jérémy Lal kapouer at melix.org
Thu Feb 7 13:43:20 GMT 2019


Le jeu. 7 févr. 2019 à 14:28, tpikonen <tpikonen at gmail.com> a écrit :

>
>
> On Thu, Feb 7, 2019 at 3:09 PM, Jérémy Lal <kapouer at melix.org> wrote:
> > It's fair to expect this to work, however you're supposed to get your
> > nodejs headers
> > from libnode-dev package, not by downloading them.
> > (still, i recognize it shouldn't fail).
>
> That's true.
>
> BTW, local npm installs seem to fail here (on i386) with anything
> needing node-gyp, like 'npm install node-stringprep':
>
> -*-
>
> $ npm install node-stringprep
>
>  > node-stringprep at 0.8.0 install
> /home/tpikonen/node_modules/node-stringprep
>  > node-gyp rebuild
>
> Segmentation fault
>
> -*-
>
> This is probably a different bug though.
>
> > I believe node on i686 is not supported and will segfault.
>
> Do you mean node-gyp? At least nodejs.org offers x86 downloads of node
> itself.
>

No, i meant nodejs.
The debian package of nodejs, to be able to run on i686, need SSE2 (at
least)
which wasn't in the default set of features for the debian i386 port (last
time i checked),
and the v8 x87 port that would have allowed that has been abandonned
upstream
some years ago.
Upstream nodejs is certainly using the "correct set of requirements", which
unfortunately
does not always match the "set of features" of a given debian port.
What exact CPU you're using might give more or less good results...

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


More information about the Pkg-javascript-devel mailing list