From a605ef3ce9dbd6b79dd9322f89d9facaf875b487 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 8 May 2021 11:48:01 +0200 Subject: gnu: libgc@8: Build with '--disable-munmap'. Partially fixes . * gnu/packages/bdw-gc.scm (libgc)[arguments]: Configure with '--disable-munmap'. * gnu/packages/guile.scm (guile-3.0/libgc-7): Remove. * gnu/packages/ci.scm (cuirass)[inputs]: Refer to GUILE-3.0-LATEST instead of GUILE-3.0/LIBGC-7. * guix/self.scm (specification->package): Likewise. --- gnu/packages/bdw-gc.scm | 8 ++++++-- gnu/packages/ci.scm | 2 +- gnu/packages/guile.scm | 11 ----------- guix/self.scm | 2 +- 4 files changed, 8 insertions(+), 15 deletions(-) diff --git a/gnu/packages/bdw-gc.scm b/gnu/packages/bdw-gc.scm index 50e4951dc1..0d82889bac 100644 --- a/gnu/packages/bdw-gc.scm +++ b/gnu/packages/bdw-gc.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012, 2013, 2014, 2016, 2017, 2020 Ludovic Courtès +;;; Copyright © 2012, 2013, 2014, 2016, 2017, 2020, 2021 Ludovic Courtès ;;; Copyright © 2014 Mark H Weaver ;;; Copyright © 2016, 2018 Leo Famulari ;;; Copyright © 2017 Rene Saavedra @@ -46,7 +46,11 @@ (list ;; Install gc_cpp.h et al. "--enable-cplusplus" - ;; In GNU/Hurd systems during the 'Check' phase, + + ;; Work around . + "--disable-munmap" + + ;; In GNU/Hurd systems during the 'check' phase, ;; there is a deadlock caused by the 'gctest' test. ;; To disable the error set "--disable-gcj-support" ;; to configure script. See bug report and discussion: diff --git a/gnu/packages/ci.scm b/gnu/packages/ci.scm index 8d93513332..f03fbfdd98 100644 --- a/gnu/packages/ci.scm +++ b/gnu/packages/ci.scm @@ -150,7 +150,7 @@ `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,objs))) #t)))))) (inputs - `(("guile" ,guile-3.0/libgc-7) + `(("guile" ,guile-3.0-latest) ("guile-avahi" ,guile-avahi) ("guile-fibers" ,guile-fibers) ("guile-gcrypt" ,guile-gcrypt) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index fdda6cd733..5bef56a891 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -319,17 +319,6 @@ without requiring the source code to be rewritten.") ;; The latest 3.0.x version. guile-3.0) -(define-public guile-3.0/libgc-7 - ;; Using libgc-7 avoid crashes that can occur, particularly when loading - ;; data in to the Guix Data Service: - ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40525 - (hidden-package - (package - (inherit guile-3.0-latest) - (propagated-inputs - `(("bdw-gc" ,libgc-7) - ,@(srfi-1:alist-delete "bdw-gc" (package-propagated-inputs guile-3.0))))))) - (define-public guile-3.0/fixed ;; A package of Guile that's rarely changed. It is the one used in the ;; `base' module, and thus changing it entails a full rebuild. diff --git a/guix/self.scm b/guix/self.scm index 3154d180ac..ec8b6c33cc 100644 --- a/guix/self.scm +++ b/guix/self.scm @@ -50,7 +50,7 @@ (let ((ref (lambda (module variable) (module-ref (resolve-interface module) variable)))) (match-lambda - ("guile" (ref '(gnu packages guile) 'guile-3.0/libgc-7)) + ("guile" (ref '(gnu packages guile) 'guile-3.0-latest)) ("guile-avahi" (ref '(gnu packages guile-xyz) 'guile-avahi)) ("guile-json" (ref '(gnu packages guile) 'guile-json-4)) ("guile-ssh" (ref '(gnu packages ssh) 'guile-ssh)) -- cgit v1.2.3