Bug 14936 - nodejs does not build
Summary: nodejs does not build
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-31 12:57 UTC by htenberge
Modified: 2022-10-25 20:20 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.