Opde Issues Tracker

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-megahash/compile -j$(nproc) || make package/feeds/packages/node-megahash/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 megahash@1.0.5~preinstall: megahash@1.0.5
npm timing stage:loadCurrentTree Completed in 13ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 1ms
npm http fetch GET 200 https://registry.npmjs.org/bindings 133ms
npm http fetch GET 200 https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz 45ms
npm http fetch GET 200 https://registry.npmjs.org/node-addon-api 376ms
npm http fetch GET 200 https://registry.npmjs.org/pixl-unit 395ms
npm http fetch GET 200 https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz 60ms
npm http fetch GET 200 https://registry.npmjs.org/pixl-unit/-/pixl-unit-1.0.11.tgz 48ms
npm http fetch GET 200 https://registry.npmjs.org/chalk 49ms
npm http fetch GET 200 https://registry.npmjs.org/file-uri-to-path 309ms
npm http fetch GET 200 https://registry.npmjs.org/async 59ms
npm http fetch GET 200 https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz 35ms
npm http fetch GET 200 https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz 76ms
npm http fetch GET 200 https://registry.npmjs.org/async/-/async-2.6.0.tgz 68ms
npm http fetch GET 200 https://registry.npmjs.org/ansi-styles 43ms
npm http fetch GET 200 https://registry.npmjs.org/escape-string-regexp 44ms
npm http fetch GET 200 https://registry.npmjs.org/supports-color 52ms
npm http fetch GET 200 https://registry.npmjs.org/lodash 77ms
npm http fetch GET 200 https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz 42ms
npm http fetch GET 200 https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz 39ms
npm http fetch GET 200 https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz 45ms
npm http fetch GET 200 https://registry.npmjs.org/has-flag 119ms
npm http fetch GET 200 https://registry.npmjs.org/color-convert 125ms
npm http fetch GET 200 https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz 143ms
npm http fetch GET 200 https://registry.npmjs.org/pixl-cli 365ms
npm http fetch GET 200 https://registry.npmjs.org/pixl-args 374ms
npm http fetch GET 200 https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz 35ms
npm http fetch GET 200 https://registry.npmjs.org/pixl-tools 414ms
npm http fetch GET 200 https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz 61ms
npm http fetch GET 200 https://registry.npmjs.org/color-name 51ms
npm http fetch GET 200 https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz 32ms
npm http fetch GET 200 https://registry.npmjs.org/pixl-args/-/pixl-args-1.0.3.tgz 333ms
npm http fetch GET 200 https://registry.npmjs.org/pixl-cli/-/pixl-cli-1.0.12.tgz 350ms
npm http fetch GET 200 https://registry.npmjs.org/string-width 34ms
npm http fetch GET 200 https://registry.npmjs.org/word-wrap 44ms
npm http fetch GET 200 https://registry.npmjs.org/repeating 45ms
npm http fetch GET 200 https://registry.npmjs.org/widest-line 49ms
npm http fetch GET 200 https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz 28ms
npm http fetch GET 200 https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz 31ms
npm http fetch GET 200 https://registry.npmjs.org/repeating/-/repeating-3.0.0.tgz 51ms
npm http fetch GET 200 https://registry.npmjs.org/widest-line/-/widest-line-2.0.0.tgz 49ms
npm http fetch GET 200 https://registry.npmjs.org/pixl-tools/-/pixl-tools-1.0.29.tgz 404ms
npm http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point 43ms
npm http fetch GET 200 https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz 13ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/strip-ansi 61ms
npm http fetch GET 200 https://registry.npmjs.org/rimraf 36ms
npm http fetch GET 200 https://registry.npmjs.org/errno 68ms
npm http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz 66ms
npm http fetch GET 200 https://registry.npmjs.org/glob 70ms
npm http fetch GET 200 https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz 55ms
npm http fetch GET 200 https://registry.npmjs.org/async/-/async-2.6.1.tgz 68ms
npm http fetch GET 200 https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz 48ms
npm http fetch GET 200 https://registry.npmjs.org/errno/-/errno-0.1.7.tgz 29ms
npm http fetch GET 200 https://registry.npmjs.org/glob/-/glob-5.0.15.tgz 41ms
npm http fetch GET 200 https://registry.npmjs.org/ansi-regex 34ms
npm http fetch GET 200 https://registry.npmjs.org/glob/-/glob-7.1.7.tgz 38ms
npm http fetch GET 200 https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz 31ms
npm http fetch GET 200 https://registry.npmjs.org/inherits 40ms
npm http fetch GET 200 https://registry.npmjs.org/inflight 42ms
npm http fetch GET 200 https://registry.npmjs.org/fs.realpath 30ms
npm http fetch GET 200 https://registry.npmjs.org/pixl-class 294ms
npm http fetch GET 200 https://registry.npmjs.org/minimatch 66ms
npm http fetch GET 200 https://registry.npmjs.org/pixl-class 305ms
npm http fetch GET 200 https://registry.npmjs.org/prr 81ms
npm http fetch GET 200 https://registry.npmjs.org/minimatch 57ms
npm http fetch GET 200 https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz 43ms
npm http fetch GET 200 https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz 53ms
npm http fetch GET 200 https://registry.npmjs.org/once 97ms
npm http fetch GET 200 https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz 60ms
npm http fetch GET 200 https://registry.npmjs.org/path-is-absolute 104ms
npm http fetch GET 200 https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz 47ms
npm http fetch GET 200 https://registry.npmjs.org/prr/-/prr-1.0.1.tgz 42ms
npm http fetch GET 200 https://registry.npmjs.org/once/-/once-1.4.0.tgz 42ms
npm http fetch GET 200 https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz 50ms
npm http fetch GET 200 https://registry.npmjs.org/wrappy 38ms
npm http fetch GET 200 https://registry.npmjs.org/brace-expansion 33ms
npm http fetch GET 200 https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz 76ms
npm http fetch GET 200 https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz 36ms
npm http fetch GET 200 https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz 40ms
npm http fetch GET 200 https://registry.npmjs.org/balanced-match 29ms
npm http fetch GET 200 https://registry.npmjs.org/concat-map 34ms
npm http fetch GET 200 https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz 29ms
npm http fetch GET 200 https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz 33ms
npm http fetch GET 200 https://registry.npmjs.org/pixl-class/-/pixl-class-1.0.3.tgz 355ms
npm http fetch GET 200 https://registry.npmjs.org/pixl-class/-/pixl-class-1.0.3.tgz 611ms
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 2201ms
npm timing stage:loadIdealTree Completed in 2217ms
npm timing stage:generateActionsToTake Completed in 7ms
npm timing action:extract Completed in 33ms
npm timing action:finalize Completed in 8ms
npm timing action:refresh-package-json Completed in 11ms
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 node-addon-api@3.2.1~preinstall: node-addon-api@3.2.1
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 node-addon-api@3.2.1
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 node-addon-api@3.2.1~install: node-addon-api@3.2.1
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 node-addon-api@3.2.1~postinstall: node-addon-api@3.2.1
npm timing action:postinstall Completed in 0ms
npm timing stage:executeActions Completed in 69ms
npm timing stage:rollbackFailedOptional Completed in 1ms
npm info linkStuff megahash@1.0.5
npm info lifecycle megahash@1.0.5~install: megahash@1.0.5

> megahash@1.0.5 install /openwrt/build_dir/target-aarch64_cortex-a72_musl/node-megahash-1.0.5
> 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-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-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-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-a72_musl/usr/common.gypi not found (cwd: /openwrt/build_dir/target-aarch64_cortex-a72_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: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-megahash-1.0.5
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 134ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 134ms
npm timing audit body Completed in 0ms
npm info lifecycle megahash@1.0.5~install: Failed to exec install script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! megahash@1.0.5 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the megahash@1.0.5 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm timing npm Completed in 2935ms

npm ERR! A complete log of this run can be found in:
npm ERR!     /openwrt/tmp/npm-cache-u8yt8U6NM7/_logs/2021-08-19T19_30_02_185Z-debug.log
make[3]: *** [Makefile:86: /openwrt/build_dir/target-aarch64_cortex-a72_musl/node-megahash-1.0.5/.built] Error 1
Last updated on 19 Aug 2021
Published on 19 Aug 2021