From patchwork Tue Sep 3 15:56:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 1980138 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WyqxM1bF5z1yg9 for ; Wed, 4 Sep 2024 01:56:39 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 2DE75606A8; Tue, 3 Sep 2024 15:56:37 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id mhZhMM15shm6; Tue, 3 Sep 2024 15:56:36 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 3C6A1606B8 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 3C6A1606B8; Tue, 3 Sep 2024 15:56:36 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 889411BF3FB for ; Tue, 3 Sep 2024 15:56:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 81DFC80E08 for ; Tue, 3 Sep 2024 15:56:34 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id elw1BBRvKwGk for ; Tue, 3 Sep 2024 15:56:33 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::329; helo=mail-wm1-x329.google.com; envelope-from=dario.binacchi@amarulasolutions.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 51FF5804F4 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 51FF5804F4 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by smtp1.osuosl.org (Postfix) with ESMTPS id 51FF5804F4 for ; Tue, 3 Sep 2024 15:56:33 +0000 (UTC) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-427fc97a88cso45414275e9.0 for ; Tue, 03 Sep 2024 08:56:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725378991; x=1725983791; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IOi6UamjaipDTBEptL2x8kIVXUEZ9Ab128d3AsfPFiA=; b=qxUE9j3KbEwBG+Z/qr3eUvjd8YUo8t4j1ucIg4Na0YYETlHuDrNpklgyDNVgJaHH+I VR2AkMlulpwoX2Er4AfbWnCdiIQ1y5krTYAwmrJ+j6shdA4bNfmbR5kA6lKtUuLYhZ5I S+8tB2uufUe2LArhC20B6zij9xRbsmpDrPJQxR5MNXPl7QhB92C6ZMCm5N/9HIOJUn5k Gm3sH+biPHvt0j5aYp2c5PAj9iVWzgF6T19bDby0iBPhtmWUvorq/6+wB2OqLa/RhiB9 xye+gP0rEJrhiIJRFS+b3DZbYj8Y8NgrIzpoZRJRkme3idqfJyHyQYmE61pFdE9bbwNR l4zg== X-Gm-Message-State: AOJu0YzJFouZDIV/hQvoowSWBIzk5IOEabQatNTpRkIW0s7RzpI0Su7b wI8YTfKCkw5lmtj2Cfs7YRnkSN2f8J/J+nlXUCpfojQDCG3qQ+uOZ8/iXSxZo+1GN26X+YTqYNQ s2xY= X-Google-Smtp-Source: AGHT+IFzYq3tdERe/OIsV8+HBcBcCeBY+49wSb1rkJfTCiSmbj+WAf+BFDz1gnK1uTqUtI2Nu9Dlww== X-Received: by 2002:a05:600c:3b1e:b0:426:62df:bdf0 with SMTP id 5b1f17b1804b1-42c82f5318fmr47603845e9.10.1725378990868; Tue, 03 Sep 2024 08:56:30 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.42.65]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42bbc8de253sm118577705e9.0.2024.09.03.08.56.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 08:56:30 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Date: Tue, 3 Sep 2024 17:56:21 +0200 Message-ID: <20240903155622.922284-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1725378991; x=1725983791; darn=buildroot.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=IOi6UamjaipDTBEptL2x8kIVXUEZ9Ab128d3AsfPFiA=; b=Rzc7E8GUS83FI2wmgB/AMXfyq/cGhLfjuym6yZvtjai81f0CC5j3uZPfqpT7KgBl7T 6DbhiwvRosi+Sr4z8vZ7Q3pG9ATm9w5RUmsLLy0Nr+4zUKnPecgnuw5A3F3rS1jPXhT8 A2NdQKcpJhqphM/w7+FMSzefqXdoLzCQPL1Zo= X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (1024-bit key, unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=Rzc7E8GU Subject: [Buildroot] [PATCH 1/1] package/cache-calibrator: fix build failure for implicit declaration X-BeenThere: buildroot@buildroot.org 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: Dario Binacchi , Stephan Hoffmann Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Fixes: - http://autobuild.buildroot.org/results/db996c894c810ff5c7f4263975d1def0edef6d55 Signed-off-by: Dario Binacchi --- ...e-due-to-getpagesize-implicit-declar.patch | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/cache-calibrator/0002-Fix-build-failure-due-to-getpagesize-implicit-declar.patch diff --git a/package/cache-calibrator/0002-Fix-build-failure-due-to-getpagesize-implicit-declar.patch b/package/cache-calibrator/0002-Fix-build-failure-due-to-getpagesize-implicit-declar.patch new file mode 100644 index 000000000000..fcad6694816e --- /dev/null +++ b/package/cache-calibrator/0002-Fix-build-failure-due-to-getpagesize-implicit-declar.patch @@ -0,0 +1,33 @@ +From 29c4e0038b212e953cc59ac8b31d4541db758a3d Mon Sep 17 00:00:00 2001 +From: Dario Binacchi +Date: Tue, 3 Sep 2024 17:43:44 +0200 +Subject: [PATCH] Fix build failure due to getpagesize implicit declaration + +The patch fixes the following build error: + +calibrator.c: In function 'runCache': +calibrator.c:267:24: error: implicit declaration of function 'getpagesize' [-Wimplicit-function-declaration] + +Signed-off-by: Dario Binacchi +Upstream: sent to Stefan Manegold Stefan.Manegold@cwi.nl +--- + calibrator.c | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/calibrator.c b/calibrator.c +index e045dfdcb96b..fd2fadb26020 100644 +--- a/calibrator.c ++++ b/calibrator.c +@@ -37,9 +37,7 @@ + * THE POSSIBILITY OF SUCH DAMAGE. + */ + +-/* + #include +-*/ + #include + #include + #include +-- +2.43.0 +