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

Steffen Sledz sledz at dresearch-fe.de
Wed May 25 06:02:28 UTC 2011


Am 24.05.2011 22:58, schrieb Paul Menzel:
> 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/

s/pathes/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<--------
> 
> Why is that a QA error? I would have guessed that the compilation would
> fail.

I'm not at the HEAD of org.openembedded.dev but i got this fatal without my patch:

--------->snip<--------
FATAL: This autoconf log indicates errors, it looked at host includes.
Rerun configure task after fixing this. The path was '/home/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/apr-util-1.3.10-r0/apr-util-1.3.10'
ERROR: Error in executing python function in: /home/sledz/work/openembedded/recipes/apr/apr-util_1.3.10.bb
ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
ERROR: Printing the environment of the function
ERROR: Function do_qa_configure failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/sledz/work/openembedded/recipes/apr/apr-util_1.3.10.bb do_qa_configure failed
NOTE: package apr-util-1.3.10-r0: task do_configure: Succeeded
ERROR: Task 12 (/home/sledz/work/openembedded/recipes/apr/apr-util_1.3.10.bb, do_qa_configure) failed with 256
ERROR: '/home/sledz/work/openembedded/recipes/apr/apr-util_1.3.10.bb' failed
NOTE: Running task 625 of 635 (ID: 12, /home/sledz/work/openembedded/recipes/apr/apr-util_1.3.10.bb, do_qa_configure)
NOTE: package apr-util-1.3.10-r0: task do_qa_configure: Started
FATAL: This autoconf log indicates errors, it looked at host includes.
Rerun configure task after fixing this. The path was '/home/sledz/work/HydraIP/OE/tmp.6/work/armv5te-angstrom-linux-gnueabi/apr-util-1.3.10-r0/apr-util-1.3.10'
ERROR: '/home/sledz/work/openembedded/recipes/apr/apr-util_1.3.10.bb' failed
--------->snip<--------

> 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>

Thanx and pushed.

Steffen

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz at dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058




More information about the Openembedded-devel mailing list