<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10992</bug_id>
          
          <creation_ts>2017-01-31 04:24:08 +0000</creation_ts>
          <short_desc>devtool: add: check for nodejs-native broken since recipe specific sysroots changes</short_desc>
          <delta_ts>2017-04-28 17:44:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>Scripts and Tools</component>
          <version>2.2</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M4</target_milestone>
          
          <blocked>10653</blocked>
    
    <blocked>10760</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>alex.kanavin</cc>
    
    <cc>henry.bruce</cc>
    
    <cc>libertad.gonzalez.de.la.cruz</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="Libertad">libertad.gonzalez.de.la.cruz</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>70278</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-01-31 04:24:08 +0000</bug_when>
    <thetext>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 &apos;/home/paul/poky/downloads/git2/github.com.etsy.statsd.git&apos;...
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&apos;t have an oe-selftest test for this because we can&apos;t - we don&apos;t have nodejs in OE-Core and it can&apos;t be tested without that.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72645</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-04-19 10:07:17 +0000</bug_when>
    <thetext>Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=bb8f141d0c2c668c4c98afe7760a3084756c92b9</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>