[oe] [PATCH] apr-util: disable odbc support to avoid QA error

Paul Menzel paulepanter at users.sourceforge.net
Tue May 24 20:58:09 UTC 2011


Am Montag, den 23.05.2011, 16:07 +0200 schrieb Steffen Sledz:
> The odbc checker part of the configure script seems to be buggy and
> may add host pathes to compiler and linker options:

s/patches/paths/

>
> --------->snip<--------
>  checking for odbc_config... /usr/bin/odbc_config
>    adding "-I/usr/include" to CPPFLAGS
>    adding "-L/usr/lib" to LDFLAGS
>    setting LIBS to "-L/usr/lib -lodbc"
> --------->snip<--------

Did you report that problem upstream?

Why is that a QA error? I would have guessed that the compilation would
fail.

> Signed-off-by: Steffen Sledz <sledz at dresearch-fe.de>
> ---
>  recipes/apr/apr-util_1.3.10.bb |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/recipes/apr/apr-util_1.3.10.bb b/recipes/apr/apr-util_1.3.10.bb
> index ee32ddd..32b568e 100644
> --- a/recipes/apr/apr-util_1.3.10.bb
> +++ b/recipes/apr/apr-util_1.3.10.bb
> @@ -3,7 +3,7 @@ SECTION = "libs"
>  DEPENDS = "apr expat gdbm"
>  LICENSE = "Apache License, Version 2.0"
>  
> -PR = "r0"
> +PR = "r1"
>  
>  SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.gz \
>             file://configfix.patch \
> @@ -15,6 +15,7 @@ EXTRA_OECONF = "--with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \
>  		--without-sqlite2 \
>  		--without-sqlite3 \
>  		--without-pgsql \
> +		--without-odbc \
>  		--with-expat=${STAGING_DIR_HOST}${layout_prefix}"
>  
>  SRC_URI[md5sum] = "82acd25cf3df8c72eba44eaee8b80c19"

Anyway, since `odbc_config` does not seem to be packaged for
OpenEmbedded, disabling that option seems like a sane thing.

Acked-by: Paul Menzel <paulepanter at users.sourceforge.net>


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110524/1da33ffe/attachment-0002.sig>


More information about the Openembedded-devel mailing list