MayamaTakeshi / sip-lab

A node module that helps to write SIP functional tests
3 stars 2 forks source link

addon build fails on debian 10 (buster) #106

Open MayamaTakeshi opened 3 weeks ago

MayamaTakeshi commented 3 weeks ago

We get this:

$ npm i sip-lab
... ABRIDGED ...
npm ERR! --2024-06-08 03:02:29--  https://github.com/cmusphinx/pocketsphinx/archive/refs/tags/v5.0.3.tar.gz
npm ERR! Resolving github.com (github.com)... 20.27.177.113
npm ERR! Connecting to github.com (github.com)|20.27.177.113|:443... connected.
npm ERR! HTTP request sent, awaiting response... 302 Found
npm ERR! Location: https://codeload.github.com/cmusphinx/pocketsphinx/tar.gz/refs/tags/v5.0.3 [following]
npm ERR! --2024-06-08 03:02:30--  https://codeload.github.com/cmusphinx/pocketsphinx/tar.gz/refs/tags/v5.0.3
npm ERR! Resolving codeload.github.com (codeload.github.com)... 20.27.177.114
npm ERR! Connecting to codeload.github.com (codeload.github.com)|20.27.177.114|:443... connected.
npm ERR! HTTP request sent, awaiting response... 200 OK
npm ERR! Length: unspecified [application/x-gzip]
npm ERR! Saving to: 'v5.0.3.tar.gz'
npm ERR! 
npm ERR!      0K .......... .......... .......... .......... .......... 3.73M
npm ERR!     50K .......... .......... .......... .......... .......... 4.16M
npm ERR!    100K .......... .......... .......... .......... .......... 4.34M
npm ERR!    150K .......... .......... .......... .......... .......... 3.48M

... ABRIDGED ...

npm ERR! 
npm ERR! 2024-06-08 03:02:34 (9.93 MB/s) - 'v5.0.3.tar.gz' saved [34211451]
npm ERR! 
npm ERR! CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
npm ERR!   CMake 3.14 or higher is required.  You are running version 3.13.4
npm ERR! 
npm ERR! 
npm ERR! make: *** [addon.target.mk:13: 3rdParty] 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 (/root/tmp/t1/node_modules/node-gyp/lib/build.js:203:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:519:28)
npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm ERR! gyp ERR! System Linux 6.5.0-35-generic
npm ERR! gyp ERR! command "/root/.nvm/versions/node/v21.7.3/bin/node" "/root/tmp/t1/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /root/tmp/t1/node_modules/sip-lab
npm ERR! gyp ERR! node -v v21.7.3
npm ERR! gyp ERR! node-gyp -v v9.4.1
npm ERR! gyp ERR! not ok

So we might need to get an older version of pocketsphinx or remove support for it (it should be OK as it is not very good anyway).