Openembedded Core Discussions
 help / color / mirror / Atom feed
* packaging errors in some -nativesdk recipes
@ 2012-03-21  4:45 Lu, Lianhao
  2012-03-21  9:55 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Lu, Lianhao @ 2012-03-21  4:45 UTC (permalink / raw)
  To: openembedded-core

Hi guys,

When I'm looking at some package warnings of eglibc-nativesdk(and some other -nativesdk packages' warnings), e.g.

WARNING: For recipe eglibc-nativesdk, the following files/directories were installed but not shipped in any package:
WARNING:   /opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/lib/libthread_db.so.1
WARNING:   /opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/lib/libnss_hesiod-2.13.so
WARNING:   /opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/lib/libSegFault.so
...... ......

I found this has something to do with the usage of PKGSUFFIX in eglibc-package.inc:

PKGSUFFIX = ""
PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
FILES_eglibc-thread-db${PKGSUFFIX} = "${base_libdir}/libthread_db.so.* ${base_libdir}/libthread_db-*.so"

Instead of the variable FILES_eglibc-thread-db-nativesdk being defined, the variable FILES_eglibc-thread-db gets defined after parsing the eglib-nativesdk recipe, so many files are not packaged in relevant -nativesdk packages. This is because in the functioin finalize() of ast.py in bitbake, it first calls expandKeys() then update_data(), while the OVERRIDES only takes place in the function of update_data(). 

I saw in the git history there was a commit to fix this issue at http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-core/eglibc/eglibc-package.inc?id=f800862555b81dec65f3de09a2f7b1a0c97a09c1, but later was reverted by the commit http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-core/eglibc/eglibc-package.inc?id=2a7870778f141b2f29271405ee62b06cc4856920. 

Any suggestions of how to resolve this issue? We're not 100% sure if we can change the sequence of calling expandKeys() and update_data() in the finalize() in ast.py in bitbake without causing any other problems.

Best Regards,
-Lianhao



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

end of thread, other threads:[~2012-03-21 10:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-21  4:45 packaging errors in some -nativesdk recipes Lu, Lianhao
2012-03-21  9:55 ` Richard Purdie

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