| Summary: | Missing linux kernel header files sdk-images causes posixtestsuite test to fail | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] Kernel | Reporter: | Yi Zhao <yi.zhao> |
| Component: | kernel-tooling | Assignee: | Lianhao Lu <lianhao.lu> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | High | CC: | bruce.ashfield, dexuan.cui, jessica.zhang, jiajun.xu, liang.li2, liangliang.wang, lianhao.lu, liping.ke, sgw, yi.zhao, yp.kernel.watcher, yp.watcher |
| Version: | 1.0 | ||
| Target Milestone: | 1.0 M4 | ||
| Hardware: | x86 | ||
| OS: | arm | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Program Management | Documentation change: | --- |
|
Description
Yi Zhao
2011-02-13 23:48:21 UTC
PPC should have the same problem, any file include <errno.h> will meet the problem. linux headers under target rootfs /usr/include/linux are missing for the latest changeset. Also, it's missing in meta-toolchain-sdk tarball, besides target rootfs. We meet the problem in ppc build. Thanks, criping This bug is there, not sure whether I have done a wrong ops to mark it as "fixed". So reopen it. Lianhao has got the root cause and will send out the patch:
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
index 0d58354..14e6b60 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
@@ -6,6 +6,8 @@ B = "${S}"
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS += "unifdef-native"
PROVIDES = "linux-libc-headers"
+RPROVIDES_${PN}-dev = "linux-libc-headers-dev"
+
PV = "2.6.37+git-${SRCPV}"
PR = "r2"
Fixed in commits http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=afd4169bd24d4a14f59df5622efdcf5c6eb08eb2. Added RPROVIDES_${PN}-dev and RPROVIDES_${PN}-dbg for linux-libc-headers-yocto to provides "linux-libc-headers-dev" and "linux-libc-headers-dbg" respectively. This resolved the dependency issue of libc6-dev depending upon linux-libc-headers-dev. Package linux-libc-headers-yocto-dev will be installed as linux-libc-headers-dev. *** Bug 694 has been marked as a duplicate of this bug. *** Verified on nightly build 20110305 http://autobuilder.yoctoproject.org/nightly/20110305-4/machines/ |