From patchwork Wed Aug 4 21:20:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thiago Jung Bauermann X-Patchwork-Id: 31829 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 43F1027BC6B; Wed, 4 Aug 2021 22:21:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8BFE427BC78 for ; Wed, 4 Aug 2021 22:21:09 +0100 (BST) Received: from localhost ([::1]:40112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBOK4-00039K-Er for patchwork@mira.cbaines.net; Wed, 04 Aug 2021 17:21:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBOJy-000394-5Y for guix-patches@gnu.org; Wed, 04 Aug 2021 17:21:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33745) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBOJx-0004Vg-VA for guix-patches@gnu.org; Wed, 04 Aug 2021 17:21:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBOJx-0002TF-RH for guix-patches@gnu.org; Wed, 04 Aug 2021 17:21:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49881] [PATCH] gnu: mpfr-boot: Use gmp-boot as a dependency Resent-From: Thiago Jung Bauermann Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 04 Aug 2021 21:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49881 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49881@debbugs.gnu.org Cc: Thiago Jung Bauermann X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16281120499453 (code B ref -1); Wed, 04 Aug 2021 21:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Aug 2021 21:20:49 +0000 Received: from localhost ([127.0.0.1]:45291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBOJk-0002SP-Ux for submit@debbugs.gnu.org; Wed, 04 Aug 2021 17:20:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:55844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBOJj-0002SG-8Q for submit@debbugs.gnu.org; Wed, 04 Aug 2021 17:20:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBOJi-00038f-WE for guix-patches@gnu.org; Wed, 04 Aug 2021 17:20:47 -0400 Received: from mx.kolabnow.com ([95.128.36.41]:42314) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBOJg-0004Gx-NB for guix-patches@gnu.org; Wed, 04 Aug 2021 17:20:46 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id 1078EE8D for ; Wed, 4 Aug 2021 23:20:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:subject:subject:from:from:received :received:received; s=dkim20160331; t=1628112041; x=1629926442; bh=FqwPEIZfKIf0VQsJ5oaYWlgsyIhx2S37PFLdNoWrZ68=; b=ymgM0U5pPx/p jZe1URFHpx+EyWFuh2d5CmWGWgpRqGhdXQIsDREy0K4IZT970+yI1JYIhPbC0vIT g7SWmjJ7n1Q5ZpCycNc3VTPVmSnJiuxvBFBDRTQ6H60MWMEe2Y/AwYOX+rvxwCZ0 RYD6sx7cGEi1cXISBuwaTjXMrVSgKckOepoz5wUWrph2m5lYILjn/Da7qawsqp26 SjpbTa32YNVCcpTlZsaecKTjERgiz4MYOuCMdI5+fzsF2M0MpJtFVUZJ/v5flGPQ ijjynJUCUEHWNtGRZohmSmnCa289FbvN4E9wEj0qMK/wkZKkrp8/DsSf+RG1fL+o dueM0lsGuY9iz6qB7p7nm6lSRCy8jLSEv4VFSefMEKq6IPaImKgaatIIrf8FdCZz WPIt+2Vs7ILwVsT/a+s7T380jZusIm2FyrpdmdsgtNxgwPpyoAEojGFv5NbG5dC+ qeVq/4YHXjhxHtm/CcNDBcxh6P78hxPmn0MsYnCsCO952+OFTbmissb74GP7A0en +KBsgXEJ+S7iV7xr5jXVzUVxYEeI6bubY0/l/7x9tUUFg+1P5ctqsk/eOrfovqes 0A0AWeZfiXGTbuKXbBykqdu88eR4R+kWHNKWBeLWC5YHFBrLOs/e05ZmP9hDdhuj DDU4LbBT8AAfB58ed7+L36qZj4rjIPQ= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id exrLOdSevezf for ; Wed, 4 Aug 2021 23:20:41 +0200 (CEST) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 4FE88DC8 for ; Wed, 4 Aug 2021 23:20:41 +0200 (CEST) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx003.mykolab.com (Postfix) with ESMTPS id 61AC9792A; Wed, 4 Aug 2021 23:20:39 +0200 (CEST) Date: Wed, 4 Aug 2021 18:20:21 -0300 Message-Id: <20210804212021.219742-1-bauermann@kolabnow.com> MIME-Version: 1.0 Received-SPF: pass client-ip=95.128.36.41; envelope-from=bauermann@kolabnow.com; helo=mx.kolabnow.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Thiago Jung Bauermann X-ACL-Warn: , Thiago Jung Bauermann via Guix-patches X-Patchwork-Original-From: Thiago Jung Bauermann via Guix-patches via From: Thiago Jung Bauermann X-getmail-retrieved-from-mailbox: Patches The current GMP version is incompatible with MPFR 2.4 (which was released in 2009) and causes the build of ‘mpfr-boot’ to fail. Fix the problem by using ‘gmp-boot’, which is from early 2010. * gnu/packages/commencement.scm (mpfr-boot)[propagated-inputs]: Add gmp-boot. --- Hello, This is a problem affecting both master and core-updates-frozen, so I suggest committing this patch to master. It applies cleanly on both branches. It also affects at least the i686-linux, x86_64-linux and powerpc64-linux architectures. For reference, there’s a ton of error messages during build but these are the first ones: In file included from mpfr-impl.h:81:0, from add1.c:23: mpfr.h:141:9: error: unknown type name ‘__gmp_const’ typedef __gmp_const __mpfr_struct *mpfr_srcptr; ^~~~~~~~~~~ In file included from mpfr-impl.h:81:0, from add.c:23: mpfr.h:141:9: error: unknown type name ‘__gmp_const’ typedef __gmp_const __mpfr_struct *mpfr_srcptr; ^~~~~~~~~~~ mpfr.h:141:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token typedef __gmp_const __mpfr_struct *mpfr_srcptr; ^ mpfr.h:204:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char’ __MPFR_DECLSPEC __gmp_const char * mpfr_get_version _MPFR_PROTO ((void)); ^~~~ mpfr.h:205:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char’ __MPFR_DECLSPEC __gmp_const char * mpfr_get_patches _MPFR_PROTO ((void)); ^~~~ Thanks, Thiago gnu/packages/commencement.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 16eb46d44d77..f8973392262f 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -1869,7 +1869,8 @@ ac_cv_c_float_format='IEEE (little-endian)' (uri (string-append "mirror://gnu/mpfr/mpfr-" version ".tar.gz")) (sha256 (base32 - "0dxn4904dra50xa22hi047lj8kkpr41d6vb9sd4grca880c7wv94")))))) + "0dxn4904dra50xa22hi047lj8kkpr41d6vb9sd4grca880c7wv94")))) + (propagated-inputs `(("gmp" ,gmp-boot))))) ; refers to (define mpc-boot (package