Opde Issues Tracker

compile.33

build number: 33

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-ubus/compile -j$(nproc) || make package/feeds/packages/node-ubus/compile V=s

Compile.txt

Applying ./patches/000-support_v12.patch using plaintext: 
patching file package.json
patching file ubus.cc
patching file ubus.hpp
Initialized empty Git repository in /openwrt/build_dir/target-aarch64_cortex-a72_musl/node-ubus-1.0.0/.git/
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 1ms
npm timing config:load:file:/openwrt/staging_dir/hostpkg/lib/node_modules/npm/npmrc Completed in 1ms
npm timing config:load:builtin Completed in 2ms
npm timing config:load:cli Completed in 3ms
npm timing config:load:env Completed in 0ms
npm timing config:load:file:/openwrt/build_dir/target-aarch64_cortex-a72_musl/node-ubus-1.0.0/.npmrc Completed in 1ms
npm timing config:load:project Completed in 2ms
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 12ms
npm timing npm:load:configload Completed in 12ms
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 26ms
npm timing arborist:ctor Completed in 1ms
npm timing arborist:ctor Completed in 0ms
npm timing idealTree:init Completed in 15ms
npm timing idealTree:userRequests Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/bindings 92ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/nan 34ms (cache miss)
npm timing idealTree:#root Completed in 142ms
npm timing idealTree:node_modules/bindings Completed in 0ms
npm timing idealTree:node_modules/nan Completed in 0ms
npm timing idealTree:buildDeps Completed in 144ms
npm timing idealTree:fixDepFlags Completed in 0ms
npm timing idealTree Completed in 163ms
npm timing reify:loadTrees Completed in 164ms
npm timing reify:diffTrees Completed in 1ms
npm timing reify:retireShallow Completed in 0ms
npm timing reify:createSparse Completed in 1ms
npm timing reify:trashOmits Completed in 0ms
npm timing reify:loadBundles Completed in 0ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 65ms
npm timing auditReport:getReport Completed in 66ms
npm timing auditReport:init Completed in 0ms
npm timing reify:audit Completed in 68ms
npm http fetch GET 200 https://registry.npmjs.org/bindings/-/bindings-1.2.1.tgz 80ms (cache miss)
npm timing reifyNode:node_modules/bindings Completed in 107ms
npm http fetch GET 200 https://registry.npmjs.org/nan/-/nan-2.15.0.tgz 118ms (cache miss)
npm timing reifyNode:node_modules/nan Completed in 129ms
npm timing reify:unpack Completed in 130ms
npm timing reify:unretire Completed in 0ms
npm timing build:queue Completed in 1ms
npm timing build:deps Completed in 1ms
npm timing build Completed in 1ms
npm timing reify:build Completed in 2ms
npm timing reify:trash Completed in 1ms
npm timing reify Completed in 361ms

> node-ubus@1.0.0 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-a72_musl/node-ubus-1.0.0/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-ubus-1.0.0',
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-ubus-1.0.0) 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-a72_musl/node-ubus-1.0.0
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 694ms
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-a72_musl/node-ubus-1.0.0
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm timing npm Completed in 1005ms

npm ERR! A complete log of this run can be found in:
npm ERR!     /openwrt/tmp/npm-cache-DuOGewIogO/_logs/2021-10-30T21_45_17_177Z-debug.log
make[3]: *** [Makefile:88: /openwrt/build_dir/target-aarch64_cortex-a72_musl/node-ubus-1.0.0/.built] Error 1
Last updated on 30 Oct 2021
Published on 30 Oct 2021