Hi guys,
I did my usual Pimatic update check some days ago, among others an update to pimatic-hap was available. Unfortunately, an error occured during the update, resulting in the plugin not working anymore.
> curve25519-n2@1.1.3 install /home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/curve25519-n2
> node-gyp rebuild
make: Entering directory '/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/curve25519-n2/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/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/curve25519-n2/build'
> ed25519@0.0.4 install /home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/ed25519
> node-gyp rebuild
make: Entering directory '/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/ed25519/build'
CC(target) Release/obj.target/ed25519/src/ed25519/keypair.o
../src/ed25519/keypair.c: In function ‘crypto_sign_keypair’:
../src/ed25519/keypair.c:21:1: internal compiler error: Ungültiger Maschinenbefehl
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
Preprocessed source stored into /tmp/cc7xeVZ3.out file, please attach this to your bugreport.
make: *** [Release/obj.target/ed25519/src/ed25519/keypair.o] Error 1
ed25519.target.mk:141: recipe for target 'Release/obj.target/ed25519/src/ed25519/keypair.o' failed
make: Leaving directory '/home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/ed25519/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/pi/pimatic-app/node_modules/pimatic/node_modules/npm/node_modules/node-gyp/lib/build.js:285:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.4.50-v7+
gyp ERR! command "/usr/local/bin/node" "/home/pi/pimatic-app/node_modules/pimatic/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/ed25519
gyp ERR! node -v v4.6.0
gyp ERR! node-gyp -v v3.6.0
gyp ERR! not ok
> mdns@2.3.4 install /home/pi/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/mdns
> node-gyp rebuild
make: Entering directory '/home/pi/pimatic-app/node_modules/pimatic-hap/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/pimatic-app/node_modules/pimatic-hap/node_modules/hap-nodejs/node_modules/mdns/build'
npm ERR! Linux 4.4.50-v7+
npm ERR! argv "/usr/local/bin/node" "/home/pi/pimatic-app/node_modules/pimatic/ppm.js" "install" "pimatic-hap@0.11.1" "--unsafe-perm"
npm ERR! node v4.6.0
npm ERR! npm v2.15.12
npm ERR! code ELIFECYCLE
npm ERR! ed25519@0.0.4 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ed25519@0.0.4 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the ed25519 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 ed25519
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls ed25519
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/pimatic-app/npm-debug.log
Any idea what might be the reason for this error? Under Pimatic -> Plugins -> Available updates, hap is listed with version 0.11.1 as active (it’s not), and I can trigger another installation from there (resulting in the error every time).
Pimatic and other plugins are updated to the newest version, I’m currently using the following plugins:
cron 0.8.8
dash-button 0.2.0
dht-sensors 0.9.3
echo 0.5.2
edimax 0.3.19
fritz 0.5.6
harmonyhub 0.0.6
homeduino 0.9.11
hue-zll 0.3.1
lcd 0.9.2
led-light 0.9.5
log-reader 0.9.1
milight-reloaded 0.9.14
mobile-frontend 0.9.12
openweather 0.9.4
ping 0.9.5
pushbullet 0.9.0
shell-execute 0.9.11
sunrise 0.8.7
sysinfo 0.9.4
Any help is greatly appreciated, since a non-functional Homekit integration lowers the WAF significantly.
Best regards
Sebastian