Hi, all. I created the recipe for grpc package with:
recipetool create "npm://registry.npmjs.org/;package=grpc;version=latest" The build fails with the error ENOTCACHED. I could build several other NPM package with the same process in the same build environment. Any help on this issue will be very appreciated. Thanks in advance. Exception: bb.fetch2.FetchError: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export PATH="/home/edson/ng-trunk/nodegrid/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/edson/ng-trunk/poky/scripts:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot/usr/bin/crossscripts:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/sbin:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/bin:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/sbin:/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/bin:/home/edson/ng-trunk/poky/bitbake/bin:/home/edson/ng-trunk/nodegrid/tmp/hosttools"; export HOME="/tmp/tmpfksel5vy"; NPM_CONFIG_GLOBALCONFIG=/tmp/tmpfksel5vy/npmrc NPM_CONFIG_USERCONFIG=/tmp/tmpfksel5vy/npmrc npm install /tmp/tmp8fo4p29v/grpc-1.24.2.tgz --target_arch=x64 --build-from-source=true --prefer-offline=true failed with exit code 1, output: npm info it worked if it ends with ok npm verb cli [ npm verb cli '/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/bin/node', npm verb cli '/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/bin/npm', npm verb cli 'install', npm verb cli '/tmp/tmp8fo4p29v/grpc-1.24.2.tgz', npm verb cli '--target_arch=x64', npm verb cli '--build-from-source=true', npm verb cli '--prefer-offline=true' npm verb cli ] npm info using npm@6.13.4 npm info using node@v12.14.1 npm verb npm-session 1c72313bb5c9ab81 npm sill install loadCurrentTree npm sill install readGlobalPackageData npm sill pacote file manifest for undefined@file:/tmp/tmp8fo4p29v/grpc-1.24.2.tgz fetched in 321ms npm timing stage:loadCurrentTree Completed in 332ms npm sill install loadIdealTree npm sill install cloneCurrentTreeToIdealTree npm timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms npm sill install loadShrinkwrap npm timing stage:loadIdealTree:loadShrinkwrap Completed in 2ms npm sill install loadAllDepsIntoIdealTree npm sill resolveWithNewModule grpc@1.24.2 checking installable status npm sill tarball trying file:/tmp/tmp8fo4p29v/grpc-1.24.2.tgz by hash: sha512-fG3+KfpQcxXDADPndyHQu4czffN5AU+1aOn36SmFP67mgMkInvxK7l+/AoEk5tN+OguAWmQxTwCDHaL1G6DMMw== npm sill extract file:/tmp/tmp8fo4p29v/grpc-1.24.2.tgz extracted to /tmp/npm-7958-3f94111f/unpack-639eccef (1705ms) npm sill addBundled read tarball npm sill cleanup remove extracted module npm sill removeObsoleteDep removing node-pre-gyp@0.14.0 from the tree as its been replaced by a newer version or is no longer required npm sill fetchPackageMetaData error for node-pre-gyp@0.14.0 request to https://registry.npmjs.org/node-pre-gyp failed: cache mode is 'only-if-cached' but no cached response available. npm timing stage:rollbackFailedOptional Completed in 1ms npm timing stage:runTopLevelLifecycles Completed in 2486ms npm verb stack Error: request to https://registry.npmjs.org/node-pre-gyp failed: cache mode is 'only-if-cached' but no cached response available. npm verb stack at /home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/make-fetch-happen/index.js:166:21 npm verb stack at tryCatcher (/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23) npm verb stack at Promise._settlePromiseFromHandler (/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:517:31) npm verb stack at Promise._settlePromise (/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:574:18) npm verb stack at Promise._settlePromise0 (/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:619:10) npm verb stack at Promise._settlePromises (/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:699:18) npm verb stack at Promise._fulfill (/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:643:18) npm verb stack at Promise._resolveCallback (/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:437:57) npm verb stack at Promise._settlePromiseFromHandler (/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:529:17) npm verb stack at Promise._settlePromise (/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:574:18) npm verb stack at Promise._settlePromise0 (/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:619:10) npm verb stack at Promise._settlePromises (/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:699:18) npm verb stack at Promise._fulfill (/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:643:18) npm verb stack at Promise._resolveCallback (/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:437:57) npm verb stack at Promise._settlePromiseFromHandler (/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:529:17) npm verb stack at Promise._settlePromise (/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:574:18) npm verb cwd /tmp/tmpfksel5vy npm verb Linux 4.15.0-101-generic npm verb argv "/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/bin/node" "/home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/recipe-sysroot-native/usr/bin/npm" "install" "/tmp/tmp8fo4p29v/grpc-1.24.2.tgz" "--target_arch=x64" "--build-from-source=true" "--prefer-offline=true" npm verb node v12.14.1 npm verb npm v6.13.4 npm ERR! code ENOTCACHED npm ERR! request to https://registry.npmjs.org/node-pre-gyp failed: cache mode is 'only-if-cached' but no cached response available. npm verb exit [ 1, true ] npm timing npm Completed in 2749ms npm ERR! A complete log of this run can be found in: npm ERR! /home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/npm-cache/_logs/2020-06-03T01_14_43_552Z-debug.log ERROR: Logfile of failure stored in: /home/edson/ng-trunk/nodegrid/tmp/work/core2-64-poky-linux/grpc/1.24.2-r0/temp/log.do_compile.7763 ERROR: Task (/home/edson/ng-trunk/meta-extended/meta-oe/recipes-npm/grpc/grpc_1.24.2.bb:do_compile) failed with exit code '1' Edson Seabra Principal Engineer M +1 510 579 0843 E edson.sea...@zpesystems.com<mailto:alvin.c...@zpesystems.com> [1506169147061_OutlookEmoji-1505330244060_ZPELogo_Email.png1e6c5898-d340-4c90-8c28-e559c26bc7d1.png] 46757 Fremont Blvd., Fremont, CA 94538 zpesystems.com<https://www.zpesystems.com/> | Request a Nodegrid Demo<https://www.zpesystems.com/demo/>
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#49563): https://lists.yoctoproject.org/g/yocto/message/49563 Mute This Topic: https://lists.yoctoproject.org/mt/74641702/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-