From patchwork Tue Jan 1 15:41:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vadym Kochan X-Patchwork-Id: 1019775 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Lf3EQb+q"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43TdV927LBz9s4s for ; Wed, 2 Jan 2019 02:32:49 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 9EF122274A; Tue, 1 Jan 2019 15:32:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 56Yp1bA81Xnz; Tue, 1 Jan 2019 15:32:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id BF71820767; Tue, 1 Jan 2019 15:32:45 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 370751C0C57 for ; Tue, 1 Jan 2019 15:32:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2CFB220767 for ; Tue, 1 Jan 2019 15:32:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FzIYeH0oBBhp for ; Tue, 1 Jan 2019 15:32:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lf1-f68.google.com (mail-lf1-f68.google.com [209.85.167.68]) by silver.osuosl.org (Postfix) with ESMTPS id 4B2B420763 for ; Tue, 1 Jan 2019 15:32:44 +0000 (UTC) Received: by mail-lf1-f68.google.com with SMTP id p86so19581321lfg.5 for ; Tue, 01 Jan 2019 07:32:44 -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; bh=pJmjRnOvWOALOSzEr75Axvh9pPQXXVOuBdpV7LtTGN0=; b=Lf3EQb+qm8LSGOL1AJep7snqMlgCXg1505PtG5ki0baK2NJ9Hi0Uy/AZyEiXRYCwXP d7zhAbgoqZmJDbhCEkPlWTxEyvFin4eQJHaUWyoq0lsB8BQysgjxljQYoKvlSj92XtFf X9zNp2hWBRu3yeGEP2rSCSNOhE9qFWufrJ8Fzv/Sn2xdYPK2YRUdYY6b2XUHIkSOS+1W 6k+KcC5smQ1U3nVsrncqDhZAIeRbSqVbvOpUtakFuB0nB6gthuJ8LLNs79R1H+5f1Wqf fkwRgrCvHtzpO/b61tGn+a0EZRwnVxPCWQrnAcfbzZ0z/Pzpfwq8Y61iAX2ckoh9GIrX +KLA== 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; bh=pJmjRnOvWOALOSzEr75Axvh9pPQXXVOuBdpV7LtTGN0=; b=frku+b0CStgFHwRCl4jVCKqWKTzyyyEcVkyPW5NgVQcZQDMIeeixvGTJ3pBDvhzrxt HAHXqXh50ko4b8VzSffS2T/eKEywZFxhUD+g1H7U2wx4rc+/elHc084ecmC/KCfbnRGH JfTYvUCZH3q7G/UkopY1QkLd1repz1A3505kQcH/0BPknoaAb8mzLb2anMLmhIufP9ey V5ZL/m5aVBqj8xQp5VAPs390UpwrfGV5Bx7wedOzbx5cZbXwekjP5Pq9d9jAHrTD4z1Q OlsXUY9AA0QbDm9c0UCSfkhECsee0J+i2wa9i4rdNQLC2xU3D89/IfK7L0RJVCaBJfXM ZCbg== X-Gm-Message-State: AA+aEWY2j2Cz0osMFRyAbprGhJSvi4p1o+kMlz8BXHIgw1x1AF0kX4TK 8oO/5g/zZgUzebvJa8/45s/93RjE X-Google-Smtp-Source: AFSGD/UDH4p/J+fCfEWKZKzLcJGAvfN/agP6eqSbhELvqk2EhutwsAJrFi01msSMz8oT+9AQCQEhNw== X-Received: by 2002:a19:4bc9:: with SMTP id y192mr19761469lfa.49.1546356761893; Tue, 01 Jan 2019 07:32:41 -0800 (PST) Received: from vkochan-ThinkPad-T470p.lan ([213.109.80.185]) by smtp.gmail.com with ESMTPSA id y12-v6sm10736642ljy.76.2019.01.01.07.32.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Jan 2019 07:32:41 -0800 (PST) From: Vadim Kochan To: buildroot@buildroot.org Date: Tue, 1 Jan 2019 17:41:05 +0200 Message-Id: <20190101154105.22148-1-vadim4j@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [Buildroot] [PATCH 1/1] package/stress-ng: Fix build issue with libbsd wchar check X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Naour , Vadim Kochan MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" stress-ng uses test/test-bsd-wchar.c program to check if there is support for libbsd's wchar, but the test fails because wchar.h also requires the FILE* definition from stdio.h which is not included automatically, so fix it by include stdio.h explicitly. Fixes: http://autobuild.buildroot.net/results/6def1bba8e7ec05682e74c4edc3a35c8c118d28b Signed-off-by: Vadim Kochan --- ...test-bsd-wchar-Explicitly-include-stdio.h.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 package/stress-ng/0003-test-test-bsd-wchar-Explicitly-include-stdio.h.patch diff --git a/package/stress-ng/0003-test-test-bsd-wchar-Explicitly-include-stdio.h.patch b/package/stress-ng/0003-test-test-bsd-wchar-Explicitly-include-stdio.h.patch new file mode 100644 index 0000000000..79d381bc65 --- /dev/null +++ b/package/stress-ng/0003-test-test-bsd-wchar-Explicitly-include-stdio.h.patch @@ -0,0 +1,29 @@ +From 291070801245da26e4841c321910b55016ca23c0 Mon Sep 17 00:00:00 2001 +From: Vadim Kochan +Date: Tue, 1 Jan 2019 17:24:54 +0200 +Subject: [PATCH] test/test-bsd-wchar: Explicitly include stdio.h + +libbsd's wchar requires FILE for some it's functions, for some +reason it is not included by wchar automatically and the test fails. So +include it explicitly. + +Signed-off-by: Vadim Kochan +--- + test/test-bsd-wchar.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/test/test-bsd-wchar.c b/test/test-bsd-wchar.c +index 4f7c7ca..6125968 100644 +--- a/test/test-bsd-wchar.c ++++ b/test/test-bsd-wchar.c +@@ -22,6 +22,7 @@ + * functionality. + * + */ ++#include + #include + + int main(void) +-- +2.14.1 +