Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addon build fails on debian 10 (buster) #106

Open
MayamaTakeshi opened this issue Jun 8, 2024 · 0 comments
Open

addon build fails on debian 10 (buster) #106

MayamaTakeshi opened this issue Jun 8, 2024 · 0 comments

Comments

@MayamaTakeshi
Copy link
Owner

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant