Openembedded Core Discussions
 help / color / mirror / Atom feed
* About PACKAGECONFIG audit
@ 2013-08-15  9:29 wenzong fan
  2013-08-15  9:38 ` Burton, Ross
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: wenzong fan @ 2013-08-15  9:29 UTC (permalink / raw)
  To: 'Patches and discussions about the oe-core layer'

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.
3) Run #1, #2 as an audit script periodically.

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


Thanks
Wenzong


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-08-22  5:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-15  9:29 About PACKAGECONFIG audit wenzong fan
2013-08-15  9:38 ` Burton, Ross
2013-08-15  9:43 ` Phil Blundell
2013-08-15 10:22   ` Martin Jansa
2013-08-16 10:41   ` Richard Purdie
2013-08-16 10:51     ` Phil Blundell
2013-08-15  9:44 ` Paul Eggleton
2013-08-15 10:14   ` wenzong fan
2013-08-15 10:34     ` Martin Jansa
2013-08-19 20:46 ` Randy MacLeod
2013-08-20  5:36   ` wenzong fan
2013-08-22  5:53     ` Randy MacLeod

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox