From patchwork Wed Nov 6 04:05:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 178584 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp65122ilf; Tue, 5 Nov 2019 20:06:41 -0800 (PST) X-Google-Smtp-Source: APXvYqzINyuXRhAJcD4/up1KeDuQy3e93Knvp08JJoSvsLknmiGU4NBWBo/OAscU5X2cGVIy4xzm X-Received: by 2002:a17:90a:2947:: with SMTP id x7mr892816pjf.136.1573013200979; Tue, 05 Nov 2019 20:06:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573013200; cv=none; d=google.com; s=arc-20160816; b=GpNjE9DNERoFyVEWLzRmJ5YqrTBnCM28JwomkJG8PnmeregH6iD2uPz7iimfbXqAtO s//OzQLCnMotuAFLbtSVHzV6xCkHeOLAc/ewjdsUxxFSOzFQLf6+OMCYx16My5gOL/O6 RNDv4K5zNypgw0dKEmkW+7sd3/lFC5HryfuWf3CLUB66rJLbU3+4+BpfmlLAwEtzraUt RNFSBGOAysvXkbrQ5L/C+nAnSVpxzvYaTVBFCyOrNPVPuQl15Rwl9Wt7WJ9BBigL4D3E mB0816vAsVUQepY6pQrZuxaCJNkZ/T5HQfdFgMifgphwHUVVHb/yUCYTXSUoE4aMlX2g Nh/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=0xEjXNY9muB3MUFyz69tZx+9gTgNGR866Iib9tQ+Yj0=; b=JVsuKl+dubb13e9xeFe5BgRr7iYyG7y3Rgt4zeZifDl5lEqeWNCzAOGVLnE3shezuU g7XbgBV6SMa5zYL4ZaCv19N07KCR0fguW/0UATZCi8Y/NSTy346gZPp3sPnF5BsMTxxl t4Cvojlu15gYXKAK6/B8dCAHS+23XwWFa4if+pPQpEvbkdFYiSX1d4izt38SRaUfXChG 1ObXNYKhMyuwEl7FbJfrh4sDYL9j5KDZEqXfS7qHzJ4hNPf23DmogVzdImllOy1wwS3d DYW37zZ5AIgk0rJm+77O8C1vqFcLFon0iblnPnnOy2uUcfYQB8PFVHEQs9mXzOuAzDQ4 bJkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=QPYiCEQH; 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 s32si29807230pgk.476.2019.11.05.20.06.40; Tue, 05 Nov 2019 20:06:40 -0800 (PST) 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=QPYiCEQH; 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 ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id AD75D7F8AF; Wed, 6 Nov 2019 04:06:17 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by mail.openembedded.org (Postfix) with ESMTP id 813737F8BD for ; Wed, 6 Nov 2019 04:05:22 +0000 (UTC) Received: by mail-pg1-f194.google.com with SMTP id w11so5861561pga.12 for ; Tue, 05 Nov 2019 20:05:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4L0hIa25kSF0xtxlKy0du1e6GIq9lb2CA6OFP95refM=; b=QPYiCEQHUPt2vX3R3U3mqh6Y5y2ydpwYYYLDS04WH8dkC3tUtbB93b88w3YGUXMUkf jSpcg8tf7nBnFRSb5mHCIzDjCdIVhrOcRKlG2pfVStLTggdUC4ltatk0WUElg7qt10zM m7othnYPYXupxwJiZxNNY1BThAhIGUO+39ULle3R+JDvX1A7XlshJAKt8mLdh+dWq09Y ChgXnWJglTng9rd7Y16NGVQCVrrvX5v4V/VDQMLV7U/iAflqchWG7Q59OxnTY4PbxkVz wg/q4hYqQskQKqhJMfaEXU9Vg4Z4V8y57L4+qv6u4pBKvW6V9K+JZv1oscsQG4lbLYGk IWFw== 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:mime-version :content-transfer-encoding; bh=4L0hIa25kSF0xtxlKy0du1e6GIq9lb2CA6OFP95refM=; b=EfmVN65y8wTqGk9e30dt+lYF6ocaP79hbLGXOSTdfVU5INh3rkfPzX4s5Tc9dWB+u3 LBnUx7mGrmlW+X5/OwT2HwgjSFZaIFv/I1hIbLITv35YcqPw2/e+3mdkTccaDz5hqVor 4BiOyELnwD2dN1AzOtotE9b0vgYdpR92zPIPkw7ClzOtSAhymLTPpslm8glUzUQnGyrJ eXPoO5EQbufvawNJ7dxEi79R1/0khETW639OSoi35VRgOg81X/tCKnHecfw13bwCvNN2 4m6q+3hyIpcI/Jdt/a9yogsejMdUJITy8Tc9+qh0cEhxM/TvBy+h1zFNQF9Y+pczqRri W8gA== X-Gm-Message-State: APjAAAUFbhJDGtmKJtH0sgePcV6x0VuACwvgdg9q0e48OnyfSvwxyA0u h9vD4sPTVJlrfC72Kly5uDDr9mtIcLM= X-Received: by 2002:a63:e009:: with SMTP id e9mr451256pgh.222.1573013122808; Tue, 05 Nov 2019 20:05:22 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::5caf]) by smtp.gmail.com with ESMTPSA id c9sm30692877pfb.114.2019.11.05.20.05.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2019 20:05:22 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Tue, 5 Nov 2019 20:05:08 -0800 Message-Id: <20191106040508.3172148-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Subject: [OE-core] [PATCH] strace: Fix ptest build 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: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org include stdint.h since the test uses uintptr_t C99 type Signed-off-by: Khem Raj --- .../strace/strace/uintptr_t.patch | 17 +++++++++++++++++ meta/recipes-devtools/strace/strace_5.3.bb | 1 + 2 files changed, 18 insertions(+) create mode 100644 meta/recipes-devtools/strace/strace/uintptr_t.patch -- 2.24.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/strace/strace/uintptr_t.patch b/meta/recipes-devtools/strace/strace/uintptr_t.patch new file mode 100644 index 0000000000..6d3dd6fb98 --- /dev/null +++ b/meta/recipes-devtools/strace/strace/uintptr_t.patch @@ -0,0 +1,17 @@ +include stdint.h for getting uintptr_t definition + +fixes do_compile_ptest_base +tests/fanotify_mark.c:191:23: error: 'uintptr_t' undeclared (first use in this function); did you mean 'intptr_t'? + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- a/tests/fanotify_mark.c ++++ b/tests/fanotify_mark.c +@@ -18,6 +18,7 @@ + + # include + # include ++# include + # include + # include + diff --git a/meta/recipes-devtools/strace/strace_5.3.bb b/meta/recipes-devtools/strace/strace_5.3.bb index 775a22fc62..db6004583b 100644 --- a/meta/recipes-devtools/strace/strace_5.3.bb +++ b/meta/recipes-devtools/strace/strace_5.3.bb @@ -14,6 +14,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \ file://0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch \ file://ptest-spacesave.patch \ + file://uintptr_t.patch \ " SRC_URI[md5sum] = "84f5e72de813c9b1bb6057ee8ab428d8" SRC_URI[sha256sum] = "6c131198749656401fe3efd6b4b16a07ea867e8f530867ceae8930bbc937a047"