[OE-core] [PATCH 2/2] ltp: add dependency libaio

Kang Kai kai.kang at windriver.com
Wed Aug 29 10:39:40 UTC 2012


When libaio has been populated to sysroot, ltp will be compiled with
libaio. If rpm/deb package of libaio doesn't be created, bitbake
core-image-xxx will fail with:

| Processing task-core-apps-console...
| Processing ltp...
| error: Failed dependencies:
| 	libaio.so.1(LIBAIO_0.4) is needed by ltp-20120614-r0.i586
| 	libaio.so.1(LIBAIO_0.1) is needed by ltp-20120614-r0.i586
| 	libaio.so.1 is needed by ltp-20120614-r0.i586
| ERROR: Function failed: do_rootfs

Add libaio to ltp dependency to fix this issue.

Similiar to [Yocto #2973]

Signed-off-by: Kang Kai <kai.kang at windriver.com>
---
 meta/recipes-extended/ltp/ltp_20120614.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/ltp/ltp_20120614.bb b/meta/recipes-extended/ltp/ltp_20120614.bb
index a01399f..14c0fef 100644
--- a/meta/recipes-extended/ltp/ltp_20120614.bb
+++ b/meta/recipes-extended/ltp/ltp_20120614.bb
@@ -19,9 +19,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
 		    file://utils/benchmark/kernbench-0.42/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 		"
 
-DEPENDS = "attr"
+DEPENDS = "attr libaio"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/ltp/ltp-full-${PV}.bz2"
 
-- 
1.7.5.4





More information about the Openembedded-core mailing list