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-statvfs/compile -j$(nproc) || make package/feeds/packages/node-statvfs/compile V=s
Compile.txt
Applying ./patches/000-support_v12.patch using plaintext:
patching file src/statvfs.cpp
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 2ms
npm timing config:load:builtin Completed in 2ms
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-a72_musl/node-statvfs-2.2.0/.npmrc Completed in 0ms
npm timing config:load:project Completed in 1ms
npm timing config:load:file:/home/opde/.npmrc Completed in 1ms
npm timing config:load:user Completed in 1ms
npm timing config:load:file:/openwrt/staging_dir/hostpkg/etc/npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
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 13ms
npm timing npm:load:configload Completed in 13ms
npm timing npm:load:setTitle Completed in 0ms
npm timing npm:load:setupLog Completed in 0ms
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 1ms
npm timing npm:load Completed in 23ms
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 1ms
npm http fetch GET 200 https://registry.npmjs.org/nan 448ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/assert-plus 34ms (cache miss)
npm timing idealTree:#root Completed in 501ms
npm timing idealTree:node_modules/assert-plus Completed in 0ms
npm timing idealTree:node_modules/nan Completed in 0ms
npm timing idealTree:buildDeps Completed in 502ms
npm timing idealTree:fixDepFlags Completed in 0ms
npm timing idealTree Completed in 517ms
npm timing reify:loadTrees Completed in 518ms
npm timing reify:diffTrees Completed in 1ms
npm timing reify:retireShallow Completed in 1ms
npm timing reify:createSparse Completed in 1ms
npm timing reify:trashOmits Completed in 1ms
npm timing reify:loadBundles Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/nan/-/nan-2.15.0.tgz 125ms (cache miss)
npm timing reifyNode:node_modules/nan Completed in 133ms
npm timing reify:unpack Completed in 133ms
npm timing reify:unretire Completed in 0ms
npm timing build:queue Completed in 7ms
npm timing build:deps Completed in 8ms
npm timing build Completed in 8ms
npm timing reify:build Completed in 9ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 149ms
npm timing auditReport:getReport Completed in 149ms
npm timing auditReport:init Completed in 0ms
npm timing reify:audit Completed in 150ms
npm timing reify:trash Completed in 4ms
npm timing reify Completed in 727ms
> statvfs@2.2.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-statvfs-2.2.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-statvfs-2.2.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-statvfs-2.2.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-statvfs-2.2.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 1054ms
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-statvfs-2.2.0
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm timing npm Completed in 1351ms
npm ERR! A complete log of this run can be found in:
npm ERR! /openwrt/tmp/npm-cache-hOs83Qg13A/_logs/2021-10-30T21_11_44_839Z-debug.log
make[3]: *** [Makefile:86: /openwrt/build_dir/target-aarch64_cortex-a72_musl/node-statvfs-2.2.0/.built] Error 1