[zigbee2mqtt] 1.29 upstream breaks arm support

Problems with packages? Post here, using [tags] of the package name.

[zigbee2mqtt] 1.29 upstream breaks arm support

Postby Sjon » Thu Feb 16, 2023 9:18 am

Starting with 1.29.0, the archlinux PKGBUILD strips arm support from the node_modules (https://github.com/archlinux/svntogit-c ... k/PKGBUILD) shipped with zigbee2mqtt. This breaks zigbee2mqtt in a pretty subtle way, for me it fails with:

$this->bbcode_second_pass_code('', '
Zigbee2MQTT:error 2023-02-16 09:50:51: Error: No native build was found for platform=linux arch=arm64 runtime=node abi=108 uv=1 armv=8 libc=glibc node=18.14.0
loaded from: /usr/share/webapps/zigbee2mqtt/node_modules/@serialport/bindings-cpp
at Function.load.resolve.load.path (/usr/share/webapps/zigbee2mqtt/node_modules/node-gyp-build/node-gyp-build.js:60:9)
at load (/usr/share/webapps/zigbee2mqtt/node_modules/node-gyp-build/node-gyp-build.js:22:30)
at Object.<anonymous> (/usr/share/webapps/zigbee2mqtt/node_modules/@serialport/bindings-cpp/dist/load-bindings.js:11:46)
')

I'm pretty sure the PKGBUILD needs to be customized for arm support to work again. This might also be fixed upstream, by replacing the static list of stuff to remove with a dynamic list based on the target ARCH
Sjon
 
Posts: 2
Joined: Thu Feb 16, 2023 9:16 am

Return to Packages

Who is online

Users browsing this forum: No registered users and 14 guests