Bug 14936

Summary: nodejs does not build
Product: buildroot Reporter: htenberge
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot, codehero
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description htenberge 2022-07-31 12:57:09 UTC
When building with 2022.05.1 for a Raspberry Pi (32 bit) I get the following error during the build:

ninja -C out/Release 
ninja: Entering directory `out/Release'
ninja: error: obj.host/tools/v8_gypfiles/run_torque.ninja:1271: multiple rules generate gen/torque-generated/bit-fields.h [-w dupbuild=err]

make[2]: *** [Makefile:127: node] Error 1
make[1]: *** [package/pkg-generic.mk:293: /home/harry/dev/ROPIEEE/ropieee-buildroot/build/nodejs-16.15.0/.stamp_built] Error 2
make: *** [Makefile:23: _all] Error 2

This issue (or similar is reported here as well: 

https://github.com/nodejs/node/issues/37441


However, the fix does not work.
Comment 1 htenberge 2022-08-01 20:48:03 UTC
With 2022.02.x and the same .config the build works.
Comment 2 htenberge 2022-08-02 20:39:10 UTC
And here is another reference that might be related: https://github.com/nodejs/node/issues/36741
Comment 3 htenberge 2022-08-20 06:58:29 UTC
Any update on this? This also accounts for master.
Comment 4 Fabrice Fontaine 2022-08-23 20:57:59 UTC
This is none issue on nodejs side: https://github.com/nodejs/node/issues/37441 as spotted by Thomas in https://patchwork.ozlabs.org/project/buildroot/patch/20220809075704.86472-4-ardeleanalex@gmail.com/
Comment 5 Thomas Petazzoni 2022-10-25 20:20:44 UTC
This has been fixed in commit https://gitlab.com/buildroot.org/buildroot/-/commit/5708c5b04f09f49a99c2c9d7a1894d24bce6a3e7.