From patchwork Mon Jul 25 12:33:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 40942 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 31E5127BBEA; Mon, 25 Jul 2022 13:49:48 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id EE39827BBE9 for ; Mon, 25 Jul 2022 13:49:47 +0100 (BST) Received: from localhost ([::1]:37234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFxWt-0006u8-2b for patchwork@mira.cbaines.net; Mon, 25 Jul 2022 08:49:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFxHf-00077g-D6 for guix-patches@gnu.org; Mon, 25 Jul 2022 08:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59772) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFxHe-000861-3v for guix-patches@gnu.org; Mon, 25 Jul 2022 08:34:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFxHe-0003Qx-0F for guix-patches@gnu.org; Mon, 25 Jul 2022 08:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56760] [PATCH 1/6] gnu: trilinos-for-dealii-openmpi: Fix build. References: <20220725123004.3862205-1-paul@apatience.com> In-Reply-To: <20220725123004.3862205-1-paul@apatience.com> Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Jul 2022 12:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56760 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56760@debbugs.gnu.org Cc: "Paul A. Patience" Received: via spool by 56760-submit@debbugs.gnu.org id=B56760.165875240213086 (code B ref 56760); Mon, 25 Jul 2022 12:34:01 +0000 Received: (at 56760) by debbugs.gnu.org; 25 Jul 2022 12:33:22 +0000 Received: from localhost ([127.0.0.1]:49501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFxH0-0003P0-Ez for submit@debbugs.gnu.org; Mon, 25 Jul 2022 08:33:22 -0400 Received: from mail-4317.proton.ch ([185.70.43.17]:19113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFxGv-0003Og-J9 for 56760@debbugs.gnu.org; Mon, 25 Jul 2022 08:33:21 -0400 Date: Mon, 25 Jul 2022 12:33:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1658752391; x=1659011591; bh=RJV0xqqq9n6zV57Udx5aYZxQdXWFbJf6AhwbG/kWxbM=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:Feedback-ID:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=p8wzs6kQdqJitf34yBVawEip3WSpQKnO8rrwKOGvmuMbpB7irFUe3TEhkSnXOfoCs jUMz2JZzJOEdqevi7kVJ7pCDekJCZT2JbEy5Kz4tpLO3RLsE6mB27wn5CwZ/sWpIyc NJH2PIce9Eglk/dgmcMqN+KpFIpufqIUk7UbW6uQ3o/tV6spFoSQmiLX8WmU9diwNP r0mitfqRjHcALVl8ljb0WAsEPwvgyQhSSc5Q4ZQNprd1M4bTT9wDRVaYMYgBS2Cz6n /jIwsBkrMknv8sslcn9Vf126pf8JB1yLBwdausjhleAg1F0NK87WGR0ZVjLHpTBf1l ysoEgDKkDd9Kw== From: "Paul A. Patience" Message-ID: <20220725123303.3863582-1-paul@apatience.com> Feedback-ID: 19227857:user:proton 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: "Paul A. Patience" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/maths.scm (trilinos-for-dealii-openmpi)[native-inputs]: Add gcc-7 to fix the failing build with newer versions of gcc. --- gnu/packages/maths.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.37.1 diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 458bffee61..948776e9d4 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -5153,7 +5153,10 @@ (define trilinos-for-dealii-openmpi (base32 "0fnwlhzsh85qj38cq3igbs8nm1b2jdgr2z734sapmyyzsy21mkgp")))) (build-system cmake-build-system) (native-inputs - `(("gfortran" ,gfortran) + `(;; The build fails with the current gcc. + ;; Use the version from when Trilinos was added. + ("gcc" ,gcc-7) + ("gfortran" ,gfortran) ;; Trilinos's repository contains several C-shell scripts, but adding ;; tcsh to the native inputs does not result in the check phase running ;; any more tests than without it (nor is tcsh required to build