[Buildroot] [PATCH] package/nodejs/nodejs-src: remove .node files with different architecture

Yann E. MORIN yann.morin.1998 at free.fr
Tue Nov 7 16:15:39 UTC 2023


Giulio, All,

On 2023-11-05 15:27 +0100, Giulio Benetti spake thusly:
> On 03/11/23 22:21, Yann E. MORIN wrote:
> >Oh, I was just walking the "npm is a mess anyway, just ignore anything
> >from it, we don't care" road. If we take this stance, then
> >_BIN_ARCH_EXCLUDE is a trivial way to avoid the check-bin-arch issue.
[--SNIP--]
> Since npm rebuilding is not that easy and fast to deal with I've just sent
> this patch to temporary exclude the /usr/lib/node_modules folder
> as you've suggested(forgotten to add "Suggested-by: Yann E. MORIN
> <yann.morin.1998 at free.fr>").
> 
> Later I hope to find time to deal with npm rebuilding.

I think tht it might in fact be what we're doing already, as we use:
    npm_config_build_from_source=true

in the environment when we call npm.

However, I was not able to find any reference to those options... :-/

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list