Le Tue, Nov 01, 2022 at 11:26:25AM +0100, Volker Schlecht a écrit :
>
> > currently nodejs port installs
> > /usr/local/share/node/node-v16.17.1-headers.tar.xz but from my
> > understanding node-gyp expects the tar.gz one:
>
> Correct. We're patching the the fallback path to the .tar.gz into
> /usr/local/lib/node_modules/node-gyp/lib/install.js - otherwise node-gyp
> would attend to download the tarball.
>
> I overlooked that when changing to .tar.xz.
>
> Apparently node-tar only handles gzipped tarballs, so the proper way forward
> is to change back to installing the .tar.gz
>
> Patch is attached, could you have a look and see if that fixes the issue?
it fixes the node-gyp issue i was seeing with swig tests, thanks -
commited.
Landry
No comments:
Post a Comment