From patchwork Wed Nov 5 10:03:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fathi Boudra X-Patchwork-Id: 40177 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1F30B240A6 for ; Wed, 5 Nov 2014 10:03:41 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id x13sf262031wgg.9 for ; Wed, 05 Nov 2014 02:03:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=au/bDjwculwiSF9FpfZjEUC6VoY/UgmdnFmi8pPfTLY=; b=ZbpHASlB44ItPMYAIFxDtZ/sriKeXUn0/vD1mnfNxVTflB4is53I+CQCDmWKUqYJWP gkncRmvdeN39hJWQ63JKhyb57ehZGbgGzDviFEE5XDa3aEYvqnyzseQ9OZRSZSx2zccM ZAeywOaYJ5o/tixSvmjdTijc4ALimn+yLljS7YM4olTL0k8ujopjdxxrlv7jqnPLxGT/ 1BBLHkpK4m9PpzNwdEhEOb5zQ0gK/Wxssll5P6JyYWsYMKar6ImvHQrE0eBS/SKsPTtD ikHGqLvGAHseAcqRWv9X3aiR/DS2ionc6ZoEatoZlCG9ZBLSs1AsCaggcmD9iAoIcPgy Htug== X-Gm-Message-State: ALoCoQmPiYycvveXSNZLiO68eKzAd4RrtXnTCYvkyYuMxEusv2v3jqua16nkfADRfeWWCdIvWl5T X-Received: by 10.152.6.4 with SMTP id w4mr189650law.7.1415181820304; Wed, 05 Nov 2014 02:03:40 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.19.227 with SMTP id i3ls798917lae.28.gmail; Wed, 05 Nov 2014 02:03:39 -0800 (PST) X-Received: by 10.112.201.72 with SMTP id jy8mr23423324lbc.65.1415181819900; Wed, 05 Nov 2014 02:03:39 -0800 (PST) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com. [209.85.217.173]) by mx.google.com with ESMTPS id l8si3040713lam.36.2014.11.05.02.03.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Nov 2014 02:03:39 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by mail-lb0-f173.google.com with SMTP id n15so343602lbi.4 for ; Wed, 05 Nov 2014 02:03:39 -0800 (PST) X-Received: by 10.112.130.41 with SMTP id ob9mr65197989lbb.74.1415181819663; Wed, 05 Nov 2014 02:03:39 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp258159lbc; Wed, 5 Nov 2014 02:03:38 -0800 (PST) X-Received: by 10.112.234.201 with SMTP id ug9mr67204997lbc.14.1415181818767; Wed, 05 Nov 2014 02:03:38 -0800 (PST) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id cb5si5392233lad.16.2014.11.05.02.03.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Nov 2014 02:03:38 -0800 (PST) Received-SPF: pass (google.com: domain of fathi.boudra@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by mail-la0-f41.google.com with SMTP id s18so363802lam.0 for ; Wed, 05 Nov 2014 02:03:38 -0800 (PST) X-Received: by 10.153.6.9 with SMTP id cq9mr44441043lad.79.1415181818531; Wed, 05 Nov 2014 02:03:38 -0800 (PST) Received: from localhost.localdomain (a91-152-81-141.elisa-laajakaista.fi. [91.152.81.141]) by mx.google.com with ESMTPSA id pr7sm1146723lbc.18.2014.11.05.02.03.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Nov 2014 02:03:37 -0800 (PST) From: Fathi Boudra To: openembedded-core@lists.openembedded.org Cc: Richard Purdie , Ross Burton , Fathi Boudra Subject: [oe-core][PATCH v2] ltp: update to 20140828 release Date: Wed, 5 Nov 2014 12:03:33 +0200 Message-Id: <1415181813-23815-1-git-send-email-fathi.boudra@linaro.org> X-Mailer: git-send-email 2.1.3 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: fathi.boudra@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , bump SRCREV to 20140828 tag drop automake-foreign patch - fixed upstream (commit 18594de and edbae29) add add-know-for-tirpc patch - workaround ftbfs with libtirpc found update realtime tests fixes upstream status from submitted to backported - merged upstream Signed-off-by: Fathi Boudra --- ...tests-Fix-bad-priority-inheritance-conditio.patch | 2 +- ...ealtime-tests-Fix-robust-mutex-conditionals.patch | 2 +- meta/recipes-extended/ltp/ltp/automake-foreign.patch | 20 -------------------- .../ltp/{ltp_20140422.bb => ltp_20140828.bb} | 6 ++++-- 4 files changed, 6 insertions(+), 24 deletions(-) delete mode 100644 meta/recipes-extended/ltp/ltp/automake-foreign.patch rename meta/recipes-extended/ltp/{ltp_20140422.bb => ltp_20140828.bb} (97%) diff --git a/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-bad-priority-inheritance-conditio.patch b/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-bad-priority-inheritance-conditio.patch index fa20b08..631f926 100644 --- a/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-bad-priority-inheritance-conditio.patch +++ b/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-bad-priority-inheritance-conditio.patch @@ -9,7 +9,7 @@ both referenced a non-existent autoconf configuration setting variable. Replaced the invalid variable name with the variable actually created by autoconf. -Upstream-Status: Submitted +Upstream-Status: Backported Signed-off-by: Gary S. Robertson --- diff --git a/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-robust-mutex-conditionals.patch b/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-robust-mutex-conditionals.patch index ccdd4d0..1fdd281 100644 --- a/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-robust-mutex-conditionals.patch +++ b/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-robust-mutex-conditionals.patch @@ -9,7 +9,7 @@ which were not generated by autoconf in order to configure tests for robust mutexes. Changed these conditionals to use the config variables actually generated in the autoconf process. -Upstream-Status: Submitted +Upstream-Status: Backported Signed-off-by: Gary S. Robertson --- diff --git a/meta/recipes-extended/ltp/ltp/add-knob-for-tirpc.patch b/meta/recipes-extended/ltp/ltp/add-knob-for-tirpc.patch new file mode 100644 index 0000000..36ff4c7 --- /dev/null +++ b/meta/recipes-extended/ltp/ltp/add-knob-for-tirpc.patch @@ -0,0 +1,37 @@ +[PATCH] add knob to control whether tirpc support should be checked + +Upstream-Status: Pending + +tirpc support is broken upstream. in the meantime, allow to disable tirpc. + +Signed-off-by: Fathi Boudra +--- + configure.ac | 9 +++++++++ + 1 file changed, 9 insertions(+) + +--- a/configure.ac ++++ b/configure.ac +@@ -98,6 +98,13 @@ if test "x$with_python" = xyes; then + else + AC_SUBST([WITH_PYTHON],["no"]) + fi ++ ++# TI RPC ++AC_ARG_WITH([tirpc], ++ AC_HELP_STRING([--without-tirpc], ++ [without libtirpc support]), ++ [],[with_tirpc=yes], ++) + # END tools knobs + + # Testsuites knobs +@@ -182,7 +189,9 @@ LTP_CHECK_RENAMEAT + LTP_CHECK_FALLOCATE + LTP_CHECK_SYSCALL_FCNTL + LTP_CHECK_SYSCALL_PERF_EVENT_OPEN ++if test "x$with_tirpc" = xyes; then + LTP_CHECK_TIRPC ++fi + LTP_CHECK_TEE + LTP_CHECK_SPLICE + LTP_CHECK_VMSPLICE diff --git a/meta/recipes-extended/ltp/ltp/automake-foreign.patch b/meta/recipes-extended/ltp/ltp/automake-foreign.patch deleted file mode 100644 index c3dd891..0000000 --- a/meta/recipes-extended/ltp/ltp/automake-foreign.patch +++ /dev/null @@ -1,20 +0,0 @@ -Use foreign strictness to avoid automake errors. - -Upstream-Status: Submitted (https://github.com/linux-test-project/ltp/issues/16) -Signed-off-by: Ross Burton - -diff --git a/configure.ac b/configure.ac -index 9f397e7..fc57957 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -4 +4 @@ --AM_INIT_AUTOMAKE -+AM_INIT_AUTOMAKE([foreign]) ---- a/utils/ffsb-6.0-rc2/configure.in -+++ b/utils/ffsb-6.0-rc2/configure.in -@@ -2,2 +2,3 @@ dnl Process this file with autoconf to produce a configure script. --AC_INIT(main.c) --AM_INIT_AUTOMAKE(ffsb, 6.0-RC2) -+AC_INIT([ffsb], [6.0-RC2]) -+AC_CONFIG_SRCDIR([main.c]) -+AM_INIT_AUTOMAKE([foreign]) diff --git a/meta/recipes-extended/ltp/ltp_20140422.bb b/meta/recipes-extended/ltp/ltp_20140828.bb similarity index 97% rename from meta/recipes-extended/ltp/ltp_20140422.bb rename to meta/recipes-extended/ltp/ltp_20140828.bb index 5deaabf..de19bb1 100644 --- a/meta/recipes-extended/ltp/ltp_20140422.bb +++ b/meta/recipes-extended/ltp/ltp_20140828.bb @@ -20,16 +20,16 @@ LIC_FILES_CHKSUM = "\ " DEPENDS = "attr libaio libcap acl openssl zip-native" -SRCREV = "f4c3bfe1eab51eb72caeb0f3336d2790c9a8bd1b" +SRCREV = "2c341ad9177f36d9b953e84dee8cf88498286fe5" SRC_URI = "git://github.com/linux-test-project/ltp.git \ file://0001-Rename-runtests_noltp.sh-script-so-have-unique-name.patch \ file://ltp-Do-not-link-against-libfl.patch \ - file://automake-foreign.patch \ file://make-setregid02-work.patch \ file://add-knob-for-numa.patch \ file://0001-Realtime-tests-Fix-bad-priority-inheritance-conditio.patch \ file://0001-Realtime-tests-Fix-robust-mutex-conditionals.patch \ + file://add-knob-for-tirpc.patch \ " S = "${WORKDIR}/git" @@ -44,6 +44,8 @@ export exec_prefix = "/opt/ltp" PACKAGECONFIG[numa] = "--with-numa, --without-numa, numactl," EXTRA_AUTORECONF += "-I ${S}/testcases/realtime/m4" EXTRA_OECONF = " --with-power-management-testsuite --with-realtime-testsuite " +# ltp network/rpc test cases ftbfs when libtirpc is found +EXTRA_OECONF += " --without-tirpc " # ltp doesn't regenerate ffsb-6.0-rc2 configure and hardcode configure call. # we explicitly force regeneration of that directory and pass configure options.