From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 15625] New: nodejs build fails in installation phase when BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL is set
Date: Wed, 07 Jun 2023 12:40:24 +0000 [thread overview]
Message-ID: <bug-15625-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=15625
Bug ID: 15625
Summary: nodejs build fails in installation phase when
BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL is set
Product: buildroot
Version: 2023.02
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned@buildroot.uclibc.org
Reporter: fesc2000@mailbox.org
CC: buildroot@uclibc.org
Target Milestone: ---
Created attachment 9607
--> https://bugs.busybox.net/attachment.cgi?id=9607&action=edit
patch for check-bin-arch to ignore nodejs files
My setup is buildroot2023.02, host OS is Ubuntu, target is linux i686 (32 bit).
I added some nodejs modules:
BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL="zigbee2mqtt lirc2mqtt"
Now when nodejs is being built check-bin-arch complains:
~~~
(...)
ERROR: architecture for
"/usr/lib/node_modules/zigbee2mqtt/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv6.node"
is "ARM", should be "Intel 80386"
ERROR: architecture for
"/usr/lib/node_modules/zigbee2mqtt/node_modules/@serialport/bindings-cpp/prebuilds/android-arm/node.napi.armv7.node"
is "ARM", should be "Intel 80386"
ERROR: architecture for
"/usr/lib/node_modules/zigbee2mqtt/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm/node.napi.armv7.node"
is "ARM", should be "Intel 80386"
ERROR: architecture for
"/usr/lib/node_modules/zigbee2mqtt/node_modules/@serialport/bindings-cpp/prebuilds/android-arm64/node.napi.armv8.node"
is "AArch64", should be "Intel 80386"
ERROR: architecture for
"/usr/lib/node_modules/zigbee2mqtt/node_modules/@serialport/bindings-cpp/prebuilds/linux-arm64/node.napi.armv8.node"
is "AArch64", should be "Intel 80386"
ERROR: architecture for
"/usr/lib/node_modules/zigbee2mqtt/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.glibc.node"
is "Advanced Micro Devices X86-64", should be "Intel 80386"
ERROR: architecture for
"/usr/lib/node_modules/zigbee2mqtt/node_modules/@serialport/bindings-cpp/prebuilds/linux-x64/node.napi.musl.node"
is "Advanced Micro Devices X86-64", should be "Intel 80386"
make[1]: *** [package/pkg-generic.mk:406:
/home/felix/ffritz/packages/x86/buildroot-2023.02_glibc230/build/output/build/nodejs-16.18.1/.stamp_installed]
Error 1
make: *** [Makefile:82: _all] Error 2
~~~
Just re-building works. My fix is to have check-bin-arch ignore these files,
see patch. I'm not sure if this is the proper approach.
--
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
next reply other threads:[~2023-06-07 12:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-07 12:40 bugzilla [this message]
2024-06-15 15:10 ` [Buildroot] [Bug 15625] nodejs build fails in installation phase when BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL is set bugzilla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-15625-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@uclibc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.