compile.34
build number: 34
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 using npm@8.1.0
npm info using node@v16.13.0
npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 2ms
npm timing config:load:file:/openwrt/staging_dir/hostpkg/lib/node_modules/npm/npmrc Completed in 13ms
npm timing config:load:builtin Completed in 13ms
npm timing config:load:cli Completed in 3ms
npm timing config:load:env Completed in 1ms
npm timing config:load:file:/openwrt/build_dir/target-aarch64_cortex-a53_musl/node-spi-device-3.1.2/.npmrc Completed in 0ms
npm timing config:load:project Completed in 1ms
npm timing config:load:file:/home/opde/.npmrc Completed in 0ms
npm timing config:load:user Completed in 0ms
npm timing config:load:file:/openwrt/staging_dir/hostpkg/etc/npmrc Completed in 1ms
npm timing config:load:global Completed in 1ms
npm timing config:load:validate Completed in 0ms
npm timing config:load:credentials Completed in 2ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 24ms
npm timing npm:load:configload Completed in 24ms
npm timing npm:load:setTitle Completed in 0ms
npm timing npm:load:setupLog Completed in 1ms
npm timing config:load:flatten Completed in 4ms
npm timing npm:load:cleanupLog Completed in 2ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load:projectScope Completed in 0ms
npm timing npm:load Completed in 37ms
npm timing arborist:ctor Completed in 1ms
npm timing arborist:ctor Completed in 0ms
npm timing idealTree:init Completed in 16ms
npm timing idealTree:userRequests Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/bindings 73ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/nan 51ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/jshint 449ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@types%2fnode 73ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/file-uri-to-path 37ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/exit 82ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/shelljs 82ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/strip-json-comments 85ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/minimatch 99ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/lodash 101ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/console-browserify 104ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/htmlparser2 106ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/cli 432ms (cache miss)
npm timing idealTree:#root Completed in 1130ms
npm timing idealTree:node_modules/@types/node Completed in 0ms
npm timing idealTree:node_modules/bindings Completed in 13ms
npm http fetch GET 200 https://registry.npmjs.org/glob 30ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/domelementtype 64ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/entities 65ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/domhandler 69ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/brace-expansion 68ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/domutils 71ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/readable-stream 72ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/date-now 79ms (cache miss)
npm timing idealTree:node_modules/jshint Completed in 110ms
npm timing idealTree:node_modules/nan Completed in 1ms
npm timing idealTree:node_modules/bindings/node_modules/file-uri-to-path Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/fs.realpath 38ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/inherits 42ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/path-is-absolute 47ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/inflight 53ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/once 58ms (cache miss)
npm timing idealTree:node_modules/jshint/node_modules/cli Completed in 66ms
npm timing idealTree:node_modules/jshint/node_modules/console-browserify Completed in 2ms
npm timing idealTree:node_modules/jshint/node_modules/date-now Completed in 0ms
npm timing idealTree:node_modules/jshint/node_modules/exit Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/wrappy 24ms (cache miss)
npm timing idealTree:node_modules/jshint/node_modules/glob Completed in 37ms
npm timing idealTree:node_modules/jshint/node_modules/fs.realpath Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/dom-serializer 32ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/core-util-is 41ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/string_decoder 40ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/isarray 464ms (cache miss)
npm timing idealTree:node_modules/jshint/node_modules/htmlparser2 Completed in 475ms
npm timing idealTree:node_modules/jshint/node_modules/domelementtype Completed in 0ms
npm timing idealTree:node_modules/jshint/node_modules/domhandler Completed in 0ms
npm timing idealTree:node_modules/jshint/node_modules/domutils Completed in 3ms
npm timing idealTree:node_modules/jshint/node_modules/dom-serializer Completed in 4ms
npm timing idealTree:node_modules/jshint/node_modules/entities Completed in 0ms
npm timing idealTree:node_modules/jshint/node_modules/inflight Completed in 1ms
npm timing idealTree:node_modules/jshint/node_modules/inherits Completed in 0ms
npm timing idealTree:node_modules/jshint/node_modules/lodash Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/balanced-match 30ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/concat-map 56ms (cache miss)
npm timing idealTree:node_modules/jshint/node_modules/minimatch Completed in 61ms
npm timing idealTree:node_modules/jshint/node_modules/brace-expansion Completed in 3ms
npm timing idealTree:node_modules/jshint/node_modules/balanced-match Completed in 0ms
npm timing idealTree:node_modules/jshint/node_modules/concat-map Completed in 0ms
npm timing idealTree:node_modules/jshint/node_modules/once Completed in 0ms
npm timing idealTree:node_modules/jshint/node_modules/path-is-absolute Completed in 0ms
npm timing idealTree:node_modules/jshint/node_modules/readable-stream Completed in 5ms
npm timing idealTree:node_modules/jshint/node_modules/core-util-is Completed in 0ms
npm timing idealTree:node_modules/jshint/node_modules/isarray Completed in 0ms
npm timing idealTree:node_modules/jshint/node_modules/shelljs Completed in 0ms
npm timing idealTree:node_modules/jshint/node_modules/string_decoder Completed in 0ms
npm timing idealTree:node_modules/jshint/node_modules/strip-json-comments Completed in 0ms
npm timing idealTree:node_modules/jshint/node_modules/wrappy Completed in 0ms
npm timing idealTree:node_modules/jshint/node_modules/dom-serializer/node_modules/domelementtype Completed in 0ms
npm timing idealTree:node_modules/jshint/node_modules/dom-serializer/node_modules/entities Completed in 0ms
npm timing idealTree:buildDeps Completed in 1921ms
npm timing idealTree:fixDepFlags Completed in 1ms
npm timing idealTree Completed in 1940ms
npm timing reify:loadTrees Completed in 1941ms
npm timing reify:diffTrees Completed in 2ms
npm timing reify:retireShallow Completed in 0ms
npm timing reify:createSparse Completed in 15ms
npm timing reify:trashOmits Completed in 4ms
npm timing reify:loadBundles Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz 84ms (cache miss)
npm timing reifyNode:node_modules/bindings Completed in 97ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 131ms
npm timing auditReport:getReport Completed in 133ms
npm timing auditReport:init Completed in 0ms
npm timing reify:audit Completed in 134ms
npm http fetch GET 200 https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz 122ms (cache miss)
npm timing reifyNode:node_modules/bindings/node_modules/file-uri-to-path Completed in 146ms
npm http fetch GET 200 https://registry.npmjs.org/nan/-/nan-2.15.0.tgz 154ms (cache miss)
npm timing reifyNode:node_modules/nan Completed in 163ms
npm timing reify:unpack Completed in 164ms
npm timing reify:unretire Completed in 0ms
npm timing build:queue Completed in 2ms
npm timing build:link Completed in 0ms
npm timing build:deps Completed in 3ms
npm timing build Completed in 3ms
npm timing reify:build Completed in 4ms
npm timing reify:trash Completed in 18ms
npm timing reify Completed in 2214ms
> spi-device@3.1.2 install
> node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using node-gyp@8.2.0
gyp info using node@16.13.0 | linux | x64
gyp info find Python using Python version 3.9.7 found at "/openwrt/staging_dir/hostpkg/bin/python3"
gyp info spawn /openwrt/staging_dir/hostpkg/bin/python3
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-a53_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-a53_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-a53_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-a53_musl/usr/$(Configuration)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/openwrt/build_dir/target-aarch64_cortex-a53_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-a53_musl/usr/common.gypi not found (cwd: /openwrt/build_dir/target-aarch64_cortex-a53_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:353:16)
gyp ERR! stack at ChildProcess.emit (node:events:390:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Linux 5.8.0-1042-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-a53_musl/node-spi-device-3.1.2
gyp ERR! node -v v16.13.0
gyp ERR! node-gyp -v v8.2.0
gyp ERR! not ok
npm timing command:install Completed in 2528ms
npm notice
npm notice New patch version of npm available! 8.1.0 -> 8.1.2
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.1.2>
npm notice Run `npm install -g npm@8.1.2` to update!
npm notice
npm ERR! code 1
npm ERR! path /openwrt/build_dir/target-aarch64_cortex-a53_musl/node-spi-device-3.1.2
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm timing npm Completed in 2829ms
npm ERR! A complete log of this run can be found in:
npm ERR! /openwrt/tmp/npm-cache-cdp429yllg/_logs/2021-10-31T00_27_44_307Z-debug.log
make[3]: *** [Makefile:88: /openwrt/build_dir/target-aarch64_cortex-a53_musl/node-spi-device-3.1.2/.built] Error 1