* [Buildroot] [Bug 15823] New: Installing nodejs modules with native extensions fails on first run
@ 2023-10-25 20:38 bugzilla
2023-10-25 20:43 ` [Buildroot] [Bug 15823] " bugzilla
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: bugzilla @ 2023-10-25 20:38 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15823
Bug ID: 15823
Summary: Installing nodejs modules with native extensions fails
on first run
Product: buildroot
Version: 2023.08.2
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned@buildroot.uclibc.org
Reporter: marcus.hoffmann@othermo.de
CC: buildroot@uclibc.org
Target Milestone: ---
I'm building the the raspberrypi4_64_defconfig with the following
changes/additions:
```
BR2_CCACHE=y
BR2_PACKAGE_NODEJS=y
BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL="serialport"
BR2_TARGET_ROOTFS_EXT2_SIZE="300M"
```
This fails during the first run with the following errors:
```
ERROR: architecture for
"/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv6.node"
is "ARM", should be "AArch64"
ERROR: architecture for
"/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/android-arm/node.napi.armv7.node"
is "ARM", should be "AArch64"
ERROR: architecture for
"/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node"
is "ARM", should be "AArch64"
ERROR: architecture for
"/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.glibc.node"
is "Advanced Micro Devices X86-64", should be "AArch64"
ERROR: architecture for
"/usr/lib/node_modules/node-red-node-serialport/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.musl.node"
is "Advanced Micro Devices X86-64", should be "AArch64"
make[1]: *** [package/pkg-generic.mk:406:
/home/marcus/repos/buildroot-upstream/output/build/nodejs-16.20.0/.stamp_installed]
Error 1
```
On a second invocation of make, it then succeeds to build. I have not yet
runtime testing if the serialport library actually works.
As discussed on IRC just now, there was a discussion about this issue on this
patch already:
https://patchwork.ozlabs.org/project/buildroot/patch/20190531075800.7064-1-vcrini@gmail.com/
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 15823] Installing nodejs modules with native extensions fails on first run
2023-10-25 20:38 [Buildroot] [Bug 15823] New: Installing nodejs modules with native extensions fails on first run bugzilla
@ 2023-10-25 20:43 ` bugzilla
2023-10-27 10:43 ` bugzilla
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla @ 2023-10-25 20:43 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15823
Giulio Benetti <giulio.benetti@benettiengineering.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned@buildroot.uclibc |giulio.benetti@benettiengin
|.org |eering.com
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 15823] Installing nodejs modules with native extensions fails on first run
2023-10-25 20:38 [Buildroot] [Bug 15823] New: Installing nodejs modules with native extensions fails on first run bugzilla
2023-10-25 20:43 ` [Buildroot] [Bug 15823] " bugzilla
@ 2023-10-27 10:43 ` bugzilla
2023-10-31 12:09 ` bugzilla
2023-11-07 21:44 ` bugzilla
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla @ 2023-10-27 10:43 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15823
--- Comment #1 from Marcus Hoffmann <marcus.hoffmann@othermo.de> ---
To clarify: this is happening on the 2023.08.2 release tag, i.e.
fe50c054bce7fb9b2e073b9c1bc78dd8a187289a.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 15823] Installing nodejs modules with native extensions fails on first run
2023-10-25 20:38 [Buildroot] [Bug 15823] New: Installing nodejs modules with native extensions fails on first run bugzilla
2023-10-25 20:43 ` [Buildroot] [Bug 15823] " bugzilla
2023-10-27 10:43 ` bugzilla
@ 2023-10-31 12:09 ` bugzilla
2023-11-07 21:44 ` bugzilla
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla @ 2023-10-31 12:09 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15823
--- Comment #2 from Giulio Benetti <giulio.benetti@benettiengineering.com> ---
Hi Marcus,
can you please give a try to this [0] pending patch?
[0]:
https://patchwork.ozlabs.org/project/buildroot/patch/20231031120713.678783-1-giulio.benetti@benettiengineering.com/
Thank you
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 15823] Installing nodejs modules with native extensions fails on first run
2023-10-25 20:38 [Buildroot] [Bug 15823] New: Installing nodejs modules with native extensions fails on first run bugzilla
` (2 preceding siblings ...)
2023-10-31 12:09 ` bugzilla
@ 2023-11-07 21:44 ` bugzilla
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla @ 2023-11-07 21:44 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15823
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
CC| |yann.morin.1998@free.fr
--- Comment #3 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Marcus, All,
Thanks for the report. We believe it has now been fixed with commit:
cbc5691ab298 package/nodejs/nodejs-src: fix arch check on additional
modules
If you stil have issues, please open a new bug.
Regards,
Yann E. MORIN.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-11-07 21:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-25 20:38 [Buildroot] [Bug 15823] New: Installing nodejs modules with native extensions fails on first run bugzilla
2023-10-25 20:43 ` [Buildroot] [Bug 15823] " bugzilla
2023-10-27 10:43 ` bugzilla
2023-10-31 12:09 ` bugzilla
2023-11-07 21:44 ` bugzilla
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.