On 08/20/2013 04:46 AM, Randy MacLeod wrote:
Add Joe Slater who owns US17463: PACKAGECONFIG clean-up.


On 13-08-15 05:29 AM, wenzong fan wrote:
Hi All,

We have seen some problems like this:

$ bitbake libcap

ld: warning: libaudit.so.1, needed by .../lib64/libpam.so, not found
.../lib64/libpam.so: undefined reference to `audit_open'
.../lib64/libpam.so: undefined reference to `audit_close'
......

The libaudit has been available and libpam build with it, after we run
another build with sstate-cache and w/o libaudit, the error occurs. The
solution in these cases is to use PACKAGECONFIG to lay out dependencies
on optional packages and make them explicit. We need to run an audit and
catch all of these issues.

A probable ways maybe:

1) Run world build to generate the sysroots as much as possible;
2) Run 'configure --help' on each package to spot all of the optional
dependencies, and convert them into PACKAGECONFIG specs/or any other
prompts.

We should try to automate or codify this step so that the output is
a list of oe-core package names.

3) Run #1, #2 as an audit script periodically.

Or could we run this check as part of a QA build step?

Do you mean:
   scripts/test-dependencies.sh

No, I mean some check steps that if PACKAGECONFIG should be used, not limit to the script.

Thanks
Wenzong


// Randy



Thanks
Wenzong


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to