Closed MayamaTakeshi closed 4 months ago
Trying to build on a new VM:
$ npx node-gyp configure $ npm run build ... ABRIDGED ... ../src/event_templates.cpp: In function ‘int make_evt_reinvite(char*, int, long int, int, char*)’: ../src/event_templates.cpp:88:60: warning: format ‘%i’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] 88 | "{\"event\": \"reinvite\", \"call_id\": %i}\n%.*s", call_id, | ~^ ~~~~~~~ | | | | int long int | %li CXX(target) Release/obj.target/addon/src/idmanager.o In file included from ../src/idmanager.cpp:1: ../src/idmanager.hpp:8:10: fatal error: boost/circular_buffer.hpp: No such file or directory 8 | #include <boost/circular_buffer.hpp> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [addon.target.mk:170: Release/obj.target/addon/src/idmanager.o] Error 1 make: Leaving directory '/usr/local/src/git/MayamaTakeshi/sip-lab/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/src/git/MayamaTakeshi/sip-lab/node_modules/node-gyp/lib/build.js:203:23) gyp ERR! stack at ChildProcess.emit (node:events:519:28) gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12) gyp ERR! System Linux 5.10.0-27-amd64 gyp ERR! command "/root/.nvm/versions/node/v21.6.1/bin/node" "/usr/local/src/git/MayamaTakeshi/sip-lab/node_modules/.bin/node-gyp" "build" gyp ERR! cwd /usr/local/src/git/MayamaTakeshi/sip-lab gyp ERR! node -v v21.6.1 gyp ERR! node-gyp -v v9.3.0 gyp ERR! not ok
Trying to build on a new VM: