GNU bug report logs - #61217
[PATCH] build: Correct guix_system on musl libc distros.

Previous Next

Package: guix-patches;

Reported by: Antero Mejr <antero <at> mailbox.org>

Date: Wed, 1 Feb 2023 20:26:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Antero Mejr <antero <at> mailbox.org>
Subject: bug#61217: closed (Re: bug#61217: [PATCH] build: Correct
 guix_system on musl libc distros.)
Date: Thu, 16 Mar 2023 11:32:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#61217: [PATCH] build: Correct guix_system on musl libc distros.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 61217 <at> debbugs.gnu.org.

-- 
61217: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61217
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Antero Mejr <antero <at> mailbox.org>
Cc: 61217-done <at> debbugs.gnu.org
Subject: Re: bug#61217: [PATCH] build: Correct guix_system on musl libc
 distros.
Date: Thu, 16 Mar 2023 12:31:32 +0100
Hi,

Antero Mejr <antero <at> mailbox.org> skribis:

> * m4/guix.m4 (GUIX_SYSTEM_TYPE): Add linux-musl* case. This prevents
> the macro from mis-parsing the host OS, which causes breakage when
> building from source.

Finally applied, thanks!

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Antero Mejr <antero <at> mailbox.org>
To: guix-patches <at> gnu.org
Cc: Antero Mejr <antero <at> mailbox.org>
Subject: [PATCH] build: Correct guix_system on musl libc distros.
Date: Wed,  1 Feb 2023 20:25:04 +0000
* m4/guix.m4 (GUIX_SYSTEM_TYPE): Add linux-musl* case. This prevents
the macro from mis-parsing the host OS, which causes breakage when
building from source.
---
 m4/guix.m4 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/m4/guix.m4 b/m4/guix.m4
index 700c0dfd4a..147fcc48f4 100644
--- a/m4/guix.m4
+++ b/m4/guix.m4
@@ -58,6 +58,8 @@ AC_DEFUN([GUIX_SYSTEM_TYPE], [
        linux-gnu*)
 	  # For backward compatibility, strip the `-gnu' part.
 	  guix_system="$machine_name-linux";;
+       linux-musl*)
+	  guix_system="$machine_name-linux";;
        gnu*)
           # Always use i586 for GNU/Hurd.
           guix_system="i586-gnu";;
-- 
2.38.1




This bug report was last modified 2 years and 126 days ago.

Previous Next


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