<?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>1603</bug_id>
          
          <creation_ts>2011-10-04 10:44:23 +0000</creation_ts>
          <short_desc>Add recipe supporting autoconf-nativesdk and automake-nativesdk</short_desc>
          <delta_ts>2012-01-17 20:54:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>ADT</product>
          <component>kernel analysis</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(P2)  (QA testing completed) Done</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.2 M1</target_milestone>
          
          <blocked>1909</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jessica">jessica.zhang</reporter>
          <assigned_to name="Wenzong.Fan">wenzong.fan</assigned_to>
          <cc>jiajun.xu</cc>
    
    <cc>liang.li2</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</cc>
    
    <cc>yi.zhao</cc>
    
    <cc>yp.sdk.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>16665</commentid>
    <comment_count>0</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-10-04 10:44:23 +0000</bug_when>
    <thetext>The new libtool m4 macros(supporting --with-libtool-sysroot) resides in the directory where host aclocal can not find it by default. This requires the user to manually add that directory using -I options. Adding automake(autoconf)-nativesdk into meta-toolchain would help this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17150</commentid>
    <comment_count>1</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-11-07 21:43:17 +0000</bug_when>
    <thetext>Per Kai Kang&apos;s request, I put the procedure of how to verify this bug is closed:

1. Make sure automake-nativesdk and autotool-nativesdk can be built.
2. Make sure automake-nativesdk and autotool-nativesdk is included in meta-toolchain.
3. Using the meta-toolchain mentioned in step 2, try to build an autotool project with:
 ./aclocal
 ./autoheader
 ./autoconf
 ./automake
 ./configure --host=&lt;your target host triplet&gt; --with-libtool-sysroot=&lt;your sysroot dir&gt;

and make sure the ./configure doesn&apos;t complain about the unknown parameter of --with-libtool-sysroot=.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17234</commentid>
    <comment_count>2</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2011-11-16 19:26:15 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Per Kai Kang&apos;s request, I put the procedure of how to verify this bug is
&gt; closed:
&gt; 
&gt; 1. Make sure automake-nativesdk and autotool-nativesdk can be built.
                                      ~~~~~~~~ do you mean autoconf?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17244</commentid>
    <comment_count>3</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-11-17 07:08:47 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; Per Kai Kang&apos;s request, I put the procedure of how to verify this bug is
&gt; &gt; closed:
&gt; &gt; 
&gt; &gt; 1. Make sure automake-nativesdk and autotool-nativesdk can be built.
&gt;                                       ~~~~~~~~ do you mean autoconf?

Yes. It should be autoconf-nativesdk. Sorry for my typo.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17269</commentid>
    <comment_count>4</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2011-11-20 18:30:34 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; (In reply to comment #1)
&gt; &gt; &gt; Per Kai Kang&apos;s request, I put the procedure of how to verify this bug is
&gt; &gt; &gt; closed:
&gt; &gt; &gt; 
&gt; &gt; &gt; 1. Make sure automake-nativesdk and autotool-nativesdk can be built.
&gt; &gt;                                       ~~~~~~~~ do you mean autoconf?
&gt; 
&gt; Yes. It should be autoconf-nativesdk. Sorry for my typo.
Thanks, Lianhao.

Because I need to focus on POSIX issues, transfer this feature to Wenzong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17271</commentid>
    <comment_count>5</comment_count>
    <who name="Wenzong.Fan">wenzong.fan</who>
    <bug_when>2011-11-20 23:15:32 +0000</bug_when>
    <thetext>Take over this task from Kai Kang, steps to achieve the goal:

1 add autoconf-nativesdk and automake-nativesdk recipes
2 add autoconf-nativesdk and automake-nativesdk to meta-toolchain
3 check the recipes that inherits autotools, &apos;configure&apos; doesn&apos;t show warning
info like:
  WARNING: unrecognized options: --with-libtool-sysroot</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17275</commentid>
    <comment_count>6</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-11-21 01:22:54 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; Take over this task from Kai Kang, steps to achieve the goal:
&gt; 
&gt; 1 add autoconf-nativesdk and automake-nativesdk recipes
&gt; 2 add autoconf-nativesdk and automake-nativesdk to meta-toolchain
&gt; 3 check the recipes that inherits autotools, &apos;configure&apos; doesn&apos;t show warning
&gt; info like:
&gt;   WARNING: unrecognized options: --with-libtool-sysroot

It should use a 3rd party autoconf supported project to test, not the recipes that inherits autotools, which use autoconf/automake-native, not nativesdk. Please see step 3 in my Comment 1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17276</commentid>
    <comment_count>7</comment_count>
    <who name="Wenzong.Fan">wenzong.fan</who>
    <bug_when>2011-11-21 01:39:27 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; (In reply to comment #5)
&gt; &gt; Take over this task from Kai Kang, steps to achieve the goal:
&gt; &gt; 
&gt; &gt; 1 add autoconf-nativesdk and automake-nativesdk recipes
&gt; &gt; 2 add autoconf-nativesdk and automake-nativesdk to meta-toolchain
&gt; &gt; 3 check the recipes that inherits autotools, &apos;configure&apos; doesn&apos;t show warning
&gt; &gt; info like:
&gt; &gt;   WARNING: unrecognized options: --with-libtool-sysroot
&gt; 
&gt; It should use a 3rd party autoconf supported project to test, not the recipes
&gt; that inherits autotools, which use autoconf/automake-native, not nativesdk.
&gt; Please see step 3 in my Comment 1.

Thanks for your clarification, Lianhao.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17442</commentid>
    <comment_count>8</comment_count>
    <who name="Wenzong.Fan">wenzong.fan</who>
    <bug_when>2011-11-30 17:28:16 +0000</bug_when>
    <thetext>commit 1f2b546f3d65c27f6423695b7e28300565b7afc2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17523</commentid>
    <comment_count>9</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-12-08 01:24:51 +0000</bug_when>
    <thetext>verified on nightly build 20111207-2:
http://autobuilder.pokylinux.org/pub/nightly/20111207-2/toolchain
using  powerpc toolchain and follow test steps below:
1. set build env,run &quot;source /opt/poky/1.1+snapshot/environment-setup-ppc603e-poky-linux&quot;.
2. download iptables-1.4.11.tar.bz2 and extract it.
3. run &quot;autoreconf -fi&quot; in the iptable dir.
4. run &quot;./configure ${CONFIGURE_FLAGS}&quot; in the iptable dir.
not met &quot;WARNING: unrecognized options: --with-libtool-sysroot&quot; when run &quot;configure&quot;. 

git info :
1.2_M1:b9d3a5224c7f76f273d5919a88b7460d35ad2574</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>