<?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>8887</bug_id>
          
          <creation_ts>2016-01-06 12:09:42 +0000</creation_ts>
          <short_desc>Extensible SDK: pkgdata not populated after devtool build</short_desc>
          <delta_ts>2016-02-26 13:06:16 +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>devtools / tool chain</component>
          <version>2.0</version>
          <rep_platform>x86</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.1 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Aníbal Limón">anibal.limon</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>57575</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-01-06 12:09:42 +0000</bug_when>
    <thetext>Within the extensible SDK, the only way to build a recipe within the workspace is &quot;devtool build&quot;. This runs do_populate_sysroot for the recipe, but this won&apos;t populate the pkgdata with the result that &quot;devtool add&quot; after this may have trouble mapping dependencies that ought to be easily mapped. Here&apos;s an example (assuming you *don&apos;t* have libsoup as part of the SDK already):

1) devtool add http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.52/libsoup-2.52.2.tar.xz
2) devtool edit-recipe libsoup and change EXTRA_OECONF to &quot;--disable-vala&quot;
3) devtool build libsoup
4) devtool add https://download.gnome.org/sources/gssdp/0.14/gssdp-0.14.12.tar.xz
5) devtool edit-recipe gssdp

At step 5 you should see libsoup in DEPENDS instead of an unmapped libsoup-2.4 dependency, but you won&apos;t because the pkgdata is missing.

I already went ahead and patched &quot;devtool build&quot; so do_packagedata gets run as well as do_populate_sysroot and the above then works; however the problem you then run into is do_packagedata depends on do_package, where there are one or two QA checks including the one for installed-vs-shipped, which is a fatal error in poky. We could hack it and force WARN_TO_ERROR to &quot;&quot; in the ext SDK configuration, but then a few of our devtool QA tests will still fail because the examples they use have unshipped files and they can&apos;t use that hack.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58159</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-01-24 20:03:15 +0000</bug_when>
    <thetext>Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d193531d5ead804380884e97e14ce00cbdccf494

In the end I&apos;ve bitten the bullet and just enabled this; the installed-vs-shipped issue might present a bit of pain for users, but we can reduce that somewhat through documentation (as well as documenting how people building the SDK can configure the system so that the errors are turned into warnings).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>