From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DF5B6E9DE6B for ; Thu, 9 Apr 2026 08:43:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id AB0574106A; Thu, 9 Apr 2026 08:43:23 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id ujVW1IrZSFUl; Thu, 9 Apr 2026 08:43:22 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org CEF0941030 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org; s=default; t=1775724202; bh=7ALWEzkJtt5JsB9NAa0AIUzKckTUKp/j6+KlzK8EwyI=; h=From:To:Cc:Date:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=WZ2cu0wZY1KHv5YDev+UPysAUdZegUlCpl1Rn3f5qFhX2iUnrElmhDlarsQkatXeh MOlSD0MDIVXzvoZieSxSoFsziEwx03kTH3zXIq5sZdqP5tDHkTX/QkpRVn6YazPTWo KSmdJIpeH+7lHAkNmBgZ0AewJ/uTYCT2frZEn8/gRO9RVoDuH5B67vbc1Eqd4CP4hH mZTQzxxBB9ovRgD6pIXSza9+5RK1LkNf98o+yKUGKPVAx1v+w0D/zeXiE0EcONNlo0 AUcu4AJzpAZufDp4kSTx7/cY4kXeHZKVinsnki5iLGGK5CHXiXLkHp4+N9F39PpX3v 3YnnNYsoGSzzg== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id CEF0941030; Thu, 9 Apr 2026 08:43:22 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists1.osuosl.org (Postfix) with ESMTP id 404FF1F6 for ; Thu, 9 Apr 2026 08:43:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 268F84039D for ; Thu, 9 Apr 2026 08:43:22 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 8UKKz4j1Lupp for ; Thu, 9 Apr 2026 08:43:21 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=85.13.140.57; helo=dd20012.kasserver.com; envelope-from=bernd@kuhls.net; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 0EA2F4039B DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 0EA2F4039B Received: from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57]) by smtp2.osuosl.org (Postfix) with ESMTPS id 0EA2F4039B for ; Thu, 9 Apr 2026 08:43:20 +0000 (UTC) Received: from fli4l.lan.fli4l (p4fd6ca66.dip0.t-ipconnect.de [79.214.202.102]) by dd20012.kasserver.com (Postfix) with ESMTPSA id 55B4EA4C0693; Thu, 9 Apr 2026 10:43:06 +0200 (CEST) Received: from bruckner.lan.fli4l ([192.168.1.1]:35588) by fli4l.lan.fli4l with esmtp (Exim 4.99.1) (envelope-from ) id 1wAkyg-000000004SH-0qOl; Thu, 09 Apr 2026 08:43:06 +0000 From: Bernd Kuhls To: buildroot@buildroot.org Cc: David GOUARIN , Fabrice Fontaine , Laurent Cans , Mario Lang , Maxim Kochetkov , Phil Eichinger Date: Thu, 9 Apr 2026 10:42:46 +0200 Message-ID: <20260409084305.3960494-2-bernd@kuhls.net> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260409084305.3960494-1-bernd@kuhls.net> References: <20260409084305.3960494-1-bernd@kuhls.net> MIME-Version: 1.0 X-Spamd-Bar: / X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kuhls.net; s=kas202511301023; t=1775724186; bh=JAgcMVtTmqIJNMGKA5YoixTjoIRrAIIdQNnIdJIC4nU=; h=From:To:Cc:Subject:Date:In-Reply-To:From; b=Hm3275q92RJKx+A+R+2Q6TDAZivFurH3Kj6feUe8H5Delr+Tj6TlF1Ns9+yWykrAT Ts+DsluBZ0kvlJDEheo7aUqceXTOdS/pjIqWfcGVO17/BtFQLyd5xVKbqPXAaPUfO0 ekoPli4W7nAgCWmn9Uj0pB2eFUEUB+e1jVlTsdxwnQswiPneQa4MjGvco3U1e5T5e+ fWQhKlcAF08nO//3P3G599I4OlYnQNMJgVvQkaRhgOq/efkzEXqVlhh29US4k649ay wTvmUt8mBipQxT5Pq1XPwzdBmY1gvIJg0CqoPSGDYIiz5eNU8fglEGz9wId8NVaqz+ sK69zwU6Oaq/Q== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=kuhls.net X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=kuhls.net header.i=@kuhls.net header.a=rsa-sha256 header.s=kas202511301023 header.b=Hm3275q9 Subject: [Buildroot] [PATCH 02/20] package/c-icap: fix musl build X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Fixes: https://autobuild.buildroot.net/results/33b/33bb3ea8ac36da7f40a82c580d3614f0b34a7ab2/ The oldest build error dates back to June 2024 so this patch should be backported to LTS branches. Signed-off-by: Bernd Kuhls --- ...ting-in-various-printf-to-avoid-warn.patch | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 package/c-icap/0006-Fix-integer-printing-in-various-printf-to-avoid-warn.patch diff --git a/package/c-icap/0006-Fix-integer-printing-in-various-printf-to-avoid-warn.patch b/package/c-icap/0006-Fix-integer-printing-in-various-printf-to-avoid-warn.patch new file mode 100644 index 0000000000..7183efa46f --- /dev/null +++ b/package/c-icap/0006-Fix-integer-printing-in-various-printf-to-avoid-warn.patch @@ -0,0 +1,47 @@ +From 8ef8966237865ec699ab16d208ff56edaac4ff7b Mon Sep 17 00:00:00 2001 +From: Christos Tsantilas +Date: Fri, 1 Nov 2019 08:00:52 -0700 +Subject: [PATCH] Fix integer printing in various printf to avoid warnings + about integer sizes + +Upstream: https://github.com/c-icap/c-icap-server/commit/8ef8966237865ec699ab16d208ff56edaac4ff7b + +[Bernd: partially backported to 0.5.10] +Signed-off-by: Bernd Kuhls +--- + mpmt_server.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/mpmt_server.c b/mpmt_server.c +index a30d55d4..9b178a66 100644 +--- a/mpmt_server.c ++++ b/mpmt_server.c +@@ -74,7 +74,7 @@ typedef struct server_decl { + + ci_thread_mutex_t threads_list_mtx; + server_decl_t **threads_list = NULL; +-ci_thread_t listener_thread_id = -1; ++ci_thread_t listener_thread_id; + int listener_running = 0; + + ci_thread_cond_t free_server_cond; +@@ -242,8 +242,8 @@ static void cancel_all_threads() + for (i=0; irunning) { /*if the i thread is not running any more*/ +- ci_debug_printf(5, "Cancel server %d, thread_id %lu (%d)\n", +- threads_list[i]->srv_id, threads_list[i]->srv_pthread, ++ ci_debug_printf(5, "Cancel server %" PRIu64 ", thread_id %" PRIu64 " (%d)\n", ++ (uint64_t)threads_list[i]->srv_id, (uint64_t)threads_list[i]->srv_pthread, + i); + ci_thread_join(threads_list[i]->srv_pthread); + release_thread_i(i); +@@ -252,7 +252,7 @@ static void cancel_all_threads() + /*The thread is still running, and we have a timeout for waiting + the thread to exit. */ + if (wait_for_workers <= 2) { +- ci_debug_printf(5, "Thread %ld still running near the timeout. Try to kill it\n", threads_list[i]->srv_pthread); ++ ci_debug_printf(5, "Thread %" PRIu64 " still running near the timeout. Try to kill it\n", (uint64_t)threads_list[i]->srv_pthread); + pthread_kill( threads_list[i]->srv_pthread, SIGTERM); + } + } -- 2.47.3 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot