From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2MGhBQ2IM2c51gAA62LTzQ:P1 (envelope-from ) for ; Tue, 12 Nov 2024 16:53:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 2MGhBQ2IM2c51gAA62LTzQ (envelope-from ) for ; Tue, 12 Nov 2024 17:53:33 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=WLJvSnp0; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=XDA3IZwS; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731430413; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZxI/gq58eWCTS4TrSRJVe5AfDbAQNW+5TBQK2EriJ8w=; b=YVd0o97XAcLtobBFzVm+NjGW07Qmzj07/KUOYiOyijgAW+9gbCF+eJQ6tKb7NbHLYwC1bX UtxRfCEBZUarsuBvX9wpVLCy7azlEpxYxO9aI5X7yf1SIgHqWYzJQ+E42kHowUKjTiyEsJ Xjynymw4wskzkzhPxnWbINK20+kJtc6m/sKFlYSNQ8SFwrj5ZmX45agY4XYFjUF/2ojVqZ OqOo18R6kGALa8zSryzqq+Wk0K2Tr3E3m+856GZMnY257yiWWwdx3LAgzIlQjOIdx0VnqK 7A7ZtrZnDu+h/LDTYnszFyEY75Jt/qsyXOQOLFLxVpHDDKF7xdbRkpDeF9ty3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=WLJvSnp0; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=XDA3IZwS; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731430413; a=rsa-sha256; cv=none; b=ExxynkNAxbnVV2fGdbNCsO8Pc7x0J8959B635zq3ZuRBXKcqlhz2/mabfnmHL9f+YVOsuf f+zUNmklUYDu+G1mTwqvgpq+9eDwG6kie+Yz4OlBSBUVdRMg/ptvhp5rLE0XwG41fU1Owb K1XNcvgBjonT6UFsjILwsDC2w34AzhVGxDJ/kY3DbZsJ8rfiCbckTOHX2gM9Wr1B/+CVMV BM7ZqGs6UpP41tm0L/V0XJerEPOvHibHZwQ5BlPVdoxT8Cb7yjWFuM2ITs1iSX4BKw8d2l S/uHvWfjLxXkcI6/J4JLWCjC8g3aBmnEOw1yQUvvG/Jo/69CT4u23IH4jWHdIQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 03AB883DF3 for ; Tue, 12 Nov 2024 17:53:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAtmO-0003jy-RX; Tue, 12 Nov 2024 11:30:12 -0500 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 1tAtmL-0003be-Oz for guix-patches@gnu.org; Tue, 12 Nov 2024 11:30:09 -0500 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 1tAtmL-0005t3-F0 for guix-patches@gnu.org; Tue, 12 Nov 2024 11:30:09 -0500 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:Date:From:To:Subject; bh=ZxI/gq58eWCTS4TrSRJVe5AfDbAQNW+5TBQK2EriJ8w=; b=WLJvSnp0XQpKvqLXe6d0sFRTfQO4clKUFr8jQ01CK2YdmMdj9k5h3SQd6R+ajJsknEhy0byeutpcZJZhoyDJCuqmgNkySsUlxoqkKDI11lMkBmTDYtYomWcsapd44MiK5YThFX0iH6qqJ/crqMmZXnUgLUsktOC5XnzcNSkUcVLtIpbQALU8gS4xL721UcGDe6g/VMea13zfuYh1yDmTb/lSk4SOscOuvpPZtdjsxbCta7rK2EPsuZyoo33OSEbM9P0jyEStdzeZfDh1omkjZb6F3+4pBocGq+J4yheR8pKFkjyCxryQrLAvHRU1ctGi1MWPr2MiEq6zqYk7Rnd77w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tAtmL-0000Rr-9H for guix-patches@gnu.org; Tue, 12 Nov 2024 11:30:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74290] [PATCH v2 07/40] gnu: bash-minimal: Fix build for 64bit Hurd. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Nov 2024 16:30:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74290 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74290@debbugs.gnu.org Received: via spool by 74290-submit@debbugs.gnu.org id=B74290.17314289631153 (code B ref 74290); Tue, 12 Nov 2024 16:30:09 +0000 Received: (at 74290) by debbugs.gnu.org; 12 Nov 2024 16:29:23 +0000 Received: from localhost ([127.0.0.1]:39083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAtlb-0000IQ-3a for submit@debbugs.gnu.org; Tue, 12 Nov 2024 11:29:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAtlR-0000GA-7C for 74290@debbugs.gnu.org; Tue, 12 Nov 2024 11:29:15 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAtjF-0005L0-9i; Tue, 12 Nov 2024 11:26:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=ZxI/gq58eWCTS4TrSRJVe5AfDbAQNW+5TBQK2EriJ8w=; b=XDA3IZwSiuj6PtApzIyt 7vb3nlMUk1a3eW3/JVVW5s+KdAAT/i5GzIY/6uFcZpm3fVKGyAUGZ+MJEOjCxeR9j+jjRLQn+axZF oc4ygHcpUY7FU0vjem8D9bhTmQhfTULy+znNidCHvM9mZQRPCRH0Ko/ky3SPS7jTl75x/J8tKagkd z10axtLPe/kiNoBK2GIF8NHY6CndMKIN7SNkXO5JULzJi1ApLC5bgDWlG5mqlnrDtFJN/sLlHgOud 2m1QBNtFnL6pVwwnfn2YdZokxy7XeQBwyoM2sFQ9+fjqwOj7ExPFTwovhDfrS/NTyfj4w3tvM0dah g3vtPG+3g714bA==; From: Janneke Nieuwenhuizen Date: Tue, 12 Nov 2024 17:25:16 +0100 Message-ID: <1f92fed3939c2be15f88c5952cb79eaafd23e7dc.1731427612.git.janneke@gnu.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 0.88 X-Spam-Score: 0.88 X-Migadu-Queue-Id: 03AB883DF3 X-TUID: p+NwzphkkrAe * gnu/packages/bash-minimal.scm (bash)[arguments]: When building with gcc >= 14 use "CFLAGS=-Wno-implicit-function-declaration". Change-Id: I3fd2da7a1d9011b155084dceadbad649dbb2a1b9 --- gnu/packages/bash.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm index 93641a78d5..1a3b014ad7 100644 --- a/gnu/packages/bash.scm +++ b/gnu/packages/bash.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2020 Zhu Zihao ;;; Copyright © 2021 Marius Bakke ;;; Copyright © 2024 Oleg Pykhalov +;;; Copyright © 2024 Janneke Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -30,6 +31,7 @@ (define-module (gnu packages bash) #:use-module (gnu packages base) #:use-module (gnu packages bootstrap) #:use-module (gnu packages compression) + #:use-module (gnu packages gcc) #:use-module (gnu packages elf) #:use-module (gnu packages ncurses) #:use-module (gnu packages readline) @@ -251,6 +253,13 @@ (define-public bash-minimal ;; modules and related code. "ac_cv_func_dlopen=no" + ,@(if (version>=? (package-version (current-gcc)) "14") + ;; gcc-14 implictly uses -Wimplicit-function-declaration + ;; which together with -Werror causes: + ;; ./enable.def:492:11: error: implicit declaration of function ‘dlclose’; + '("CFLAGS=-Wno-implicit-function-declaration") + '()) + ,@(if (%current-target-system) '("bash_cv_job_control_missing=no" "bash_cv_getcwd_malloc=yes") -- Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com