[oe] sanity test problems at end of build

代尔欣 daierxin at gmail.com
Sat Nov 29 11:44:01 UTC 2008


Hello..,
   I also met this problem. In may case, from  the log:

ERROR: QA Issue: paragui.pc failed sanity check
....
>> QA staging was broken by the package built above
>> ERROR: Error in executing:
>> ERROR: Exception:<type 'exceptions.SystemExit'>  Message:1
>> ERROR: Printing the environment of the function


if it is because the file paragui.pc:

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: ParaGUI
Description: cross-platform widget library
Version: 1.1.8
Libs: -lparagui -lsigc-1.2   -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
-lexpat -lfreetype -lz  -lstdc++
Cflags: -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2
-I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
After some debug, I found if I remove below lines from paragui.pc

Libs: -lparagui -lsigc-1.2   -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
-lexpat -lfreetype -lz  -lstdc++
Cflags: -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2
-I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT

The error is gone. But I don't think it is a correct fix. Because some
packages may use pkgconfig with this file. To find the clue, I have question
about this error, hope someone can answer me.

Q:
1. What is the purpose of the QA sanity check? And How this check do?

2. Just a guess, QA sanity check, Is it for checking the lib or include file
installed correctly base on the .pc file or the .la(mail in Valentin
Longchamp)? If it is, I think the error is in the bb files or Makefile in
the package, it can't install the lib correctly.

Best Regards.



More information about the Openembedded-devel mailing list