From patchwork Sat May 10 08:00:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: yelninei--- via Guix-patches via X-Patchwork-Id: 42496 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 033EA27BC49; Sat, 10 May 2025 09:01:37 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B94F227BC4A for ; Sat, 10 May 2025 09:01:36 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uDf8p-0006Gq-MC; Sat, 10 May 2025 04:01:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uDf8o-0006Gi-JI for guix-patches@gnu.org; Sat, 10 May 2025 04:01:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uDf8o-0000cM-8R for guix-patches@gnu.org; Sat, 10 May 2025 04:01:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=b8LS+piPKKf6dIQQCalIlqHMA1eO2fbGgXMGwXijiAQ=; b=XbRafVIxt+cjSwNQHPp4T6m1waQpvvfxsS5XrnZru+yZ3L1JOIRbdne3FABahQIDHPVWssUV9IqnfYFBAQGb8+jSdIpiRf2FSdOFOysxFE37yfyC1mFuS6bLKMl3rGI1mWJ25xs4NVCD7ae+WjjdTj7YCs5qgTvYWjZRidTm64Abvrf3iYfV34HOKMSCk70K01F5CHQpjXTtiU2ZTUxTtJMxd2q0D8LBYH7C3wOuwk38BF8CydsveLHQTbcLcz/E3i4UfQhND37zW/dYg449AejhsdXoltMWkMsFGi61lsgLi6Brjg/ZXJIKlnBlxbFOW8INhWANgigLC+rRovmqyA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uDf8o-0008Vr-2z for guix-patches@gnu.org; Sat, 10 May 2025 04:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78241] [PATCH core-packages-team] Update Hurd and Mach Resent-From: yelninei@tutamail.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 10 May 2025 08:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78241 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Janneke Nieuwenhuizen Cc: 78241@debbugs.gnu.org Received: via spool by 78241-submit@debbugs.gnu.org id=B78241.174686402032628 (code B ref 78241); Sat, 10 May 2025 08:01:02 +0000 Received: (at 78241) by debbugs.gnu.org; 10 May 2025 08:00:20 +0000 Received: from localhost ([127.0.0.1]:43422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uDf87-0008U4-1o for submit@debbugs.gnu.org; Sat, 10 May 2025 04:00:20 -0400 Received: from mail.w13.tutanota.de ([185.205.69.213]:60910) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uDf84-0008SM-6m for 78241@debbugs.gnu.org; Sat, 10 May 2025 04:00:17 -0400 Received: from tutadb.w10.tutanota.de (w10.api.tuta.com [IPv6:fd:ac::d:10]) by mail.w13.tutanota.de (Postfix) with ESMTP id 5EDB485E1D21 for <78241@debbugs.gnu.org>; Sat, 10 May 2025 10:00:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1746864009; s=s1; d=tutamail.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=b8LS+piPKKf6dIQQCalIlqHMA1eO2fbGgXMGwXijiAQ=; b=cDqpMm79zWNZnT0OcztyqtV3XiGMESvbD4vcm3Ksgqevy30iaxrIwiRDUA2ZG4XC h2GkCm02fTLqM3N1nbwJTW5OyXx7xahF0/78WKeLZhlBG0A3aCBq+MLRt5AHJJwHO7E 7UFZt7BPmAsd2ZYyBPikKJs6cwtr+sAJwjdS6vo+l2/egrDDpLUf1Gy5uTugwd9/WBJ Bh0fd7W6oQRmvD0Hcc+LA38lzUhcRQTR2jgRnVOYfZ+PDtRsvDdrxV0LpaBGcjlxO1t x/fkNx5HCMgp9INQBR1t70tV5zXHucwPElhnvIgjaLvshaBk/vrUGgQXwUp93Tm7HlX M1G/fBY8CA== Date: Sat, 10 May 2025 10:00:09 +0200 (CEST) Message-ID: In-Reply-To: References: <877c2t5187.fsf@gnu.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: yelninei@tutamail.com X-ACL-Warn: , yelninei--- via Guix-patches X-Patchwork-Original-From: yelninei--- via Guix-patches via From: yelninei--- via Guix-patches via Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hello Janneke, Attached a patch to relax gcc-14 for rumpkernel for core-packages-team. It might be not be needed with the 20250111 tag but I have not found the patience to look into updating it. It overwrites HOST_CFLAGS which are -O by default. Let me know if you want to add the -Wno-implicit-function-declaration instead of replacing. May 6, 2025, 15:23 by yelninei@tutamail.com: > Hi Janneke, > > May 6, 2025, 13:16 by janneke@gnu.org: > >> >> Hmm, any idea why adding that flag has become necessary? Should that >> maybe be part of this patch set then? If so, you can send a "fixup!" or >> "squash!" commit. >> > The -Wno-implicit-function-declaration is for rumpkernel and unrelated to hurd/mach. > I have just started trying to send some of the patches I have been sitting on for a while. > > Here is the full error: > /tmp/guix-build-rumpkernel-0-20211031-0.f1ffd64.drv-0/source/> buildrump.sh/src/tools/sed/../../usr.bin/sed/process.c > : In function 'lputs': > /tmp/guix-build-rumpkernel-0-20211031-0.f1ffd64.drv-0/source/> buildrump.sh/src/tools/sed/../../usr.bin/sed/process.c:636:41 > : error: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] >   636 |                         width = (size_t)wcwidth(wc); > > > This is caused by using gcc-14 for the HOST_CC and adding gcc-14 as a native-input reproduces the issue on the master branch. Until now the HOST_CC was gcc-11 and only the CROSS_CC has been gcc-14. > > In my current checkout I have "fixed" it by adding >  -V HOST_CFLAGS=-Wno-implicit-function-declaration to the build.sh invocation to silence the warning. > > I also saw that rumpkernel has a 20250111 tag in the debian repository but struggled adapting the build system to the new version. > > > From 70d053449042e58a01f7139ae50e487a24a0d133 Mon Sep 17 00:00:00 2001 Message-ID: <70d053449042e58a01f7139ae50e487a24a0d133.1746777814.git.yelninei@tutamail.com> From: Yelninei Date: Fri, 9 May 2025 08:01:19 +0000 Subject: [PATCH] gnu: rumpkernel: Fix build with gcc-14. * gnu/packages/hurd.scm (rumpkernel): Add -Wno-implicit-function-declaration for the HOST_CC Change-Id: I4e86cd9900b56a904190e217c21bcfa279c12a5a --- gnu/packages/hurd.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm index 4794c8c376..39bb0629bc 100644 --- a/gnu/packages/hurd.scm +++ b/gnu/packages/hurd.scm @@ -850,6 +850,7 @@ (define-public rumpkernel " -DNO_PCI_MSI_MSIX=yes" " -DNUSB_DMA=1" " -DPAE") + "-V" "HOST_CFLAGS=-Wno-implicit-function-declaration" "-V" (string-append "CWARNFLAGS=" " -Wno-error=maybe-uninitialized" base-commit: def623300f698f53dceed2bfb01f4dd33bf4f56b prerequisite-patch-id: 98adcfd9380022a37fc5add6f1c79a0c8507f91b prerequisite-patch-id: 9342961af21699c24b27e7d54042f742e5a759d9 prerequisite-patch-id: 26dc56246897b5ab33b3dfc2aea7bdf494570b1e prerequisite-patch-id: f8749d6a4cacfd491ced0c1ee521ea9b642687dd prerequisite-patch-id: ac7a97fb34b0459789df7944ded38acc19cd6553 prerequisite-patch-id: 00fc2b4f0602c78f1f352c801c5b358d6686cfc7 -- 2.49.0