compile.21
build number: 21
re-implement command
docker pull immortalwrt/opde:sdk
docker run -it --rm immortalwrt/opde:sdk zsh # or bash
export http_proxy= # [your proxy], do not use localhost or 127.0.0.1
export https_proxy=$http_proxy
opde feeds && opde config -a
make package/feeds/packages/node-spi-device/compile -j$(nproc) || make package/feeds/packages/node-spi-device/compile V=s
Compile.txt
npm info it worked if it ends with ok
npm info using npm@6.14.14
npm info using node@v14.17.5
npm info lifecycle spi-device@3.1.2~preinstall: spi-device@3.1.2
npm timing stage:loadCurrentTree Completed in 9ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 1ms
npm http fetch GET 200 https://registry.npmjs.org/bindings 148ms
npm http fetch GET 200 https://registry.npmjs.org/nan 152ms
npm http fetch GET 200 https://registry.npmjs.org/@types%2fnode 176ms
npm http fetch GET 200 https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz 69ms
npm http fetch GET 200 https://registry.npmjs.org/nan/-/nan-2.15.0.tgz 69ms
npm http fetch GET 200 https://registry.npmjs.org/file-uri-to-path 25ms
npm http fetch GET 200 https://registry.npmjs.org/@types/node/-/node-15.14.8.tgz 120ms
npm http fetch GET 200 https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz 77ms
npm http fetch GET 200 https://registry.npmjs.org/jshint 472ms
npm http fetch GET 200 https://registry.npmjs.org/jshint/-/jshint-2.13.1.tgz 84ms
npm http fetch GET 200 https://registry.npmjs.org/htmlparser2 47ms
npm http fetch GET 200 https://registry.npmjs.org/cli 50ms
npm http fetch GET 200 https://registry.npmjs.org/console-browserify 56ms
npm http fetch GET 200 https://registry.npmjs.org/exit 62ms
npm http fetch GET 200 https://registry.npmjs.org/shelljs 66ms
npm http fetch GET 200 https://registry.npmjs.org/lodash 122ms
npm http fetch GET 200 https://registry.npmjs.org/strip-json-comments 123ms
npm http fetch GET 200 https://registry.npmjs.org/cli/-/cli-1.0.1.tgz 73ms
npm http fetch GET 200 https://registry.npmjs.org/shelljs/-/shelljs-0.3.0.tgz 57ms
npm http fetch GET 200 https://registry.npmjs.org/minimatch 128ms
npm http fetch GET 200 https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.8.3.tgz 78ms
npm http fetch GET 200 https://registry.npmjs.org/exit/-/exit-0.1.2.tgz 68ms
npm http fetch GET 200 https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz 79ms
npm http fetch GET 200 https://registry.npmjs.org/exit/-/exit-0.1.2.tgz 16ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.4.tgz 39ms
npm http fetch GET 200 https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz 39ms
npm http fetch GET 200 https://registry.npmjs.org/domelementtype 121ms
npm http fetch GET 200 https://registry.npmjs.org/glob 127ms
npm http fetch GET 200 https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz 146ms
npm http fetch GET 200 https://registry.npmjs.org/domutils 130ms
npm http fetch GET 200 https://registry.npmjs.org/readable-stream 128ms
npm http fetch GET 200 https://registry.npmjs.org/domhandler 133ms
npm http fetch GET 200 https://registry.npmjs.org/date-now 106ms
npm http fetch GET 200 https://registry.npmjs.org/entities 130ms
npm http fetch GET 200 https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz 28ms
npm http fetch GET 200 https://registry.npmjs.org/brace-expansion 34ms
npm http fetch GET 200 https://registry.npmjs.org/glob/-/glob-7.1.7.tgz 43ms
npm http fetch GET 200 https://registry.npmjs.org/entities/-/entities-1.0.0.tgz 31ms
npm http fetch GET 200 https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz 33ms
npm http fetch GET 200 https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz 46ms
npm http fetch GET 200 https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz 67ms
npm http fetch GET 200 https://registry.npmjs.org/domhandler/-/domhandler-2.3.0.tgz 68ms
npm http fetch GET 200 https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz 75ms
npm http fetch GET 200 https://registry.npmjs.org/inherits 42ms
npm http fetch GET 200 https://registry.npmjs.org/inflight 43ms
npm http fetch GET 200 https://registry.npmjs.org/fs.realpath 50ms
npm http fetch GET 200 https://registry.npmjs.org/once 48ms
npm http fetch GET 200 https://registry.npmjs.org/path-is-absolute 52ms
npm http fetch GET 200 https://registry.npmjs.org/concat-map 44ms
npm http fetch GET 200 https://registry.npmjs.org/balanced-match 48ms
npm http fetch GET 200 https://registry.npmjs.org/dom-serializer 48ms
npm http fetch GET 200 https://registry.npmjs.org/core-util-is 47ms
npm http fetch GET 200 https://registry.npmjs.org/isarray 51ms
npm http fetch GET 200 https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz 47ms
npm http fetch GET 200 https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz 46ms
npm http fetch GET 200 https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz 47ms
npm http fetch GET 200 https://registry.npmjs.org/once/-/once-1.4.0.tgz 45ms
npm http fetch GET 200 https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz 41ms
npm http fetch GET 200 https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz 45ms
npm http fetch GET 200 https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz 48ms
npm http fetch GET 200 https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz 47ms
npm http fetch GET 200 https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz 48ms
npm http fetch GET 200 https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz 43ms
npm http fetch GET 200 https://registry.npmjs.org/string_decoder 39ms
npm http fetch GET 200 https://registry.npmjs.org/wrappy 34ms
npm http fetch GET 200 https://registry.npmjs.org/entities/-/entities-2.2.0.tgz 41ms
npm http fetch GET 200 https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz 42ms
npm http fetch GET 200 https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz 33ms
npm http fetch GET 200 https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz 43ms
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 1176ms
npm timing stage:loadIdealTree Completed in 1189ms
npm timing stage:generateActionsToTake Completed in 6ms
npm timing action:extract Completed in 35ms
npm timing action:finalize Completed in 7ms
npm timing action:refresh-package-json Completed in 10ms
npm info lifecycle file-uri-to-path@1.0.0~preinstall: file-uri-to-path@1.0.0
npm info lifecycle bindings@1.5.0~preinstall: bindings@1.5.0
npm info lifecycle nan@2.15.0~preinstall: nan@2.15.0
npm timing action:preinstall Completed in 1ms
npm info linkStuff file-uri-to-path@1.0.0
npm info linkStuff bindings@1.5.0
npm info linkStuff nan@2.15.0
npm timing action:build Completed in 2ms
npm info lifecycle file-uri-to-path@1.0.0~install: file-uri-to-path@1.0.0
npm info lifecycle bindings@1.5.0~install: bindings@1.5.0
npm info lifecycle nan@2.15.0~install: nan@2.15.0
npm timing action:install Completed in 1ms
npm info lifecycle file-uri-to-path@1.0.0~postinstall: file-uri-to-path@1.0.0
npm info lifecycle bindings@1.5.0~postinstall: bindings@1.5.0
npm info lifecycle nan@2.15.0~postinstall: nan@2.15.0
npm timing action:postinstall Completed in 1ms
npm timing stage:executeActions Completed in 69ms
npm timing stage:rollbackFailedOptional Completed in 0ms
npm info linkStuff spi-device@3.1.2
npm info lifecycle spi-device@3.1.2~install: spi-device@3.1.2
> spi-device@3.1.2 install /openwrt/build_dir/target-aarch64_cortex-a72_musl/node-spi-device-3.1.2
> node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using node-gyp@5.1.0
gyp info using node@14.17.5 | linux | x64
gyp info find Python using Python version 3.8.10 found at "/openwrt/staging_dir/host/bin/python"
gyp info spawn /openwrt/staging_dir/host/bin/python
gyp info spawn args [
gyp info spawn args '/openwrt/staging_dir/hostpkg/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/openwrt/build_dir/target-aarch64_cortex-a72_musl/node-spi-device-3.1.2/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/openwrt/staging_dir/hostpkg/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/openwrt/staging_dir/target-aarch64_cortex-a72_musl/usr/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/openwrt/staging_dir/target-aarch64_cortex-a72_musl/usr/',
gyp info spawn args '-Dnode_gyp_dir=/openwrt/staging_dir/hostpkg/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/openwrt/staging_dir/target-aarch64_cortex-a72_musl/usr/$(Configuration)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/openwrt/build_dir/target-aarch64_cortex-a72_musl/node-spi-device-3.1.2',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp: /openwrt/staging_dir/target-aarch64_cortex-a72_musl/usr/common.gypi not found (cwd: /openwrt/build_dir/target-aarch64_cortex-a72_musl/node-spi-device-3.1.2) while reading includes of binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/openwrt/staging_dir/hostpkg/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack at ChildProcess.emit (events.js:400:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Linux 5.8.0-1039-azure
gyp ERR! command "/openwrt/staging_dir/hostpkg/bin/node" "/openwrt/staging_dir/hostpkg/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /openwrt/build_dir/target-aarch64_cortex-a72_musl/node-spi-device-3.1.2
gyp ERR! node -v v14.17.5
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm timing audit submit Completed in 184ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 184ms
npm timing audit body Completed in 0ms
npm info lifecycle spi-device@3.1.2~install: Failed to exec install script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! spi-device@3.1.2 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the spi-device@3.1.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm timing npm Completed in 1883ms
npm ERR! A complete log of this run can be found in:
npm ERR! /openwrt/tmp/npm-cache-ADy41fa50V/_logs/2021-08-19T19_14_04_361Z-debug.log
make[3]: *** [Makefile:88: /openwrt/build_dir/target-aarch64_cortex-a72_musl/node-spi-device-3.1.2/.built] Error 1