<?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>7889</bug_id>
          
          <creation_ts>2015-06-15 07:01:30 +0000</creation_ts>
          <short_desc>Fail to build iptables with toolchain sdk</short_desc>
          <delta_ts>2015-07-15 05:56:59 +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>adt</component>
          <version>1.9</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.9 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>cristian.iorga</cc>
    
    <cc>ke.zou</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>yi.zhao</cc>
    
    <cc>zhangle.yang</cc>
          
          <qa_contact name="Yi Zhao">yi.zhao</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>51683</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2015-06-15 07:01:30 +0000</bug_when>
    <thetext>Toolchain location: http://autobuilder.yoctoproject.org/pub/nightly/20150609-1/toolchain/

Git rev: master/926de56da9469e3d4ea8349d8e7c9777ae6f93c1

Steps:
1. Download the mips toolchain sdk from above link and install it.
2. Setup environment:
   $ . /opt/poky/1.8+snapshot/environment-setup-core2-64-poky-linux
3. Build iptables 1.4.21:
   $ cd iptables-1.4.21/
   $ ./autogen.sh
   $ ./configure ${CONFIGURE_FLAGS}
   $ make

Error message:
########################
$ ./autogen.sh 
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, &apos;build-aux&apos;.
libtoolize: copying file &apos;build-aux/ltmain.sh&apos;
libtoolize:   error: &apos;/opt/poky/1.8+snapshot/sysroots/x86_64-pokysdk-linux/usr/share/aclocal/libtool.m4&apos; does not exist.
autoreconf: libtoolize failed with exit status: 1
#########################

If skip the step &quot;./autogen.sh&quot;, it can be built successfully, but there is a warning message when configure:
###################
configure: WARNING: unrecognized options: --with-libtool-sysroot
###################

This issue also happens on ADT-installer testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51791</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2015-06-18 14:52:27 +0000</bug_when>
    <thetext>Yi Zhao, Do you have any more info on this defect such as:
 - how long has it been occuring?
 - do you have a test case that runs daily?
 - is it reproducible? If not how frequently does it occur?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51812</commentid>
    <comment_count>2</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2015-06-19 02:28:34 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Yi Zhao, Do you have any more info on this defect such as:
&gt;  - how long has it been occuring?
I&apos;m not sure when this issue was introduced because this is the first weekly test for Yocto 1.9. But I can confirm this issue doesn&apos;t happen on Yocto 1.8.
 
&gt;  - do you have a test case that runs daily?
Test case: https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=635

&gt;  - is it reproducible? If not how frequently does it occur?
It can reproduce</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51816</commentid>
    <comment_count>3</comment_count>
    <who name="LiRongQing">rongqing.li</who>
    <bug_when>2015-06-19 05:14:45 +0000</bug_when>
    <thetext>This is toolchain bug, not iptable</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52067</commentid>
    <comment_count>4</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2015-07-01 08:54:54 +0000</bug_when>
    <thetext>This issue still exist on 1.9 M1 rc1 (master/18e902b2dc17746af453869bcc1fba4dbae7c94f)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52250</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-07-09 16:41:46 +0000</bug_when>
    <thetext>This was broken by http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=f44aa10ec122df309d9810d4d25fbb8f799107d2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52256</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-07-09 19:11:07 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=4b9fc479b6a68e6a3fb7cd9da6bdc9c4a786e4d3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52380</commentid>
    <comment_count>7</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2015-07-15 05:56:59 +0000</bug_when>
    <thetext>Verified with 1.9 M1 rc2 build.
git rev master/f9ea480e6c26fea46c3011c4e9d0e2de3d5c81b4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>