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
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core