From patchwork Mon Jul 25 15:11:54 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: 40950 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 E5A7F27BBE9; Mon, 25 Jul 2022 16:13:21 +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 33B1427BBEA for ; Mon, 25 Jul 2022 16:13:21 +0100 (BST) Received: from localhost ([::1]:37036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFzlo-0002IQ-By for patchwork@mira.cbaines.net; Mon, 25 Jul 2022 11:13:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFzlW-0002B2-SD for guix-patches@gnu.org; Mon, 25 Jul 2022 11:13:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33353) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFzlW-0002sl-Jq for guix-patches@gnu.org; Mon, 25 Jul 2022 11:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFzlW-0001nJ-FO for guix-patches@gnu.org; Mon, 25 Jul 2022 11:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56760] [PATCH v2 1/6] gnu: trilinos-for-dealii-openmpi: Fix build. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Jul 2022 15:13:02 +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.16587619296756 (code B ref 56760); Mon, 25 Jul 2022 15:13:02 +0000 Received: (at 56760) by debbugs.gnu.org; 25 Jul 2022 15:12:09 +0000 Received: from localhost ([127.0.0.1]:51313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFzkf-0001ku-0r for submit@debbugs.gnu.org; Mon, 25 Jul 2022 11:12:09 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]:39564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFzkb-0001k9-Qq for 56760@debbugs.gnu.org; Mon, 25 Jul 2022 11:12:08 -0400 Date: Mon, 25 Jul 2022 15:11:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1658761919; x=1659021119; bh=RJV0xqqq9n6zV57Udx5aYZxQdXWFbJf6AhwbG/kWxbM=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=Ek+93D0iXPyrkOqnCck2IYqsdDmlfx5/DjZXO623G+BtPZxgRt2ddlEGTjX1sX3B9 k3utSXGFVduUl28TI1xIzPtUiWByFkNrhDwWz1AxZUmRCVpjwNbjv0YTsxoEejXjhT G3BPjja4eGYZNoQs9ywFo8aXTaTpihtX3lA06+kVFeav1h0UWNf9LHkIkDVCrmPzW0 sqwWOLuybhEjELS1BQFfq7eeNKGDI+2qqUZKw3D5Oe7ITVqqF8JwkJOHFljk0nOyhN kc3qorU6tZWyZAPnhT/mjnOhETpmXAzFdzOOXY1Br8rNKMVFs5XFE6ElnVwJIPjC/E BthwcjIp+FPTA== From: "Paul A. Patience" Message-ID: <20220725151135.3924177-2-paul@apatience.com> In-Reply-To: <20220725151135.3924177-1-paul@apatience.com> References: <20220725151135.3924177-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