Bonjour,
Raspberry pi 4 1Gb
uname -a
Linux magic 6.1.21-v8+ #1639 SMP PREEMPT Fri Mar 24 17:02:53 GMT 2023 aarch64 GNU/Linux
Depuis hier j’ai cette erreur lors de l’installe du module EXT-Pir
magic@magic:~/MagicMirror/modules/EXT-Pir $ cd ~/MagicMirror/modules
git clone https://github.com/bugsounet/EXT-Pir
cd EXT-Pir
npm install
Cloning into 'EXT-Pir'...
remote: Enumerating objects: 106, done.
remote: Counting objects: 100% (106/106), done.
remote: Compressing objects: 100% (79/79), done.
remote: Total 106 (delta 51), reused 55 (delta 24), pack-reused 0
Receiving objects: 100% (106/106), 27.09 KiB | 1.35 MiB/s, done.
Resolving deltas: 100% (51/51), done.
npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
npm ERR! code 1
npm ERR! path /home/magic/MagicMirror/modules/EXT-Pir/node_modules/epoll
npm ERR! command failed
npm ERR! command sh -c -- node-gyp rebuild
npm ERR! make: Entering directory '/home/magic/MagicMirror/modules/EXT-Pir/node_modules/epoll/build'
npm ERR! CXX(target) Release/obj.target/epoll/src/epoll.o
npm ERR! make: Leaving directory '/home/magic/MagicMirror/modules/EXT-Pir/node_modules/epoll/build'
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.3.1
npm ERR! gyp info using node@16.19.1 | linux | arm
npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/home/magic/MagicMirror/modules/EXT-Pir/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/magic/MagicMirror/modules/EXT-Pir/node_modules/epoll/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/magic/MagicMirror/modules/EXT-Pir/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/magic/.cache/node-gyp/16.19.1/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/home/magic/.cache/node-gyp/16.19.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/home/magic/MagicMirror/modules/EXT-Pir/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/home/magic/.cache/node-gyp/16.19.1/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/magic/MagicMirror/modules/EXT-Pir/node_modules/epoll',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! during RTL pass: fwprop1
npm ERR! In file included from ../../nan/nan_callbacks.h:87,
npm ERR! from ../../nan/nan.h:180,
npm ERR! from ../src/epoll.cc:15:
npm ERR! ../../nan/nan_callbacks_12_inl.h: In function ‘void Nan::imp::FunctionCallbackWrapper(const v8::FunctionCallbackInfo<v8::Value>&)’:
npm ERR! ../../nan/nan_callbacks_12_inl.h:177:1: internal compiler error: Segmentation fault
npm ERR! 177 | }
npm ERR! | ^
npm ERR! 0xf75458ff ???
npm ERR! ../sysdeps/unix/sysv/linux/arm/sigrestorer.S:64
npm ERR! Please submit a full bug report,
npm ERR! with preprocessed source if appropriate.
npm ERR! Please include the complete backtrace with any bug report.
npm ERR! See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
npm ERR! make: *** [epoll.target.mk:115: Release/obj.target/epoll/src/epoll.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/home/magic/MagicMirror/modules/EXT-Pir/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Linux 6.1.21-v8+
npm ERR! gyp ERR! command "/usr/bin/node" "/home/magic/MagicMirror/modules/EXT-Pir/node_modules/.bin/node-gyp" "rebuild"
npm ERR! gyp ERR! cwd /home/magic/MagicMirror/modules/EXT-Pir/node_modules/epoll
npm ERR! gyp ERR! node -v v16.19.1
npm ERR! gyp ERR! node-gyp -v v9.3.1
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! /home/magic/.npm/_logs/2023-03-31T05_47_18_454Z-debug-0.log
Cela peut venir de où ?
Merci d’avance.