GNU bug report logs - #73927
[PATCH 00/16] Installer support for (cross) installing the Hurd.

Previous Next

Package: guix-patches;

Reported by: Janneke Nieuwenhuizen <janneke <at> gnu.org>

Date: Mon, 21 Oct 2024 08:15:02 UTC

Severity: normal

Tags: patch

Done: <janneke <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #134 received at 73927 <at> debbugs.gnu.org (full text, mbox):

From: Janneke Nieuwenhuizen <janneke <at> gnu.org>
To: 73927 <at> debbugs.gnu.org
Subject: [PATCH v4 01/18] gnu: guile-fibers: Fix cross-build for the Hurd.
Date: Wed, 30 Oct 2024 15:30:30 +0100
* gnu/packages/guile-xyz.scm (guile-fibers): When cross-building for the Hurd,
add "fix-env" phase.

Change-Id: Iebe12941bbfb2f5a6208f9364115e95f10e82ed6
---
 gnu/packages/guile-xyz.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 5f34ea98a6..06d3b59dc3 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -9,7 +9,7 @@
 ;;; Copyright © 2016, 2017, 2021 Alex Kost <alezost <at> gmail.com>
 ;;; Copyright © 2016, 2017 Adonay "adfeno" Felipe Nogueira <https://libreplanet.org/wiki/User:Adfeno> <adfeno <at> openmailbox.org>
 ;;; Copyright © 2016, 2021 Amirouche <amirouche <at> hypermove.net>
-;;; Copyright © 2016, 2019, 2021, 2023 Janneke Nieuwenhuizen <janneke <at> gnu.org>
+;;; Copyright © 2016, 2019, 2021, 2023, 2024 Janneke Nieuwenhuizen <janneke <at> gnu.org>
 ;;; Copyright © 2017 Andy Wingo <wingo <at> igalia.com>
 ;;; Copyright © 2017 David Thompson <davet <at> gnu.org>
 ;;; Copyright © 2017, 2018, 2019, 2020 Mathieu Othacehe <m.othacehe <at> gmail.com>
@@ -875,7 +875,14 @@ (define-public guile-fibers
                          (substitute* "tests/basic.scm"
                            ((".*spawn-fiber-chain 5000000.*") ""))
                          (substitute* "tests/channels.scm"
-                           ((".*assert-run-fibers-terminates .*pingpong.*") "")))))))))
+                           ((".*assert-run-fibers-terminates .*pingpong.*") "")))))
+                   #$@(if (and (target-hurd?) (%current-target-system))
+                          #~((add-before 'build 'fixup-env
+                               (lambda _
+                                 (substitute* "env"
+                                   ((".*override.*" all)
+                                    (string-append "true #" all))))))
+                          '())))))
     (native-inputs
      (list texinfo pkg-config autoconf-2.71 automake libtool
            guile-3.0            ;for 'guild compile
-- 
Janneke Nieuwenhuizen <janneke <at> gnu.org>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com





This bug report was last modified 234 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.