compile.23
build number: 23
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-deasync/compile -j$(nproc) || make package/feeds/packages/node-deasync/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 deasync@0.1.22~preinstall: deasync@0.1.22
npm timing stage:loadCurrentTree Completed in 11ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/node-addon-api 118ms
npm http fetch GET 200 https://registry.npmjs.org/require-directory 132ms
npm http fetch GET 200 https://registry.npmjs.org/bindings 131ms
npm http fetch GET 200 https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz 80ms
npm http fetch GET 200 https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz 83ms
npm http fetch GET 200 https://registry.npmjs.org/node-addon-api/-/node-addon-api-1.7.2.tgz 91ms
npm http fetch GET 200 https://registry.npmjs.org/file-uri-to-path 44ms
npm http fetch GET 200 https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz 29ms
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 318ms
npm timing stage:loadIdealTree Completed in 322ms
npm timing stage:generateActionsToTake Completed in 3ms
npm timing action:extract Completed in 57ms
npm timing action:finalize Completed in 8ms
npm timing action:refresh-package-json Completed in 22ms
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@1.7.2~preinstall: node-addon-api@1.7.2
npm timing action:preinstall Completed in 0ms
npm info linkStuff file-uri-to-path@1.0.0
npm info linkStuff bindings@1.5.0
npm info linkStuff node-addon-api@1.7.2
npm timing action:build Completed in 4ms
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@1.7.2~install: node-addon-api@1.7.2
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@1.7.2~postinstall: node-addon-api@1.7.2
npm timing action:postinstall Completed in 1ms
npm timing stage:executeActions Completed in 109ms
npm timing stage:rollbackFailedOptional Completed in 0ms
npm info linkStuff deasync@0.1.22
npm info lifecycle deasync@0.1.22~install: deasync@0.1.22
> deasync@0.1.22 install /openwrt/build_dir/target-aarch64_cortex-a53_musl/node-deasync-0.1.22
> node ./build.js
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-a53_musl/node-deasync-0.1.22/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-deasync-0.1.22',
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-deasync-0.1.22) 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-a53_musl/node-deasync-0.1.22
gyp ERR! node -v v14.17.5
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
Build failed
npm timing audit submit Completed in 127ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 126ms
npm timing audit body Completed in 0ms
npm info lifecycle deasync@0.1.22~install: Failed to exec install script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! deasync@0.1.22 install: `node ./build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the deasync@0.1.22 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm timing npm Completed in 1142ms
npm ERR! A complete log of this run can be found in:
npm ERR! /openwrt/tmp/npm-cache-6yOxXt6SQn/_logs/2021-08-27T05_48_11_768Z-debug.log
make[3]: *** [Makefile:90: /openwrt/build_dir/target-aarch64_cortex-a53_musl/node-deasync-0.1.22/.built] Error 1