<?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>5810</bug_id>
          
          <creation_ts>2014-02-11 08:00:50 +0000</creation_ts>
          <short_desc>Host Binaries found in native-sdk target sysroot</short_desc>
          <delta_ts>2014-07-29 14:23:42 +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>core</component>
          <version>1.5.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henning Heinold">henning</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>david.nystrom</cc>
    
    <cc>holger</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <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>40279</commentid>
    <comment_count>0</comment_count>
    <who name="Henning Heinold">henning</who>
    <bug_when>2014-02-11 08:00:50 +0000</bug_when>
    <thetext>When build a native-sdk on dora/poky/yocoto for an armv5 device the fowllowing host files are ending up in the arm sysroot


./opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/chsh
./opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/newgrp
./opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/passwd
./opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/opkg
./opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/chfn
./opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/groups
./opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/sbin
./opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/sbin/chpasswd
./opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/bin
./opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/bin/su
./opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/bin/login
./opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/etc
./opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/etc/rcS.d
./opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/etc/rcS.d/S98run-postinsts
./opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/sbin
./opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/sbin/vigr
./opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/sbin/vipw</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40281</commentid>
    <comment_count>1</comment_count>
    <who name="David Nyström">david.nystrom</who>
    <bug_when>2014-02-11 10:00:38 +0000</bug_when>
    <thetext>How/Why is this a problem ?

Size constraints ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40282</commentid>
    <comment_count>2</comment_count>
    <who name="David Nyström">david.nystrom</who>
    <bug_when>2014-02-11 10:16:23 +0000</bug_when>
    <thetext>Your ARM5 sysroot should be at location:
./opt/poky/1.5.1/sysroots/*.arm.*-poky-linux/...

What you are referencing above is the &quot;nativesdk&quot; sysroot, 
which should contain only x86_64 binaries. i.e. the cross-compiler and friends.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40355</commentid>
    <comment_count>3</comment_count>
    <who name="Henning Heinold">henning</who>
    <bug_when>2014-02-13 17:33:48 +0000</bug_when>
    <thetext>Hi,

sorry I cut and pasted from my email to the mailinglist and omitted the parent dir this gives a better view whats wrong

/opt/poky/1.5.1/sysroots# find | grep x86 | less
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/chsh
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/newgrp
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/passwd
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/opkg
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/chfn
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/groups
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/sbin
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/sbin/chpasswd
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/bin
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/bin/su
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/bin/login
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/etc
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/etc/rcS.d
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/etc/rcS.d/S98run-postinsts
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/sbin
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/sbin/vigr
./armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/sbin/vipw</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41873</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-03-27 17:04:57 +0000</bug_when>
    <thetext>This is by design:

meta/recipes-core/packagegroups$ cat nativesdk-packagegroup-sdk-host.bb | grep shadow
    nativesdk-shadow \

The nativesdk-shadow utils are included so the SDK can be used for running image postinstalls.

If you don&apos;t watch this, you can remove that item from the packagegroup.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44817</commentid>
    <comment_count>5</comment_count>
    <who name="Holger Freyther">holger</who>
    <bug_when>2014-07-29 14:23:42 +0000</bug_when>
    <thetext>(In reply to comment #4)

&gt; The nativesdk-shadow utils are included so the SDK can be used for running
&gt; image postinstalls.
&gt; 
&gt; If you don&apos;t watch this, you can remove that item from the packagegroup.

The issue is not that nativesdk-shadow is present but the way it is packaged.

/opt/poky/1.5.1/sysroots/armv5te-poky-linux-gnueabi/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/sbin/chpasswd

the path is really odd. Is that really by design? Who will use/consume these binaries?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>