macnow / homebridge-raspbian-installer

14 stars 6 forks source link

failed on fresh rpi zero with jessie #2

Open MrsDelish opened 7 years ago

MrsDelish commented 7 years ago

looks like there was some errors in the end. node got installed in /usr/lib

`pi@sofapi:~ $ bash <(curl -s https://raw.githubusercontent.com/macnow/homebridge-raspbian-installer/master/install.sh) ++ uname -m

nodejs.org/dist/latest/index.html [ <=> ] 4.97K --.-KB/s in 0.002s

2017-01-19 20:45:29 (2.45 MB/s) - ‘nodejs.org/dist/latest/index.html’ saved [5089]

Removing nodejs.org/dist/latest/index.html since it should be rejected.

--2017-01-19 20:45:29-- https://nodejs.org/dist/latest/docs/ Reusing existing connection to nodejs.org:443. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ‘nodejs.org/dist/latest/docs/index.html’

nodejs.org/dist/latest/docs/index.htm [ <=> ] 294 --.-KB/s in 0s

2017-01-19 20:45:30 (967 KB/s) - ‘nodejs.org/dist/latest/docs/index.html’ saved [294]

Removing nodejs.org/dist/latest/docs/index.html since it should be rejected.

--2017-01-19 20:45:30-- https://nodejs.org/dist/latest/win-x64/ Reusing existing connection to nodejs.org:443. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ‘nodejs.org/dist/latest/win-x64/index.html’

nodejs.org/dist/latest/win-x64/index. [ <=> ] 650 --.-KB/s in 0s

2017-01-19 20:45:30 (2.12 MB/s) - ‘nodejs.org/dist/latest/win-x64/index.html’ saved [650]

Removing nodejs.org/dist/latest/win-x64/index.html since it should be rejected.

--2017-01-19 20:45:30-- https://nodejs.org/dist/latest/win-x86/ Reusing existing connection to nodejs.org:443. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ‘nodejs.org/dist/latest/win-x86/index.html’

nodejs.org/dist/latest/win-x86/index. [ <=> ] 650 --.-KB/s in 0s

2017-01-19 20:45:30 (2.12 MB/s) - ‘nodejs.org/dist/latest/win-x86/index.html’ saved [650]

Removing nodejs.org/dist/latest/win-x86/index.html since it should be rejected.

--2017-01-19 20:45:30-- https://nodejs.org/dist/latest/node-v7.4.0-linux-armv6l.tar.xz Reusing existing connection to nodejs.org:443. HTTP request sent, awaiting response... 200 OK Length: 9243504 (8.8M) [application/x-xz] Saving to: ‘nodejs.org/dist/latest/node-v7.4.0-linux-armv6l.tar.xz’

nodejs.org/dist/latest/node-v7.4.0-li 100%[=========================================================================>] 8.81M 2.38MB/s in 3.7s

2017-01-19 20:45:35 (2.38 MB/s) - ‘nodejs.org/dist/latest/node-v7.4.0-linux-armv6l.tar.xz’ saved [9243504/9243504]

FINISHED --2017-01-19 20:45:35-- Total wall clock time: 6.3s Downloaded: 5 files, 8.8M in 3.7s (2.38 MB/s)

mdns@2.3.3 install /home/pi/.npm-global/lib/node_modules/homebridge/node_modules/mdns node-gyp rebuild

make: Entering directory '/home/pi/.npm-global/lib/node_modules/homebridge/node_modules/mdns/build' CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_browse.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_enumerate_domains.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_get_addr_info.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_process_result.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_deallocate.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_sock_fd.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_register.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_resolve.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_update_record.o CXX(target) Release/obj.target/dns_sd_bindings/src/mdns_utils.o CXX(target) Release/obj.target/dns_sd_bindings/src/network_interface.o CXX(target) Release/obj.target/dns_sd_bindings/src/socket_watcher.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_ref.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_create.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_deallocate.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_set_value.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_get_length.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_buffer_to_object.o SOLINK_MODULE(target) Release/obj.target/dns_sd_bindings.node COPY Release/dns_sd_bindings.node make: Leaving directory '/home/pi/.npm-global/lib/node_modules/homebridge/node_modules/mdns/build'

curve25519-n@1.1.0 install /home/pi/.npm-global/lib/node_modules/homebridge/node_modules/curve25519-n node-gyp rebuild

make: Entering directory '/home/pi/.npm-global/lib/node_modules/homebridge/node_modules/curve25519-n/build' CXX(target) Release/obj.target/curve/node_curve.o SOLINK_MODULE(target) Release/obj.target/curve.node COPY Release/curve.node make: Leaving directory '/home/pi/.npm-global/lib/node_modules/homebridge/node_modules/curve25519-n/build'

ed25519@0.0.4 install /home/pi/.npm-global/lib/node_modules/homebridge/node_modules/ed25519 node-gyp rebuild

make: Entering directory '/home/pi/.npm-global/lib/node_modules/homebridge/node_modules/ed25519/build' CC(target) Release/obj.target/ed25519/src/ed25519/keypair.o CC(target) Release/obj.target/ed25519/src/ed25519/sign.o CC(target) Release/obj.target/ed25519/src/ed25519/open.o CC(target) Release/obj.target/ed25519/src/ed25519/crypto_verify_32.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_double_scalarmult.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_frombytes.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_scalarmult_base.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_precomp_0.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_0.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_dbl.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_0.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_dbl.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_p2.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_cached.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_tobytes.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_madd.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_add.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_msub.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_sub.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p3.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p2.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_tobytes.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_0.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_1.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_cmov.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_copy.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_neg.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_add.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_sub.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_mul.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq2.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_invert.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_tobytes.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnegative.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnonzero.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_frombytes.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_pow22523.o CC(target) Release/obj.target/ed25519/src/ed25519/sc_reduce.o CC(target) Release/obj.target/ed25519/src/ed25519/sc_muladd.o CXX(target) Release/obj.target/ed25519/src/ed25519.o SOLINK_MODULE(target) Release/obj.target/ed25519.node COPY Release/ed25519.node make: Leaving directory '/home/pi/.npm-global/lib/node_modules/homebridge/node_modules/ed25519/build'

curve25519-n@1.1.0 install /home/pi/.npm-global/lib/node_modules/hap-nodejs/node_modules/curve25519-n node-gyp rebuild

make: Entering directory '/home/pi/.npm-global/lib/node_modules/hap-nodejs/node_modules/curve25519-n/build' CXX(target) Release/obj.target/curve/node_curve.o SOLINK_MODULE(target) Release/obj.target/curve.node COPY Release/curve.node make: Leaving directory '/home/pi/.npm-global/lib/node_modules/hap-nodejs/node_modules/curve25519-n/build'

ed25519@0.0.4 install /home/pi/.npm-global/lib/node_modules/hap-nodejs/node_modules/ed25519 node-gyp rebuild

make: Entering directory '/home/pi/.npm-global/lib/node_modules/hap-nodejs/node_modules/ed25519/build' CC(target) Release/obj.target/ed25519/src/ed25519/keypair.o CC(target) Release/obj.target/ed25519/src/ed25519/sign.o CC(target) Release/obj.target/ed25519/src/ed25519/open.o CC(target) Release/obj.target/ed25519/src/ed25519/crypto_verify_32.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_double_scalarmult.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_frombytes.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_scalarmult_base.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_precomp_0.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_0.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_dbl.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_0.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_dbl.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_p2.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_cached.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_tobytes.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_madd.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_add.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_msub.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_sub.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p3.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p2.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_tobytes.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_0.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_1.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_cmov.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_copy.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_neg.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_add.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_sub.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_mul.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq2.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_invert.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_tobytes.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnegative.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnonzero.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_frombytes.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_pow22523.o CC(target) Release/obj.target/ed25519/src/ed25519/sc_reduce.o CC(target) Release/obj.target/ed25519/src/ed25519/sc_muladd.o CXX(target) Release/obj.target/ed25519/src/ed25519.o SOLINK_MODULE(target) Release/obj.target/ed25519.node COPY Release/ed25519.node make: Leaving directory '/home/pi/.npm-global/lib/node_modules/hap-nodejs/node_modules/ed25519/build'

mdns@2.3.3 install /home/pi/.npm-global/lib/node_modules/hap-nodejs/node_modules/mdns node-gyp rebuild

make: Entering directory '/home/pi/.npm-global/lib/node_modules/hap-nodejs/node_modules/mdns/build' CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_browse.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_enumerate_domains.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_get_addr_info.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_process_result.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_deallocate.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_sock_fd.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_register.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_resolve.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_update_record.o CXX(target) Release/obj.target/dns_sd_bindings/src/mdns_utils.o CXX(target) Release/obj.target/dns_sd_bindings/src/network_interface.o CXX(target) Release/obj.target/dns_sd_bindings/src/socket_watcher.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_ref.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_create.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_deallocate.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_set_value.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_get_length.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_buffer_to_object.o SOLINK_MODULE(target) Release/obj.target/dns_sd_bindings.node COPY Release/dns_sd_bindings.node make: Leaving directory '/home/pi/.npm-global/lib/node_modules/hap-nodejs/node_modules/mdns/build' /home/pi/.npm-global/lib ├─┬ hap-nodejs@0.4.21 │ ├── buffer-shims@1.0.0 │ ├─┬ curve25519-n@1.1.0 │ │ ├── bindings@1.2.1 │ │ └── nan@2.5.0 │ ├─┬ debug@2.6.0 │ │ └── ms@0.7.2 │ ├── ed25519@0.0.4 │ ├── fast-srp-hap@1.0.0 │ ├── ip@1.1.4 │ ├─┬ mdns@2.3.3 │ │ └── nan@2.3.5 │ └─┬ node-persist@0.0.8 │ ├── mkdirp@0.3.5 │ └── q@1.1.2 ├─┬ homebridge@0.4.16 │ ├─┬ chalk@1.1.3 │ │ ├── ansi-styles@2.2.1 │ │ ├── escape-string-regexp@1.0.5 │ │ ├─┬ has-ansi@2.0.0 │ │ │ └── ansi-regex@2.1.1 │ │ ├── strip-ansi@3.0.1 │ │ └── supports-color@2.0.0 │ ├─┬ commander@2.8.1 │ │ └── graceful-readlink@1.0.1 │ ├─┬ hap-nodejs@0.4.20 │ │ ├── buffer-shims@1.0.0 │ │ ├─┬ curve25519-n@1.1.0 │ │ │ ├── bindings@1.2.1 │ │ │ └── nan@2.5.0 │ │ ├─┬ debug@2.6.0 │ │ │ └── ms@0.7.2 │ │ ├── ed25519@0.0.4 │ │ ├── fast-srp-hap@1.0.0 │ │ ├── ip@1.1.4 │ │ └─┬ mdns@2.3.3 │ │ └── nan@2.3.5 │ ├─┬ node-persist@0.0.8 │ │ ├── mkdirp@0.3.5 │ │ └── q@1.1.2 │ └── semver@5.0.3 ├── json@9.0.4 └─┬ node-gyp@3.5.0 ├─┬ fstream@1.0.10 │ └── inherits@2.0.3 ├─┬ glob@7.1.1 │ ├── fs.realpath@1.0.0 │ ├─┬ inflight@1.0.6 │ │ └── wrappy@1.0.2 │ ├── once@1.4.0 │ └── path-is-absolute@1.0.1 ├── graceful-fs@4.1.11 ├─┬ minimatch@3.0.3 │ └─┬ brace-expansion@1.1.6 │ ├── balanced-match@0.4.2 │ └── concat-map@0.0.1 ├─┬ mkdirp@0.5.1 │ └── minimist@0.0.8 ├─┬ nopt@3.0.6 │ └── abbrev@1.0.9 ├─┬ npmlog@4.0.2 │ ├─┬ are-we-there-yet@1.1.2 │ │ ├── delegates@1.0.0 │ │ └─┬ readable-stream@2.2.2 │ │ ├── buffer-shims@1.0.0 │ │ ├── core-util-is@1.0.2 │ │ ├── isarray@1.0.0 │ │ ├── process-nextick-args@1.0.7 │ │ ├── string_decoder@0.10.31 │ │ └── util-deprecate@1.0.2 │ ├── console-control-strings@1.1.0 │ ├─┬ gauge@2.7.2 │ │ ├── aproba@1.0.4 │ │ ├── has-unicode@2.0.1 │ │ ├── object-assign@4.1.1 │ │ ├── signal-exit@3.0.2 │ │ ├─┬ string-width@1.0.2 │ │ │ ├── code-point-at@1.1.0 │ │ │ └─┬ is-fullwidth-code-point@1.0.0 │ │ │ └── number-is-nan@1.0.1 │ │ ├─┬ strip-ansi@3.0.1 │ │ │ └── ansi-regex@2.1.1 │ │ ├── supports-color@0.2.0 │ │ └── wide-align@1.1.0 │ └── set-blocking@2.0.0 ├─┬ osenv@0.1.4 │ ├── os-homedir@1.0.2 │ └── os-tmpdir@1.0.2 ├─┬ request@2.79.0 │ ├── aws-sign2@0.6.0 │ ├── aws4@1.5.0 │ ├── caseless@0.11.0 │ ├─┬ combined-stream@1.0.5 │ │ └── delayed-stream@1.0.0 │ ├── extend@3.0.0 │ ├── forever-agent@0.6.1 │ ├─┬ form-data@2.1.2 │ │ └── asynckit@0.4.0 │ ├─┬ har-validator@2.0.6 │ │ ├─┬ chalk@1.1.3 │ │ │ ├── ansi-styles@2.2.1 │ │ │ ├── escape-string-regexp@1.0.5 │ │ │ ├── has-ansi@2.0.0 │ │ │ └── supports-color@2.0.0 │ │ ├─┬ commander@2.9.0 │ │ │ └── graceful-readlink@1.0.1 │ │ ├─┬ is-my-json-valid@2.15.0 │ │ │ ├── generate-function@2.0.0 │ │ │ ├─┬ generate-object-property@1.2.0 │ │ │ │ └── is-property@1.0.2 │ │ │ ├── jsonpointer@4.0.1 │ │ │ └── xtend@4.0.1 │ │ └─┬ pinkie-promise@2.0.1 │ │ └── pinkie@2.0.4 │ ├─┬ hawk@3.1.3 │ │ ├── boom@2.10.1 │ │ ├── cryptiles@2.0.5 │ │ ├── hoek@2.16.3 │ │ └── sntp@1.0.9 │ ├─┬ http-signature@1.1.1 │ │ ├── assert-plus@0.2.0 │ │ ├─┬ jsprim@1.3.1 │ │ │ ├── extsprintf@1.0.2 │ │ │ ├── json-schema@0.2.3 │ │ │ └── verror@1.3.6 │ │ └─┬ sshpk@1.10.2 │ │ ├── asn1@0.2.3 │ │ ├── assert-plus@1.0.0 │ │ ├── bcrypt-pbkdf@1.0.0 │ │ ├─┬ dashdash@1.14.1 │ │ │ └── assert-plus@1.0.0 │ │ ├── ecc-jsbn@0.1.1 │ │ ├─┬ getpass@0.1.6 │ │ │ └── assert-plus@1.0.0 │ │ ├── jodid25519@1.0.2 │ │ ├── jsbn@0.1.0 │ │ └── tweetnacl@0.14.5 │ ├── is-typedarray@1.0.0 │ ├── isstream@0.1.2 │ ├── json-stringify-safe@5.0.1 │ ├─┬ mime-types@2.1.14 │ │ └── mime-db@1.26.0 │ ├── oauth-sign@0.8.2 │ ├── qs@6.3.0 │ ├── stringstream@0.0.5 │ ├─┬ tough-cookie@2.3.2 │ │ └── punycode@1.4.1 │ ├── tunnel-agent@0.4.3 │ └── uuid@3.0.1 ├── rimraf@2.5.4 ├── semver@5.3.0 ├─┬ tar@2.2.1 │ └── block-stream@0.0.9 └─┬ which@1.2.12 └── isexe@1.1.2

bignum@0.12.5 install /home/pi/node_modules/bignum node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download(403): https://rvagg-node.s3-us-west-2.amazonaws.com/bignum/v0.12.5/bignum-v0.12.5-node-v51-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for bignum@0.12.5 and node@7.4.0 (node-v51 ABI) (falling back to source compile with node-gyp) make: Entering directory '/home/pi/node_modules/bignum/build' CXX(target) Release/obj.target/bignum/bignum.o ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::New(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:385:48: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(len, newArgs); ^ ../bignum.cc:413:78: warning: ‘v8::Local v8::Value::ToNumber() const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:8406): Use maybe version [-Wdeprecated-declarations] base = obj->ToObject()->Get(Nan::New("base").ToLocalChecked())->ToNumber()->Value(); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Badd(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:461:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bsub(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:474:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bmul(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:488:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bdiv(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:502:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Uadd(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:520:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Usub(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:538:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Umul(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:557:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Udiv(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:576:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Umul_2exp(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:44:36: warning: ‘v8::Local v8::Value::ToUint32() const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:8436): Use maybe version [-Wdeprecated-declarations] uint32_t VAR = info[I]->ToUint32()->Value(); ^ ../bignum.cc:585:3: note: in expansion of macro ‘REQ_UINT32_ARG’ REQ_UINT32_ARG(0, x); ^ ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:589:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Udiv_2exp(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:44:36: warning: ‘v8::Local v8::Value::ToUint32() const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:8436): Use maybe version [-Wdeprecated-declarations] uint32_t VAR = info[I]->ToUint32()->Value(); ^ ../bignum.cc:598:3: note: in expansion of macro ‘REQ_UINT32_ARG’ REQ_UINT32_ARG(0, x); ^ ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:602:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Babs(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:614:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bneg(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:626:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bmod(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:640:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Umod(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:659:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bpowm(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:674:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Upowm(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:691:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Upow(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:707:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Brand0(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:720:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Uprime0(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:44:36: warning: ‘v8::Local v8::Value::ToUint32() const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:8436): Use maybe version [-Wdeprecated-declarations] uint32_t VAR = info[I]->ToUint32()->Value(); ^ ../bignum.cc:727:3: note: in expansion of macro ‘REQ_UINT32_ARG’ REQ_UINT32_ARG(0, x); ^ ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:734:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Probprime(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:44:36: warning: ‘v8::Local v8::Value::ToUint32() const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:8436): Use maybe version [-Wdeprecated-declarations] uint32_t VAR = info[I]->ToUint32()->Value(); ^ ../bignum.cc:744:3: note: in expansion of macro ‘REQ_UINT32_ARG’ REQ_UINT32_ARG(0, reps); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::IsBitSet(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:44:36: warning: ‘v8::Local v8::Value::ToUint32() const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:8436): Use maybe version [-Wdeprecated-declarations] uint32_t VAR = info[I]->ToUint32()->Value(); ^ ../bignum.cc:753:3: note: in expansion of macro ‘REQ_UINT32_ARG’ REQ_UINT32_ARG(0, n); ^ ../bignum.cc: In static member function ‘static v8::Local BigNum::Bop(Nan::NAN_METHOD_ARGS_TYPE, int)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:994:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Binvertm(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:1026:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bgcd(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:70:38: warning: ‘v8::Local v8::Function::NewInstance(int, v8::Local*) const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations] GetFunction()->NewInstance(1, arg); ^ ../bignum.cc:1061:3: note: in expansion of macro ‘WRAP_RESULT’ WRAP_RESULT(res, result); ^ ../bignum.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BigNum::Bsetcompact(Nan::NAN_METHOD_ARGS_TYPE)’: ../bignum.cc:1085:45: warning: ‘v8::Local v8::Value::ToUint32() const’ is deprecated (declared at /home/pi/.node-gyp/7.4.0/include/node/v8.h:8436): Use maybe version [-Wdeprecated-declarations] unsigned int nCompact = info[0]->ToUint32()->Value(); ^ SOLINK_MODULE(target) Release/obj.target/bignum.node COPY Release/bignum.node COPY /home/pi/node_modules/bignum/binding/bignum.node TOUCH Release/obj.target/action_after_build.stamp make: Leaving directory '/home/pi/node_modules/bignum/build' /home/pi └─┬ bignum@0.12.5 ├── nan@2.5.0 └─┬ node-pre-gyp@0.6.32 ├─┬ mkdirp@0.5.1 │ └── minimist@0.0.8 ├─┬ nopt@3.0.6 │ └── abbrev@1.0.9 ├─┬ npmlog@4.0.2 │ ├─┬ are-we-there-yet@1.1.2 │ │ ├── delegates@1.0.0 │ │ └── readable-stream@2.2.2 │ ├── console-control-strings@1.1.0 │ ├─┬ gauge@2.7.2 │ │ ├── aproba@1.0.4 │ │ ├── has-unicode@2.0.1 │ │ ├── object-assign@4.1.1 │ │ ├── signal-exit@3.0.2 │ │ ├─┬ string-width@1.0.2 │ │ │ ├── code-point-at@1.1.0 │ │ │ └─┬ is-fullwidth-code-point@1.0.0 │ │ │ └── number-is-nan@1.0.1 │ │ ├─┬ strip-ansi@3.0.1 │ │ │ └── ansi-regex@2.1.1 │ │ ├── supports-color@0.2.0 │ │ └── wide-align@1.1.0 │ └── set-blocking@2.0.0 ├─┬ rc@1.1.6 │ ├── deep-extend@0.4.1 │ ├── ini@1.3.4 │ ├── minimist@1.2.0 │ └── strip-json-comments@1.0.4 ├─┬ request@2.79.0 │ ├── aws-sign2@0.6.0 │ ├── aws4@1.5.0 │ ├── caseless@0.11.0 │ ├─┬ combined-stream@1.0.5 │ │ └── delayed-stream@1.0.0 │ ├── extend@3.0.0 │ ├── forever-agent@0.6.1 │ ├─┬ form-data@2.1.2 │ │ └── asynckit@0.4.0 │ ├─┬ har-validator@2.0.6 │ │ ├─┬ chalk@1.1.3 │ │ │ ├── ansi-styles@2.2.1 │ │ │ ├── escape-string-regexp@1.0.5 │ │ │ ├── has-ansi@2.0.0 │ │ │ └── supports-color@2.0.0 │ │ ├─┬ commander@2.9.0 │ │ │ └── graceful-readlink@1.0.1 │ │ ├─┬ is-my-json-valid@2.15.0 │ │ │ ├── generate-function@2.0.0 │ │ │ ├─┬ generate-object-property@1.2.0 │ │ │ │ └── is-property@1.0.2 │ │ │ ├── jsonpointer@4.0.1 │ │ │ └── xtend@4.0.1 │ │ └─┬ pinkie-promise@2.0.1 │ │ └── pinkie@2.0.4 │ ├─┬ hawk@3.1.3 │ │ ├── boom@2.10.1 │ │ ├── cryptiles@2.0.5 │ │ ├── hoek@2.16.3 │ │ └── sntp@1.0.9 │ ├─┬ http-signature@1.1.1 │ │ ├── assert-plus@0.2.0 │ │ ├─┬ jsprim@1.3.1 │ │ │ ├── extsprintf@1.0.2 │ │ │ ├── json-schema@0.2.3 │ │ │ └── verror@1.3.6 │ │ └─┬ sshpk@1.10.2 │ │ ├── asn1@0.2.3 │ │ ├── assert-plus@1.0.0 │ │ ├── bcrypt-pbkdf@1.0.0 │ │ ├─┬ dashdash@1.14.1 │ │ │ └── assert-plus@1.0.0 │ │ ├── ecc-jsbn@0.1.1 │ │ ├─┬ getpass@0.1.6 │ │ │ └── assert-plus@1.0.0 │ │ ├── jodid25519@1.0.2 │ │ ├── jsbn@0.1.0 │ │ └── tweetnacl@0.14.5 │ ├── is-typedarray@1.0.0 │ ├── isstream@0.1.2 │ ├── json-stringify-safe@5.0.1 │ ├─┬ mime-types@2.1.14 │ │ └── mime-db@1.26.0 │ ├── oauth-sign@0.8.2 │ ├── qs@6.3.0 │ ├── stringstream@0.0.5 │ ├─┬ tough-cookie@2.3.2 │ │ └── punycode@1.4.1 │ ├── tunnel-agent@0.4.3 │ └── uuid@3.0.1 ├─┬ rimraf@2.5.4 │ └─┬ glob@7.1.1 │ ├── fs.realpath@1.0.0 │ ├── inflight@1.0.6 │ ├─┬ minimatch@3.0.3 │ │ └─┬ brace-expansion@1.1.6 │ │ ├── balanced-match@0.4.2 │ │ └── concat-map@0.0.1 │ ├── once@1.4.0 │ └── path-is-absolute@1.0.1 ├── semver@5.3.0 ├─┬ tar@2.2.1 │ ├── block-stream@0.0.9 │ ├─┬ fstream@1.0.10 │ │ └── graceful-fs@4.1.11 │ └── inherits@2.0.3 └─┬ tar-pack@3.3.0 ├─┬ debug@2.2.0 │ └── ms@0.7.1 ├── fstream-ignore@1.0.5 ├─┬ once@1.3.3 │ └── wrappy@1.0.2 ├─┬ readable-stream@2.1.5 │ ├── buffer-shims@1.0.0 │ ├── core-util-is@1.0.2 │ ├── isarray@1.0.0 │ ├── process-nextick-args@1.0.7 │ ├── string_decoder@0.10.31 │ └── util-deprecate@1.0.2 └── uid-number@0.0.6

npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field.

FritzTheCatfish commented 7 years ago

Tried today with a fresh install on a Pi Zero.

pi@raspberrypi:~/Downloads $ bash <(curl -s https://raw.githubusercontent.com/macnow/homebridge-raspbian-installer/master/download.sh) Hit http://archive.raspberrypi.org jessie InRelease Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_US
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en Ign http://mirrordirector.raspbian.org jessie/main Translation-en_US
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_US
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_US
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-en_US Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_US
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Reading package lists... Done
Reading package lists... Done Building dependency tree
Reading state information... Done The following extra packages will be installed: git-man libcurl3-gnutls liberror-perl rsync Suggested packages: gettext-base git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn The following NEW packages will be installed: git git-man libcurl3-gnutls liberror-perl rsync 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 4,613 kB of archives. After this operation, 21.5 MB of additional disk space will be used. Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libcurl3-gnutls armhf 7.38.0-4+deb8u5 [225 kB] Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main liberror-perl all 0.17-1.1 [22.4 kB] Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main git-man all 1:2.1.4-2.1+deb8u2 [1,267 kB] Get:4 http://mirrordirector.raspbian.org/raspbian/ jessie/main git armhf 1:2.1.4-2.1+deb8u2 [2,725 kB] Get:5 http://mirrordirector.raspbian.org/raspbian/ jessie/main rsync armhf 3.1.1-3 [373 kB] Fetched 4,613 kB in 4s (1,007 kB/s) Selecting previously unselected package libcurl3-gnutls:armhf. (Reading database ... 31721 files and directories currently installed.) Preparing to unpack .../libcurl3-gnutls_7.38.0-4+deb8u5_armhf.deb ... Unpacking libcurl3-gnutls:armhf (7.38.0-4+deb8u5) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ... Unpacking liberror-perl (0.17-1.1) ... Selecting previously unselected package git-man. Preparing to unpack .../git-man_1%3a2.1.4-2.1+deb8u2_all.deb ... Unpacking git-man (1:2.1.4-2.1+deb8u2) ... Selecting previously unselected package git. Preparing to unpack .../git_1%3a2.1.4-2.1+deb8u2_armhf.deb ... Unpacking git (1:2.1.4-2.1+deb8u2) ... Selecting previously unselected package rsync. Preparing to unpack .../rsync_3.1.1-3_armhf.deb ... Unpacking rsync (3.1.1-3) ... Processing triggers for man-db (2.7.0.2-5) ... Processing triggers for systemd (215-17+deb8u6) ... Setting up libcurl3-gnutls:armhf (7.38.0-4+deb8u5) ... Setting up liberror-perl (0.17-1.1) ... Setting up git-man (1:2.1.4-2.1+deb8u2) ... Setting up git (1:2.1.4-2.1+deb8u2) ... Setting up rsync (3.1.1-3) ... Processing triggers for libc-bin (2.19-18+deb8u7) ... Processing triggers for systemd (215-17+deb8u6) ... Cloning into 'homebridge-raspbian-installer'... remote: Counting objects: 95, done. remote: Total 95 (delta 0), reused 0 (delta 0), pack-reused 95 Unpacking objects: 100% (95/95), done. Checking connectivity... done. ++ uname -m

nodejs.org/dist/latest/index.html [ <=> ] 5.23K --.-KB/s in 0.003s

2017-03-01 13:32:50 (1.85 MB/s) - ‘nodejs.org/dist/latest/index.html’ saved [5355]

Removing nodejs.org/dist/latest/index.html since it should be rejected.

--2017-03-01 13:32:50-- https://nodejs.org/dist/latest/docs/ Reusing existing connection to nodejs.org:443. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ‘nodejs.org/dist/latest/docs/index.html’

nodejs.org/dist/latest/docs/index.html [ <=> ] 294 --.-KB/s in 0s

2017-03-01 13:32:51 (835 KB/s) - ‘nodejs.org/dist/latest/docs/index.html’ saved [294]

Removing nodejs.org/dist/latest/docs/index.html since it should be rejected.

--2017-03-01 13:32:51-- https://nodejs.org/dist/latest/win-x64/ Reusing existing connection to nodejs.org:443. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ‘nodejs.org/dist/latest/win-x64/index.html’

nodejs.org/dist/latest/win-x64/index.html [ <=> ] 650 --.-KB/s in 0s

2017-03-01 13:32:51 (2.09 MB/s) - ‘nodejs.org/dist/latest/win-x64/index.html’ saved [650]

Removing nodejs.org/dist/latest/win-x64/index.html since it should be rejected.

--2017-03-01 13:32:51-- https://nodejs.org/dist/latest/win-x86/ Reusing existing connection to nodejs.org:443. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ‘nodejs.org/dist/latest/win-x86/index.html’

nodejs.org/dist/latest/win-x86/index.html [ <=> ] 650 --.-KB/s in 0s

2017-03-01 13:32:51 (1.77 MB/s) - ‘nodejs.org/dist/latest/win-x86/index.html’ saved [650]

Removing nodejs.org/dist/latest/win-x86/index.html since it should be rejected.

--2017-03-01 13:32:51-- https://nodejs.org/dist/latest/node-v7.7.0-linux-armv6l.tar.xz Reusing existing connection to nodejs.org:443. HTTP request sent, awaiting response... 200 OK Length: 9188248 (8.8M) [application/x-xz] Saving to: ‘nodejs.org/dist/latest/node-v7.7.0-linux-armv6l.tar.xz’

nodejs.org/dist/latest/node-v7.7.0-linux-armv6 100%[=====================================================================================================>] 8.76M 1.35MB/s in 6.7s

2017-03-01 13:32:59 (1.31 MB/s) - ‘nodejs.org/dist/latest/node-v7.7.0-linux-armv6l.tar.xz’ saved [9188248/9188248]

FINISHED --2017-03-01 13:32:59-- Total wall clock time: 9.7s Downloaded: 5 files, 8.8M in 6.7s (1.31 MB/s)

mdns@2.3.3 install /home/pi/.npm-global/lib/node_modules/homebridge/node_modules/mdns node-gyp rebuild

make: Entering directory '/home/pi/.npm-global/lib/node_modules/homebridge/node_modules/mdns/build' CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o In file included from ../src/mdns.hpp:11:0, from ../src/dns_sd.cpp:1: /home/pi/.node-gyp/7.7.0/include/node/node.h:44:33: fatal error: tracing/trace_event.h: No such file or directory

include "tracing/trace_event.h"

                             ^

compilation terminated. dns_sd_bindings.target.mk:149: recipe for target 'Release/obj.target/dns_sd_bindings/src/dns_sd.o' failed make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Error 1 make: Leaving directory '/home/pi/.npm-global/lib/node_modules/homebridge/node_modules/mdns/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:194:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Linux 4.4.48+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/pi/.npm-global/lib/node_modules/homebridge/node_modules/mdns gyp ERR! node -v v7.7.0 gyp ERR! node-gyp -v v3.5.0 gyp ERR! not ok /home/pi/.npm-global/lib ├─┬ hap-nodejs@0.4.21 │ ├── buffer-shims@1.0.0 │ ├─┬ curve25519-n@1.1.0 │ │ ├── bindings@1.2.1 │ │ └── nan@2.5.1 │ ├─┬ debug@2.6.1 │ │ └── ms@0.7.2 │ ├── ed25519@0.0.4 │ ├── fast-srp-hap@1.0.0 │ ├── ip@1.1.4 │ ├─┬ mdns@2.3.3 │ │ └── nan@2.3.5 │ └─┬ node-persist@0.0.8 │ ├── mkdirp@0.3.5 │ └── q@1.1.2 ├── homebridge-server@1.0.24 ├── json@9.0.4 └─┬ node-gyp@3.5.0 ├─┬ fstream@1.0.10 │ └── inherits@2.0.3 ├─┬ glob@7.1.1 │ ├── fs.realpath@1.0.0 │ ├─┬ inflight@1.0.6 │ │ └── wrappy@1.0.2 │ ├── once@1.4.0 │ └── path-is-absolute@1.0.1 ├── graceful-fs@4.1.11 ├─┬ minimatch@3.0.3 │ └─┬ brace-expansion@1.1.6 │ ├── balanced-match@0.4.2 │ └── concat-map@0.0.1 ├─┬ mkdirp@0.5.1 │ └── minimist@0.0.8 ├─┬ nopt@3.0.6 │ └── abbrev@1.1.0 ├─┬ npmlog@4.0.2 │ ├─┬ are-we-there-yet@1.1.2 │ │ ├── delegates@1.0.0 │ │ └─┬ readable-stream@2.2.3 │ │ ├── buffer-shims@1.0.0 │ │ ├── core-util-is@1.0.2 │ │ ├── isarray@1.0.0 │ │ ├── process-nextick-args@1.0.7 │ │ ├── string_decoder@0.10.31 │ │ └── util-deprecate@1.0.2 │ ├── console-control-strings@1.1.0 │ ├─┬ gauge@2.7.3 │ │ ├── aproba@1.1.1 │ │ ├── has-unicode@2.0.1 │ │ ├── object-assign@4.1.1 │ │ ├── signal-exit@3.0.2 │ │ ├─┬ string-width@1.0.2 │ │ │ ├── code-point-at@1.1.0 │ │ │ └─┬ is-fullwidth-code-point@1.0.0 │ │ │ └── number-is-nan@1.0.1 │ │ ├─┬ strip-ansi@3.0.1 │ │ │ └── ansi-regex@2.1.1 │ │ └── wide-align@1.1.0 │ └── set-blocking@2.0.0 ├─┬ osenv@0.1.4 │ ├── os-homedir@1.0.2 │ └── os-tmpdir@1.0.2 ├─┬ request@2.79.0 │ ├── aws-sign2@0.6.0 │ ├── aws4@1.6.0 │ ├── caseless@0.11.0 │ ├─┬ combined-stream@1.0.5 │ │ └── delayed-stream@1.0.0 │ ├── extend@3.0.0 │ ├── forever-agent@0.6.1 │ ├─┬ form-data@2.1.2 │ │ └── asynckit@0.4.0 │ ├─┬ har-validator@2.0.6 │ │ ├─┬ chalk@1.1.3 │ │ │ ├── ansi-styles@2.2.1 │ │ │ ├── escape-string-regexp@1.0.5 │ │ │ ├── has-ansi@2.0.0 │ │ │ └── supports-color@2.0.0 │ │ ├─┬ commander@2.9.0 │ │ │ └── graceful-readlink@1.0.1 │ │ ├─┬ is-my-json-valid@2.16.0 │ │ │ ├── generate-function@2.0.0 │ │ │ ├─┬ generate-object-property@1.2.0 │ │ │ │ └── is-property@1.0.2 │ │ │ ├── jsonpointer@4.0.1 │ │ │ └── xtend@4.0.1 │ │ └─┬ pinkie-promise@2.0.1 │ │ └── pinkie@2.0.4 │ ├─┬ hawk@3.1.3 │ │ ├── boom@2.10.1 │ │ ├── cryptiles@2.0.5 │ │ ├── hoek@2.16.3 │ │ └── sntp@1.0.9 │ ├─┬ http-signature@1.1.1 │ │ ├── assert-plus@0.2.0 │ │ ├─┬ jsprim@1.3.1 │ │ │ ├── extsprintf@1.0.2 │ │ │ ├── json-schema@0.2.3 │ │ │ └── verror@1.3.6 │ │ └─┬ sshpk@1.10.2 │ │ ├── asn1@0.2.3 │ │ ├── assert-plus@1.0.0 │ │ ├── bcrypt-pbkdf@1.0.1 │ │ ├─┬ dashdash@1.14.1 │ │ │ └── assert-plus@1.0.0 │ │ ├── ecc-jsbn@0.1.1 │ │ ├─┬ getpass@0.1.6 │ │ │ └── assert-plus@1.0.0 │ │ ├── jodid25519@1.0.2 │ │ ├── jsbn@0.1.1 │ │ └── tweetnacl@0.14.5 │ ├── is-typedarray@1.0.0 │ ├── isstream@0.1.2 │ ├── json-stringify-safe@5.0.1 │ ├─┬ mime-types@2.1.14 │ │ └── mime-db@1.26.0 │ ├── oauth-sign@0.8.2 │ ├── qs@6.3.1 │ ├── stringstream@0.0.5 │ ├─┬ tough-cookie@2.3.2 │ │ └── punycode@1.4.1 │ ├── tunnel-agent@0.4.3 │ └── uuid@3.0.1 ├── rimraf@2.6.1 ├── semver@5.3.0 ├─┬ tar@2.2.1 │ └── block-stream@0.0.9 └─┬ which@1.2.12 └── isexe@1.1.2

npm ERR! Linux 4.4.48+ npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "--unsafe-perm" "homebridge" "hap-nodejs" "node-gyp" "json" "homebridge-server" npm ERR! node v7.7.0 npm ERR! npm v4.1.2 npm ERR! code ELIFECYCLE

npm ERR! mdns@2.3.3 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the mdns@2.3.3 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the mdns package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs mdns npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls mdns npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /home/pi/Downloads/homebridge-raspbian-installer/npm-debug.log

bignum@0.12.5 install /home/pi/Downloads/homebridge-raspbian-installer/node_modules/bignum node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download(403): https://rvagg-node.s3-us-west-2.amazonaws.com/bignum/v0.12.5/bignum-v0.12.5-node-v51-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for bignum@0.12.5 and node@7.7.0 (node-v51 ABI) (falling back to source compile with node-gyp) make: Entering directory '/home/pi/Downloads/homebridge-raspbian-installer/node_modules/bignum/build' CXX(target) Release/obj.target/bignum/bignum.o In file included from ../../nan/nan.h:47:0, from ../bignum.cc:8: /home/pi/.node-gyp/7.7.0/include/node/node.h:44:33: fatal error: tracing/trace_event.h: No such file or directory

include "tracing/trace_event.h"

                             ^

compilation terminated. bignum.target.mk:96: recipe for target 'Release/obj.target/bignum/bignum.o' failed make: *** [Release/obj.target/bignum/bignum.o] Error 1 make: Leaving directory '/home/pi/Downloads/homebridge-raspbian-installer/node_modules/bignum/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:194:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Linux 4.4.48+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/Downloads/homebridge-raspbian-installer/node_modules/bignum/binding/bignum.node" "--module_name=bignum" "--module_path=/home/pi/Downloads/homebridge-raspbian-installer/node_modules/bignum/binding" gyp ERR! cwd /home/pi/Downloads/homebridge-raspbian-installer/node_modules/bignum gyp ERR! node -v v7.7.0 gyp ERR! node-gyp -v v3.5.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/Downloads/homebridge-raspbian-installer/node_modules/bignum/binding/bignum.node --module_name=bignum --module_path=/home/pi/Downloads/homebridge-raspbian-installer/node_modules/bignum/binding' (1) node-pre-gyp ERR! stack at ChildProcess. (/home/pi/Downloads/homebridge-raspbian-installer/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at emitTwo (events.js:106:13) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:194:7) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:899:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) node-pre-gyp ERR! System Linux 4.4.48+ node-pre-gyp ERR! command "/usr/bin/node" "/home/pi/Downloads/homebridge-raspbian-installer/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /home/pi/Downloads/homebridge-raspbian-installer/node_modules/bignum node-pre-gyp ERR! node -v v7.7.0 node-pre-gyp ERR! node-pre-gyp -v v0.6.33 node-pre-gyp ERR! not ok Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/Downloads/homebridge-raspbian-installer/node_modules/bignum/binding/bignum.node --module_name=bignum --module_path=/home/pi/Downloads/homebridge-raspbian-installer/node_modules/bignum/binding' (1) npm WARN enoent ENOENT: no such file or directory, open '/home/pi/Downloads/homebridge-raspbian-installer/package.json' npm WARN homebridge-raspbian-installer No description npm WARN homebridge-raspbian-installer No repository field. npm WARN homebridge-raspbian-installer No README data npm WARN homebridge-raspbian-installer No license field. npm ERR! Linux 4.4.48+ npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "--unsafe-perm" "bignum" npm ERR! node v7.7.0 npm ERR! npm v4.1.2 npm ERR! code ELIFECYCLE

npm ERR! bignum@0.12.5 install: node-pre-gyp install --fallback-to-build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bignum@0.12.5 install script 'node-pre-gyp install --fallback-to-build'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the bignum package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-pre-gyp install --fallback-to-build npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs bignum npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls bignum npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /home/pi/Downloads/homebridge-raspbian-installer/npm-debug.log

FritzTheCatfish commented 7 years ago

Apparently there is a general issue with node

https://github.com/nodejs/node/issues/11628

FritzTheCatfish commented 7 years ago

I have tried using node 7.6.0 and it does compile successfully. Unfortunately I run into another problem: modules are compiled into .npm directory an not .npm-global so it is unclear how to make the bignum and mdns modules

MrsDelish commented 7 years ago

https://docs.npmjs.com/getting-started/fixing-npm-permissions this show how to change the default install location, as well as fix permissions on npm.

https://github.com/nfarina/homebridge/wiki/Running-HomeBridge-on-a-Raspberry-Pi#install-homebridge-and-dependencies the homebridge wiki shows how to install dependencies.

FritzTheCatfish commented 7 years ago

Both links above return a 404 error

The 7.7.1 release solved the node issue but installation still fails

there is an issue between .npm and .npm-global paths

MrsDelish commented 7 years ago

the text to the links were correct, I forgot to paste the same path into (url). should be clickable now.

FritzTheCatfish commented 7 years ago

Thanks, I found them

I have removed .npm, .npm-global, .node-gyp, the binaries in /usr/bin and the /usr/lib/node_modules

after running the install script I still find an error:

/home/pi/Downloads/homebridge-raspbian-installer/nodejs.org/dist/latest/node-v7.7.1-linux-armv6l

FritzTheCatfish commented 7 years ago

I believe there are path errors in the script at line 40 there is a cd to ~/.npm-global/homebridge such directory does not exist it should be ~/.npm-global/lib/node_modules/homebridge similarly at line 43 the line should be ~/.npm-global/lib/node_modules/hap-nodejs/node_modules/mdns please double check and modify as necessary

FritzTheCatfish commented 7 years ago

in the install script at line 44 there is a sudo command that fails as root has no knowledge of .npm-global