<?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>12154</bug_id>
          
          <creation_ts>2017-10-02 20:48:36 +0000</creation_ts>
          <short_desc>esdk/devtool cannot build both native and target components</short_desc>
          <delta_ts>2025-07-03 15:32:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>eSDK</product>
          <component>eSDK</component>
          <version>2.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>  </status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="brian avery">brian.avery</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>sgw</cc>
    
    <cc>wmills</cc>
          
          <qa_contact name="Francisco Pedraza">francisco.j.pedraza.gonzalez</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>77281</commentid>
    <comment_count>0</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-10-02 20:48:36 +0000</bug_when>
    <thetext>In the esdk, suppose i want to build a native and target version of a tool. I ran across this with ovmf and detailed part of that problem in Bug 12153.  In general however, I cannot build a target and native component.  

For example:
esdk$&gt; devtool modify stat
# works
esdk$&gt; devtool build stat
# works
esdk$&gt; devtool build stat-native
ERROR: No recipe named &apos;stat-native&apos; in your workspace
esdk$&gt; devtool modify stat-native
ERROR: Another variant of recipe stat-native is already in your workspace (only one variant of a recipe can currently be worked on at once) 
## If I reset back and focus on the native one:
esdk$&gt; devtool reset stat
esdk$&gt; devtool modify stat-native
esdk$&gt; devtool build stat-native
# works
esdk$&gt; devtool build stat
ERROR: No recipe named &apos;stat&apos; in your workspace
esdk$&gt; devtool modify stat
ERROR: Another variant of recipe stat is already in your workspace (only one variant of a recipe can currently be worked on at once) 

++++++++++

As a further barrier to working with native tools, the script oe-run-native is not bundled with the esdk by default.

+++++
If working with native recipes/tools is out of scope for the esdk, please close this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77372</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-10-05 02:18:37 +0000</bug_when>
    <thetext>I&apos;m aware of this issue, the tricky thing is that some recipes apply patches only for the native case or only for the target case, so it&apos;s hard to share a single source tree for those. We could of course only block (or show a warning for) recipes that do such things, but fixing this is not high on our current priority list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102400</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-07-03 15:32:51 +0000</bug_when>
    <thetext>Still worth doing when we have the people available. -- YP bug review.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>