Bug 10992 - devtool: add: check for nodejs-native broken since recipe specific sysroots changes
Summary: devtool: add: check for nodejs-native broken since recipe specific sysroots c...
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: 2.2
Hardware: All Multiple
: Medium+ normal
Target Milestone: 2.3 M4
Assignee: Paul Eggleton
QA Contact: Libertad
URL:
Whiteboard:
Depends on:
Blocks: 10653 10760
  Show dependency tree
 
Reported: 2017-01-31 04:24 UTC by Paul Eggleton
Modified: 2017-04-28 17:44 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2017-01-31 04:24:08 UTC
devtool add on a node.js application now fails every time because of the check added in http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=18caacae069a025662fcdd96b846857fc3107e41 - this still expects a shared native sysroot.

For example:

------------- snip -------------
$ devtool add https://github.com/etsy/statsd.git
NOTE: Fetching git://github.com/etsy/statsd.git;protocol=https...
--2017-01-31 17:17:14--  http://downloads.yoctoproject.org/mirror/sources/git2_github.com.etsy.statsd.git.tar.gz
Resolving downloads.yoctoproject.org (downloads.yoctoproject.org)... 198.145.20.127
Connecting to downloads.yoctoproject.org (downloads.yoctoproject.org)|198.145.20.127|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-01-31 17:17:15 ERROR 404: Not Found.

Cloning into bare repository '/home/paul/poky/downloads/git2/github.com.etsy.statsd.git'...
remote: Counting objects: 5111, done.        
remote: Total 5111 (delta 0), reused 0 (delta 0), pack-reused 5110        
Receiving objects: 100% (5111/5111), 1.68 MiB | 879.00 KiB/s, done.
Resolving deltas: 100% (2629/2629), done.
Checking connectivity... done.
ERROR: npm required to process specified source, but npm is not available - you need to build nodejs-native first
NOTE: Building nodejs-native
Parsing recipes: 100% |########################################################################################################################################################| Time: 0:01:10
Initialising tasks: 100% |#####################################################################################################################################################| Time: 0:00:00
ERROR: Built nodejs-native but npm binary still could not be found at /home/paul/poky/poky/build/tmp/work/core2-64-poky-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/usr/bin/npm
------------- snip -------------

(We don't have an oe-selftest test for this because we can't - we don't have nodejs in OE-Core and it can't be tested without that.)