Git Product home page Git Product logo

Comments (17)

gmarquezp avatar gmarquezp commented on May 31, 2024 1

I added make to the install, but then i have this error:

`2020-10-18T23:54:34.342Z Install : node-red-contrib-lgtv 1.1.0

2020-10-18T23:54:36.283Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix="~" --production [email protected]
2020-10-18T23:54:43.245Z [out]
2020-10-18T23:54:43.245Z [out] > [email protected] install /config/node-red/node_modules/bufferutil
2020-10-18T23:54:43.245Z [out] > node-gyp-build
2020-10-18T23:54:43.245Z [out]
2020-10-18T23:54:45.296Z [out] make: Entering directory '/config/node-red/node_modules/bufferutil/build'
2020-10-18T23:54:45.298Z [out] CC(target) Release/obj.target/bufferutil/src/bufferutil.o
2020-10-18T23:54:45.301Z [err] make: cc: No such file or directory
2020-10-18T23:54:45.301Z [err] make: *** [bufferutil.target.mk:105: Release/obj.target/bufferutil/src/bufferutil.o] Error 127
2020-10-18T23:54:45.302Z [out] make: Leaving directory '/config/node-red/node_modules/bufferutil/build'
2020-10-18T23:54:45.306Z [err] gyp
2020-10-18T23:54:45.307Z [err]
2020-10-18T23:54:45.307Z [err] ERR! build error
2020-10-18T23:54:45.307Z [err]
2020-10-18T23:54:45.309Z [err] gyp
2020-10-18T23:54:45.309Z [err]
2020-10-18T23:54:45.309Z [err] ERR! stack
2020-10-18T23:54:45.309Z [err] Error: make failed with exit code: 2
2020-10-18T23:54:45.309Z [err] gyp ERR!
2020-10-18T23:54:45.310Z [err] stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
2020-10-18T23:54:45.310Z [err] gyp ERR!
2020-10-18T23:54:45.310Z [err] stack at ChildProcess.emit (events.js:315:20)
2020-10-18T23:54:45.310Z [err] gyp ERR!
2020-10-18T23:54:45.310Z [err] stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
2020-10-18T23:54:45.311Z [err] gyp
2020-10-18T23:54:45.312Z [err] ERR! System Linux 4.19.127-v7l
2020-10-18T23:54:45.312Z [err] gyp
2020-10-18T23:54:45.312Z [err] ERR!
2020-10-18T23:54:45.312Z [err] command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2020-10-18T23:54:45.312Z [err] gyp ERR!
2020-10-18T23:54:45.313Z [err] cwd /config/node-red/node_modules/bufferutil
2020-10-18T23:54:45.313Z [err] gyp ERR!
2020-10-18T23:54:45.313Z [err] node -v v12.18.3
2020-10-18T23:54:45.313Z [err] gyp ERR!
2020-10-18T23:54:45.313Z [err] node-gyp -v v5.1.0
2020-10-18T23:54:45.313Z [err] gyp ERR! not ok
2020-10-18T23:54:45.314Z [err]
2020-10-18T23:54:45.620Z [err] npm
2020-10-18T23:54:45.620Z [err] ERR! code ELIFECYCLE
2020-10-18T23:54:45.621Z [err] npm
2020-10-18T23:54:45.621Z [err] ERR! errno 1
2020-10-18T23:54:45.631Z [err] npm
2020-10-18T23:54:45.631Z [err] ERR! [email protected] install: node-gyp-build
2020-10-18T23:54:45.631Z [err] npm ERR!
2020-10-18T23:54:45.631Z [err] Exit status 1
2020-10-18T23:54:45.631Z [err] npm
2020-10-18T23:54:45.631Z [err] ERR!
2020-10-18T23:54:45.631Z [err] npm
2020-10-18T23:54:45.632Z [err] ERR! Failed at the [email protected] install script.
2020-10-18T23:54:45.632Z [err] npm
2020-10-18T23:54:45.632Z [err] ERR! This is probably not a problem with npm. There is likely additional logging output above.
2020-10-18T23:54:45.649Z [err]
2020-10-18T23:54:45.649Z [err] npm ERR!
2020-10-18T23:54:45.650Z [err] A complete log of this run can be found in:
2020-10-18T23:54:45.650Z [err] npm ERR!
2020-10-18T23:54:45.650Z [err] /root/.npm/_logs/2020-10-18T23_54_45_636Z-debug.log
2020-10-18T23:54:45.662Z rc=1`

from node-red-contrib-lgtv.

gmarquezp avatar gmarquezp commented on May 31, 2024

You need to add make package to your installation

from node-red-contrib-lgtv.

TorbenEC avatar TorbenEC commented on May 31, 2024

I get the same error, after adding make package to my installation

from node-red-contrib-lgtv.

agracey avatar agracey commented on May 31, 2024

What version of nodejs are you using? I'm wondering if it might be missing headers from a more recent release.

I can't tell if this package is actually maintained or not, but I'm having the same issue

from node-red-contrib-lgtv.

gmarquezp avatar gmarquezp commented on May 31, 2024

from node-red-contrib-lgtv.

bubugian avatar bubugian commented on May 31, 2024

Unfortunately, same problem here on rpi4.
Node-RED 7.2.10
HassOS 4.17
Supervisor Version 2020.11.0
Docker Version 19.03.12

Sys rel 0.118.1
O.S. 4.19.127-v7l , armv7l
Python 3.8.6

2020-11-24T06:31:48.641Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production [email protected]
2020-11-24T06:31:55.776Z [out]
2020-11-24T06:31:55.776Z [out] > [email protected] install /config/node-red/node_modules/bufferutil
2020-11-24T06:31:55.776Z [out] > node-gyp-build
2020-11-24T06:31:55.776Z [out]
2020-11-24T06:31:57.831Z [out] make: Entering directory '/config/node-red/node_modules/bufferutil/build'
2020-11-24T06:31:57.832Z [out] CC(target) Release/obj.target/bufferutil/src/bufferutil.o
2020-11-24T06:31:57.837Z [err] make: cc: No such file or directory
2020-11-24T06:31:57.837Z [err] make: *** [bufferutil.target.mk:105: Release/obj.target/bufferutil/src/bufferutil.o] Error 127
2020-11-24T06:31:57.837Z [out] make: Leaving directory '/config/node-red/node_modules/bufferutil/build'
2020-11-24T06:31:57.840Z [err] gyp
2020-11-24T06:31:57.841Z [err]
2020-11-24T06:31:57.842Z [err] ERR! build error
2020-11-24T06:31:57.843Z [err] gyp
2020-11-24T06:31:57.843Z [err] ERR!
2020-11-24T06:31:57.843Z [err] stack
2020-11-24T06:31:57.843Z [err] Error: make failed with exit code: 2
2020-11-24T06:31:57.843Z [err] gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
2020-11-24T06:31:57.843Z [err] gyp
2020-11-24T06:31:57.844Z [err] ERR!
2020-11-24T06:31:57.844Z [err] stack at ChildProcess.emit (events.js:315:20)
2020-11-24T06:31:57.844Z [err] gyp
2020-11-24T06:31:57.844Z [err] ERR! stack
2020-11-24T06:31:57.844Z [err] at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
2020-11-24T06:31:57.845Z [err] gyp
2020-11-24T06:31:57.845Z [err] ERR! System Linux 4.19.127-v7l
2020-11-24T06:31:57.845Z [err] gyp
2020-11-24T06:31:57.845Z [err] ERR! command
2020-11-24T06:31:57.845Z [err] "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2020-11-24T06:31:57.845Z [err] gyp
2020-11-24T06:31:57.845Z [err] ERR!
2020-11-24T06:31:57.845Z [err] cwd /config/node-red/node_modules/bufferutil
2020-11-24T06:31:57.846Z [err] gyp ERR! node -v
2020-11-24T06:31:57.846Z [err] v12.18.4
2020-11-24T06:31:57.846Z [err] gyp
2020-11-24T06:31:57.846Z [err] ERR! node-gyp -v v5.1.0
2020-11-24T06:31:57.846Z [err] gyp ERR!
2020-11-24T06:31:57.846Z [err] not ok
2020-11-24T06:31:58.160Z [err] npm
2020-11-24T06:31:58.161Z [err] WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/xpc-connection):
2020-11-24T06:31:58.161Z [err] npm WARN notsup
2020-11-24T06:31:58.161Z [err] SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
2020-11-24T06:31:58.162Z [err]
2020-11-24T06:31:58.187Z [err] npm
2020-11-24T06:31:58.188Z [err] ERR! code ELIFECYCLE
2020-11-24T06:31:58.188Z [err] npm ERR!
2020-11-24T06:31:58.188Z [err] errno 1
2020-11-24T06:31:58.196Z [err] npm
2020-11-24T06:31:58.197Z [err] ERR! [email protected] install: node-gyp-build
2020-11-24T06:31:58.197Z [err] npm ERR!
2020-11-24T06:31:58.197Z [err] Exit status 1
2020-11-24T06:31:58.197Z [err] npm
2020-11-24T06:31:58.197Z [err] ERR!
2020-11-24T06:31:58.197Z [err] npm
2020-11-24T06:31:58.197Z [err] ERR!
2020-11-24T06:31:58.197Z [err] Failed at the [email protected] install script.
2020-11-24T06:31:58.197Z [err] npm ERR!
2020-11-24T06:31:58.198Z [err] This is probably not a problem with npm. There is likely additional logging output above.
2020-11-24T06:31:58.216Z [err]
2020-11-24T06:31:58.216Z [err] npm ERR! A complete log of this run can be found in:
2020-11-24T06:31:58.216Z [err] npm ERR!
2020-11-24T06:31:58.217Z [err] /root/.npm/_logs/2020-11-24T06_31_58_204Z-debug.log
2020-11-24T06:31:58.228Z rc=1

Any ideas ? Ciao !

from node-red-contrib-lgtv.

agracey avatar agracey commented on May 31, 2024

This is not my project but I'll try and debug this in the next few weeks since I've got a decent background in node.js. I think I just had an nvme fail on my "server" so I've got to figure that out first :(

What's especially weird to me is that you can install the package directly so it's something with how node-red does the plugin build.

from node-red-contrib-lgtv.

agracey avatar agracey commented on May 31, 2024

I think it might actually just be an issue with not wanting to run as root. Try running node-red as a non-root user and installing the plugin

from node-red-contrib-lgtv.

gmarquezp avatar gmarquezp commented on May 31, 2024

from node-red-contrib-lgtv.

gmarquezp avatar gmarquezp commented on May 31, 2024

I added make and gcc to the packages to be loaded at startup on HASSIO. (Previosly only make package added)

The error changed:
2020-11-29T21:51:13.943Z Install : node-red-contrib-lgtv 1.1.0

2020-11-29T21:51:14.243Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production [email protected]
2020-11-29T21:51:21.284Z [out]
2020-11-29T21:51:21.284Z [out] > [email protected] install /config/node-red/node_modules/bufferutil
2020-11-29T21:51:21.284Z [out] > node-gyp-build
2020-11-29T21:51:21.284Z [out]
2020-11-29T21:51:23.383Z [out] make: Entering directory '/config/node-red/node_modules/bufferutil/build'
2020-11-29T21:51:23.384Z [out] CC(target) Release/obj.target/bufferutil/src/bufferutil.o
2020-11-29T21:51:23.430Z [err] ../src/bufferutil.c:2:10: fatal error: assert.h: No such file or directory
2020-11-29T21:51:23.430Z [err] 2 | #include <assert.h>
2020-11-29T21:51:23.430Z [err] | ^~~~~~~~~~
2020-11-29T21:51:23.430Z [err] compilation terminated.

2020-11-29T21:51:23.436Z [err] make: *** [bufferutil.target.mk:105: Release/obj.target/bufferutil/src/bufferutil.o] Error 1
2020-11-29T21:51:23.436Z [out] make: Leaving directory '/config/node-red/node_modules/bufferutil/build'
2020-11-29T21:51:23.439Z [err] gyp
2020-11-29T21:51:23.440Z [err]
2020-11-29T21:51:23.440Z [err] ERR! build error
2020-11-29T21:51:23.441Z [err] gyp
2020-11-29T21:51:23.441Z [err] ERR!
2020-11-29T21:51:23.441Z [err] stack Error: make failed with exit code: 2
2020-11-29T21:51:23.441Z [err] gyp
2020-11-29T21:51:23.442Z [err] ERR! stack
2020-11-29T21:51:23.442Z [err] at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
2020-11-29T21:51:23.442Z [err] gyp
2020-11-29T21:51:23.442Z [err] ERR! stack at ChildProcess.emit (events.js:315:20)
2020-11-29T21:51:23.442Z [err] gyp ERR!
2020-11-29T21:51:23.443Z [err] stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
2020-11-29T21:51:23.444Z [err] gyp
2020-11-29T21:51:23.444Z [err] ERR! System Linux 4.19.127-v7l
2020-11-29T21:51:23.444Z [err] gyp
2020-11-29T21:51:23.444Z [err] ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2020-11-29T21:51:23.445Z [err] gyp ERR!
2020-11-29T21:51:23.445Z [err] cwd /config/node-red/node_modules/bufferutil
2020-11-29T21:51:23.445Z [err] gyp ERR! node -v
2020-11-29T21:51:23.445Z [err] v12.18.4
2020-11-29T21:51:23.445Z [err] gyp ERR!
2020-11-29T21:51:23.445Z [err] node-gyp -v v5.1.0
2020-11-29T21:51:23.445Z [err] gyp
2020-11-29T21:51:23.446Z [err] ERR! not ok
2020-11-29T21:51:23.762Z [err] npm
2020-11-29T21:51:23.763Z [err] ERR! code ELIFECYCLE
2020-11-29T21:51:23.763Z [err] npm
2020-11-29T21:51:23.763Z [err] ERR! errno 1
2020-11-29T21:51:23.776Z [err] npm
2020-11-29T21:51:23.776Z [err] ERR! [email protected] install: node-gyp-build
2020-11-29T21:51:23.776Z [err] npm ERR!
2020-11-29T21:51:23.776Z [err] Exit status 1
2020-11-29T21:51:23.776Z [err] npm ERR!
2020-11-29T21:51:23.777Z [err]
2020-11-29T21:51:23.777Z [err] npm ERR! Failed at the [email protected] install script.
2020-11-29T21:51:23.777Z [err] npm
2020-11-29T21:51:23.777Z [err] ERR! This is probably not a problem with npm. There is likely additional logging output above.
2020-11-29T21:51:23.796Z [err]
2020-11-29T21:51:23.797Z [err] npm ERR! A complete log of this run can be found in:
2020-11-29T21:51:23.797Z [err] npm ERR! /root/.npm/_logs/2020-11-29T21_51_23_782Z-debug.log
2020-11-29T21:51:23.826Z rc=1

from node-red-contrib-lgtv.

gmarquezp avatar gmarquezp commented on May 31, 2024

FIX found:
add this packages to the configuration file:

system_packages:
  - make
  - gcc
  - g++
  - libc-dev

from node-red-contrib-lgtv.

bubugian avatar bubugian commented on May 31, 2024

gmarquezp, thanks very much for coming to us with a solution ! You're great.

Unfortunately there's nothing to do for me: I get an error with g++ and also for libc-dev

with:
system_packages:

  • make
  • gcc
  • g++

I get:
##############################################################
[cont-init.d] node-red.sh: exited 0.
[cont-init.d] user.sh: executing...
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/armv7/APKINDEX.tar.gz
v3.12.1-75-g0340519978 [http://dl-cdn.alpinelinux.org/alpine/v3.12/main]
v3.12.1-75-g0340519978 [http://dl-cdn.alpinelinux.org/alpine/v3.12/community]
v20200917-4644-g586b7d7e26 [http://dl-cdn.alpinelinux.org/alpine/edge/main]
v20200917-4640-g95c248a39e [http://dl-cdn.alpinelinux.org/alpine/edge/community]
v20200917-4647-g3049a43866 [http://dl-cdn.alpinelinux.org/alpine/edge/testing]
OK: 29240 distinct packages available
(1/1) Installing make (4.3-r0)
Executing busybox-1.31.1-r19.trigger
OK: 124 MiB in 52 packages
(1/9) Installing binutils (2.34-r1)
(2/9) Installing gmp (6.2.0-r0)
(3/9) Installing isl (0.18-r0)
(4/9) Installing libgomp (9.3.0-r2)
(5/9) Installing libatomic (9.3.0-r2)
(6/9) Installing libgphobos (9.3.0-r2)
(7/9) Installing mpfr4 (4.0.2-r4)
(8/9) Installing mpc1 (1.1.0-r1)
(9/9) Installing gcc (9.3.0-r2)
Executing busybox-1.31.1-r19.trigger
OK: 192 MiB in 61 packages
ERROR: unsatisfiable constraints:
musl-1.1.24-r9:
breaks: musl-dev-1.1.24-r10[musl=1.1.24-r10]
satisfies: world[musl=1.1.24-r9]
apk-tools-2.10.5-r1[so:libc.musl-armv7.so.1]
nginx-1.18.0-r1[so:libc.musl-armv7.so.1]
gcc-9.3.0-r2[so:libc.musl-armv7.so.1]
g++-9.3.0-r2[so:libc.musl-armv7.so.1]
tzdata-2020c-r0[so:libc.musl-armv7.so.1]
patch-2.7.6-r6[so:libc.musl-armv7.so.1]
bash-5.0.17-r0[so:libc.musl-armv7.so.1]
ca-certificates-20191127-r4[so:libc.musl-armv7.so.1]
python3-3.8.5-r0[so:libc.musl-armv7.so.1]
binutils-2.34-r1[so:libc.musl-armv7.so.1]
busybox-1.31.1-r19[so:libc.musl-armv7.so.1]
libffi-3.3-r2[so:libc.musl-armv7.so.1]
openssh-client-8.3_p1-r0[so:libc.musl-armv7.so.1]
sqlite-libs-3.32.1-r0[so:libc.musl-armv7.so.1]
curl-7.69.1-r1[so:libc.musl-armv7.so.1]
libuv-1.38.1-r0[so:libc.musl-armv7.so.1]
ncurses-libs-6.2_p20200523-r0[so:libc.musl-armv7.so.1]
expat-2.2.9-r1[so:libc.musl-armv7.so.1]
git-2.26.2-r0[so:libc.musl-armv7.so.1]
luajit-5.1.20190925-r0[so:libc.musl-armv7.so.1]
musl-utils-1.1.24-r9[so:libc.musl-armv7.so.1]
nghttp2-libs-1.41.0-r0[so:libc.musl-armv7.so.1]
nodejs-12.18.4-r0[so:libc.musl-armv7.so.1]
gdbm-1.13-r1[so:libc.musl-armv7.so.1]
libstdc++-9.3.0-r2[so:libc.musl-armv7.so.1]
libbz2-1.0.8-r1[so:libc.musl-armv7.so.1]
brotli-libs-1.0.9-r1[so:libc.musl-armv7.so.1]
isl-0.18-r0[so:libc.musl-armv7.so.1]
libcurl-7.69.1-r1[so:libc.musl-armv7.so.1]
mpc1-1.1.0-r1[so:libc.musl-armv7.so.1]
nginx-mod-http-lua-1.18.0-r1[so:libc.musl-armv7.so.1]
libgphobos-9.3.0-r2[so:libc.musl-armv7.so.1]
pcre-8.44-r0[so:libc.musl-armv7.so.1]
oniguruma-6.9.5-r2[so:libc.musl-armv7.so.1]
mpfr4-4.0.2-r4[so:libc.musl-armv7.so.1]
zlib-1.2.11-r3[so:libc.musl-armv7.so.1]
libgomp-9.3.0-r2[so:libc.musl-armv7.so.1]
readline-8.0.4-r0[so:libc.musl-armv7.so.1]
make-4.3-r0[so:libc.musl-armv7.so.1]
libedit-20191231.3.1-r0[so:libc.musl-armv7.so.1]
libgcc-9.3.0-r2[so:libc.musl-armv7.so.1]
libssl1.1-1.1.1g-r0[so:libc.musl-armv7.so.1]
alpine-baselayout-3.2.0-r7[so:libc.musl-armv7.so.1]
libcrypto1.1-1.1.1g-r0[so:libc.musl-armv7.so.1]
libatomic-9.3.0-r2[so:libc.musl-armv7.so.1]
xz-libs-5.2.5-r0[so:libc.musl-armv7.so.1]
openssh-keygen-8.3_p1-r0[so:libc.musl-armv7.so.1]
pcre2-10.35-r0[so:libc.musl-armv7.so.1]
c-ares-1.16.1-r0[so:libc.musl-armv7.so.1]
scanelf-1.2.6-r0[so:libc.musl-armv7.so.1]
gmp-6.2.0-r0[so:libc.musl-armv7.so.1]
jq-1.6-r1[so:libc.musl-armv7.so.1]
nginx-mod-devel-kit-1.18.0-r1[so:libc.musl-armv7.so.1]
[15:54:09] FATAL: Failed installing system package g++
[cont-init.d] user.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing...

            Oops! Something went wrong.

We are so sorry, but something went terribly wrong when
starting or running this add-on.

Be sure to check the log above, line by line, for hints.

[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
##############################################################

With
system_packages:

  • make
  • gcc
  • libc-dev
    I get:
    ##############################################################
    [cont-init.d] node-red.sh: exited 0.
    [cont-init.d] user.sh: executing...
    fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/armv7/APKINDEX.tar.gz
    fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/armv7/APKINDEX.tar.gz
    fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/armv7/APKINDEX.tar.gz
    fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz
    fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/armv7/APKINDEX.tar.gz
    v3.12.1-75-g0340519978 [http://dl-cdn.alpinelinux.org/alpine/v3.12/main]
    v3.12.1-75-g0340519978 [http://dl-cdn.alpinelinux.org/alpine/v3.12/community]
    v20200917-4644-g586b7d7e26 [http://dl-cdn.alpinelinux.org/alpine/edge/main]
    v20200917-4640-g95c248a39e [http://dl-cdn.alpinelinux.org/alpine/edge/community]
    v20200917-4647-g3049a43866 [http://dl-cdn.alpinelinux.org/alpine/edge/testing]
    OK: 29240 distinct packages available
    (1/1) Installing make (4.3-r0)
    Executing busybox-1.31.1-r19.trigger
    OK: 124 MiB in 52 packages
    (1/9) Installing binutils (2.34-r1)
    (2/9) Installing gmp (6.2.0-r0)
    (3/9) Installing isl (0.18-r0)
    (4/9) Installing libgomp (9.3.0-r2)
    (5/9) Installing libatomic (9.3.0-r2)
    (6/9) Installing libgphobos (9.3.0-r2)
    (7/9) Installing mpfr4 (4.0.2-r4)
    (8/9) Installing mpc1 (1.1.0-r1)
    (9/9) Installing gcc (9.3.0-r2)
    Executing busybox-1.31.1-r19.trigger
    OK: 192 MiB in 61 packages
    ERROR: unsatisfiable constraints:
    musl-1.1.24-r9:
    breaks: musl-dev-1.1.24-r10[musl=1.1.24-r10]
    satisfies: world[musl=1.1.24-r9]
    apk-tools-2.10.5-r1[so:libc.musl-armv7.so.1]
    nginx-1.18.0-r1[so:libc.musl-armv7.so.1]
    gcc-9.3.0-r2[so:libc.musl-armv7.so.1]
    tzdata-2020c-r0[so:libc.musl-armv7.so.1]
    patch-2.7.6-r6[so:libc.musl-armv7.so.1]
    bash-5.0.17-r0[so:libc.musl-armv7.so.1]
    ca-certificates-20191127-r4[so:libc.musl-armv7.so.1]
    python3-3.8.5-r0[so:libc.musl-armv7.so.1]
    binutils-2.34-r1[so:libc.musl-armv7.so.1]
    busybox-1.31.1-r19[so:libc.musl-armv7.so.1]
    libffi-3.3-r2[so:libc.musl-armv7.so.1]
    openssh-client-8.3_p1-r0[so:libc.musl-armv7.so.1]
    sqlite-libs-3.32.1-r0[so:libc.musl-armv7.so.1]
    curl-7.69.1-r1[so:libc.musl-armv7.so.1]
    libuv-1.38.1-r0[so:libc.musl-armv7.so.1]
    ncurses-libs-6.2_p20200523-r0[so:libc.musl-armv7.so.1]
    expat-2.2.9-r1[so:libc.musl-armv7.so.1]
    git-2.26.2-r0[so:libc.musl-armv7.so.1]
    luajit-5.1.20190925-r0[so:libc.musl-armv7.so.1]
    musl-utils-1.1.24-r9[so:libc.musl-armv7.so.1]
    nghttp2-libs-1.41.0-r0[so:libc.musl-armv7.so.1]
    nodejs-12.18.4-r0[so:libc.musl-armv7.so.1]
    gdbm-1.13-r1[so:libc.musl-armv7.so.1]
    libstdc++-9.3.0-r2[so:libc.musl-armv7.so.1]
    libbz2-1.0.8-r1[so:libc.musl-armv7.so.1]
    brotli-libs-1.0.9-r1[so:libc.musl-armv7.so.1]
    isl-0.18-r0[so:libc.musl-armv7.so.1]
    libcurl-7.69.1-r1[so:libc.musl-armv7.so.1]
    mpc1-1.1.0-r1[so:libc.musl-armv7.so.1]
    nginx-mod-http-lua-1.18.0-r1[so:libc.musl-armv7.so.1]
    libgphobos-9.3.0-r2[so:libc.musl-armv7.so.1]
    pcre-8.44-r0[so:libc.musl-armv7.so.1]
    oniguruma-6.9.5-r2[so:libc.musl-armv7.so.1]
    mpfr4-4.0.2-r4[so:libc.musl-armv7.so.1]
    zlib-1.2.11-r3[so:libc.musl-armv7.so.1]
    libgomp-9.3.0-r2[so:libc.musl-armv7.so.1]
    readline-8.0.4-r0[so:libc.musl-armv7.so.1]
    make-4.3-r0[so:libc.musl-armv7.so.1]
    libedit-20191231.3.1-r0[so:libc.musl-armv7.so.1]
    libgcc-9.3.0-r2[so:libc.musl-armv7.so.1]
    libssl1.1-1.1.1g-r0[so:libc.musl-armv7.so.1]
    alpine-baselayout-3.2.0-r7[so:libc.musl-armv7.so.1]
    libcrypto1.1-1.1.1g-r0[so:libc.musl-armv7.so.1]
    libatomic-9.3.0-r2[so:libc.musl-armv7.so.1]
    xz-libs-5.2.5-r0[so:libc.musl-armv7.so.1]
    openssh-keygen-8.3_p1-r0[so:libc.musl-armv7.so.1]
    pcre2-10.35-r0[so:libc.musl-armv7.so.1]
    c-ares-1.16.1-r0[so:libc.musl-armv7.so.1]
    scanelf-1.2.6-r0[so:libc.musl-armv7.so.1]
    gmp-6.2.0-r0[so:libc.musl-armv7.so.1]
    jq-1.6-r1[so:libc.musl-armv7.so.1]
    nginx-mod-devel-kit-1.18.0-r1[so:libc.musl-armv7.so.1]
    [15:58:36] FATAL: Failed installing system package libc-dev
    [cont-init.d] user.sh: exited 1.
    [cont-finish.d] executing container finish scripts...
    [cont-finish.d] 99-message.sh: executing...

            Oops! Something went wrong.

We are so sorry, but something went terribly wrong when
starting or running this add-on.

Be sure to check the log above, line by line, for hints.

[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting._
##############################################################

Any suggestion will be extremely appreciated.
Bye.

from node-red-contrib-lgtv.

gmarquezp avatar gmarquezp commented on May 31, 2024

Try adding musl-dev to the list of system_packages:

system_packages:
  - make
  - gcc
  - musl-dev
  - g++
  - libc-dev

from node-red-contrib-lgtv.

bubugian avatar bubugian commented on May 31, 2024

FIX IT Adding - musl before - musl-dev :

system_packages:
  - make
  - gcc
  - musl
  - musl-dev
  - g++
  - libc-dev

Thanks very much gmarquezp for the help !

P.S. note to other interested guys:
- musl and - musl-dev SHALL REMAINS between - gcc and - g++.
Otherwise it WONT WORK.

from node-red-contrib-lgtv.

maverik80 avatar maverik80 commented on May 31, 2024

but where exactly should it be inserted and how, thanks in advance

from node-red-contrib-lgtv.

gmarquezp avatar gmarquezp commented on May 31, 2024

Supervisor (left menu) -> Node Red (add-on icon) -> Configuration (on the upper menu)

from node-red-contrib-lgtv.

maverik80 avatar maverik80 commented on May 31, 2024

THX 👍

from node-red-contrib-lgtv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.