Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 15625] New: nodejs build fails in installation phase when BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL is set
@ 2023-06-07 12:40 bugzilla
  2024-06-15 15:10 ` [Buildroot] [Bug 15625] " bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2023-06-07 12:40 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] [Bug 15625] nodejs build fails in installation phase when BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL is set
  2023-06-07 12:40 [Buildroot] [Bug 15625] New: nodejs build fails in installation phase when BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL is set bugzilla
@ 2024-06-15 15:10 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2024-06-15 15:10 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15625

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED
                 CC|                            |yann.morin.1998@free.fr

--- Comment #1 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

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] 2+ messages in thread

end of thread, other threads:[~2024-06-15 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-07 12:40 [Buildroot] [Bug 15625] New: nodejs build fails in installation phase when BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL is set bugzilla
2024-06-15 15:10 ` [Buildroot] [Bug 15625] " bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox