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-megahash/compile -j$(nproc) || make package/feeds/packages/node-megahash/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 1ms
npm timing config:load:defaults Completed in 2ms
npm timing config:load:file:/openwrt/staging_dir/hostpkg/lib/node_modules/npm/npmrc Completed in 6ms
npm timing config:load:builtin Completed in 6ms
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-megahash-1.0.5/.npmrc Completed in 0ms
npm timing config:load:project Completed in 4ms
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 1ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 20ms
npm timing npm:load:configload Completed in 20ms
npm timing npm:load:setTitle Completed in 0ms
npm timing npm:load:setupLog Completed in 0ms
npm timing config:load:flatten Completed in 3ms
npm timing npm:load:cleanupLog Completed in 2ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load:projectScope Completed in 1ms
npm timing npm:load Completed in 32ms
npm timing arborist:ctor Completed in 1ms
npm timing arborist:ctor Completed in 0ms
npm timing idealTree:init Completed in 13ms
npm timing idealTree:userRequests Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/bindings 62ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/node-addon-api 57ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/pixl-unit 421ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/async 37ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/file-uri-to-path 39ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/chalk 72ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/pixl-tools 319ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/pixl-cli 492ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/pixl-args 498ms (cache miss)
npm timing idealTree:#root Completed in 1060ms
npm timing idealTree:node_modules/bindings Completed in 2ms
npm timing idealTree:node_modules/node-addon-api Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/lodash 58ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/ansi-styles 58ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/escape-string-regexp 60ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/string-width 60ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/supports-color 63ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/widest-line 67ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/word-wrap 100ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/errno 101ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/repeating 103ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/rimraf 103ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/glob 104ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/pixl-class 429ms (cache miss)
npm timing idealTree:node_modules/pixl-unit Completed in 446ms
npm timing idealTree:node_modules/bindings/node_modules/file-uri-to-path Completed in 0ms
npm timing idealTree:node_modules/pixl-unit/node_modules/async Completed in 2ms
npm http fetch GET 200 https://registry.npmjs.org/has-flag 31ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/color-convert 39ms (cache miss)
npm timing idealTree:node_modules/pixl-unit/node_modules/chalk Completed in 58ms
npm http fetch GET 200 https://registry.npmjs.org/color-name 26ms (cache miss)
npm timing idealTree:node_modules/pixl-unit/node_modules/ansi-styles Completed in 30ms
npm timing idealTree:node_modules/pixl-unit/node_modules/color-convert Completed in 7ms
npm timing idealTree:node_modules/pixl-unit/node_modules/color-name Completed in 0ms
npm timing idealTree:node_modules/pixl-unit/node_modules/escape-string-regexp Completed in 0ms
npm timing idealTree:node_modules/pixl-unit/node_modules/lodash Completed in 0ms
npm timing idealTree:node_modules/pixl-unit/node_modules/pixl-args Completed in 1ms
npm timing idealTree:node_modules/pixl-unit/node_modules/pixl-class Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/strip-ansi 29ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point 48ms (cache miss)
npm timing idealTree:node_modules/pixl-unit/node_modules/pixl-cli Completed in 55ms
npm http fetch GET 200 https://registry.npmjs.org/once 51ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/minimatch 53ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/path-is-absolute 52ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/inflight 58ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/prr 61ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/inherits 60ms (cache miss)
npm timing idealTree:node_modules/pixl-unit/node_modules/pixl-tools Completed in 70ms
npm timing idealTree:node_modules/pixl-unit/node_modules/errno Completed in 1ms
npm http fetch GET 200 https://registry.npmjs.org/wrappy 29ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/brace-expansion 44ms (cache miss)
npm timing idealTree:node_modules/pixl-unit/node_modules/glob Completed in 57ms
npm timing idealTree:node_modules/pixl-unit/node_modules/inflight Completed in 2ms
npm timing idealTree:node_modules/pixl-unit/node_modules/inherits Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/balanced-match 45ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/concat-map 45ms (cache miss)
npm timing idealTree:node_modules/pixl-unit/node_modules/minimatch Completed in 50ms
npm timing idealTree:node_modules/pixl-unit/node_modules/brace-expansion Completed in 3ms
npm timing idealTree:node_modules/pixl-unit/node_modules/balanced-match Completed in 0ms
npm timing idealTree:node_modules/pixl-unit/node_modules/concat-map Completed in 0ms
npm timing idealTree:node_modules/pixl-unit/node_modules/once Completed in 0ms
npm timing idealTree:node_modules/pixl-unit/node_modules/path-is-absolute Completed in 0ms
npm timing idealTree:node_modules/pixl-unit/node_modules/prr Completed in 0ms
npm timing idealTree:node_modules/pixl-unit/node_modules/repeating Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/fs.realpath 38ms (cache miss)
npm timing idealTree:node_modules/pixl-unit/node_modules/rimraf Completed in 44ms
npm http fetch GET 200 https://registry.npmjs.org/ansi-regex 30ms (cache miss)
npm timing idealTree:node_modules/pixl-unit/node_modules/string-width Completed in 39ms
npm timing idealTree:node_modules/pixl-unit/node_modules/is-fullwidth-code-point Completed in 0ms
npm timing idealTree:node_modules/pixl-unit/node_modules/strip-ansi Completed in 2ms
npm timing idealTree:node_modules/pixl-unit/node_modules/ansi-regex Completed in 0ms
npm timing idealTree:node_modules/pixl-unit/node_modules/supports-color Completed in 2ms
npm timing idealTree:node_modules/pixl-unit/node_modules/has-flag Completed in 0ms
npm timing idealTree:node_modules/pixl-unit/node_modules/widest-line Completed in 0ms
npm timing idealTree:node_modules/pixl-unit/node_modules/word-wrap Completed in 0ms
npm timing idealTree:node_modules/pixl-unit/node_modules/wrappy Completed in 0ms
npm timing idealTree:node_modules/pixl-unit/node_modules/pixl-tools/node_modules/async Completed in 0ms
npm timing idealTree:node_modules/pixl-unit/node_modules/rimraf/node_modules/glob Completed in 1ms
npm timing idealTree:node_modules/pixl-unit/node_modules/fs.realpath Completed in 0ms
npm timing idealTree:buildDeps Completed in 1940ms
npm timing idealTree:fixDepFlags Completed in 0ms
npm timing idealTree Completed in 1958ms
npm timing reify:loadTrees Completed in 1958ms
npm timing reify:diffTrees Completed in 2ms
npm timing reify:retireShallow Completed in 1ms
npm timing reify:createSparse Completed in 13ms
npm timing reify:trashOmits Completed in 3ms
npm timing reify:loadBundles Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz 75ms (cache miss)
npm timing reifyNode:node_modules/bindings/node_modules/file-uri-to-path Completed in 101ms
npm http fetch GET 200 https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz 91ms (cache miss)
npm timing reifyNode:node_modules/bindings Completed in 104ms
npm http fetch GET 200 https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz 119ms (cache miss)
npm timing reifyNode:node_modules/node-addon-api Completed in 128ms
npm timing reify:unpack Completed in 129ms
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 3ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 154ms
npm timing auditReport:getReport Completed in 155ms
npm timing auditReport:init Completed in 0ms
npm timing reify:audit Completed in 156ms
npm timing reify:trash Completed in 21ms
npm timing reify Completed in 2193ms
> megahash@1.0.5 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-megahash-1.0.5/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-megahash-1.0.5',
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-megahash-1.0.5) 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-megahash-1.0.5
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 2683ms
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-megahash-1.0.5
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm timing npm Completed in 2964ms
npm ERR! A complete log of this run can be found in:
npm ERR! /openwrt/tmp/npm-cache-O5Wakf4nw6/_logs/2021-10-31T00_20_18_028Z-debug.log
make[3]: *** [Makefile:86: /openwrt/build_dir/target-aarch64_cortex-a53_musl/node-megahash-1.0.5/.built] Error 1