Bug 3984

Summary: iptables-1.4.15: autoreconf run fails on 1.3.1
Product: [Yocto Project Subprojects] ADT Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: adtAssignee: Hongxu Jia <hongxu.jia>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: hongxu.jia, jessica.zhang, kai.kang, laurentiu.palcu, liezhi.yang, poky.adt.watcher, poky.watcher, ross.burton, sgw, yi.zhao
Version: 1.3.1   
Target Milestone: 1.3.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Alexandru Georgescu 2013-03-05 08:12:54 UTC
Toolchain: http://autobuilder.yoctoproject.org/pub/nightly/20130226-2/toolchain/x86_64/
branch: danny
poky: 98292d1ef1cb44cf96f0a28fbca6439eda55ce1b

This is the same issue as bug https://bugzilla.yoctoproject.org/show_bug.cgi?id=3338, but on 1.3.1

STEPS TO REPRODUCE:
1. Download any sysroot from the above link(e.g. the i585 toolchain)
2. Install it (e.g.: /home/user/sdk)
3. Source the enviornment
4. Download and extract iptables archive: http://netfilter.org/projects/iptables/files/
5. In iptables folder run the following command: 
   $ autoreconf -fi

EXPECTED RESULTS
5. Autoreconf finnished, and the user can configure and build the project

ACTUAL RESULTS:
yocto@yocto-o1:~/denzil-0227/standalone-automated/iptables-1.4.15$ autoreconf -fi
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
/home/yocto/denzil-0227/standalone-automated/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libipq.la': linking libtool libraries using a non-POSIX
/home/yocto/denzil-0227/standalone-automated/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
libipq/Makefile.am:7:   while processing Libtool library 'libipq.la'
/home/yocto/denzil-0227/standalone-automated/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libip4tc.la': linking libtool libraries using a non-POSIX
/home/yocto/denzil-0227/standalone-automated/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
libiptc/Makefile.am:8:   while processing Libtool library 'libip4tc.la'
/home/yocto/denzil-0227/standalone-automated/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libip6tc.la': linking libtool libraries using a non-POSIX
/home/yocto/denzil-0227/standalone-automated/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
libiptc/Makefile.am:8:   while processing Libtool library 'libip6tc.la'
/home/yocto/denzil-0227/standalone-automated/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libiptc.la': linking libtool libraries using a non-POSIX
/home/yocto/denzil-0227/standalone-automated/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
libiptc/Makefile.am:8:   while processing Libtool library 'libiptc.la'
/home/yocto/denzil-0227/standalone-automated/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libxtables.la': linking libtool libraries using a non-POSIX
/home/yocto/denzil-0227/standalone-automated/sdk/sysroots/x86_64-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
libxtables/Makefile.am:6:   while processing Libtool library 'libxtables.la'
yocto@yocto-o1:~/denzil-0227/standalone-automated/iptables-1.4.15$
Comment 1 Laurentiu Palcu 2013-03-05 15:26:54 UTC
is this working on master?
Comment 2 Alexandru Georgescu 2013-03-05 15:31:08 UTC
Hi Laurentiu,
If you look at this bug which was on master, it seems that 2 days ago was fixed, but not verified by QA: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3338
QA is focusing this week on 1.3.1 testing but we expect to verifying it soon.
I believe it is the same issue, but fixed only on 1.4.
Can the patch for 1.4 can be applied on 1.3.1 also?
Comment 3 Laurentiu Palcu 2013-03-05 15:37:31 UTC
I guess it can be ported to danny too.
Comment 4 Jessica 2013-03-06 00:23:41 UTC
The bug against master is 3338, please apply the patch to danny
Comment 5 Hongxu Jia 2013-03-06 05:05:06 UTC
I have applied the patch and sent the pull request to oe-core.

[danny][PATCH 0/2]fix toolchain relocation issues

git://git.pokylinux.org/poky-contrib hongxu/fix-toolchain-relocation-danny
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-toolchain-relocation-danny
Comment 6 Saul Wold 2013-03-21 00:13:44 UTC
*** Bug 4066 has been marked as a duplicate of this bug. ***