Node.js / nodejs on Pogoplug OX820 with Debian 9 December 08, 2018 04:33AM |
Registered: 11 years ago Posts: 58 |
yoot@FHEM:/usr/local/lib/nodejs/node-v10.14.1/bin# apt-get install nodejs-legacy Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: nodejs-legacy : Depends: nodejs (>= 0.6.19~dfsg1-3~) but it is not installable E: Unable to correct problems, you have held broken packages. root@FHEM:/usr/local/lib/nodejs/node-v10.14.1/bin#
root@FHEM:/usr/local/lib/nodejs/node-v10.14.1/bin# node -bash: /usr/local/lib/nodejs/node-v10.14.1/bin/node: No such file or directory root@FHEM:/usr/local/lib/nodejs/node-v10.14.1/bin#but the file does exist and it is executable!
root@FHEM:~/tmp/node-v10.14.1# make [...] make -C out BUILDTYPE=Release V=1 g++ -o /root/tmp/node-v10.14.1/out/Release/obj.host/v8_libbase/deps/v8/src/base/platform/platform-posix.o ../deps/v8/src/base/platform/platform-posix.cc '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=0' '-DV8_TARGET_ARCH_ARM' '-DCAN_USE_ARMV7_INSTRUCTIONS' '-DV8_EMBEDDER_STRING="-node.36"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DV8_INTL_SUPPORT' '-DV8_CONCURRENT_MARKING' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' -I../deps/v8 -pthread -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -mfpu=vfp -marm -fdata-sections -ffunction-sections -O3 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF /root/tmp/node-v10.14.1/out/Release/.deps//root/tmp/node-v10.14.1/out/Release/obj.host/v8_libbase/deps/v8/src/base/platform/platform-posix.o.d.raw -c /tmp/cckOyleQ.s: Assembler messages: /tmp/cckOyleQ.s:1151: Error: selected processor does not support `bkpt 0' in ARM mode deps/v8/gypfiles/v8_libbase.host.mk:129: recipe for target '/root/tmp/node-v10.14.1/out/Release/obj.host/v8_libbase/deps/v8/src/base/platform/platform-posix.o' failed make[1]: *** [/root/tmp/node-v10.14.1/out/Release/obj.host/v8_libbase/deps/v8/src/base/platform/platform-posix.o] Error 1 Makefile:99: recipe for target 'node' failed make: *** [node] Error 2
Re: Node.js / nodejs on Pogoplug OX820 with Debian 9 December 08, 2018 04:52PM |
Registered: 10 years ago Posts: 226 |
Re: Node.js / nodejs on Pogoplug OX820 with Debian 9 December 09, 2018 05:24AM |
Registered: 11 years ago Posts: 58 |
root@FHEM:~/tmp/node-v10.14.1# apt-get install nodejs Reading package lists... Done Building dependency tree Reading state information... Done Package nodejs is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'nodejs' has no installation candidate root@FHEM:~/tmp/node-v10.14.1# cat /etc/ap apparmor/ apparmor.d/ apt/ root@FHEM:~/tmp/node-v10.14.1# cat /etc/apt/sources.list deb http://ftp.debian.org/debian stretch main stretch-backports non-free deb-src http://ftp.debian.org/debian stretch main deb http://security.debian.org/ stretch/updates main contrib non-free deb-src http://security.debian.org/ stretch/updates main contrib non-free deb http://http.debian.net/debian stretch-updates main contrib deb-src http://http.debian.net/debian stretch-updates main contrib root@FHEM:~/tmp/node-v10.14.1#
deb http://deb.nodesource.com/node_8.x stretch main deb-src http://deb.nodesource.com/node_8.x stretch maindoes not help. :-(
Re: Node.js / nodejs on Pogoplug OX820 with Debian 9 December 09, 2018 03:00PM |
Registered: 10 years ago Posts: 226 |
Re: Node.js / nodejs on Pogoplug OX820 with Debian 9 December 10, 2018 11:50AM |
Registered: 11 years ago Posts: 58 |
Re: Node.js / nodejs on Pogoplug OX820 with Debian 9 December 16, 2018 10:23PM |
Registered: 5 years ago Posts: 27 |
Re: Node.js / nodejs on Pogoplug OX820 with Debian 9 December 17, 2018 07:22AM |
Registered: 11 years ago Posts: 1,303 |
Re: Node.js / nodejs on Pogoplug OX820 with Debian 9 December 17, 2018 08:16PM |
Registered: 5 years ago Posts: 27 |
Re: Node.js / nodejs on Pogoplug OX820 with Debian 9 December 20, 2018 03:32PM |
Registered: 11 years ago Posts: 58 |
Jörg
Re: Node.js / nodejs on Pogoplug OX820 with Debian 9 November 24, 2019 07:31AM |
diff --git a/configure.py b/configure.py index cfd4207d..e65cffce 100755 --- a/configure.py +++ b/configure.py @@ -898,7 +898,7 @@ def configure_arm(o): arm_fpu = 'vfpv3' o['variables']['arm_version'] = '7' else: - o['variables']['arm_version'] = '6' if is_arch_armv6() else 'default' + o['variables']['arm_version'] = '6' if is_arch_armv6() else '5' o['variables']['arm_thumb'] = 0 # -marm o['variables']['arm_float_abi'] = arm_float_abi diff --git a/deps/v8/src/base/platform/platform-posix.cc b/deps/v8/src/base/platform/platform-posix.cc index 8b9e85c0..a3008ade 100644 --- a/deps/v8/src/base/platform/platform-posix.cc +++ b/deps/v8/src/base/platform/platform-posix.cc @@ -401,7 +401,8 @@ void OS::Abort() { void OS::DebugBreak() { #if V8_HOST_ARCH_ARM - asm("bkpt 0"); + //asm("bkpt 0"); + __builtin_trap(); #elif V8_HOST_ARCH_ARM64 asm("brk 0"); #elif V8_HOST_ARCH_MIPS