<?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>10267</bug_id>
          
          <creation_ts>2016-09-13 13:34:11 +0000</creation_ts>
          <short_desc>workaround for missing --with-libtool-sysroot has wrong sysroot</short_desc>
          <delta_ts>2016-11-08 17:41:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>ADT Manual</product>
          <component>SDK</component>
          <version>unspecified</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>08 Nov 2016: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jussi Kukkonen">jku</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>poky.doc.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>ross.burton</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66082</commentid>
    <comment_count>0</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-09-13 13:34:11 +0000</bug_when>
    <thetext>http://www.yoctoproject.org/docs/current/sdk-manual/sdk-manual.html#passing-host-options

There is a very useful note in &quot;2.4.2 Passing Host Options&quot; part of the SDK manual where an example is given for fixing an old configure that doesn&apos;t recognize --with-libtool-sysroot. I think OECORE_NATIVE_SYSROOT is not a good choice for aclocal though, in the usual case the correct sysroot would be the target sysroot.

In other words I believe the example aclocal call in the note should be:

     $ aclocal -I ${OECORE_TARGET_SYSROOT}/usr/share/aclocal \
        [-I dir_containing_your_project-specific_m4_macros]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66261</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-09-16 17:54:02 +0000</bug_when>
    <thetext>Hi Jussi, 

Here is the change... http://www.yoctoproject.org/docs/2.2/sdk-manual/sdk-manual.html#passing-host-options.

If good let me know.  I will update the status of the bug.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66262</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-09-16 17:54:45 +0000</bug_when>
    <thetext>Setting myself to the CC list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66350</commentid>
    <comment_count>3</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-09-20 08:48:29 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Hi Jussi, 
&gt; 
&gt; Here is the change...
&gt; http://www.yoctoproject.org/docs/2.2/sdk-manual/sdk-manual.html#passing-host-
&gt; options.
&gt; 
&gt; If good let me know.  I will update the status of the bug.


Yep, I believe that&apos;s (more often) correct. Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66514</commentid>
    <comment_count>4</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-09-22 17:30:03 +0000</bug_when>
    <thetext>Thanks, 

I am setting the bug to RESOLVED and putting the doc flag to &quot;done.&quot;

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66632</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-09-27 15:05:16 +0000</bug_when>
    <thetext>Sorry to re-open.  Can we change the list of commands in that section to be just:

$ autoreconf -i -f -I ${OECORE_TARGET_SYSROOT}/usr/share/aclocal -I ${OECORE_NATIVE_SYSROOT}/usr/share/aclocal [-I dir_containing_your_project-specific_m4_macros]

(one long line)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66814</commentid>
    <comment_count>6</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-10-03 16:49:46 +0000</bug_when>
    <thetext>Ross, 

See http://www.yoctoproject.org/docs/2.2/sdk-manual/sdk-manual.html#passing-host-options for the change.  Let me know if this is okay and I will RESOLVE the bug again.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67557</commentid>
    <comment_count>7</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-10-25 20:11:15 +0000</bug_when>
    <thetext>Moving to 2.3 M2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68126</commentid>
    <comment_count>8</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-11-08 17:41:34 +0000</bug_when>
    <thetext>I am setting this to RESOLVED and putting the doc flag to &quot;done.&quot;  No further feedback after implementing Ross&apos; suggestion.

Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>