From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ELAxNsYEC2HujwAAgWs5BA (envelope-from ) for ; Wed, 04 Aug 2021 23:21:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sGXbMcYEC2HiVwAAbx9fmQ (envelope-from ) for ; Wed, 04 Aug 2021 21:21:10 +0000 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 1185219052 for ; Wed, 4 Aug 2021 23:21:10 +0200 (CEST) Received: from localhost ([::1]:40112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBOK5-00039K-56 for larch@yhetil.org; Wed, 04 Aug 2021 17:21:09 -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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Thiago Jung Bauermann X-ACL-Warn: , Thiago Jung Bauermann via Guix-patches From: Thiago Jung Bauermann via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628112070; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=FqwPEIZfKIf0VQsJ5oaYWlgsyIhx2S37PFLdNoWrZ68=; b=FrLSIjfpDOZKfPuQuDjV7MCur8/qoWzOiLuXv1qdQBlp+huhFIvBJ8xIO9ItVtZTeOWWeM UO1Z6h0Vtql+96lvC17VlqpLI3/06gh3nefrYuw3A/QqHwK5gyTLNpgRswlxjM8hcai0Ux zYBHEInBbWMOZI6fuT5lvKqsZcT4uPefB+eWPYpUnd5IU0brk+bcLs2TUsf5WPZjygOHaQ RgZFLJ2VZE6vb7FlRooX61IDhiMsFSgOBdyp/KzOKQGePnznB+KRf1Gr2auJ2o2hu0WbuM fd7KBeK8GGbfHetRieQ8uFCmQwxXoYc0fjgBUHYei6gp0XTJZFlTA6zSkQQcTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628112070; a=rsa-sha256; cv=none; b=UEoto8yLluarO6qrA4+zo/IFJDn6c17ZDLUOy7RycMrOE5HETTLibkUa2EV4ZBoULmoCnJ NN1YaJF1xe/0aAy6RRORy8kXCDiQuAKGj6e0QH6NWmSulJw6Q+TQFLE7f/IEITMLMjPF/k DL3RhunG9lbN+4LHknA13V9kZZp9j5/u21vUdpfbi/gKn2mM7XPCWRZtDBWGDEKkaRaCku 47II78NgoD6i4mTnG7NCvYOSCmRkbizlng/PP6Da3BCHwlb4G+hzIo1UvosN9nwiDfL0k2 twgsH3zwCFY7sZw27B0SJycl4CI7WXotgC/3XDd5onCVBc+WNLRNK1rO7fNLaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=ymgM0U5p; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=ymgM0U5p; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 1185219052 X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7ZJjrgQ+AokQ 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