[PATCH] gnu: mpc-boot: Use gmp-boot and mpfr-boot as dependencies

  • Done
  • quality assurance status badge
Details
2 participants
  • Thiago Jung Bauermann
  • Ludovic Courtès
Owner
unassigned
Submitted by
Thiago Jung Bauermann
Severity
normal
Merged with
T
T
Thiago Jung Bauermann wrote on 5 Aug 2021 00:16
(address . guix-patches@gnu.org)(name . Thiago Jung Bauermann)(address . bauermann@kolabnow.com)
20210804221641.230621-1-bauermann@kolabnow.com
MPC 1.0 is incompatible with current versions of GMP and MPFR so use the
older ‘gmp-boot’ and ‘mpfr-boot’ packages as dependencies.

* gnu/packages/commencement.scm (mpc-boot)[propagated-inputs]: Add gmp-boot
and mpfr-boot.
---

Hello,

This fixes the build of mpc-boot on powerpc64le-linux on both master
and core-updates-frozen. The patch applies cleanly on both branches.

I believe it will also do the same for x86_64-linux and i686-linux but
I wasn’t able to verify because guix was consuming too much memory for
my laptop.

I’ve been suggesting that these patches for gmp-boot, mpfr-boot and
mpc-boot be applied to the master branch because
`guix refresh -l $PACKAGE` shows that there are no dependants on these
packages. But it just occurred to me that perhaps this may be a
limitation in ‘guix refresh’?


gnu/packages/commencement.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Toggle diff (15 lines)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index f8973392262f..c49428515eae 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1882,7 +1882,9 @@ ac_cv_c_float_format='IEEE (little-endian)'
"mirror://gnu/mpc/mpc-" version ".tar.gz"))
(sha256
(base32
- "1hzci2zrrd7v3g1jk35qindq05hbl0bhjcyyisq9z209xb3fqzb1"))))))
+ "1hzci2zrrd7v3g1jk35qindq05hbl0bhjcyyisq9z209xb3fqzb1"))))
+ (propagated-inputs `(("gmp" ,gmp-boot) ; <mpc.h> refers to both
+ ("mpfr" ,mpfr-boot)))))
(define gcc-core-mesboot1
;; GCC 4.6.4 is the latest modular distribution. This package is not
L
L
Ludovic Courtès wrote on 11 Aug 2021 23:38
control message for bug #49881
(address . control@debbugs.gnu.org)
87y297irw6.fsf@gnu.org
merge 49881 49882
quit
L
L
Ludovic Courtès wrote on 11 Aug 2021 23:50
(address . control@debbugs.gnu.org)
87r1ezirbg.fsf@gnu.org
merge 49881 49880
quit
?
Your comment

This issue is archived.

To comment on this conversation send an email to 49882@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 49882
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch