Closed NicoHood closed 6 years ago
You need a configured build environment
On Sat, May 5, 2018, 08:45 Nico notifications@github.com wrote:
npm WARN deprecated furg@1.1.1: not maintained anymore
sqlite3@3.1.13 install /build/strichliste/pkg/strichliste/usr/lib/node_modules/strichliste/node_modules/sqlite3 node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v64-linux-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.13 and node@10.0.0 (node-v64 ABI) (falling back to source compile with node-gyp) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at PythonFinder.failNoPython (/usr/lib/node_modules/node-gyp/lib/configure.js:483:19) gyp ERR! stack at PythonFinder.
(/usr/lib/node_modules/node-gyp/lib/configure.js:397:16) gyp ERR! stack at F (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:68:16) gyp ERR! stack at E (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:80:29) gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/which/which.js:89:16 gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/isexe/index.js:42:5 gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/isexe/mode.js:8:5 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:149:21) gyp ERR! System Linux 4.16.6-1-ARCH gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/build/strichliste/pkg/strichliste/usr/lib/node_modules/strichliste/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/build/strichliste/pkg/strichliste/usr/lib/node_modules/strichliste/node_modules/sqlite3/lib/binding/node-v64-linux-x64" gyp ERR! cwd /build/strichliste/pkg/strichliste/usr/lib/node_modules/strichliste/node_modules/sqlite3 gyp ERR! node -v v10.0.0 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/build/strichliste/pkg/strichliste/usr/lib/node_modules/strichliste/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/build/strichliste/pkg/strichliste/usr/lib/node_modules/strichliste/node_modules/sqlite3/lib/binding/node-v64-linux-x64' (1) node-pre-gyp ERR! stack at ChildProcess. (/build/strichliste/pkg/strichliste/usr/lib/node_modules/strichliste/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:947:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:236:5) node-pre-gyp ERR! System Linux 4.16.6-1-ARCH node-pre-gyp ERR! command "/usr/bin/node" "/build/strichliste/pkg/strichliste/usr/lib/node_modules/strichliste/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /build/strichliste/pkg/strichliste/usr/lib/node_modules/strichliste/node_modules/sqlite3 node-pre-gyp ERR! node -v v10.0.0 node-pre-gyp ERR! node-pre-gyp -v v0.6.38 node-pre-gyp ERR! not ok Failed to execute '/usr/bin/node /usr/lib/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/build/strichliste/pkg/strichliste/usr/lib/node_modules/strichliste/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/build/strichliste/pkg/strichliste/usr/lib/node_modules/strichliste/node_modules/sqlite3/lib/binding/node-v64-linux-x64' (1) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! sqlite3@3.1.13 install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sqlite3@3.1.13 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /build/.npm/_logs/2018-05-05T06_40_24_398Z-debug.log
I guess that is due to the nodejs 10 update. The problem is, that even my currently compiled/running nodejs also fails to start (log not shown here). I really need a fix for this. I tried to update the package.json file, but that did not help, it still tries to download 3.1.13!?
prepare() { cd "${srcdir}/${pkgname}-${pkgver}" sed -i 's/"sqlite3":.*/"sqlite3": "^4.0.0",/' package.json cat package.json }
Output of cat:
"once": "^1.4.0", "seq": "^0.3.5", "sqlite3": "^4.0.0", "squel": "^5.12.0", "yargs": "^10.1.0"
} }
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hackerspace-bootstrap/strichliste/issues/278, or mute the thread https://github.com/notifications/unsubscribe-auth/ABRLZkoMJpHNrLqU9JsAsZgykeDSpKWkks5tvUqGgaJpZM4TzhZV .
@seriousManual Could you please give me a few more details at what I need to look at?
I guess that is due to the nodejs 10 update. The problem is, that even my currently compiled/running nodejs also fails to start (log not shown here). I really need a fix for this. I tried to update the package.json file for sqlite 4.0.0, but that also seems to be not available as precompiled download.
I changed the PKGBUILD as follows:
It compiles fine, but running strichliste still fails: