Patchwork [PATCHv3] ltp: update to new release 20130904

login
register
mail settings
Submitter Anders Roxell
Date Sept. 9, 2013, 10:17 a.m.
Message ID <1378721846-3634-1-git-send-email-anders.roxell@linaro.org>
Download mbox | patch
Permalink /patch/57651/
State New
Headers show

Comments

Anders Roxell - Sept. 9, 2013, 10:17 a.m.
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 meta/recipes-extended/ltp/{ltp_20130503.bb => ltp_20130904.bb} | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
 rename meta/recipes-extended/ltp/{ltp_20130503.bb => ltp_20130904.bb} (94%)
Richard Purdie - Oct. 29, 2013, 9:58 a.m.
On Mon, 2013-09-09 at 12:17 +0200, Anders Roxell wrote:
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
>  meta/recipes-extended/ltp/{ltp_20130503.bb => ltp_20130904.bb} | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>  rename meta/recipes-extended/ltp/{ltp_20130503.bb => ltp_20130904.bb} (94%)
> 
> diff --git a/meta/recipes-extended/ltp/ltp_20130503.bb b/meta/recipes-extended/ltp/ltp_20130904.bb
> similarity index 94%
> rename from meta/recipes-extended/ltp/ltp_20130503.bb
> rename to meta/recipes-extended/ltp/ltp_20130904.bb
> index 387826d..5e10448 100644

It seems this patch is causing problems on the autobuilder, e.g.:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=5379

but this is occurring on multiple architectures. Looks like some kind of
parallel make race :(

Cheers,

Richard
Anders Roxell - Nov. 8, 2013, 6:03 p.m.
On 2013-10-29 09:58, Richard Purdie wrote:
> On Mon, 2013-09-09 at 12:17 +0200, Anders Roxell wrote:
> > Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> > ---
> >  meta/recipes-extended/ltp/{ltp_20130503.bb => ltp_20130904.bb} | 10 +++++-----
> >  1 file changed, 5 insertions(+), 5 deletions(-)
> >  rename meta/recipes-extended/ltp/{ltp_20130503.bb => ltp_20130904.bb} (94%)
> > 
> > diff --git a/meta/recipes-extended/ltp/ltp_20130503.bb b/meta/recipes-extended/ltp/ltp_20130904.bb
> > similarity index 94%
> > rename from meta/recipes-extended/ltp/ltp_20130503.bb
> > rename to meta/recipes-extended/ltp/ltp_20130904.bb
> > index 387826d..5e10448 100644
> 
> It seems this patch is causing problems on the autobuilder, e.g.:
> 
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=5379
> 
> but this is occurring on multiple architectures. Looks like some kind of
> parallel make race :(
Hi and sorry for the late response.

I have tried to reproduce the error without success so far... =(

Cheers,
Anders

Patch

diff --git a/meta/recipes-extended/ltp/ltp_20130503.bb b/meta/recipes-extended/ltp/ltp_20130904.bb
similarity index 94%
rename from meta/recipes-extended/ltp/ltp_20130503.bb
rename to meta/recipes-extended/ltp/ltp_20130904.bb
index 387826d..5e10448 100644
--- a/meta/recipes-extended/ltp/ltp_20130503.bb
+++ b/meta/recipes-extended/ltp/ltp_20130904.bb
@@ -21,17 +21,17 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
 
 DEPENDS = "attr libaio libcap acl openssl"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/ltp/ltp-full-${PV}.bz2"
+SRC_URI = "git://github.com/linux-test-project/ltp.git"
 
-SRC_URI[md5sum] = "d448d9e9731d7ef45352fc74633cc97f"
-SRC_URI[sha256sum] = "afdb1479e73d4da7f0d4d5d3fe1570bc5fc96e3317d4a5c10c59c046d3dfa4a0"
+SRCREV = "a8c42db5f9314211811c36275a21f83902830dc5"
+S = "${WORKDIR}/git"
 
 export prefix = "/opt/ltp"
 export exec_prefix = "/opt/ltp"
 
 inherit autotools
 
-RDEPENDS_${PN} = "perl"
+RDEPENDS_${PN} = "perl e2fsprogs-mke2fs"
 
 FILES_${PN}-dbg += "/opt/ltp/runtest/.debug"
 FILES_${PN}-dbg += "/opt/ltp/testcases/bin/.debug"
@@ -62,7 +62,7 @@  do_extract_tarball() {
 do_install(){
 	install -d ${D}/opt/ltp/
 	oe_runmake DESTDIR=${D} SKIP_IDCHECK=1 install
-	
+
 	# Copy POSIX test suite into ${D}/opt/ltp/testcases by manual
 	cp -r testcases/open_posix_testsuite ${D}/opt/ltp/testcases