<?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>4066</bug_id>
          
          <creation_ts>2013-03-20 16:28:03 +0000</creation_ts>
          <short_desc>iptables: autoconf warnings</short_desc>
          <delta_ts>2013-03-21 01:12:05 +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.4</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.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Georgescu">alexandru.c.georgescu</reporter>
          <assigned_to name="Laurentiu Palcu">laurentiu.palcu</assigned_to>
          <cc>hongxu.jia</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</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>30905</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-03-20 16:28:03 +0000</bug_when>
    <thetext>TOOLCHAIN: http://autobuilder.yoctoproject.org/pub/nightly/20130313-3/toolchain/x86_64/poky-eglibc-x86_64-i586-toolchain-gmae-1.3+snapshot-20130314.sh build.

commit:4da406cd50cf02a63ed76810a670aba1eb561c79

Iptables source file: http://ftp.gnu.org/non-gnu/cvs/source/stable/

Tested with Ubuntu 12.10 64bit and Fedora 17 64bit


I encounter the following warnings when using autoconf:

yocto@yocto-o1:~/0313-3/standalone-automated-MAR-4/iptables-1.4.15$ echo $CC
i586-poky-linux-gcc -m32 -march=i586 --sysroot=/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/i586-poky-linux
yocto@yocto-o1:~/0313-3/standalone-automated-MAR-4/iptables-1.4.15$ autoreconf -fi
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = &quot;en_US:en&quot;,
        LC_ALL = (unset),
        LANG = &quot;en_US.UTF-8&quot;
    are supported and installed on your system.
perl: warning: Falling back to the standard locale (&quot;C&quot;).
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = &quot;en_US:en&quot;,
        LC_ALL = (unset),
        LANG = &quot;en_US.UTF-8&quot;
    are supported and installed on your system.
perl: warning: Falling back to the standard locale (&quot;C&quot;).
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = &quot;en_US:en&quot;,
        LC_ALL = (unset),
        LANG = &quot;en_US.UTF-8&quot;
    are supported and installed on your system.
perl: warning: Falling back to the standard locale (&quot;C&quot;).
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;
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = &quot;en_US:en&quot;,
        LC_ALL = (unset),
        LANG = &quot;en_US.UTF-8&quot;
    are supported and installed on your system.
perl: warning: Falling back to the standard locale (&quot;C&quot;).
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = &quot;en_US:en&quot;,
        LC_ALL = (unset),
        LANG = &quot;en_US.UTF-8&quot;
    are supported and installed on your system.
perl: warning: Falling back to the standard locale (&quot;C&quot;).
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = &quot;en_US:en&quot;,
        LC_ALL = (unset),
        LANG = &quot;en_US.UTF-8&quot;
    are supported and installed on your system.
perl: warning: Falling back to the standard locale (&quot;C&quot;).
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = &quot;en_US:en&quot;,
        LC_ALL = (unset),
        LANG = &quot;en_US.UTF-8&quot;
    are supported and installed on your system.
perl: warning: Falling back to the standard locale (&quot;C&quot;).
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = &quot;en_US:en&quot;,
        LC_ALL = (unset),
        LANG = &quot;en_US.UTF-8&quot;
    are supported and installed on your system.
perl: warning: Falling back to the standard locale (&quot;C&quot;).
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = &quot;en_US:en&quot;,
        LC_ALL = (unset),
        LANG = &quot;en_US.UTF-8&quot;
    are supported and installed on your system.
perl: warning: Falling back to the standard locale (&quot;C&quot;).
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: &apos;libipq.la&apos;: linking libtool libraries using a non-POSIX
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires &apos;AM_PROG_AR&apos; in &apos;configure.ac&apos;
libipq/Makefile.am:7:   while processing Libtool library &apos;libipq.la&apos;
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: &apos;libip4tc.la&apos;: linking libtool libraries using a non-POSIX
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires &apos;AM_PROG_AR&apos; in &apos;configure.ac&apos;
libiptc/Makefile.am:8:   while processing Libtool library &apos;libip4tc.la&apos;
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: &apos;libip6tc.la&apos;: linking libtool libraries using a non-POSIX
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires &apos;AM_PROG_AR&apos; in &apos;configure.ac&apos;
libiptc/Makefile.am:8:   while processing Libtool library &apos;libip6tc.la&apos;
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: &apos;libiptc.la&apos;: linking libtool libraries using a non-POSIX
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires &apos;AM_PROG_AR&apos; in &apos;configure.ac&apos;
libiptc/Makefile.am:8:   while processing Libtool library &apos;libiptc.la&apos;
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: &apos;libxtables.la&apos;: linking libtool libraries using a non-POSIX
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires &apos;AM_PROG_AR&apos; in &apos;configure.ac&apos;
libxtables/Makefile.am:6:   while processing Libtool library &apos;libxtables.la&apos;
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = &quot;en_US:en&quot;,
        LC_ALL = (unset),
        LANG = &quot;en_US.UTF-8&quot;
    are supported and installed on your system.
perl: warning: Falling back to the standard locale (&quot;C&quot;).
yocto@yocto-o1:~/0313-3/standalone-automated-MAR-4/iptables-1.4.15$




If I export LC_ALL=C, then I have the following errors:



yocto@yocto-o1:~/0313-3/standalone-automated-MAR-4/iptables-1.4.15$ export LC_ALL=C
yocto@yocto-o1:~/0313-3/standalone-automated-MAR-4/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;
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: &apos;libipq.la&apos;: linking libtool libraries using a non-POSIX
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires &apos;AM_PROG_AR&apos; in &apos;configure.ac&apos;
libipq/Makefile.am:7:   while processing Libtool library &apos;libipq.la&apos;
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: &apos;libip4tc.la&apos;: linking libtool libraries using a non-POSIX
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires &apos;AM_PROG_AR&apos; in &apos;configure.ac&apos;
libiptc/Makefile.am:8:   while processing Libtool library &apos;libip4tc.la&apos;
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: &apos;libip6tc.la&apos;: linking libtool libraries using a non-POSIX
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires &apos;AM_PROG_AR&apos; in &apos;configure.ac&apos;
libiptc/Makefile.am:8:   while processing Libtool library &apos;libip6tc.la&apos;
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: &apos;libiptc.la&apos;: linking libtool libraries using a non-POSIX
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires &apos;AM_PROG_AR&apos; in &apos;configure.ac&apos;
libiptc/Makefile.am:8:   while processing Libtool library &apos;libiptc.la&apos;
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: &apos;libxtables.la&apos;: linking libtool libraries using a non-POSIX
/home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires &apos;AM_PROG_AR&apos; in &apos;configure.ac&apos;
libxtables/Makefile.am:6:   while processing Libtool library &apos;libxtables.la&apos;
yocto@yocto-o1:~/0313-3/standalone-automated-MAR-4/iptables-1.4.15$ ^C
yocto@yocto-o1:~/0313-3/standalone-automated-MAR-4/iptables-1.4.15$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30936</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-03-21 00:13:44 +0000</bug_when>
    <thetext>This is a dup

*** This bug has been marked as a duplicate of bug 3984 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30938</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-03-21 00:16:14 +0000</bug_when>
    <thetext>My bad slightly different bug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30942</commentid>
    <comment_count>3</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-03-21 00:58:56 +0000</bug_when>
    <thetext>
&gt; yocto@yocto-o1:~/0313-3/standalone-automated-MAR-4/iptables-1.4.15$ export
&gt; LC_ALL=C
&gt; yocto@yocto-o1:~/0313-3/standalone-automated-MAR-4/iptables-1.4.15$
&gt; autoreconf -fi
&gt; libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux&apos;.
&gt; libtoolize: copying file `build-aux/ltmain.sh&apos;
&gt; libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4&apos;.
&gt; libtoolize: copying file `m4/libtool.m4&apos;
&gt; libtoolize: copying file `m4/ltoptions.m4&apos;
&gt; libtoolize: copying file `m4/ltsugar.m4&apos;
&gt; libtoolize: copying file `m4/ltversion.m4&apos;
&gt; libtoolize: copying file `m4/lt~obsolete.m4&apos;
&gt; /home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-
&gt; linux/usr/share/automake-1.12/am/ltlibrary.am: warning: &apos;libipq.la&apos;: linking
&gt; libtool libraries using a non-POSIX
&gt; /home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-
&gt; linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires
&gt; &apos;AM_PROG_AR&apos; in &apos;configure.ac&apos;
&gt; libipq/Makefile.am:7:   while processing Libtool library &apos;libipq.la&apos;
&gt; /home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-
&gt; linux/usr/share/automake-1.12/am/ltlibrary.am: warning: &apos;libip4tc.la&apos;:
&gt; linking libtool libraries using a non-POSIX
&gt; /home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-
&gt; linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires
&gt; &apos;AM_PROG_AR&apos; in &apos;configure.ac&apos;
&gt; libiptc/Makefile.am:8:   while processing Libtool library &apos;libip4tc.la&apos;
&gt; /home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-
&gt; linux/usr/share/automake-1.12/am/ltlibrary.am: warning: &apos;libip6tc.la&apos;:
&gt; linking libtool libraries using a non-POSIX
&gt; /home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-
&gt; linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires
&gt; &apos;AM_PROG_AR&apos; in &apos;configure.ac&apos;
&gt; libiptc/Makefile.am:8:   while processing Libtool library &apos;libip6tc.la&apos;
&gt; /home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-
&gt; linux/usr/share/automake-1.12/am/ltlibrary.am: warning: &apos;libiptc.la&apos;:
&gt; linking libtool libraries using a non-POSIX
&gt; /home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-
&gt; linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires
&gt; &apos;AM_PROG_AR&apos; in &apos;configure.ac&apos;
&gt; libiptc/Makefile.am:8:   while processing Libtool library &apos;libiptc.la&apos;
&gt; /home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-
&gt; linux/usr/share/automake-1.12/am/ltlibrary.am: warning: &apos;libxtables.la&apos;:
&gt; linking libtool libraries using a non-POSIX
&gt; /home/yocto/0313-3/standalone-automated-MAR-4/sdk/sysroots/x86_64-pokysdk-
&gt; linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires
&gt; &apos;AM_PROG_AR&apos; in &apos;configure.ac&apos;
&gt; libxtables/Makefile.am:6:   while processing Libtool library &apos;libxtables.la&apos;
&gt; yocto@yocto-o1:~/0313-3/standalone-automated-MAR-4/iptables-1.4.15$ ^C
&gt; yocto@yocto-o1:~/0313-3/standalone-automated-MAR-4/iptables-1.4.15$

This has nothing to do with the relocation or adt. It&apos;s an automake 1.12 
issue, well known over internet. The warning can be removed if the following
lines are added to the configure.ac in iptables-1.4.15:
...
m4_pattern_allow([AM_PROG_AR])
    AM_PROG_AR
...

Maybe we should ignore the previous warnings.

//Hongxu</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30945</commentid>
    <comment_count>4</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-03-21 01:12:05 +0000</bug_when>
    <thetext>There is another reason that we currently update iptables to 1.4.17 in 1.4 master. And it doesn&apos;t have the previous warning, maybe we should update the test case. But note there is a different that `--disable-ipv6&apos; should be added when run ./configure. Such as `./configure ${CONFIGURE_FLAGS} --disable-ipv6&apos;

1, Install sdk
2, ./autogen
3, ./configure ${CONFIGURE_FLAGS} --disable-ipv6
4, make</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>