<?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>4550</bug_id>
          
          <creation_ts>2013-05-24 09:29:25 +0000</creation_ts>
          <short_desc>ADT: iptables autoreconf run fails on CentOS</short_desc>
          <delta_ts>2013-06-29 05:31:31 +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.5</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Hongxu Jia">hongxu.jia</assigned_to>
          <cc>hongxu.jia</cc>
    
    <cc>kai.kang</cc>
    
    <cc>ke.zou</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>ning.zhang</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>Qi.Chen</cc>
    
    <cc>sen.zhang</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</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>33261</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2013-05-24 09:29:25 +0000</bug_when>
    <thetext>Image location: http://autobuilder.yoctoproject.org/pub/nightly/20130521-1/
Branch: poky/master
Git rev: 176a46b088135f2891983bb8540bc45389341d90

The autoreconf run fails if the adt isn&apos;t installed in the default location on CentOS.
 
Steps:
1. Download adt_installer.tar.bz2

2. Run &quot;./adt_installer&quot; to install the adt. Don&apos;t use the default install location, use a new one, for exapmle: /opt/test

3. When the installation finish, run &quot;source /opt/test/environment-setup-armv5te-poky-linux-gnueabi&quot;

4. Try to compile iptables-1.4.15. When run &quot;autoreconf -fi&quot;, will get the following errors: 
$ cd iptables-1.4.15
$ autoreconf -fi
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux&apos;.
libtoolize: copying file `build-aux/ltmain.sh&apos;
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4&apos;.
libtoolize: copying file `m4/libtool.m4&apos;
libtoolize: copying file `m4/ltoptions.m4&apos;
libtoolize: copying file `m4/ltsugar.m4&apos;
libtoolize: copying file `m4/ltversion.m4&apos;
libtoolize: copying file `m4/lt~obsolete.m4&apos;
automake: error: cannot open &lt; /opt/poky/1.4+snapshot/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/header-vars.am: No such file or directory
autoreconf: automake failed with exit status: 1
$

This issue only happens on CentOS 6.3 and 6.4. I also test it on opensuse, ubuntu, fedora, there is no this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34033</commentid>
    <comment_count>1</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-06-21 06:37:17 +0000</bug_when>
    <thetext>The perl module for automake has an embedded path in it, this needs
to be relocated.

Older versions of &apos;file&apos; do not return the &quot;ASCII&quot; text in the output for
a perl module file. Hence, the regex pattern didn&apos;t match perl module and
they were not getting relocated at all on older distributions.

1) On CentOS release 6.4, the version of file is 5.04
file /usr/lib/perl5/Config_heavy.pl
/usr/lib/perl5/Config_heavy.pl: Perl5 module source text

2) On Ubuntu 13.04, the version of file is 5.11
file /usr/lib/perl/5.14/Config_heavy.pl
/usr/lib/perl/5.14/Config_heavy.pl: C source, ASCII text, with very long lines

Similar issue has been fixed in populate_sdk_base:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5ce8c7fe9ebb8dca0a0b091bda9c58141da26216</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34242</commentid>
    <comment_count>2</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-06-29 05:31:31 +0000</bug_when>
    <thetext>Merged into master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8b45f23237aaf50f2d8d34c57f28cd21deba0f9e</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>