From patchwork Sat May 5 00:14:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 135050 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp658642lji; Fri, 4 May 2018 17:16:18 -0700 (PDT) X-Google-Smtp-Source: AB8JxZotcE56weSp/BhFsDVCMc2abeRx2tpRRQi/7yrS/0R4BEQzAfmvKA94EhDwm00mi/hTenMu X-Received: by 2002:a17:902:8305:: with SMTP id bd5-v6mr29591788plb.13.1525479378602; Fri, 04 May 2018 17:16:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525479378; cv=none; d=google.com; s=arc-20160816; b=TtjFsHAV12lCp9l4Vl+PxkLh8jsyYW1iaINXNjmZFqqItm6xXBzbFxnavxY0hr8fdK gffWnue+FUYdF+GcEs7aEjoPbby6GQ1F0E5tpnKzOdA/XGRjsHMS4U4cfagaMMMYfZJO xQYKtN3zJdb93ebnUatc5ba+xO+LuGllukjSEtl/Fip3bEqk7h5qR8cHLpIyjJ03uU+o pwdxRcnmdb/SnQaLDj2RWnjWt3StogzwSXYkE+3b8aRDn3ezf67Si9uUJscOGPlqEVze +g2E4d8yM6/ZZMA0R0QZu0n3YBHQCgbe2qCxMYc0xFas0dsN995WfqihoeNKuY4+Xi2b Zyzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=gUWC9L5nAwL7il0ZNvbF1iAxtZTTmf4GO0458Cy3iUA=; b=rd04ckaxZMzV8/7ZnhMa2KGBD56qDI3gepcobvmkvcaLxdYkNnbOMB5ufWMWSgKpdq MTgknOjiSNWaYSMeBm6yEGX1cV6TpglzgtcuIA7R5dYImk6x4ynRg7FxpXddsX8REJkI p0VC5qHDLwFZJ44iTZ0l54z7dEoWOxev3zorj2sL6g7m3CdmWUHnxzfoXjKZCh5QKcib BWSGckJoujmCykbOAfvkHCpZbFG710jPMkxqmq2fU6TIYBmdlJm9ItFX74qOTrzb/Ek7 xkVxzSQ2dlp6jPWE3/vEyEn+VjlKAH4ZBIu5xfKR0H3BGw2UFlhbxUUjbBELr95Gp+0O 4gXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=P/nkAYy2; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id d65si17530790pfa.263.2018.05.04.17.16.18; Fri, 04 May 2018 17:16:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=P/nkAYy2; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 8F0D274E00; Sat, 5 May 2018 00:14:58 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id 8D5B574DAA for ; Sat, 5 May 2018 00:14:38 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id n9-v6so16461624pgq.5 for ; Fri, 04 May 2018 17:14:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=x7CWv/KGEQ3fZP5lpcH1ygwLNsAqx70tTetzHE9RSaM=; b=P/nkAYy22tQ9U1i2VdQ7DY7CWfrlCsgSCo9je+WNJ6YTvrkWBcad5JdWND4bFs40bd QJJkrmTmU66XXLbgR5Sge6CPWHosMY9OUPSFtWJhxyBapMykph5qiKTz/+TXoIpx0Tn5 EaoPFH4zyPHyF4MqPtqdOml++lzTRTL3oW39b/Y9gWuCJqZVbxn1jK/F4Qv33WRoQZBh 9Ph3PpLHHho98RVD8d3apbhLKRy/0YaDKXS5phjl006NcIR/W2xg7mcd1wh5bzgN68qS HCLVZTDNzL6ye6D89us0i4SAarGMaJbonELJyiVaza1UwHmhhJkGl8qf8K9UHBdA3qqS 9Tlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=x7CWv/KGEQ3fZP5lpcH1ygwLNsAqx70tTetzHE9RSaM=; b=RgbkuyKKJYxpIKAwMZfXsxPjo+TSw+rcSzQevk4wmiD4ipZfQdz+bIhD8gaLQqeJdd TSeuztvqp2/vgw1Vo/61FnmPwfpA7uneZGERo5Rs2JD5dT0V8R9dAFSvQRPmH72ygZFX R48qCXWeHc0AK0sBiDZN49Mntb2DkOZYexWycfqAfWDjat/ygs58jg4i8hNyfiGSuCwe WBjqDTvdDHNoXyH3gDP8UVST0VpJzKCbn9+pmWnjdBANyCiFiODL/Yw0fX+iPalAsIb0 RbxaDw+m2XnjjWLmyOsaUNnjW9HMKui48vkyDWabFqVJsQ+KViipn49YqXAJ48Lg/O+l yc5A== X-Gm-Message-State: ALQs6tDjss1k+rnGgxO81PHeSB/uNlXa8suF8vcmJBW7m6y6Fe5MN4Vf kF4wpHznWldwXiltT8MIvf0WmA== X-Received: by 2002:a63:7e09:: with SMTP id z9-v6mr24188641pgc.437.1525479279322; Fri, 04 May 2018 17:14:39 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::c68]) by smtp.gmail.com with ESMTPSA id o88sm36468559pfa.29.2018.05.04.17.14.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 17:14:38 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 4 May 2018 17:14:08 -0700 Message-Id: <7a574b3fb5b155090d40c52a0e47311dc32facde.1525478935.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: References: Subject: [OE-core] [PATCH 14/27] ltp: Fix build after removing rpc and libnsl in glibc X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...0001-Disable-rpc01-on-glibc-and-musl.patch | 29 +++++++++++++++++++ ...option-to-select-libc-implementation.patch | 14 --------- meta/recipes-extended/ltp/ltp_20180118.bb | 1 + 3 files changed, 30 insertions(+), 14 deletions(-) create mode 100644 meta/recipes-extended/ltp/ltp/0001-Disable-rpc01-on-glibc-and-musl.patch -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/ltp/ltp/0001-Disable-rpc01-on-glibc-and-musl.patch b/meta/recipes-extended/ltp/ltp/0001-Disable-rpc01-on-glibc-and-musl.patch new file mode 100644 index 0000000000..78c6dfb2b1 --- /dev/null +++ b/meta/recipes-extended/ltp/ltp/0001-Disable-rpc01-on-glibc-and-musl.patch @@ -0,0 +1,29 @@ +From ff39e6b69f0b26dad8ab685ee6116ff92bc363db Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 28 Apr 2018 00:08:55 -0700 +Subject: [PATCH] Disable rpc01 on glibc and musl + +It is not buildable with libtirpc + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + testcases/network/rpc/basic_tests/Makefile | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/testcases/network/rpc/basic_tests/Makefile b/testcases/network/rpc/basic_tests/Makefile +index 66e9d5675..16a64e7da 100644 +--- a/testcases/network/rpc/basic_tests/Makefile ++++ b/testcases/network/rpc/basic_tests/Makefile +@@ -23,4 +23,7 @@ + top_srcdir ?= ../../../.. + + include $(top_srcdir)/include/mk/env_pre.mk ++ ++FILTER_OUT_DIRS += rpc01 ++ + include $(top_srcdir)/include/mk/generic_trunk_target.mk +-- +2.17.0 + diff --git a/meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch b/meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch index 84ab37ea39..0781ba1743 100644 --- a/meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch +++ b/meta/recipes-extended/ltp/ltp/0004-build-Add-option-to-select-libc-implementation.patch @@ -102,20 +102,6 @@ Index: git/testcases/network/nfsv4/acl/Makefile +endif + include $(top_srcdir)/include/mk/generic_leaf_target.mk -Index: git/testcases/network/rpc/basic_tests/Makefile -=================================================================== ---- git.orig/testcases/network/rpc/basic_tests/Makefile -+++ git/testcases/network/rpc/basic_tests/Makefile -@@ -23,4 +23,9 @@ - top_srcdir ?= ../../../.. - - include $(top_srcdir)/include/mk/env_pre.mk -+ -+ifeq ($(LIBC),musl) -+FILTER_OUT_DIRS += rpc01 -+endif -+ - include $(top_srcdir)/include/mk/generic_trunk_target.mk Index: git/testcases/realtime/func/pi-tests/Makefile =================================================================== --- git.orig/testcases/realtime/func/pi-tests/Makefile diff --git a/meta/recipes-extended/ltp/ltp_20180118.bb b/meta/recipes-extended/ltp/ltp_20180118.bb index 14fb41b3bd..8992f1b0f2 100644 --- a/meta/recipes-extended/ltp/ltp_20180118.bb +++ b/meta/recipes-extended/ltp/ltp_20180118.bb @@ -45,6 +45,7 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git \ file://0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch \ file://0039-commands-ar01-Fix-for-test-in-deterministic-mode.patch \ file://0040-safe_macros-make-is_fuse-return-zero-if-fs_type-is-N.patch \ + file://0001-Disable-rpc01-on-glibc-and-musl.patch \ " S = "${WORKDIR}/git"