Bug 2768 - [toolchain] iptables 1.4.15 configure failed on 32bit host
Summary: [toolchain] iptables 1.4.15 configure failed on 32bit host
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.3 M5
Assignee: Kai Kang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-07-16 05:39 UTC by liang li
Modified: 2012-10-11 13:34 UTC (History)
16 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description liang li 2012-07-16 05:39:50 UTC
in 1.3 M3 RC2 ,using meta-toolchain from :
http://autobuilder.yoctoproject.org/pub/nightly/20120712-1/toolchain/

iptables 1.4.13 configure fail after below steps:
1. extract "iptables-1.4.13.tar.bz2" and set build env with command "source /opt/poky/1.2+snapshot/environment-setup-i586-poky-linux" for example.
2. in "iptables-1.4.13" extracted dir ,run "configure ${CONFIGURE_FLAGS}".
3. in "iptables-1.4.13" extracted dir ,run "autoreconf -fi".
4. in "iptables-1.4.13" extracted dir ,rerun "configure ${CONFIGURE_FLAGS}".

error met below:

configure: WARNING: unrecognized options: --with-libtool-sysroot
configure: loading site script /opt/poky/1.2+snapshot/site-config-i586-poky-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i586-poky-linux-strip... i586-poky-linux-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i586-poky-linux-gcc... i586-poky-linux-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i586-poky-linux-gcc accepts -g... yes
checking for i586-poky-linux-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i586-poky-linux-gcc... gcc3
checking whether i586-poky-linux-gcc and cc understand -c and -o together... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... i586-poky-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by i586-poky-linux-gcc... /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld
checking if the linker (/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux-nm -B
checking the name lister (/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to i586-poky-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld option to reload object files... -r
checking for i586-poky-linux-objdump... i586-poky-linux-objdump
checking how to recognize dependent libraries... pass_all
checking for i586-poky-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i586-poky-linux-ar... i586-poky-linux-ar
checking for archiver @FILE support... @
checking for i586-poky-linux-strip... (cached) i586-poky-linux-strip
checking for i586-poky-linux-ranlib... i586-poky-linux-ranlib
checking command to parse /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux-nm -B output from i586-poky-linux-gcc object... ok
checking for sysroot... no
checking for i586-poky-linux-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking how to run the C preprocessor... i586-poky-linux-gcc -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if i586-poky-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for i586-poky-linux-gcc option to produce PIC... -fPIC -DPIC
checking if i586-poky-linux-gcc PIC flag -fPIC -DPIC works... yes
checking if i586-poky-linux-gcc static flag -static works... no
checking if i586-poky-linux-gcc supports -c -o file.o... yes
checking if i586-poky-linux-gcc supports -c -o file.o... (cached) yes
checking whether the i586-poky-linux-gcc linker (/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether the linker accepts -Wl,--no-as-needed... yes
checking whether /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld knows -Wl,--no-undefined... yes
checking linux/dccp.h usability... yes
checking linux/dccp.h presence... yes
checking for linux/dccp.h... yes
checking linux/ip_vs.h usability... yes
checking linux/ip_vs.h presence... yes
checking for linux/ip_vs.h... yes
checking linux/magic.h usability... yes
checking linux/magic.h presence... yes
checking for linux/magic.h... yes
checking linux/proc_fs.h usability... no
checking linux/proc_fs.h presence... no
checking for linux/proc_fs.h... no
checking size of struct ip6_hdr... 40
checking for i586-poky-linux-pkg-config... no
checking for pkg-config... /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libnfnetlink... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating extensions/GNUmakefile
config.status: creating include/Makefile
config.status: creating iptables/Makefile
config.status: creating iptables/xtables.pc
config.status: creating libipq/Makefile
config.status: creating libipq/libipq.pc
config.status: creating libiptc/Makefile
config.status: creating libiptc/libiptc.pc
config.status: creating libiptc/libip4tc.pc
config.status: creating libiptc/libip6tc.pc
config.status: creating libxtables/Makefile
config.status: creating utils/Makefile
config.status: creating include/xtables.h
config.status: creating include/iptables/internal.h
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --with-libtool-sysroot
liangli@liangli-OptiPlex-745:~/new_package_need_to_compile/iptables_test/iptables-1.4.13$ 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'
liangli@liangli-OptiPlex-745:~/new_package_need_to_compile/iptables_test/iptables-1.4.13$ ./configure ${CONFIGURE_FLAGS}
configure: loading site script /opt/poky/1.2+snapshot/site-config-i586-poky-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i586-poky-linux-strip... i586-poky-linux-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i586-poky-linux-gcc... i586-poky-linux-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i586-poky-linux-gcc accepts -g... yes
checking for i586-poky-linux-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i586-poky-linux-gcc... gcc3
checking whether i586-poky-linux-gcc and cc understand -c and -o together... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... i586-poky-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by i586-poky-linux-gcc... /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld
checking if the linker (/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux-nm -B
checking the name lister (/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to i586-poky-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld option to reload object files... -r
checking for i586-poky-linux-objdump... i586-poky-linux-objdump
checking how to recognize dependent libraries... pass_all
checking for i586-poky-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i586-poky-linux-ar... i586-poky-linux-ar
checking for archiver @FILE support... @
checking for i586-poky-linux-strip... (cached) i586-poky-linux-strip
checking for i586-poky-linux-ranlib... i586-poky-linux-ranlib
checking command to parse /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux-nm -B output from i586-poky-linux-gcc object... ok
checking for sysroot... /opt/poky/1.2+snapshot/sysroots/i586-poky-linux
checking for i586-poky-linux-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking how to run the C preprocessor... i586-poky-linux-gcc -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if i586-poky-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for i586-poky-linux-gcc option to produce PIC... -fPIC -DPIC
checking if i586-poky-linux-gcc PIC flag -fPIC -DPIC works... yes
checking if i586-poky-linux-gcc static flag -static works... no
checking if i586-poky-linux-gcc supports -c -o file.o... yes
checking if i586-poky-linux-gcc supports -c -o file.o... (cached) yes
checking whether the i586-poky-linux-gcc linker (/opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether the linker accepts -Wl,--no-as-needed... yes
checking whether /opt/poky/1.2+snapshot/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld knows -Wl,--no-undefined... yes
checking linux/dccp.h usability... yes
checking linux/dccp.h presence... yes
checking for linux/dccp.h... yes
checking linux/ip_vs.h usability... yes
checking linux/ip_vs.h presence... yes
checking for linux/ip_vs.h... yes
checking linux/magic.h usability... yes
checking linux/magic.h presence... yes
checking for linux/magic.h... yes
checking linux/proc_fs.h usability... no
checking linux/proc_fs.h presence... no
checking for linux/proc_fs.h... no
checking size of struct ip6_hdr... 40
./configure: line 11847: syntax error near unexpected token `libnfnetlink,'
./configure: line 11847: `PKG_CHECK_MODULES(libnfnetlink, libnfnetlink >= 1.0,'

---------------------------

line 11847 of file "configure":
PKG_CHECK_MODULES(libnfnetlink, libnfnetlink >= 1.0,
        nfnetlink=1, nfnetlink=0)

after remove the lines and rerun "configure ${CONFIGURE_FLAGS}",no error met. 

the error met in all meta-toolchain tarball from autobuilder.
 
git info:  eb0cb7e8234f5d2e5623406e9660be91cf52f65e 
git branch: poky/master

test env:
hosts: fedora 17 i686, ubuntu 12.04 x86_64 , opensuse 12.1 x86_64.
Comment 1 Jessica 2012-07-16 07:04:27 UTC
why we're seeing this:

configure: WARNING: unrecognized options: --with-libtool-sysroot

isn't it fixed by 1603 long time ago? Probably the toolchain is not built correctly?

Can you use a different toolchain to verify?
Comment 2 liang li 2012-07-16 07:19:43 UTC
(In reply to comment #1)
> why we're seeing this:
> 
> configure: WARNING: unrecognized options: --with-libtool-sysroot
> 
> isn't it fixed by 1603 long time ago? Probably the toolchain is not built
> correctly?
> 
> Can you use a different toolchain to verify?

(In reply to comment #0)
> in 1.3 M3 RC2 ,using meta-toolchain from :
The error exists in 1.3 M2 RC1 (not 1.3 M3 RC2).
in 1.3 M1 RC1 ,no such error:
git info:7f017cab0b3e4d5a4fc356eccd8eb8429b0531d0 
git branch :poky/master
Comment 3 Hongna Xu 2012-07-18 02:34:07 UTC
i met the same issue with liang. there are some regression in 1.3_M2 rc1 in toolchainSDK, like the bug 1908, pkg.m4 is missing in package pkgconfig-nativesdk.
Comment 4 liang li 2012-07-26 07:25:36 UTC
the error still happened on nightly build 20120725-3:
http://autobuilder.yoctoproject.org/pub/nightly/20120725-3/toolchain/
git info: 0ffb02eec2beaea27ff0ec9d3d31b0a09e675a4c
git branch: poky/master
Comment 5 liang li 2012-08-07 02:22:51 UTC
the error still happened on nightly build 20120801-1 two meta-toolchain tarballs:
http://autobuilder.pokylinux.org/nightly/20120801-1/toolchain/i686/poky-eglibc-i686-mips-toolchain-gmae-1.2+snapshot-20120801.tar.bz2
http://autobuilder.pokylinux.org/nightly/20120801-1/toolchain/i686/poky-eglibc-i686-powerpc-toolchain-gmae-1.2+snapshot-20120801.tar.bz2

git info:3309cf42d314f0a26079a11836c6b9b9bb5f253e
git branch:poky/master
Comment 6 Laurentiu Serban 2012-08-07 15:54:10 UTC
Using iptables-1.4.15

Only the warning configure: WARNING: unrecognized options: --with-libtool-sysroot
occurs
Comment 7 Laurentiu Serban 2012-08-07 15:54:27 UTC
Toolchain from http://autobuilder.yoctoproject.org/pub/nightly/20120802-1/toolchain/x86_64/
Comment 9 liang li 2012-08-14 06:31:02 UTC
the error still happened on nightly build 20120810-2 two meta-toolchain:
http://autobuilder.pokylinux.org/nightly/20120810-2/toolchain/i686/poky-eglibc-i686-powerpc-toolchain-gmae-1.2+snapshot-20120810.sh
and 
http://autobuilder.pokylinux.org/nightly/20120810-2/toolchain/i686/poky-eglibc-i686-x86_64-toolchain-gmae-1.2+snapshot-20120810.sh

git info:1e4c63867c7dbf450e91a186cdb0e22fa39c4b9c
git branch:poky/1.3_M3

test env:
hosts: fedora 17 i686

test steps :
1. run " sudo ./poky-eglibc-i686-x86_64-toolchain-gmae-1.2+snapshot-20120810.sh" and output below("y" is the input from me): 
Enter target directory for Poky SDK (default: /opt/poky/1.2+snapshot): 
You are about to install Poky SDK to "/opt/poky/1.2+snapshot". Proceed[Y/n]?y
Extracting SDK...done
Setting it up...done
SDK has been successfully set up and is ready to be used.
2. extract "iptables-1.4.13.tar.bz2" and set build env with command " source /opt/poky/1.2+snapshot/environment-setup-x86_64-poky-linux" for example.
3. in "iptables-1.4.13" extracted dir ,run "configure ${CONFIGURE_FLAGS}".
4. in "iptables-1.4.13" extracted dir ,run "autoreconf -fi".
5. in "iptables-1.4.13" extracted dir ,rerun "configure ${CONFIGURE_FLAGS}".

similar error below:
......
checking linux/dccp.h presence... yes
checking for linux/dccp.h... yes
checking linux/ip_vs.h usability... yes
checking linux/ip_vs.h presence... yes
checking for linux/ip_vs.h... yes
checking linux/magic.h usability... yes
checking linux/magic.h presence... yes
checking for linux/magic.h... yes
checking linux/proc_fs.h usability... no
checking linux/proc_fs.h presence... no
checking for linux/proc_fs.h... no
checking size of struct ip6_hdr... 40
./configure: line 11879: syntax error near unexpected token `libnfnetlink,'
./configure: line 11879: `PKG_CHECK_MODULES(libnfnetlink, libnfnetlink >= 1.0,'
Comment 11 Laurentiu Serban 2012-08-29 18:00:58 UTC
Running autogen.sh before running configure ${CONFIGURE_FLAGS} solves the warning issue, at least in version 1.4.15

I could not reproduce the bug with x86_64 -> arm toolchaing from http://autobuilder.yoctoproject.org/pub/nightly/20120822-1/toolchain/x86_64/
Comment 12 Yi Zhao 2012-09-07 10:44:10 UTC
With 1.3 beta 20120905 build, ipatables 1.4.15 still failed to configure on 32 bit host.

Toolchain tarball from http://autobuilder.yoctoproject.org/pub/nightly/20120905-6/toolchain/
Tree/Branch: poky/1.3_beta
gitinfo: b99b700df89927482f14008a5537597fd0fa6a5f

Steps:
1. Install the meta-toolchain tarball and set the build env.
2. Extract iptables 1.4.15 tarball
3. run command: ./autogen.sh; ./configure ${CONFIGURE_FLAGS} 

Error message:
############
$ ./autogen.sh 
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'
/opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libipq.la': linking libtool libraries using a non-POSIX
/opt/poky/1.2+snapshot/sysroots/i686-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'
/opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libip4tc.la': linking libtool libraries using a non-POSIX
/opt/poky/1.2+snapshot/sysroots/i686-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'
/opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libip6tc.la': linking libtool libraries using a non-POSIX
/opt/poky/1.2+snapshot/sysroots/i686-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'
/opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libiptc.la': linking libtool libraries using a non-POSIX
/opt/poky/1.2+snapshot/sysroots/i686-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'
/opt/poky/1.2+snapshot/sysroots/i686-pokysdk-linux/usr/share/automake-1.12/am/ltlibrary.am: warning: 'libxtables.la': linking libtool libraries using a non-POSIX
/opt/poky/1.2+snapshot/sysroots/i686-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'

$ ./configure ${CONFIGURE_FLAGS}
configure: loading site script /opt/poky/1.2+snapshot/site-config-armv5te-poky-linux-gnueabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-poky-linux-gnueabi-strip... arm-poky-linux-gnueabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-poky-linux-gnueabi-gcc... arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi accepts -g... yes
checking for arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi... gcc3
checking whether arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... arm-poky-linux-gnueabi
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi... arm-poky-linux-gnueabi-ld  --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi
checking if the linker (arm-poky-linux-gnueabi-ld  --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... arm-poky-linux-gnueabi-nm
checking the name lister (arm-poky-linux-gnueabi-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to arm-poky-linux-gnueabi format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for arm-poky-linux-gnueabi-ld  --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi option to reload object files... -r
checking for arm-poky-linux-gnueabi-objdump... arm-poky-linux-gnueabi-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-poky-linux-gnueabi-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-poky-linux-gnueabi-ar... arm-poky-linux-gnueabi-ar
checking for archiver @FILE support... @
checking for arm-poky-linux-gnueabi-strip... (cached) arm-poky-linux-gnueabi-strip
checking for arm-poky-linux-gnueabi-ranlib... arm-poky-linux-gnueabi-ranlib
checking command to parse arm-poky-linux-gnueabi-nm output from arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi object... ok
checking for sysroot... /opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi
checking for arm-poky-linux-gnueabi-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking how to run the C preprocessor... arm-poky-linux-gnueabi-gcc -E  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi supports -fno-rtti -fno-exceptions... no
checking for arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi option to produce PIC... -fPIC -DPIC
checking if arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi PIC flag -fPIC -DPIC works... yes
checking if arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi static flag -static works... no
checking if arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi supports -c -o file.o... yes
checking if arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi supports -c -o file.o... (cached) yes
checking whether the arm-poky-linux-gnueabi-gcc  -march=armv5te  -marm -mthumb-interwork  -mtune=arm926ej-s --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi linker (arm-poky-linux-gnueabi-ld  --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether the linker accepts -Wl,--no-as-needed... yes
checking whether arm-poky-linux-gnueabi-ld  --sysroot=/opt/poky/1.2+snapshot/sysroots/armv5te-poky-linux-gnueabi knows -Wl,--no-undefined... yes
checking linux/dccp.h usability... yes
checking linux/dccp.h presence... yes
checking for linux/dccp.h... yes
checking linux/ip_vs.h usability... yes
checking linux/ip_vs.h presence... yes
checking for linux/ip_vs.h... yes
checking linux/magic.h usability... yes
checking linux/magic.h presence... yes
checking for linux/magic.h... yes
checking linux/proc_fs.h usability... no
checking linux/proc_fs.h presence... no
checking for linux/proc_fs.h... no
checking size of struct ip6_hdr... 40
./configure: line 11879: syntax error near unexpected token `libnfnetlink,'
./configure: line 11879: `PKG_CHECK_MODULES(libnfnetlink, libnfnetlink >= 1.0,'
###################

This issue only happens on 32 bit host (Fedora 17, ubuntu 12.04, openSuse 12.1). On 64 bit host, there is no this issue.
Comment 13 liang li 2012-09-13 07:28:59 UTC
no such error on i686 toolchain from below:
http://autobuilder.yoctoproject.org/pub/nightly/20120910-5/toolchain/i686/
configure pass on 32 bit host.

related error in the new bug 3100 .
Comment 14 Jessica 2012-09-14 14:22:49 UTC
It seems we're having some issues in general for toolchain and relocatable SDK that we must get resolved for 1.3.  Bump this to medium+ since it fall into that category
Comment 15 Saul Wold 2012-09-19 23:25:46 UTC
*** Bug 3125 has been marked as a duplicate of this bug. ***
Comment 16 Laurentiu Palcu 2012-09-25 16:18:28 UTC
The cause of this is the RPATHs not being relative for the 32bit SDK machine binaries, they're absolute and they always point to /opt/poky. The problem might be in chrpath.bbclass.
Comment 17 Kai Kang 2012-09-27 06:10:39 UTC
PKG_CHECK_MODULES is defined in pkg.m4 which is provided by package pkgconfig.
For the failed cases they lack of pkg.m4 file under nativesdk directory.
Comment 18 Kai Kang 2012-09-27 08:49:51 UTC
for my build with:
Ubuntu on x86_64 -- Yocto commit acd52fd17da9cdad406d052ce397091c23588b7a
Fedora 17 on x86 -- Yocto commit 718eb85806e080d0b165344b272e531ef19421eb
nativesdk-pkgconfig is installed into toolchain, so no more failure.
Comment 19 liang li 2012-10-10 08:47:12 UTC
since bug 3125 (duplicate to this one) still happened on 1.3 M5 RC3,reopen it.
bug 3125 happened on following i686 gmae-toolchains:
http://autobuilder.pokylinux.org/nightly/20121003-4/toolchain/i686/

git info:86c9aa8081f107420cd3763d0566d779daddc2b1
git branch:poky/danny
Comment 20 Alexandru Georgescu 2012-10-10 09:10:41 UTC
(In reply to comment #19)
> since bug 3125 (duplicate to this one) still happened on 1.3 M5 RC3,reopen
> it.
> bug 3125 happened on following i686 gmae-toolchains:
> http://autobuilder.pokylinux.org/nightly/20121003-4/toolchain/i686/
> 
> git info:86c9aa8081f107420cd3763d0566d779daddc2b1
> git branch:poky/danny

Hi,
Can you tell us what host are you using? (Fedora, Ubuntu)?
Also, what toolchain are you using, arm, mips, x86?

I have tried with the ARM toolchain right now and all seems okay.
Comment 21 liang li 2012-10-10 09:18:55 UTC
(In reply to comment #20)
> (In reply to comment #19)
> > since bug 3125 (duplicate to this one) still happened on 1.3 M5 RC3,reopen
> > it.
> > bug 3125 happened on following i686 gmae-toolchains:
> > http://autobuilder.pokylinux.org/nightly/20121003-4/toolchain/i686/
> > 
> > git info:86c9aa8081f107420cd3763d0566d779daddc2b1
> > git branch:poky/danny
> 
> Hi,
> Can you tell us what host are you using? (Fedora, Ubuntu)?
> Also, what toolchain are you using, arm, mips, x86?
> 
> I have tried with the ARM toolchain right now and all seems okay.
all toolchain (arm,ppc,mips,x86,x86_64).
host : Fedora 17 32bit
Comment 22 Kai Kang 2012-10-10 09:26:57 UTC
This bug has been fixed, and make Yocto 3125 does not duplicate to this one.
So mark it fixed.
Comment 23 Alexandru Georgescu 2012-10-10 12:45:59 UTC
I will recheck this on the next RC which should be ready tomorrow.
Comment 24 Alexandru Georgescu 2012-10-11 13:34:20 UTC
Verified with RC4
c9de24d3f4845251b01e2eab0aeeb7472badc5bb