X apps & base, edwin, Jan4, 2011
Saul,
These are upgrades for some X apps and base. Pls. help to review.
Beecrypt is for 2nd pull request, it works well on target arm / host x86 without "--with-arch". A hack was added in apr's do_configure_append to handle some autoconf's output, that is, take place of "top_buildir" by "apr_builddir", because apr-util just reuse these files.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: gzhai/upgrade01
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=gzhai/upgrade01
Thanks,
Zhai Edwin <[email protected]>
---
Zhai Edwin (7):
beecrypt: Update to 4.2.1
apr: Update to 1.4.2
apr-util: Update to 1.3.10
xvinfo: Upgrade to 1.1.1
libcanberra: Upgrade to 0.26
metacity: Upgrade to 2.30.3
matchbox-wm-2: Upgrade to svn r2106
.../conf/distro/include/poky-default-revisions.inc | 2 +-
.../gnome/metacity/crosscompile.patch | 60 ++++++++++++++++++++
.../{metacity_2.22.0.bb => metacity_2.30.3.bb} | 14 +++-
.../xorg-app/{xvinfo_1.0.2.bb => xvinfo_1.1.1.bb} | 4 +-
.../pulseaudio/libcanberra/autoconf_version.patch | 38 ------------
.../pulseaudio/libcanberra/nofallbackfix.patch | 16 -----
.../{libcanberra_0.10.bb => libcanberra_0.26.bb} | 10 +--
.../apr/{apr-util_1.3.4.bb => apr-util_1.3.10.bb} | 12 +++-
meta/recipes-support/apr/apr/buildconf_fix.patch | 25 ++++++++
meta/recipes-support/apr/apr/cleanup.patch | 9 +--
.../apr/{apr_1.3.3.bb => apr_1.4.2.bb} | 23 ++++++--
.../beecrypt/beecrypt/disable-icu-check.patch | 12 ++--
.../beecrypt/beecrypt/fix-security.patch | 51 +++++++++--------
.../recipes-support/beecrypt/beecrypt/x64fix.patch | 23 --------
.../{beecrypt_4.1.2.bb => beecrypt_4.2.1.bb} | 13 ++--
15 files changed, 171 insertions(+), 141 deletions(-)
create mode 100644 meta/recipes-gnome/gnome/metacity/crosscompile.patch
rename meta/recipes-gnome/gnome/{metacity_2.22.0.bb => metacity_2.30.3.bb} (53%)
rename meta/recipes-graphics/xorg-app/{xvinfo_1.0.2.bb => xvinfo_1.1.1.bb} (58%)
delete mode 100644 meta/recipes-multimedia/pulseaudio/libcanberra/autoconf_version.patch
delete mode 100644 meta/recipes-multimedia/pulseaudio/libcanberra/nofallbackfix.patch
rename meta/recipes-multimedia/pulseaudio/{libcanberra_0.10.bb => libcanberra_0.26.bb} (73%)
rename meta/recipes-support/apr/{apr-util_1.3.4.bb => apr-util_1.3.10.bb} (72%)
create mode 100644 meta/recipes-support/apr/apr/buildconf_fix.patch
rename meta/recipes-support/apr/{apr_1.3.3.bb => apr_1.4.2.bb} (60%)
delete mode 100644 meta/recipes-support/beecrypt/beecrypt/x64fix.patch
rename meta/recipes-support/beecrypt/{beecrypt_4.1.2.bb => beecrypt_4.2.1.bb} (56%)PATCH 1/7 beecrypt: Update to 4.2.1
Rebased disable-icu-check.patch & fix-security.patch. Removed x64fix.patch as it is already in upstream. Also some configure changes: removing "--with-arch" as it can't cowork with expert mode, adding "--disable-openmp" to avoid unnecessary dependency.
---
.../beecrypt/beecrypt/disable-icu-check.patch | 12 ++--
.../beecrypt/beecrypt/fix-security.patch | 51 ++++++++++----------
.../recipes-support/beecrypt/beecrypt/x64fix.patch | 23 ---------
.../{beecrypt_4.1.2.bb => beecrypt_4.2.1.bb} | 13 +++--
4 files changed, 39 insertions(+), 60 deletions(-)
delete mode 100644 meta/recipes-support/beecrypt/beecrypt/x64fix.patch
rename meta/recipes-support/beecrypt/{beecrypt_4.1.2.bb => beecrypt_4.2.1.bb} (56%)meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch +6 -6
@@ -2,11 +2,11 @@ We are unable to run code at configure time in a cross environemnt, but as we control the build we can be fairly certain this dependency is met. JL 05/07/10 -Index: beecrypt-4.1.2/configure.ac +Index: beecrypt-4.2.1/configure.ac =================================================================== ---- beecrypt-4.1.2.orig/configure.ac 2004-12-21 11:37:56.000000000 +0000 -+++ beecrypt-4.1.2/configure.ac 2010-07-05 16:09:50.390083494 +0100 -@@ -243,32 +243,6 @@ +--- beecrypt-4.2.1.orig/configure.ac 2010-11-26 17:12:25.000000000 +0800 ++++ beecrypt-4.2.1/configure.ac 2010-11-26 17:12:30.000000000 +0800 +@@ -292,32 +292,6 @@ # Predefines and checks for C++ API support AH_TEMPLATE([CPPGLUE],[Define to 1 if you want to include the C++ code])
@@ -36,6 +36,6 @@ Index: beecrypt-4.1.2/configure.ac - AC_LANG_POP(C) -fi - + AM_CONDITIONAL([WITH_CPLUSPLUS],[test "$ac_with_cplusplus" = yes]) + if test "$ac_with_cplusplus" = yes ; then - AC_DEFINE([CPPGLUE],1) - fi
meta/recipes-support/beecrypt/beecrypt/fix-security.patch +26 -25
66 lines not on this page · raw message
meta/recipes-support/beecrypt/beecrypt/x64fix.patch deleted +0 -23
@@ -1,23 +0,0 @@ -Don't have 64 appended to the libdir for 64bit platforms. - -JL 05/07/10 -Index: beecrypt-4.1.2/configure.ac -=================================================================== ---- beecrypt-4.1.2.orig/configure.ac 2010-07-05 16:39:43.000000000 +0100 -+++ beecrypt-4.1.2/configure.ac 2010-07-05 16:40:27.521082866 +0100 -@@ -585,15 +585,6 @@ - - # Check where to install the libraries - bc_libalt= --case $target_os in --linux*) -- case $bc_target_arch in -- powerpc64 | s390x | x86_64) -- bc_libalt="64" -- ;; -- esac -- ;; --esac - AC_SUBST(LIBALT,$bc_libalt) - - # Generate output files.
meta/recipes-support/beecrypt/beecrypt_4.2.1.bb renamed from meta/recipes-support/beecrypt/beecrypt_4.1.2.bb +7 -6
@@ -5,15 +5,16 @@ DESCRIPTION="Beecrypt is a general-purpose cryptography library." HOMEPAGE="http://sourceforge.net/projects/beecrypt" SRC_URI="${SOURCEFORGE_MIRROR}/beecrypt/beecrypt-${PV}.tar.gz \ - file://x64fix.patch \ file://disable-icu-check.patch \ file://fix-security.patch" -SRC_URI[md5sum] = "820d26437843ab0a6a8a5151a73a657c" -SRC_URI[sha256sum] = "f29eb246947677a9e7870521e3d576fd0d91a7072210a4404ed137e40cfc18fd" -LICENSE = "GPLv2&LGPLv2.1" +SRC_URI[md5sum] = "8441c014170823f2dff97e33df55af1e" +SRC_URI[sha256sum] = "286f1f56080d1a6b1d024003a5fa2158f4ff82cae0c6829d3c476a4b5898c55d" +LICENSE = "GPLv2 & LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=9894370afd5dfe7d02b8d14319e729a1 \ - file://COPYING.LIB;md5=dcf3c825659e82539645da41a7908589" + file://COPYING.LIB;md5=dcf3c825659e82539645da41a7908589 \ + file://include/beecrypt/beecrypt.h;endline=20;md5=47a93eef539aac237eef86297a4d71c1" + DEPENDS = "icu" PR = "r0"
@@ -21,6 +22,6 @@ PR = "r0" inherit autotools acpaths="" -EXTRA_OECONF="--with-arch=${TARGET_ARCH} --without-python --enable-shared --enable-static" +EXTRA_OECONF="--without-python --enable-shared --enable-static --disable-openmp" BBCLASSEXTEND = "native"
Signature · 1 line
1.7.0.4
PATCH 2/7 apr: Update to 1.4.2
In reply to Zhai EdwinAdd buildconf_fix.patch of removing new libtool detection method to avoid config failure. Handled build/libtool.m4 & apr_rules.mk after configure to take place of "top_builddir" by "apr_builddir", as these files would be reused by apr-util.
---
meta/recipes-support/apr/apr/buildconf_fix.patch | 25 ++++++++++++++++++++
meta/recipes-support/apr/apr/cleanup.patch | 9 +++----
.../apr/{apr_1.3.3.bb => apr_1.4.2.bb} | 23 ++++++++++++++----
3 files changed, 47 insertions(+), 10 deletions(-)
create mode 100644 meta/recipes-support/apr/apr/buildconf_fix.patch
rename meta/recipes-support/apr/{apr_1.3.3.bb => apr_1.4.2.bb} (60%)meta/recipes-support/apr/apr/buildconf_fix.patch new file +25 -0
@@ -0,0 +1,25 @@ +Remove the new libtool detection method to avoid config failure. Poky's libtool +has different format for "aclocaldir", and there is no elegant parsing method, +so fall back to old detection. + +Signed-off-by: Zhai Edwin <[email protected]> + +Index: apr-1.4.2/buildconf +=================================================================== +--- apr-1.4.2.orig/buildconf 2009-11-13 06:19:49.000000000 +0800 ++++ apr-1.4.2/buildconf 2010-11-29 14:39:19.000000000 +0800 +@@ -50,14 +50,6 @@ + + if [ -f libtool.m4 ]; then + ltfile=`pwd`/libtool.m4 +-elif grep all_pkgmacro_files $libtoolize > /dev/null; then +- # libtool 2.x +- aclocal_dir=`sed -n '/^aclocaldir=/{s/.*=//;p;q;}' < $libtoolize` +- ltfiles=`sed -n '/^all_pkgmacro_files=/{s/.*=//;;s/"//;p;q;}' < $libtoolize` +- for f in $ltfiles; do +- test -f "$aclocal_dir/$f" && cp "$aclocal_dir/$f" build +- done +- ltfile=$aclocal_dir/libtool.m4 + else + ltfindcmd="`sed -n \"/=[^\\\`]/p;/libtool_m4=/{s/.*=/echo /p;q;}\" \ + < $libtoolize`"
meta/recipes-support/apr/apr/cleanup.patch +4 -5
@@ -1,7 +1,7 @@ -Index: apr-1.3.3/build/buildcheck.sh +Index: apr-1.4.2/build/buildcheck.sh =================================================================== ---- apr-1.3.3.orig/build/buildcheck.sh 2009-01-15 13:32:33.000000000 +0000 -+++ apr-1.3.3/build/buildcheck.sh 2009-01-15 13:33:06.000000000 +0000 +--- apr-1.4.2.orig/build/buildcheck.sh 2009-11-13 08:27:16.000000000 +0800 ++++ apr-1.4.2/build/buildcheck.sh 2010-11-26 15:44:00.000000000 +0800 @@ -32,35 +32,4 @@ echo "buildconf: autoconf version $ac_version (ok)" fi
@@ -12,7 +12,7 @@ Index: apr-1.3.3/build/buildcheck.sh -# output is multiline from 1.5 onwards - -# Require libtool 1.4 or newer --libtool=`build/PrintPath glibtool libtool libtool15 libtool14` +-libtool=`build/PrintPath glibtool1 glibtool libtool libtool15 libtool14` -lt_pversion=`$libtool --version 2>/dev/null|sed -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'` -if test -z "$lt_pversion"; then -echo "buildconf: libtool not found."
@@ -39,4 +39,3 @@ Index: apr-1.3.3/build/buildcheck.sh - -exit 1 +exit 0 -\ No newline at end of file
meta/recipes-support/apr/apr_1.4.2.bb renamed from meta/recipes-support/apr/apr_1.3.3.bb +18 -5
@@ -1,16 +1,21 @@ DESCRIPTION = "Apache Portable Runtime (APR) library" +HOMEPAGE = "http://apr.apache.org/" SECTION = "libs" + LICENSE = "Apache License, Version 2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b" -PR = "r5" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b \ + file://include/apr_lib.h;endline=17;md5=ee42fa7575dc40580a9e01c1b75fae96" + +PR = "r0" SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.bz2 \ file://configure_fixes.patch;patch=1 \ file://cleanup.patch;patch=1 \ - file://configfix.patch;patch=1" + file://configfix.patch;patch=1 \ + file://buildconf_fix.patch;patch=1" -SRC_URI[md5sum] = "2090c21dee4f0eb1512604127dcd158f" -SRC_URI[sha256sum] = "d95f3b78366c86317043304864bb08cb836312c87ea7d142a4c02154e7e0dd37" +SRC_URI[md5sum] = "4b00e8f70c067893d075577962656b35" +SRC_URI[sha256sum] = "2017ca700694d09d2b0b21dd7c4d195e43a48735aac88526160c6195ee8f5391" inherit autotools lib_package binconfig
@@ -21,6 +26,14 @@ do_configure_prepend() { ./buildconf } +#for some reason, build/libtool.m4 handled by buildconf still be overwritten +#when autoconf, so handle it again. +do_configure_append() { + cd ${S} + sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' build/libtool.m4 + sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' build/apr_rules.mk +} + SYSROOT_PREPROCESS_FUNCS += "apr_sysroot_preprocess" apr_sysroot_preprocess () {
Signature · 1 line
1.7.0.4
Re: [PATCH 2/7] apr: Update to 1.4.2
Quoted 4 lines · Zhai Edwin
Add buildconf_fix.patch of removing new libtool detection method to avoid config failure. Handled build/libtool.m4& apr_rules.mk after configure to take place of "
top_builddir" by "apr_builddir", as these files would be reused by apr-util.
Edwin,
Is there a reason that this change can not be implemented as a patch?
I note that buildconf script already does make a libtool.m4 fixup similar to what you are doing.
I also notice that there is both a top_blddir and top_builddir, I wonder if the top_blddir should really be patched to be top_builddir?
Please investigate this further and re-submit this change.
Sau!
Quoted 118 lines
Signed-off-by Zhai Edwin<[email protected]>--- meta/recipes-support/apr/apr/buildconf_fix.patch | 25 ++++++++++++++++++++ meta/recipes-support/apr/apr/cleanup.patch | 9 +++---- .../apr/{apr_1.3.3.bb => apr_1.4.2.bb} | 23 ++++++++++++++---- 3 files changed, 47 insertions(+), 10 deletions(-)create mode 100644
meta/recipes-support/apr/apr/buildconf_fix.patchrename meta/recipes-support/apr/{apr_1.3.3.bb => apr_1.4.2.bb} (60%)meta/recipes-support/apr/apr/buildconf_fix.patch new file +25
-0@@ -0,0 +1,25 @@ +Remove the new libtool detection method to avoid config failure. Poky's libtool +has different format for "aclocaldir", and there is no elegant parsing method, +so fall back to old detection. + +Signed-off-by: Zhai Edwin<[email protected]> + +Index: apr-1.4.2/buildconf +=================================================================== +--- apr-1.4.2.orig/buildconf 2009-11-13 06:19:49.000000000 +0800 ++++ apr-1.4.2/buildconf 2010-11-29 14:39:19.000000000 +0800 +@@ -50,14 +50,6 @@ + + if [ -f libtool.m4 ]; then + ltfile=`pwd`/libtool.m4 +-elif grep all_pkgmacro_files $libtoolize> /dev/null; then +- # libtool 2.x +- aclocal_dir=`sed -n '/^aclocaldir=/{s/.*=//;p;q;}'< $libtoolize` +- ltfiles=`sed -n '/^all_pkgmacro_files=/{s/.*=//;;s/"//;p;q;}'< $libtoolize` +- for f in $ltfiles; do +- test -f "$aclocal_dir/$f"&& cp "$aclocal_dir/$f" build +- done +- ltfile=$aclocal_dir/libtool.m4 + else + ltfindcmd="`sed -n \"/=[^\\\`]/p;/libtool_m4=/{s/.*=/echo /p;q;}\" \ +< $libtoolize`"meta/recipes-support/apr/apr/cleanup.patch +4
-5@@ -1,7 +1,7 @@ -Index: apr-1.3.3/build/buildcheck.sh +Index: apr-1.4.2/build/buildcheck.sh =================================================================== ---- apr-1.3.3.orig/build/buildcheck.sh 2009-01-15 13:32:33.000000000 +0000 -+++ apr-1.3.3/build/buildcheck.sh 2009-01-15 13:33:06.000000000 +0000 +--- apr-1.4.2.orig/build/buildcheck.sh 2009-11-13 08:27:16.000000000 +0800 ++++ apr-1.4.2/build/buildcheck.sh 2010-11-26 15:44:00.000000000 +0800 @@ -32,35 +32,4 @@ echo "buildconf: autoconf version $ac_version (ok)" fi@@ -12,7 +12,7 @@ Index: apr-1.3.3/build/buildcheck.sh -# output is multiline from 1.5 onwards - -# Require libtool 1.4 or newer --libtool=`build/PrintPath glibtool libtool libtool15 libtool14` +-libtool=`build/PrintPath glibtool1 glibtool libtool libtool15 libtool14` -lt_pversion=`$libtool --version 2>/dev/null|sed -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'` -if test -z "$lt_pversion"; then -echo "buildconf: libtool not found."@@ -39,4 +39,3 @@ Index: apr-1.3.3/build/buildcheck.sh - -exit 1 +exit 0 -\ No newline at end of filemeta/recipes-support/apr/apr_1.4.2.bb renamed from meta/recipes-support/apr/apr_1.3.3.bb +18
-5@@ -1,16 +1,21 @@ DESCRIPTION = "Apache Portable Runtime (APR) library" +HOMEPAGE = "http://apr.apache.org/" SECTION = "libs" + LICENSE = "Apache License, Version 2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b" -PR = "r5" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b \ + file://include/apr_lib.h;endline=17;md5=ee42fa7575dc40580a9e01c1b75fae96" + +PR = "r0" SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.bz2 \ file://configure_fixes.patch;patch=1 \ file://cleanup.patch;patch=1 \ - file://configfix.patch;patch=1" + file://configfix.patch;patch=1 \ + file://buildconf_fix.patch;patch=1" -SRC_URI[md5sum] = "2090c21dee4f0eb1512604127dcd158f" -SRC_URI[sha256sum] = "d95f3b78366c86317043304864bb08cb836312c87ea7d142a4c02154e7e0dd37" +SRC_URI[md5sum] = "4b00e8f70c067893d075577962656b35" +SRC_URI[sha256sum] = "2017ca700694d09d2b0b21dd7c4d195e43a48735aac88526160c6195ee8f5391" inherit autotools lib_package binconfig@@ -21,6 +26,14 @@ do_configure_prepend() { ./buildconf } +#for some reason, build/libtool.m4 handled by buildconf still be overwritten +#when autoconf, so handle it again. +do_configure_append() { + cd ${S} + sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' build/libtool.m4 + sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' build/apr_rules.mk +} + SYSROOT_PREPROCESS_FUNCS += "apr_sysroot_preprocess" apr_sysroot_preprocess () {
Re: [PATCH 2/7] apr: Update to 1.4.2
Quoted 11 lines · Saul Wold
Quoted 5 lines · Zhai Edwin
Add buildconf_fix.patch of removing new libtool detection method to avoid config failure. Handled build/libtool.m4& apr_rules.mk after configure to take place of "
top_builddir" by "apr_builddir", as these files would be reused by apr-util.Edwin,
Is there a reason that this change can not be implemented as a patch?
We need something run after configure, so patch doesn't work.
Quoted 2 lines
I note that buildconf script already does make a libtool.m4 fixup similar to what you are doing.
Yes, it's done before configure. It copy $ltfile to libtool.m4, then substitute "top_builddir", so patch doesn't work here too.
The headache is this handled file got overwritten after autoconf, and restored to "top_builddir" again:( So I have to substitute it again. I'm not sure if this overwriting in autoconf is right(apr-1.3.5 doesn't do it). I will further check it.
Quoted 2 lines
I also notice that there is both a
top_blddirandtop_builddir, I wonder if thetop_blddirshould really be patched to betop_builddir?
I saw this also, and believed that it should be a harmless bug in upstream.
Quoted 126 lines
Please investigate this further and re-submit this change.
Sau!
Quoted 119 lines
Signed-off-by Zhai Edwin<[email protected]>--- meta/recipes-support/apr/apr/buildconf_fix.patch | 25 ++++++++++++++++++++ meta/recipes-support/apr/apr/cleanup.patch | 9 +++---- .../apr/{apr_1.3.3.bb => apr_1.4.2.bb} | 23 ++++++++++++++---- 3 files changed, 47 insertions(+), 10 deletions(-)create mode 100644
meta/recipes-support/apr/apr/buildconf_fix.patchrename meta/recipes-support/apr/{apr_1.3.3.bb => apr_1.4.2.bb} (60%)meta/recipes-support/apr/apr/buildconf_fix.patch new file +25
-0@@ -0,0 +1,25 @@ +Remove the new libtool detection method to avoid config failure. Poky's libtool +has different format for "aclocaldir", and there is no elegant parsing method, +so fall back to old detection. + +Signed-off-by: Zhai Edwin<[email protected]> + +Index: apr-1.4.2/buildconf +=================================================================== +--- apr-1.4.2.orig/buildconf 2009-11-13 06:19:49.000000000 +0800 ++++ apr-1.4.2/buildconf 2010-11-29 14:39:19.000000000 +0800 +@@ -50,14 +50,6 @@ + + if [ -f libtool.m4 ]; then + ltfile=`pwd`/libtool.m4 +-elif grep all_pkgmacro_files $libtoolize> /dev/null; then +- # libtool 2.x +- aclocal_dir=`sed -n '/^aclocaldir=/{s/.*=//;p;q;}'< $libtoolize` +- ltfiles=`sed -n '/^all_pkgmacro_files=/{s/.*=//;;s/"//;p;q;}'< $libtoolize` +- for f in $ltfiles; do +- test -f "$aclocal_dir/$f"&& cp "$aclocal_dir/$f" build +- done +- ltfile=$aclocal_dir/libtool.m4 + else + ltfindcmd="`sed -n \"/=[^\\\`]/p;/libtool_m4=/{s/.*=/echo /p;q;}\" \ +< $libtoolize`"meta/recipes-support/apr/apr/cleanup.patch +4
-5@@ -1,7 +1,7 @@ -Index: apr-1.3.3/build/buildcheck.sh +Index: apr-1.4.2/build/buildcheck.sh =================================================================== ---- apr-1.3.3.orig/build/buildcheck.sh 2009-01-15 13:32:33.000000000 +0000 -+++ apr-1.3.3/build/buildcheck.sh 2009-01-15 13:33:06.000000000 +0000 +--- apr-1.4.2.orig/build/buildcheck.sh 2009-11-13 08:27:16.000000000 +0800 ++++ apr-1.4.2/build/buildcheck.sh 2010-11-26 15:44:00.000000000 +0800 @@ -32,35 +32,4 @@ echo "buildconf: autoconf version $ac_version (ok)" fi@@ -12,7 +12,7 @@ Index: apr-1.3.3/build/buildcheck.sh -# output is multiline from 1.5 onwards - -# Require libtool 1.4 or newer --libtool=`build/PrintPath glibtool libtool libtool15 libtool14` +-libtool=`build/PrintPath glibtool1 glibtool libtool libtool15 libtool14` -lt_pversion=`$libtool --version 2>/dev/null|sed -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'` -if test -z "$lt_pversion"; then -echo "buildconf: libtool not found."@@ -39,4 +39,3 @@ Index: apr-1.3.3/build/buildcheck.sh - -exit 1 +exit 0 -\ No newline at end of filemeta/recipes-support/apr/apr_1.4.2.bb renamed from meta/recipes-support/apr/apr_1.3.3.bb +18
-5@@ -1,16 +1,21 @@ DESCRIPTION = "Apache Portable Runtime (APR) library" +HOMEPAGE = "http://apr.apache.org/" SECTION = "libs" + LICENSE = "Apache License, Version 2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b" -PR = "r5" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b \ + file://include/apr_lib.h;endline=17;md5=ee42fa7575dc40580a9e01c1b75fae96" + +PR = "r0" SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.bz2 \ file://configure_fixes.patch;patch=1 \ file://cleanup.patch;patch=1 \ - file://configfix.patch;patch=1" + file://configfix.patch;patch=1 \ + file://buildconf_fix.patch;patch=1" -SRC_URI[md5sum] = "2090c21dee4f0eb1512604127dcd158f" -SRC_URI[sha256sum] = "d95f3b78366c86317043304864bb08cb836312c87ea7d142a4c02154e7e0dd37" +SRC_URI[md5sum] = "4b00e8f70c067893d075577962656b35" +SRC_URI[sha256sum] = "2017ca700694d09d2b0b21dd7c4d195e43a48735aac88526160c6195ee8f5391" inherit autotools lib_package binconfig@@ -21,6 +26,14 @@ do_configure_prepend() { ./buildconf } +#for some reason, build/libtool.m4 handled by buildconf still be overwritten +#when autoconf, so handle it again. +do_configure_append() { + cd ${S} + sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' build/libtool.m4 + sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' build/apr_rules.mk +} + SYSROOT_PREPROCESS_FUNCS += "apr_sysroot_preprocess" apr_sysroot_preprocess () {
Re: [PATCH 2/7] apr: Update to 1.4.2
I have compared the autoconf process between apr-1.3 and 1.4, but found no clue of why build/libtool.m4 got overwritten only on apr-1.4. Attached log files, and hope some autotools expert can help.
Following only occur in 1.4 log
libtoolize: copying file `build/libtool.m4'
libtoolize: copying file `build/ltoptions.m4'
.......
Quoted 21 lines · Edwin
Quoted 11 lines · Saul Wold
Quoted 5 lines · Zhai Edwin
Add buildconf_fix.patch of removing new libtool detection method to avoid config failure. Handled build/libtool.m4& apr_rules.mk after configure to take place of "
top_builddir" by "apr_builddir", as these files would be reused by apr-util.Edwin,
Is there a reason that this change can not be implemented as a patch?
We need something run after configure, so patch doesn't work.
Quoted 2 lines
I note that buildconf script already does make a libtool.m4 fixup similar to what you are doing.
Yes, it's done before configure. It copy $ltfile to libtool.m4, then substitute "
top_builddir", so patch doesn't work here too.
Quoted 155 lines
The headache is this handled file got overwritten after autoconf, and restored to "
top_builddir" again:( So I have to substitute it again. I'm not sure if this overwriting in autoconf is right(apr-1.3.5 doesn't do it). I will further check it.Quoted 2 lines
I also notice that there is both a
top_blddirandtop_builddir, I wonder if thetop_blddirshould really be patched to betop_builddir?I saw this also, and believed that it should be a harmless bug in upstream.
Quoted 147 lines
Please investigate this further and re-submit this change.
Sau!
Quoted 140 lines
Signed-off-by Zhai Edwin<[email protected]>--- meta/recipes-support/apr/apr/buildconf_fix.patch | 25 ++++++++++++++++++++ meta/recipes-support/apr/apr/cleanup.patch | 9 +++---- .../apr/{apr_1.3.3.bb => apr_1.4.2.bb} | 23 ++++++++++++++---- 3 files changed, 47 insertions(+), 10 deletions(-)create mode 100644
meta/recipes-support/apr/apr/buildconf_fix.patchrename meta/recipes-support/apr/{apr_1.3.3.bb => apr_1.4.2.bb} (60%)meta/recipes-support/apr/apr/buildconf_fix.patch new file +1
-0@@ -0,0 +1,25 @@ +Remove the new libtool detection method to avoid config failure.Poky's libtool
+has different format for "aclocaldir", and there is no elegant parsing method,meta/recipes-support/apr/apr/buildconf_fix.patch new file +16
-0+so fall back to old detection. + +Signed-off-by: Zhai Edwin<[email protected]> + +Index: apr-1.4.2/buildconf +=================================================================== +--- apr-1.4.2.orig/buildconf 2009-11-13 06:19:49.000000000 +0800 ++++ apr-1.4.2/buildconf 2010-11-29 14:39:19.000000000 +0800 +@@ -50,14 +50,6 @@ + + if [ -f libtool.m4 ]; then + ltfile=`pwd`/libtool.m4 +-elif grep all_pkgmacro_files $libtoolize> /dev/null; then +- # libtool 2.x +- aclocal_dir=`sed -n '/^aclocaldir=/{s/.*=//;p;q;}'< $libtoolize` +- ltfiles=`sed -n '/^all_pkgmacro_files=/{s/.*=//;;s/"//;p;q;}'<$libtoolize`
+- for f in $ltfiles; do +- test -f "$aclocal_dir/$f"&& cp "$aclocal_dir/$f" build +- done +- ltfile=$aclocal_dir/libtool.m4+ else
+ ltfindcmd="sed -n \"/=[^\\\]/p;/libtool_m4=/{s/.*=/echo
/p;q;}\" \
+< $libtoolize`"meta/recipes-support/apr/apr/cleanup.patch +1
-2@@ -1,7 +1,7 @@ -Index: apr-1.3.3/build/buildcheck.sh +Index: apr-1.4.2/build/buildcheck.sh =================================================================== ---- apr-1.3.3.orig/build/buildcheck.sh 2009-01-1513:32:33.000000000 +0000
-+++apr-1.3.3/build/buildcheck.sh2009-01-15 13:33:06.000000000
+0000
+---apr-1.4.2.orig/build/buildcheck.sh2009-11-13
08:27:16.000000000 +0800
++++apr-1.4.2/build/buildcheck.sh2010-11-26 15:44:00.000000000
+0800
@@ -32,35 +32,4 @@
echo "buildconf: autoconf version $ac_version (ok)" fimeta/recipes-support/apr/apr/cleanup.patch +1
-1@@ -12,7 +12,7 @@ Index: apr-1.3.3/build/buildcheck.sh -# output is multiline from 1.5 onwards - -# Require libtool 1.4 or newer --libtool=`build/PrintPath glibtool libtool libtool15 libtool14` +-libtool=`build/PrintPath glibtool1 glibtool libtool libtool15libtool14`
-lt_pversion=`$libtool --version 2>/dev/null|sed -e
's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'`
-if test -z "$lt_pversion"; then
-echo "buildconf: libtool not found."meta/recipes-support/apr/apr/cleanup.patch +0
-1@@ -39,4 +39,3 @@ Index: apr-1.3.3/build/buildcheck.sh - -exit 1 +exit 0 -\ No newline at end of filemeta/recipes-support/apr/apr_1.4.2.bb renamed from meta/recipes-support/apr/apr_1.3.3.bb +2
-1@@ -1,16 +1,21 @@ DESCRIPTION = "Apache Portable Runtime (APR) library" +HOMEPAGE = "http://apr.apache.org/" SECTION = "libs" + LICENSE = "Apache License, Version 2.0" -LIC_FILES_CHKSUM ="file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b"
meta/recipes-support/apr/apr_1.4.2.bb renamed from meta/recipes-support/apr/apr_1.3.3.bb +1
-1-PR = "r5" +LIC_FILES_CHKSUM ="file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b \
+ file://include/apr_lib.h;endline=17;md5=ee42fa7575dc40580a9e01c1b75fae96"meta/recipes-support/apr/apr_1.4.2.bb renamed from meta/recipes-support/apr/apr_1.3.3.bb +4
-3+ +PR = "r0" SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.bz2 \ file://configure_fixes.patch;patch=1 \ file://cleanup.patch;patch=1 \ - file://configfix.patch;patch=1" + file://configfix.patch;patch=1 \ + file://buildconf_fix.patch;patch=1" -SRC_URI[md5sum] = "2090c21dee4f0eb1512604127dcd158f" -SRC_URI[sha256sum] ="
d95f3b78366c86317043304864bb08cb836312c87ea7d142a4c02154e7e0dd37"meta/recipes-support/apr/apr_1.4.2.bb renamed from meta/recipes-support/apr/apr_1.3.3.bb +2
-0+SRC_URI[md5sum] = "4b00e8f70c067893d075577962656b35" +SRC_URI[sha256sum] ="
2017ca700694d09d2b0b21dd7c4d195e43a48735aac88526160c6195ee8f5391"inherit autotools
lib_packagebinconfigmeta/recipes-support/apr/apr_1.4.2.bb renamed from meta/recipes-support/apr/apr_1.3.3.bb +1
-0@@ -21,6 +26,14 @@ do_configure_prepend() { ./buildconf } +#for some reason, build/libtool.m4 handled by buildconf still beoverwritten
meta/recipes-support/apr/apr_1.4.2.bb renamed from meta/recipes-support/apr/apr_1.3.3.bb +4
-0+#when autoconf, so handle it again. +do_configure_append() { + cd ${S} + sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/'build/libtool.m4
+ sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/'build/apr_rules.mkmeta/recipes-support/apr/apr_1.4.2.bb renamed from meta/recipes-support/apr/apr_1.3.3.bb +2
-0+} + SYSROOT_PREPROCESS_FUNCS += "apr_sysroot_preprocess" apr_sysroot_preprocess () {
buildconf: checking installation...
buildconf: python version 2.6.6 (ok)
buildconf: autoconf version 2.65 (ok)
Copying libtool helper files ...
./buildconf: line 57: alias: -g: invalid option
alias: usage: alias [-p] [name[=value] ... ]
./buildconf: eval: line 62: syntax error near unexpected token `&&'
./buildconf: eval: line 62: && (test "Xprint -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then'
buildconf: Using libtool.m4 at /distro/edwin-working/poky/build-arm/tmp/sysroots/i686-linux/usr/share/aclocal/libtool.m4. Creating include/arch/unix/apr_private.h.in ...
configure.in:186: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
build/libtool.m4:69: LT_INIT is expanded from...
build/libtool.m4:108: AC_PROG_LIBTOOL is expanded from...
configure.in:186: the top level
configure.in:186: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:186: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:186: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
Creating configure ...
configure.in:186: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
build/libtool.m4:69: LT_INIT is expanded from...
build/libtool.m4:108: AC_PROG_LIBTOOL is expanded from...
configure.in:186: the top level
configure.in:186: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:186: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:186: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
configure:9658: error: possibly undefined macro: m4_ifval
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure:12838: error: possibly undefined macro: _LT_SET_OPTIONS
configure:12838: error: possibly undefined macro: LT_INIT
Generating 'make' outputs ...
rebuilding rpm spec file
automake (GNU automake) 1.11.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Tom Tromey <[email protected]>
and Alexandre Duret-Lutz <[email protected]>.
AUTOV is 1.11
NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I /distro/edwin-working/poky/build-arm/tmp/work/armv5te-poky-linux-gnueabi/apr-1.3.3-r5/apr-1.3.3/build/ -I/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal-1.11 -I /distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal -I /distro/edwin-working/poky/build-arm/tmp/work/armv5te-poky-linux-gnueabi/apr-1.3.3-r5/apr-1.3.3/build/ -I /distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal-1.11 -I /distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal -I /distro/edwin-working/poky/build-arm/tmp/work/armv5te-poky-linux-gnueabi/apr-1.3.3-r5/apr-1.3.3/build/ -I /distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal-1.11 -I /distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal --force build/apr_network.m4:24: warning: underquoted definition of APR_TYPE_IN_ADDR
build/apr_network.m4:24: run info '(automake)Extending aclocal'
build/apr_network.m4:24: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoreconf: configure.in: tracing
configure.in:1762: warning: AC_RUN_IFELSE called without default to allow cross compiling
../../lib/autoconf/general.m4:2709: AC_RUN_IFELSE is expanded from...
../../lib/autoconf/general.m4:2725: AC_TRY_RUN is expanded from...
../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from...
../../lib/autoconf/general.m4:1992: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2013: AC_CACHE_CHECK is expanded from...
configure.in:1762: the top level
configure.in:1787: warning: AC_RUN_IFELSE called without default to allow cross compiling
build/apr_threads.m4:248: APR_CHECK_PTHREAD_ROBUST_SHARED_MUTEX is expanded from...
configure.in:1787: the top level
configure.in:2185: warning: AC_RUN_IFELSE called without default to allow cross compiling
build/apr_network.m4:502: APR_CHECK_TCP_NODELAY_WITH_CORK is expanded from...
configure.in:2185: the top level
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build'.
libtoolize: copying file `build/ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize: `/distro/edwin-working/poky/build-arm/tmp/sysroots/i686-linux/usr/share/aclocal/libtool.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: AC_PROG_RANLIB' is rendered obsolete by LT_INIT'
build/apr_network.m4:24: warning: underquoted definition of APR_TYPE_IN_ADDR
build/apr_network.m4:24: run info '(automake)Extending aclocal'
build/apr_network.m4:24: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoreconf: running: /distro/edwin-working/poky/build-arm/tmp/sysroots/i686-linux/usr/bin/autoconf --include=/distro/edwin-working/poky/build-arm/tmp/work/armv5te-poky-linux-gnueabi/apr-1.3.3-r5/apr-1.3.3/build/ --include=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal-1.11 --include=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal --force --warnings=cross
configure.in:1762: warning: AC_RUN_IFELSE called without default to allow cross compiling
../../lib/autoconf/general.m4:2709: AC_RUN_IFELSE is expanded from...
../../lib/autoconf/general.m4:2725: AC_TRY_RUN is expanded from...
../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from...
../../lib/autoconf/general.m4:1992: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2013: AC_CACHE_CHECK is expanded from...
configure.in:1762: the top level
configure.in:1787: warning: AC_RUN_IFELSE called without default to allow cross compiling
build/apr_threads.m4:248: APR_CHECK_PTHREAD_ROBUST_SHARED_MUTEX is expanded from...
configure.in:1787: the top level
configure.in:2185: warning: AC_RUN_IFELSE called without default to allow cross compiling
build/apr_network.m4:502: APR_CHECK_TCP_NODELAY_WITH_CORK is expanded from...
configure.in:2185: the top level
autoreconf: running: /distro/edwin-working/poky/build-arm/tmp/sysroots/i686-linux/usr/bin/autoheader --include=/distro/edwin-working/poky/build-arm/tmp/work/armv5te-poky-linux-gnueabi/apr-1.3.3-r5/apr-1.3.3/build/ --include=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal-1.11 --include=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal --force --warnings=cross
autoreconf: configure.in: not using Automake
autoreconf: running: gnu-configize
autoreconf: Leaving directory `.'
NOTE: Running /distro/edwin-working/poky/build-arm/tmp/work/armv5te-poky-linux-gnueabi/apr-1.3.3-r5/apr-1.3.3/configure --build=i686-linux --host=arm-poky-linux-gnueabi --target=arm-poky-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man ...
configure: loading site script /distro/edwin-working/poky/meta/site/endian-little
configure: loading site script /distro/edwin-working/poky/meta/site/common-glibc
configure: loading site script /distro/edwin-working/poky/meta/site/arm-common
configure: loading site script /distro/edwin-working/poky/meta/site/arm-linux
configure: loading site script /distro/edwin-working/poky/meta/site/common
configure: loading site script /distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/arm-poky-linux-gnueabi_config_site.d/eglibc_config
configure: loading site script /distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/arm-poky-linux-gnueabi_config_site.d/zlib_config
checking build system type... i686-pc-linux-gnu
checking host system type... arm-poky-linux-gnueabi
checking target system type... arm-poky-linux-gnueabi
Configuring APR library
Platform: arm-poky-linux-gnueabi
checking for working mkdir -p... yes
APR Version: 1.3.3
checking for chosen layout... apr
checking for arm-poky-linux-gnueabi-gcc... arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/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 -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi accepts -g... yes
checking for arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi option to accept ISO C89... none needed
Applying APR hints file rules for arm-poky-linux-gnueabi
setting CPPFLAGS to "-DLINUX=2"
adding "-D_REENTRANT" to CPPFLAGS
adding "-D_GNU_SOURCE" to CPPFLAGS
(Default will be unix)
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... arm-poky-linux-gnueabi-gcc -E --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi
checking for gawk... gawk
checking whether ln -s works... yes
checking for arm-poky-linux-gnueabi-ranlib... arm-poky-linux-gnueabi-ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... rm
checking for as... arm-poky-linux-gnueabi-as
checking for cpp... cpp
checking for arm-poky-linux-gnueabi-ar... arm-poky-linux-gnueabi-ar
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking whether system uses EBCDIC... no
performing libtool configuration...
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi... arm-poky-linux-gnueabi-ld --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi
checking if the linker (arm-poky-linux-gnueabi-ld --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /distro/edwin-working/poky/build-arm/tmp/sysroots/i686-linux/usr/bin/armv5te-poky-linux-gnueabi/arm-poky-linux-gnueabi-nm -B
checking the name lister (/distro/edwin-working/poky/build-arm/tmp/sysroots/i686-linux/usr/bin/armv5te-poky-linux-gnueabi/arm-poky-linux-gnueabi-nm -B) interface... BSD nm
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=/distro/edwin-working/poky/build-arm/tmp/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... (cached) arm-poky-linux-gnueabi-ar
checking for archiver @FILE support... @
checking for arm-poky-linux-gnueabi-strip... arm-poky-linux-gnueabi-strip
checking for arm-poky-linux-gnueabi-ranlib... (cached) arm-poky-linux-gnueabi-ranlib
checking command to parse /distro/edwin-working/poky/build-arm/tmp/sysroots/i686-linux/usr/bin/armv5te-poky-linux-gnueabi/arm-poky-linux-gnueabi-nm -B output from arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi object... ok
checking for sysroot... no
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 for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi supports -fno-rtti -fno-exceptions... no
checking for arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi option to produce PIC... -fPIC -DPIC
checking if arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi PIC flag -fPIC -DPIC works... yes
checking if arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi static flag -static works... yes
checking if arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi supports -c -o file.o... rm: cannot remove `conftest*': No such file or directory
yes
checking if arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi supports -c -o file.o... (cached) yes
checking whether the arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi linker (arm-poky-linux-gnueabi-ld --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: cannot remove `conftest*': No such file or directory
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... yes
grep: /distro/edwin-working/poky/build-arm/tmp/work/armv5te-poky-linux-gnueabi/apr-1.3.3-r5/apr-1.3.3/libtool: No such file or directory
Check for compiler flags...
checking whether the compiler provides atomic builtins... no checking whether to enable -D_LARGEFILE64_SOURCE... no
Checking for libraries...
checking for library containing gethostbyname... none required checking for library containing gethostname... none required checking for library containing socket... none required checking for library containing crypt... -lcrypt checking for main in -ltruerand... no
checking for library containing modf... none required
Checking for Threads...
checking for pthread.h... (cached) yes
checking for CFLAGS needed for pthreads... checking for LIBS needed for pthreads... checking for pthread.h... (cached) yes checking whether pthread_getspecific takes two arguments... no
checking whether pthread_attr_getdetachstate takes one argument... no
checking for recursive mutex support... no
checking for pthread_key_delete... (cached) yes
checking for pthread_rwlock_init... no
checking for pthread_attr_setguardsize... no
checking for pthread_yield... no
checking for sched.h... (cached) yes
checking for sched_yield... (cached) yes
APR will use threads
checking for readdir in -lc_r... no
checking for gethostbyname in -lc_r... no
checking for gethostbyaddr in -lc_r... no
checking for getservbyname in -lc_r... no
checking for gethostbyname_r... (cached) yes
checking for gethostbyaddr_r... (cached) yes
checking for getservbyname_r... (cached) yes
checking for sigsuspend... (cached) yes
checking for sigwait... yes
checking for poll... (cached) yes
checking for kqueue... no
checking for port_create... no
checking for epoll support... no
checking for getpwnam_r... (cached) yes
checking for getpwuid_r... (cached) yes
checking for getgrnam_r... (cached) yes
checking for getgrgid_r... (cached) yes
Checking for Shared Memory Support...
checking for library containing shm_open... -lrt
checking for sys/types.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for sys/ipc.h... (cached) yes
checking sys/mutex.h usability... no
checking sys/mutex.h presence... no
checking for sys/mutex.h... no
checking for sys/shm.h... (cached) yes
checking for sys/file.h... (cached) yes
checking kernel/OS.h usability... no
checking kernel/OS.h presence... no
checking for kernel/OS.h... no
checking os2.h usability... no
checking os2.h presence... no
checking for os2.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for mmap... (cached) yes
checking for munmap... (cached) yes
checking for shm_open... yes
checking for shm_unlink... yes
checking for shmget... (cached) yes
checking for shmat... (cached) yes
checking for shmdt... (cached) yes
checking for shmctl... (cached) yes
checking for create_area... no
checking for MAP_ANON in sys/mman.h... yes
decision on anonymous shared memory allocation method... 4.4BSD-style mmap() via MAP_ANON decision on namebased memory allocation method... SysV IPC shmget() checking for working alloca.h... yes
checking for alloca... yes
checking for calloc... (cached) yes
checking for setsid... (cached) yes
checking for isinf... (cached) yes
checking for isnan... (cached) yes
checking for getenv... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for unsetenv... (cached) yes
checking for writev... yes
checking for getifaddrs... (cached) yes
checking for utime... (cached) yes
checking for utimes... (cached) yes
checking for setrlimit... (cached) yes
checking for getrlimit... (cached) yes
checking for sendfilev in -lsendfile... no
checking for sendfile... yes
checking for send_file... no
checking for sendfilev... no
checking for sigaction... (cached) yes
checking whether sys_siglist is declared... (cached) yes
checking for fork... (cached) yes
checking for inet_addr... (cached) yes
checking for inet_network... yes
checking for _getch... no
checking for strerror_r... (cached) yes
checking for type of return code from strerror_r... pointer
checking for mmap... (cached) yes
checking for memmove... (cached) yes
checking for getpass... (cached) yes
checking for getpassphrase... no
checking for gmtime_r... (cached) yes
checking for localtime_r... (cached) yes
checking for mkstemp... (cached) yes
checking whether sigwait takes one argument... no
checking for ANSI C header files... (cached) yes
checking ByteOrder.h usability... no
checking ByteOrder.h presence... no
checking for ByteOrder.h... no
checking conio.h usability... no
checking conio.h presence... no
checking for conio.h... no
checking for crypt.h... (cached) yes
checking for ctype.h... (cached) yes
checking dir.h usability... no
checking dir.h presence... no
checking for dir.h... no
checking for dirent.h... (cached) yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for dlfcn.h... (cached) yes
checking for errno.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for grp.h... (cached) yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking for limits.h... (cached) yes
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking for malloc.h... (cached) yes
checking for memory.h... (cached) yes
checking for netdb.h... (cached) yes
checking osreldate.h usability... no
checking osreldate.h presence... no
checking for osreldate.h... no
checking for poll.h... (cached) yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking for pwd.h... (cached) yes
checking for semaphore.h... (cached) yes
checking for signal.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sysapi.h usability... no
checking sysapi.h presence... no
checking for sysapi.h... no
checking sysgtime.h usability... no
checking sysgtime.h presence... no
checking for sysgtime.h... no
checking for termios.h... (cached) yes
checking for time.h... (cached) yes
checking tpfeq.h usability... no
checking tpfeq.h presence... no
checking for tpfeq.h... no
checking tpfio.h usability... no
checking tpfio.h presence... no
checking for tpfio.h... no
checking for unistd.h... (cached) yes
checking unix.h usability... no
checking unix.h presence... no
checking for unix.h... no
checking for windows.h... (cached) no
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking for arpa/inet.h... (cached) yes
checking for kernel/OS.h... (cached) no
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking for netinet/in.h... (cached) yes
checking for netinet/sctp.h... (cached) no
checking for netinet/sctp_uio.h... (cached) no
checking for sys/file.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/sem.h... (cached) yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking for sys/signal.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for sys/stat.h... (cached) yes
checking for sys/sysctl.h... (cached) yes
checking sys/syslimits.h usability... no
checking sys/syslimits.h presence... no
checking for sys/syslimits.h... no
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for sys/un.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for netinet/tcp.h... yes
checking for h_errno in netdb.h... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... (cached) {ac_cv_type_uid_t=yes} checking for ssize_t... yes
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking whether setpgrp takes no argument... (cached) yes
checking for socklen_t... yes
checking size of void*... 4
checking size of char... (cached) 1
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of short... (cached) 2
checking size of long long... (cached) 8
checking for INT64_C... yes
checking size of pid_t... 8
checking whether ssize_t and int are the same... yes
checking whether ssize_t and long are the same... no
checking whether size_t and unsigned int are the same... yes
checking whether size_t and unsigned long are the same... no
checking size of ssize_t... (cached) 4
checking which format to use for apr_ssize_t... %d
checking size of size_t... (cached) 4
checking which format to use for apr_size_t... %u
checking size of off_t... (cached) 4
checking which type to use for apr_off_t... long
checking whether ino_t and unsigned long are the same... yes
configure: using unsigned long for ino_t
checking whether byte ordering is bigendian... (cached) no
checking for strnicmp... no
checking for strncasecmp... (cached) yes
checking for stricmp... no
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strstr... (cached) yes
checking for memchr... (cached) yes
checking for strtoll... (cached) yes
Checking for DSO...
checking for dlopen... no
checking for dlopen in -ldl... yes
adding "-ldl" to LIBS
checking for dlsym... yes
Checking for Processes...
checking for waitpid... (cached) yes
checking for Variable Length Arrays... yes
checking struct rlimit... no
Checking for Locking...
checking for semget... (cached) yes
checking for semctl... (cached) yes
checking for flock... (cached) yes
checking for semaphore.h... (cached) yes
checking OS.h usability... no
checking OS.h presence... no
checking for OS.h... no
checking for library containing sem_open... no
checking for sem_close... no
checking for sem_unlink... no
checking for sem_post... no
checking for sem_wait... no
checking for create_sem... no
checking for working sem_open... no
checking for union semun in sys/sem.h... no
checking for LOCK_EX in sys/file.h... yes
checking for F_SETLK in fcntl.h... yes
checking for SEM_UNDO in sys/sem.h... yes
checking for POLLIN in poll.h sys/poll.h... yes
checking for PTHREAD_PROCESS_SHARED in pthread.h... yes
checking for pthread_mutexattr_setpshared... no
decision on apr_lock implementation method... SysV IPC semget()
checking if fcntl returns EACCES when F_SETLK is already held... checking if all interprocess locks affect threads... no checking if POSIX sems affect threads in the same process... no
checking if SysV sems affect threads in the same process... no
checking if fcntl locks affect threads in the same process... no
checking if flock locks affect threads in the same process... no
checking for entropy source... /dev/urandom
Checking for File Info Support...
checking for struct stat.st_blocks... yes checking for struct stat.st_atimensec... no checking for struct stat.st_ctimensec... no checking for struct stat.st_mtimensec... no checking for struct stat.st_atim.tv_nsec... yes checking for struct stat.st_ctim.tv_nsec... yes checking for struct stat.st_mtim.tv_nsec... yes checking for struct stat.st_atime_n... no checking for struct stat.st_ctime_n... no checking for struct stat.st_mtime_n... no checking for inode member of struct dirent... d_fileno checking for file type member of struct dirent... d_type
Checking for OS UUID Support...
checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for library containing uuid_create... no checking for library containing uuid_generate... -luuid checking for uuid_create... no
checking for uuid_generate... yes
checking for os uuid usability... yes
Checking for Time Support...
checking for struct tm.tm_gmtoff... yes
checking for struct tm.__tm_gmtoff... no
Checking for Networking support...
checking for type in_addr... yes
checking if fd == socket on this platform... yes
checking style of gethostbyname_r routine... glibc2
checking 3rd argument to the gethostbyname_r routines... char
checking style of getservbyname_r routine... glibc2
checking if TCP_NODELAY setting is inherited from lChecking autotools environment for common misconfiguration istening sockets... yes
checking if O_NONBLOCK setting is inherited from listening sockets... yes
checking whether TCP_NODELAY and TCP_CORK can both be enabled... (cached) yes
checking for TCP_CORK in netinet/tcp.h... yes
checking for TCP_NOPUSH in netinet/tcp.h... no
checking for SO_ACCEPTFILTER in sys/socket.h... no
checking whether SCTP is supported... no
checking for struct ip_mreq... yes
checking for set_h_errno... no
Checking for IPv6 Networking support...
checking for library containing getaddrinfo... none required checking for library containing gai_strerror... none required checking for library containing getnameinfo... none required checking for gai_strerror... (cached) yes
checking for working getaddrinfo... yes
checking for negative error codes for getaddrinfo... no checking for working getnameinfo... yes
checking for sockaddr_in6... yes
checking for sockaddr_storage... yes
checking for working AI_ADDRCONFIG... no
checking if APR supports IPv6... yes
checking for langinfo.h... (cached) yes
checking for nl_langinfo... (cached) yes
Restore user-defined environment settings...
restoring CPPFLAGS to ""
setting EXTRA_CPPFLAGS to "-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE"
restoring CFLAGS to "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types" setting EXTRA_CFLAGS to ""
restoring LDFLAGS to "-Wl,-O1 -Wl,--as-needed"
setting EXTRA_LDFLAGS to ""
restoring LIBS to ""
setting EXTRA_LIBS to "-luuid -lrt -lcrypt -ldl"
restoring INCLUDES to ""
setting EXTRA_INCLUDES to ""
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/apr.h
config.status: creating build/apr_rules.mk
config.status: creating build/pkg/pkginfo
config.status: creating apr-1-config
config.status: creating apr.pc
config.status: creating test/Makefile
config.status: creating test/internal/Makefile
config.status: creating include/arch/unix/apr_private.h
config.status: executing libtool commands
rm: cannot remove `arm-poky-linux-gnueabi-libtoolT': No such file or directory
config.status: executing default commands
NOTE: Checking autotools environment for common misconfiguration
md5 checksum matched for file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b
NOTE: md5 checksum matched for file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b
buildconf: checking installation...
buildconf: python version 2.6.6 (ok)
buildconf: autoconf version 2.65 (ok)
Copying libtool helper files ...
./buildconf: line 62: alias: -g: invalid option
alias: usage: alias [-p] [name[=value] ... ]
./buildconf: eval: line 67: syntax error near unexpected token `&&'
./buildconf: eval: line 67: && (test "Xprint -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then'
buildconf: Using libtool.m4 at /distro/edwin-working/poky/build-arm/tmp/sysroots/i686-linux/usr/share/aclocal/libtool.m4. Creating include/arch/unix/apr_private.h.in ...
Creating configure ...
Generating 'make' outputs ...
rebuilding rpm spec file
automake (GNU automake) 1.11.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Tom Tromey <[email protected]>
and Alexandre Duret-Lutz <[email protected]>.
AUTOV is 1.11
NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I /distro/edwin-working/poky/build-arm/tmp/work/armv5te-poky-linux-gnueabi/apr-1.4.2-r0/apr-1.4.2/build/ -I/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal-1.11 -I /distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal -I /distro/edwin-working/poky/build-arm/tmp/work/armv5te-poky-linux-gnueabi/apr-1.4.2-r0/apr-1.4.2/build/ -I /distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal-1.11 -I /distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal -I /distro/edwin-working/poky/build-arm/tmp/work/armv5te-poky-linux-gnueabi/apr-1.4.2-r0/apr-1.4.2/build/ -I /distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal-1.11 -I /distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal --force build/apr_network.m4:24: warning: underquoted definition of APR_TYPE_IN_ADDR
build/apr_network.m4:24: run info '(automake)Extending aclocal'
build/apr_network.m4:24: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoreconf: configure.in: tracing
configure.in:2037: warning: AC_RUN_IFELSE called without default to allow cross compiling
../../lib/autoconf/general.m4:2709: AC_RUN_IFELSE is expanded from...
../../lib/autoconf/general.m4:2725: AC_TRY_RUN is expanded from...
../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from...
../../lib/autoconf/general.m4:1992: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2013: AC_CACHE_CHECK is expanded from...
configure.in:2037: the top level
configure.in:2062: warning: AC_RUN_IFELSE called without default to allow cross compiling
build/apr_threads.m4:248: APR_CHECK_PTHREAD_ROBUST_SHARED_MUTEX is expanded from...
configure.in:2062: the top level
configure.in:2463: warning: AC_RUN_IFELSE called without default to allow cross compiling
build/apr_network.m4:502: APR_CHECK_TCP_NODELAY_WITH_CORK is expanded from...
configure.in:2463: the top level
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build'.
libtoolize: copying file `build/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `build'.
libtoolize: copying file `build/libtool.m4'
libtoolize: copying file `build/ltoptions.m4'
libtoolize: copying file `build/ltsugar.m4'
libtoolize: copying file `build/ltversion.m4'
libtoolize: copying file `build/lt~obsolete.m4'
libtoolize: Consider adding `-I build' to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: AC_PROG_RANLIB' is rendered obsolete by LT_INIT'
build/apr_network.m4:24: warning: underquoted definition of APR_TYPE_IN_ADDR
build/apr_network.m4:24: run info '(automake)Extending aclocal'
build/apr_network.m4:24: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoreconf: running: /distro/edwin-working/poky/build-arm/tmp/sysroots/i686-linux/usr/bin/autoconf --include=/distro/edwin-working/poky/build-arm/tmp/work/armv5te-poky-linux-gnueabi/apr-1.4.2-r0/apr-1.4.2/build/ --include=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal-1.11 --include=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal --force --warnings=cross
configure.in:2037: warning: AC_RUN_IFELSE called without default to allow cross compiling
../../lib/autoconf/general.m4:2709: AC_RUN_IFELSE is expanded from...
../../lib/autoconf/general.m4:2725: AC_TRY_RUN is expanded from...
../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from...
../../lib/autoconf/general.m4:1992: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2013: AC_CACHE_CHECK is expanded from...
configure.in:2037: the top level
configure.in:2062: warning: AC_RUN_IFELSE called without default to allow cross compiling
build/apr_threads.m4:248: APR_CHECK_PTHREAD_ROBUST_SHARED_MUTEX is expanded from...
configure.in:2062: the top level
configure.in:2463: warning: AC_RUN_IFELSE called without default to allow cross compiling
build/apr_network.m4:502: APR_CHECK_TCP_NODELAY_WITH_CORK is expanded from...
configure.in:2463: the top level
autoreconf: running: /distro/edwin-working/poky/build-arm/tmp/sysroots/i686-linux/usr/bin/autoheader --include=/distro/edwin-working/poky/build-arm/tmp/work/armv5te-poky-linux-gnueabi/apr-1.4.2-r0/apr-1.4.2/build/ --include=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal-1.11 --include=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/aclocal --force --warnings=cross
autoreconf: configure.in: not using Automake
autoreconf: running: gnu-configize
autoreconf: Leaving directory `.'
NOTE: Running /distro/edwin-working/poky/build-arm/tmp/work/armv5te-poky-linux-gnueabi/apr-1.4.2-r0/apr-1.4.2/configure --build=i686-linux --host=arm-poky-linux-gnueabi --target=arm-poky-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man ...
configure: loading site script /distro/edwin-working/poky/meta/site/endian-little
configure: loading site script /distro/edwin-working/poky/meta/site/common-glibc
configure: loading site script /distro/edwin-working/poky/meta/site/arm-common
configure: loading site script /distro/edwin-working/poky/meta/site/arm-linux
configure: loading site script /distro/edwin-working/poky/meta/site/common
configure: loading site script /distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/arm-poky-linux-gnueabi_config_site.d/eglibc_config
configure: loading site script /distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi/usr/share/arm-poky-linux-gnueabi_config_site.d/zlib_config
checking build system type... i686-pc-linux-gnu
checking host system type... arm-poky-linux-gnueabi
checking target system type... arm-poky-linux-gnueabi
Configuring APR library
Platform: arm-poky-linux-gnueabi
checking for working mkdir -p... yes
APR Version: 1.4.2
checking for chosen layout... apr
checking for arm-poky-linux-gnueabi-gcc... arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/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 -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi accepts -g... yes
checking for arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi option to accept ISO C89... none needed
Applying APR hints file rules for arm-poky-linux-gnueabi
setting CPPFLAGS to "-DLINUX=2"
adding "-D_REENTRANT" to CPPFLAGS
adding "-D_GNU_SOURCE" to CPPFLAGS
(Default will be unix)
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... arm-poky-linux-gnueabi-gcc -E --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi
checking for gawk... gawk
checking whether ln -s works... yes
checking for arm-poky-linux-gnueabi-ranlib... arm-poky-linux-gnueabi-ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... rm
checking for as... arm-poky-linux-gnueabi-as
checking for cpp... cpp
checking for arm-poky-linux-gnueabi-ar... arm-poky-linux-gnueabi-ar
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking whether system uses EBCDIC... no
performing libtool configuration...
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi... arm-poky-linux-gnueabi-ld --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi
checking if the linker (arm-poky-linux-gnueabi-ld --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /distro/edwin-working/poky/build-arm/tmp/sysroots/i686-linux/usr/bin/armv5te-poky-linux-gnueabi/arm-poky-linux-gnueabi-nm -B
checking the name lister (/distro/edwin-working/poky/build-arm/tmp/sysroots/i686-linux/usr/bin/armv5te-poky-linux-gnueabi/arm-poky-linux-gnueabi-nm -B) interface... BSD nm
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=/distro/edwin-working/poky/build-arm/tmp/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... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for arm-poky-linux-gnueabi-ar... (cached) arm-poky-linux-gnueabi-ar
checking for archiver @FILE support... @
checking for arm-poky-linux-gnueabi-strip... arm-poky-linux-gnueabi-strip
checking for arm-poky-linux-gnueabi-ranlib... (cached) arm-poky-linux-gnueabi-ranlib
checking command to parse /distro/edwin-working/poky/build-arm/tmp/sysroots/i686-linux/usr/bin/armv5te-poky-linux-gnueabi/arm-poky-linux-gnueabi-nm -B output from arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi object... ok
checking for sysroot... no
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 for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi supports -fno-rtti -fno-exceptions... no
checking for arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi option to produce PIC... -fPIC -DPIC
checking if arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi PIC flag -fPIC -DPIC works... yes
checking if arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi static flag -static works... yes
checking if arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi supports -c -o file.o... rm: cannot remove `conftest*': No such file or directory
yes
checking if arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi supports -c -o file.o... (cached) yes
checking whether the arm-poky-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi linker (arm-poky-linux-gnueabi-ld --sysroot=/distro/edwin-working/poky/build-arm/tmp/sysroots/armv5te-poky-linux-gnueabi) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: cannot remove `conftest*': No such file or directory
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... yes
grep: /distro/edwin-working/poky/build-arm/tmp/work/armv5te-poky-linux-gnueabi/apr-1.4.2-r0/apr-1.4.2/libtool: No such file or directory
Check for compiler flags...
checking whether the compiler provides atomic builtins... no checking whether to enable -D_LARGEFILE64_SOURCE... no
Checking for libraries...
checking for library containing gethostbyname... none required checking for library containing gethostname... none required checking for library containing socket... none required checking for library containing crypt... -lcrypt checking for main in -ltruerand... no
checking for library containing modf... none required
Checking for Threads...
checking for pthread.h... (cached) yes
checking for CFLAGS needed for pthreads... checking for LIBS needed for pthreads... checking for pthread.h... (cached) yes checking whether pthread_getspecific takes two arguments... no
checking whether pthread_attr_getdetachstate takes one argument... no
checking for recursive mutex support... no
checking for pthread_key_delete... (cached) yes
checking for pthread_rwlock_init... no
checking for pthread_attr_setguardsize... no
checking for pthread_yield... no
checking for sched.h... (cached) yes
checking for sched_yield... (cached) yes
APR will use threads
checking for readdir in -lc_r... no
checking for gethostbyname in -lc_r... no
checking for gethostbyaddr in -lc_r... no
checking for getservbyname in -lc_r... no
checking for gethostbyname_r... (cached) yes
checking for gethostbyaddr_r... (cached) yes
checking for getservbyname_r... (cached) yes
checking for sigsuspend... (cached) yes
checking for sigwait... yes
checking for poll... (cached) yes
checking for kqueue... no
checking for port_create... no
checking for epoll support... no
checking for epoll_create1 support... no
checking for dup3 support... no
checking for accept4 support... no
checking for SOCK_CLOEXEC support... no
checking for fdatasync... (cached) yes
checking for epoll_create1 support... (cached) no
checking for dup3 support... (cached) no
checking for accept4 support... (cached) no
checking for SOCK_CLOEXEC support... (cached) no
checking for getpwnam_r... (cached) yes
checking for getpwuid_r... (cached) yes
checking for getgrnam_r... (cached) yes
checking for getgrgid_r... (cached) yes
Checking for Shared Memory Support...
checking for library containing shm_open... -lrt
checking for sys/types.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for sys/ipc.h... (cached) yes
checking sys/mutex.h usability... no
checking sys/mutex.h presence... no
checking for sys/mutex.h... no
checking for sys/shm.h... (cached) yes
checking for sys/file.h... (cached) yes
checking kernel/OS.h usability... no
checking kernel/OS.h presence... no
checking for kernel/OS.h... no
checking os2.h usability... no
checking os2.h presence... no
checking for os2.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for mmap... (cached) yes
checking for munmap... (cached) yes
checking for shm_open... yes
checking for shm_unlink... yes
checking for shmget... (cached) yes
checking for shmat... (cached) yes
checking for shmdt... (cached) yes
checking for shmctl... (cached) yes
checking for create_area... no
checking for MAP_ANON in sys/mman.h... yes
decision on anonymous shared memory allocation method... 4.4BSD-style mmap() via MAP_ANON decision on namebased memory allocation method... SysV IPC shmget() checking for working alloca.h... yes
checking for alloca... yes
checking for calloc... (cached) yes
checking for setsid... (cached) yes
checking for isinf... (cached) yes
checking for isnan... (cached) yes
checking for getenv... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for unsetenv... (cached) yes
checking for writev... yes
checking for getifaddrs... (cached) yes
checking for utime... (cached) yes
checking for utimes... (cached) yes
checking for setrlimit... (cached) yes
checking for getrlimit... (cached) yes
checking for sendfilev in -lsendfile... no
checking for sendfile... yes
checking for send_file... no
checking for sendfilev... no
checking for sigaction... (cached) yes
checking whether sys_siglist is declared... (cached) yes
checking for fork... (cached) yes
checking for inet_addr... (cached) yes
checking for inet_network... yes
checking for _getch... no
checking for strerror_r... (cached) yes
checking for type of return code from strerror_r... pointer
checking for mmap... (cached) yes
checking for memmove... (cached) yes
checking for getpass... (cached) yes
checking for getpassphrase... no
checking for gmtime_r... (cached) yes
checking for localtime_r... (cached) yes
checking for mkstemp... (cached) yes
checking whether sigwait takes one argument... no
checking for ANSI C header files... (cached) yes
checking ByteOrder.h usability... no
checking ByteOrder.h presence... no
checking for ByteOrder.h... no
checking conio.h usability... no
checking conio.h presence... no
checking for conio.h... no
checking for crypt.h... (cached) yes
checking for ctype.h... (cached) yes
checking dir.h usability... no
checking dir.h presence... no
checking for dir.h... no
checking for dirent.h... (cached) yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for dlfcn.h... (cached) yes
checking for errno.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for grp.h... (cached) yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking for limits.h... (cached) yes
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking for malloc.h... (cached) yes
checking for memory.h... (cached) yes
checking for netdb.h... (cached) yes
checking osreldate.h usability... no
checking osreldate.h presence... no
checking for osreldate.h... no
checking for poll.h... (cached) yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking for pwd.h... (cached) yes
checking for semaphore.h... (cached) yes
checking for signal.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sysapi.h usability... no
checking sysapi.h presence... no
checking for sysapi.h... no
checking sysgtime.h usability... no
checking sysgtime.h presence... no
checking for sysgtime.h... no
checking for termios.h... (cached) yes
checking for time.h... (cached) yes
checking tpfeq.h usability... no
checking tpfeq.h presence... no
checking for tpfeq.h... no
checking tpfio.h usability... no
checking tpfio.h presence... no
checking for tpfio.h... no
checking for unistd.h... (cached) yes
checking unix.h usability... no
checking unix.h presence... no
checking for unix.h... no
checking for windows.h... (cached) no
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking for arpa/inet.h... (cached) yes
checking for kernel/OS.h... (cached) no
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking for netinet/in.h... (cached) yes
checking for netinet/sctp.h... (cached) no
checking for netinet/sctp_uio.h... (cached) no
checking for sys/file.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/sem.h... (cached) yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking for sys/signal.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for sys/stat.h... (cached) yes
checking for sys/sysctl.h... (cached) yes
checking sys/syslimits.h usability... no
checking sys/syslimits.h presence... no
checking for sys/syslimits.h... no
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for sys/un.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for netinet/tcp.h... yes
checking for h_errno in netdb.h... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... (cached) {ac_cv_type_uid_t=yes} checking for ssize_t... yes
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking whether setpgrp takes no argument... (cached) yes
checking for socklen_t... yes
checking size of void*... 4
checking size of char... (cached) 1
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of short... (cached) 2
checking size of long long... (cached) 8
checking for INT64_C... yes
checking size of pid_t... 8
checking whether ssize_t and int are the same... yes
checking whether ssize_t and long are the same... no
checking whether size_t and unsigned int are the same... yes
checking whether size_t and unsigned long are the same... no
checking size of ssize_t... (cached) 4
checking which format to use for apr_ssize_t... %d
checking size of size_t... (cached) 4
checking which format to use for apr_size_t... %u
checking size of off_t... (cached) 4
checking which type to use for apr_off_t... long
checking whether ino_t and unsigned long are the same... yes
configure: using unsigned long for ino_t
checking whether byte ordering is bigendian... (cached) no
checking for strnicmp... no
checking for strncasecmp... (cached) yes
checking for stricmp... no
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strstr... (cached) yes
checking for memchr... (cached) yes
checking for strtoll... (cached) yes
Checking for DSO...
checking for dlopen... no
checking for dlopen in -ldl... yes
adding "-ldl" to LIBS
checking for dlsym... yes
Checking for Processes...
checking for waitpid... (cached) yes
checking for Variable Length Arrays... yes
checking struct rlimit... no
Checking for Locking...
checking for semget... (cached) yes
checking for semctl... (cached) yes
checking for flock... (cached) yes
checking for semaphore.h... (cached) yes
checking OS.h usability... no
checking OS.h presence... no
checking for OS.h... no
checking for library containing sem_open... no
checking for sem_close... no
checking for sem_unlink... no
checking for sem_post... no
checking for sem_wait... no
checking for create_sem... no
checking for working sem_open... no
checking for union semun in sys/sem.h... no
checking for LOCK_EX in sys/file.h... yes
checking for F_SETLK in fcntl.h... yes
checking for SEM_UNDO in sys/sem.h... yes
checking for POLLIN in poll.h sys/poll.h... yes
checking for PTHREAD_PROCESS_SHARED in pthread.h... yes checking for pthread_mutexattr_setpshared... no
decision on apr_lock implementation method... SysV IPC semget() checking if fcntl returns EACCES when F_SETLK is already held... no checking if all interprocess locks affect threads... no checking if POSIX sems affect threads in the same process... no checking if SysV sems affect threads in the same process... no checking if fcntl locks affect threads in the same process... no checking if flock locks affect threads in the same process... no checking for entropy source... /dev/urandom
Checking for File Info Support...
checking for struct stat.st_blocks... yes checking for struct stat.st_atimensec... no checking for struct stat.st_ctimensec... no checking for struct stat.st_mtimensec... no checking for struct stat.st_atim.tv_nsec... yes checking for struct stat.st_ctim.tv_nsec... yes checking for struct stat.st_mtim.tv_nsec... yes checking for struct stat.st_atime_n... no checking for struct stat.st_ctime_n... no checking for struct stat.st_mtime_n... no checking for inode member of struct dirent... d_fileno checking for file type member of struct dirent... d_type
Checking for OS UUID Support...
checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for library containing uuid_create... no checking for library containing uuid_generate... -luuid checking for uuid_create... no
checking for uuid_generate... yes
checking for os uuid usability... yes
Checking for Time Support...
checking for struct tm.tm_gmtoff... yes
checking for struct tm.__tm_gmtoff... no
Checking for Networking support...
checking for type in_addr... yes
checking if fd == socket on this platform... yes
checking style of gethostbyname_r routine... glibc2
checking 3rd argument to the gethostbyname_r routines... char checking style of getservbyname_r routine... glibc2
checking if TCP_NODELAY setting is inherited from listening sockets... yes checking if O_NONBLOCK setting is inherited from listening sockets... yes checking whether TCP_NODELAY and TCP_CORK can both be enabled... (cached) yes checking for TCP_CORK in netinet/tcp.h... yes
checking for TCP_NOPUSH in netinet/tcp.h... no
checking for SO_ACCEPTFILTER in sys/socket.h... no
checking whether SCTP is supported... no
checking for struct ip_mreq... yes
checking for set_h_errno... no
Checking for IPv6 Networking support...
checking for library containing getaddrinfo... none required checking for library containing gai_strerror... none required checking for library containing getnameinfo... none required checking for gai_strerror... (cached) yes
checking for working getaddrinfo... yes
checking for negative error codes for getaddrinfo... no checking for working getnameinfo... yes
checking for sockaddr_in6... yes
checking for sockaddr_storage... yes
checking Checking autotools environment for common misconfiguration for working AI_ADDRCONFIG... no
checking if APR supports IPv6... yes
checking for langinfo.h... (cached) yes
checking for nl_langinfo... (cached) yes
Restore user-defined environment settings...
restoring CPPFLAGS to ""
setting EXTRA_CPPFLAGS to "-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE"
restoring CFLAGS to "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types" setting EXTRA_CFLAGS to ""
restoring LDFLAGS to "-Wl,-O1 -Wl,--as-needed"
setting EXTRA_LDFLAGS to ""
restoring LIBS to ""
setting EXTRA_LIBS to "-luuid -lrt -lcrypt -ldl"
restoring INCLUDES to ""
setting EXTRA_INCLUDES to ""
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/apr.h
config.status: creating build/apr_rules.mk
config.status: creating build/pkg/pkginfo
config.status: creating apr-1-config
config.status: creating apr.pc
config.status: creating test/Makefile
config.status: creating test/internal/Makefile
config.status: creating include/arch/unix/apr_private.h
config.status: executing libtool commands
rm: cannot remove `arm-poky-linux-gnueabi-libtoolT': No such file or directory
config.status: executing default commands
NOTE: Checking autotools environment for common misconfiguration
md5 checksum matched for file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b
NOTE: md5 checksum matched for file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b
md5 checksum matched for file://include/apr_lib.h;endline=17;md5=ee42fa7575dc40580a9e01c1b75fae96
NOTE: md5 checksum matched for file://include/apr_lib.h;endline=17;md5=ee42fa7575dc40580a9e01c1b75fae96
Re: [PATCH 2/7] apr: Update to 1.4.2
Quoted 7 lines · Edwin
I have compared the autoconf process between apr-1.3 and 1.4, but found no clue of why build/libtool.m4 got overwritten only on apr-1.4. Attached log files, and hope some autotools expert can help.
Following only occur in 1.4 log
libtoolize: copying file `build/libtool.m4'
libtoolize: copying file `build/ltoptions.m4'
This is what happens when libtool decides the version of libtool.m4 isn't right and replaces it with the system shared copy of that m4 file. It usually does this when it finds the system copy is newer if I recally correctly so this is the opposite way around to what I'd expect :/.
Cheers,
Richard
Re: [PATCH 2/7] apr: Update to 1.4.2
Quoted 10 lines · Richard Purdie
Quoted 7 lines · Edwin
I have compared the autoconf process between apr-1.3 and 1.4, but found no clue of why build/libtool.m4 got overwritten only on apr-1.4. Attached log files, and hope some autotools expert can help.
Following only occur in 1.4 log
libtoolize: copying file `build/libtool.m4'
libtoolize: copying file `build/ltoptions.m4'
Quoted 5 lines
This is what happens when libtool decides the version of libtool.m4 isn't right and replaces it with the system shared copy of that m4 file. It usually does this when it finds the system copy is newer if I recally correctly so this is the opposite way around to what I'd expect :/.
RP,
Thanks for your info. If it's opposite, we have to change it back in configure_append, right? Is there any other cases like this? One preparing script changes libtool.m4, then autoconf replaces it again.
Thanks,
edwin
Quoted 5 lines
Cheers,
Richard
PATCH 3/7 apr-util: Update to 1.3.10
In reply to Zhai Edwin---
.../apr/{apr-util_1.3.4.bb => apr-util_1.3.10.bb} | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
rename meta/recipes-support/apr/{apr-util_1.3.4.bb => apr-util_1.3.10.bb} (72%)meta/recipes-support/apr/apr-util_1.3.10.bb renamed from meta/recipes-support/apr/apr-util_1.3.4.bb +8 -4
@@ -1,16 +1,20 @@ DESCRIPTION = "Apache Portable Runtime (APR) companion library" +HOMEPAGE = "http://apr.apache.org/" SECTION = "libs" DEPENDS = "apr expat gdbm" + LICENSE = "Apache License, Version 2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=519e0a18e03f7c023070568c14b077bb" -PR = "r7" +LIC_FILES_CHKSUM = "file://LICENSE;md5=519e0a18e03f7c023070568c14b077bb \ + file://include/apu_version.h;endline=17;md5=806685a84e71f10c80144c48eb35df42" + +PR = "r0" SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.gz \ file://configfix.patch;patch=1 \ file://configure_fixes.patch;patch=1" -SRC_URI[md5sum] = "a10e2ca150ff07f484c724c36142211f" -SRC_URI[sha256sum] = "3f07ffdb18fb853290c9b83e82cd5cae66b8fbc357bd391e846c0afdd24fed7e" +SRC_URI[md5sum] = "82acd25cf3df8c72eba44eaee8b80c19" +SRC_URI[sha256sum] = "7c37ac40b2351bfc23000fb6b7b54a67e0872255df315c82eb60c821bcef4b23" EXTRA_OECONF = "--with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \ --without-odbc \
Signature · 1 line
1.7.0.4
PATCH 4/7 xvinfo: Upgrade to 1.1.1
In reply to Zhai Edwin---
.../xorg-app/{xvinfo_1.0.2.bb => xvinfo_1.1.1.bb} | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/xorg-app/{xvinfo_1.0.2.bb => xvinfo_1.1.1.bb} (58%)meta/recipes-graphics/xorg-app/xvinfo_1.1.1.bb renamed from meta/recipes-graphics/xorg-app/xvinfo_1.0.2.bb +2 -2
@@ -5,5 +5,5 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4641deddaa80fe7ca88e944e1fd94a94" DEPENDS += " libxv" PE = "1" -SRC_URI[md5sum] = "e1e318436f49e2f0f3764593dadd9ad2" -SRC_URI[sha256sum] = "126e2a612ac723f9688904fcfa612688d62e520ce55c56eb34eb5390074cf150" +SRC_URI[md5sum] = "c88feb501083951a8f47a21aaeb1529d" +SRC_URI[sha256sum] = "60c74aa190bcf1e244f6f1576dc43869018a8ed5ba319703a5c198d3466a3985"
Signature · 1 line
1.7.0.4
PATCH 5/7 libcanberra: Upgrade to 0.26
In reply to Zhai EdwinRemove nofallbackfix.patch it as already in upstream. Remove autoconf_version.patch as already have new version of autoconf and no inbuild libltdl now.
---
.../pulseaudio/libcanberra/autoconf_version.patch | 38 --------------------
.../pulseaudio/libcanberra/nofallbackfix.patch | 16 --------
.../{libcanberra_0.10.bb => libcanberra_0.26.bb} | 10 ++---
3 files changed, 4 insertions(+), 60 deletions(-)
delete mode 100644 meta/recipes-multimedia/pulseaudio/libcanberra/autoconf_version.patch
delete mode 100644 meta/recipes-multimedia/pulseaudio/libcanberra/nofallbackfix.patch
rename meta/recipes-multimedia/pulseaudio/{libcanberra_0.10.bb => libcanberra_0.26.bb} (73%)meta/recipes-multimedia/pulseaudio/libcanberra/autoconf_version.patch deleted +0 -38
@@ -1,38 +0,0 @@ -Allow a slightly older autoconf and disable the inbuild libltdl - -RP - 16/4/09 - -Index: libcanberra-0.10/Makefile.am -=================================================================== ---- libcanberra-0.10.orig/Makefile.am 2009-04-16 14:38:53.000000000 +0100 -+++ libcanberra-0.10/Makefile.am 2009-04-16 14:39:04.000000000 +0100 -@@ -19,7 +19,7 @@ - dist_doc_DATA = README - - EXTRA_DIST = bootstrap.sh autogen.sh LGPL libcanberra.schemas --SUBDIRS = src gtkdoc libltdl doc -+SUBDIRS = src gtkdoc doc - - MAINTAINERCLEANFILES = README - noinst_DATA = README -Index: libcanberra-0.10/configure.ac -=================================================================== ---- libcanberra-0.10.orig/configure.ac 2009-04-16 14:32:33.000000000 +0100 -+++ libcanberra-0.10/configure.ac 2009-04-16 14:37:50.000000000 +0100 -@@ -19,7 +19,7 @@ - # License along with libcanberra. If not, see - # <http://www.gnu.org/licenses/>. - --AC_PREREQ(2.62) -+AC_PREREQ(2.61) - - AC_INIT([libcanberra], 0.10, [mzyvopnaoreen (at) 0pointer (dot) de]) - AC_CONFIG_SRCDIR([src/common.c]) -@@ -70,7 +70,6 @@ - AC_PROG_LIBTOOL - AC_SUBST(LTDLINCL) - AC_SUBST(LIBLTDL) --AC_CONFIG_SUBDIRS(libltdl) - - #### Determine build environment #### -
meta/recipes-multimedia/pulseaudio/libcanberra/nofallbackfix.patch deleted +0 -16
@@ -1,16 +0,0 @@ -Index: libcanberra-0.10/src/sound-theme-spec.c -=================================================================== ---- libcanberra-0.10.orig/src/sound-theme-spec.c 2009-05-22 17:08:23.000000000 +0100 -+++ libcanberra-0.10/src/sound-theme-spec.c 2009-05-22 17:12:50.000000000 +0100 -@@ -398,9 +398,9 @@ - if ((ret = load_theme_dir(t, name)) < 0) - goto fail; - -+ /* The fallback theme may intentionally not exist so ignore failure */ - if (!t->loaded_fallback_theme) -- if ((ret = load_theme_dir(t, FALLBACK_THEME)) < 0) -- goto fail; -+ load_theme_dir(t, FALLBACK_THEME); - - if (*_t) - ca_theme_data_free(*_t);
meta/recipes-multimedia/pulseaudio/libcanberra_0.26.bb renamed from meta/recipes-multimedia/pulseaudio/libcanberra_0.10.bb +4 -6
@@ -5,16 +5,14 @@ LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \ file://src/canberra.h;endline=24;md5=8dd99ba690687f5816f711d9313c8967" DEPENDS = "gtk+ pulseaudio alsa-lib libtool" -PR = "r3" +PR = "r0" inherit gconf autotools -SRC_URI = "http://0pointer.de/lennart/projects/libcanberra/libcanberra-${PV}.tar.gz \ - file://nofallbackfix.patch;patch=1 \ - file://autoconf_version.patch;patch=1" +SRC_URI = "http://0pointer.de/lennart/projects/libcanberra/libcanberra-${PV}.tar.gz" -SRC_URI[md5sum] = "2623370bfcecaeecaeb85e5ec445f340" -SRC_URI[sha256sum] = "b0e3cb59e605412a52352cf9cf36344b165463d4e65916c95deb73fc51838272" +SRC_URI[md5sum] = "ee2c66ada7c851a4e7b6eb1682285a24" +SRC_URI[sha256sum] = "4b5d8d2c2835133620adbc53745dd107b6e58b9a2963059e8f457143fee00982" EXTRA_OECONF = " --disable-oss --disable-ltdl-install"
Signature · 1 line
1.7.0.4
PATCH 6/7 metacity: Upgrade to 2.30.3
In reply to Zhai EdwinRevised one patch from openembed to make host native binary for build.
---
.../gnome/metacity/crosscompile.patch | 60 ++++++++++++++++++++
.../{metacity_2.22.0.bb => metacity_2.30.3.bb} | 14 +++-
2 files changed, 70 insertions(+), 4 deletions(-)
create mode 100644 meta/recipes-gnome/gnome/metacity/crosscompile.patch
rename meta/recipes-gnome/gnome/{metacity_2.22.0.bb => metacity_2.30.3.bb} (53%)meta/recipes-gnome/gnome/metacity/crosscompile.patch new file +60 -0
@@ -0,0 +1,60 @@ +This patch is revised version from openembed. It build host native binary +rather than target binary in cross-compile environment. + +Signed-off-by: Zhai Edwin <[email protected]> + +Index: metacity-2.30.3/src/Makefile.am +=================================================================== +--- metacity-2.30.3.orig/src/Makefile.am 2010-09-05 00:09:52.000000000 +0800 ++++ metacity-2.30.3/src/Makefile.am 2010-12-31 11:15:31.000000000 +0800 +@@ -134,11 +134,9 @@ + metacity_theme_viewer_SOURCES= \ + ui/theme-viewer.c + +-schema_bindings_SOURCES = \ +- core/schema-bindings.c \ +- metacity.schemas.in.in ++schema_bindings: ++ @CC_FOR_BUILD@ core/schema-bindings.c -I./include -I../ @CFLAGS_FOR_BUILD@ @LDFLAGS_FOR_BUILD@ -o schema_bindings + +-schema_bindings_LDADD = @METACITY_LIBS@ + metacity.schemas.in: schema_bindings ${srcdir}/metacity.schemas.in.in + @echo Generating keybinding schemas... ${srcdir}/metacity.schemas.in.in + ${builddir}/schema_bindings ${srcdir}/metacity.schemas.in.in ${builddir}/metacity.schemas.in +Index: metacity-2.30.3/configure.in +=================================================================== +--- metacity-2.30.3.orig/configure.in 2010-09-22 22:14:06.000000000 +0800 ++++ metacity-2.30.3/configure.in 2010-12-31 11:15:31.000000000 +0800 +@@ -31,6 +31,32 @@ + AC_LIBTOOL_WIN32_DLL + AM_PROG_LIBTOOL + ++if test x"$CC_FOR_BUILD" = x; then ++ if test x"$cross_compiling" = xyes; then ++ AC_CHECK_PROGS(CC_FOR_BUILD, gcc cc) ++ else ++ CC_FOR_BUILD="$CC" ++ fi ++fi ++AC_SUBST([CC_FOR_BUILD]) ++if test x"$CFLAGS_FOR_BUILD" = x; then ++ if test x"$cross_compiling" = xyes; then ++ echo boo! ++ else ++ CFLAGS_FOR_BUILD="$CFLAGS" ++ fi ++fi ++AC_SUBST([CFLAGS_FOR_BUILD]) ++if test x"$LDFLAGS_FOR_BUILD" = x; then ++ if test x"$cross_compiling" = xyes; then ++ echo boo! ++ else ++ LDFLAGS_FOR_BUILD="$LDFLAGS" ++ fi ++fi ++AC_SUBST([LDFLAGS_FOR_BUILD]) ++ ++ + #### Integer sizes + + AC_CHECK_SIZEOF(char)
meta/recipes-gnome/gnome/metacity_2.30.3.bb renamed from meta/recipes-gnome/gnome/metacity_2.22.0.bb +10 -4
@@ -4,11 +4,13 @@ LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://src/include/main.h;endline=24;md5=c2242df552c880280315989bab626b90" -DEPENDS = "startup-notification gtk+ gconf gdk-pixbuf-csource-native" -PR = "r3" +DEPENDS = "startup-notification gtk+ gconf gdk-pixbuf-csource-native libcanberra" +PR = "r0" inherit gnome update-alternatives +SRC_URI += "file://crosscompile.patch;patch=1" + ALTERNATIVE_NAME = "x-window-manager" ALTERNATIVE_LINK = "${bindir}/x-window-manager" ALTERNATIVE_PATH = "${bindir}/metacity"
@@ -19,5 +21,9 @@ EXTRA_OECONF += "--disable-verbose \ FILES_${PN} += "${datadir}/themes" -SRC_URI[archive.md5sum] = "8cb6d02cf66a1003532b4f5d2754d696" -SRC_URI[archive.sha256sum] = "3c670b41a214311006dc05f9a005696b9d3fdcb5c80f1275367416600103b3bf" +export CC_FOR_BUILD = "${BUILD_CC}" +export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS} -I${STAGING_LIBDIR_NATIVE}/glib-2.0/include -I${STAGING_INCDIR_NATIVE}/glib-2.0 -I${STAGING_INCDIR_NATIVE}/glib-2.0/include -I${STAGING_INCDIR_NATIVE}" +export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS} -L${STAGING_LIBDIR_NATIVE} -lglib-2.0" + +SRC_URI[archive.md5sum] = "553784f376d96b902e19ff437cd5b339" +SRC_URI[archive.sha256sum] = "08f887018fa5e447cf184d03bae3fe2c05fdb7583bed6768e3b4d66392fc18dd"
Signature · 1 line
1.7.0.4
PATCH 7/7 matchbox-wm-2: Upgrade to svn r2106
In reply to Zhai Edwin--- .../conf/distro/include/poky-default-revisions.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/conf/distro/include/poky-default-revisions.inc +1 -1
@@ -118,7 +118,7 @@ SRCREV_pn-matchbox-terminal ??= "1816" SRCREV_pn-matchbox-theme-sato-2 ??= "164" SRCREV_pn-matchbox-theme-sato ??= "90" SRCREV_pn-matchbox-themes-extra ??= "1524" -SRCREV_pn-matchbox-wm-2 ??= "2083" +SRCREV_pn-matchbox-wm-2 ??= "2106" SRCREV_pn-matchbox-wm ??= "1819" SRCREV_pn-mesa-dri ??= "1bf94d419805538ac23a4d0b04d31ac5e4487aca" SRCREV_pn-mesa-xlib ??= "1bf94d419805538ac23a4d0b04d31ac5e4487aca"
Signature · 1 line
1.7.0.4