GNU bug report logs -
#65151
[PATCH] platform: Introduce powerpc64-linux
Previous Next
Reported by: Michael Ford <fanquake <at> gmail.com>
Date: Tue, 8 Aug 2023 14:59:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 65151 in the body.
You can then email your comments to 65151 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#65151
; Package
guix-patches
.
(Tue, 08 Aug 2023 14:59:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Michael Ford <fanquake <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 08 Aug 2023 14:59:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I'm currently involved in a project which uses Guix to build a number of
cross-compiling toolchains, with Guix time-machine. On a recent update of
the time-machine, one cross-toolchain (powerpc64-linux-gnu) was no-longer
building, failing with:
Backtrace:
In srfi/srfi-1.scm:
586:29 19 (map1 (#<<manifest-entry> name: "git-minimal" versio?> ?))
586:29 18 (map1 (#<<manifest-entry> name: "python-lief" versio?> ?))
586:17 17 (map1 (#<<manifest-entry> name: "powerpc64-linux-gnu-t?>))
In guix/profiles.scm:
1936:19 16 (_ _)
In guix/packages.scm:
1371:17 15 (supported-package? #<package powerpc64-linux-gnu-tool?> ?)
In guix/memoization.scm:
101:0 14 (_ #<hash-table 7fe13d50ec20 289/443> #<package powerp?> ?)
In guix/packages.scm:
1341:14 13 (_)
In srfi/srfi-1.scm:
460:18 12 (fold #<procedure 7fe13bea3fc0 at guix/packages.scm:13?> ?)
In guix/packages.scm:
1345:44 11 (_ _ ("x86_64-linux" "i686-linux"))
In guix/memoization.scm:
101:0 10 (_ #<hash-table 7fe13d50ec20 289/443> #<package glibc-?> ?)
In guix/packages.scm:
1341:14 9 (_)
In srfi/srfi-1.scm:
460:18 8 (fold #<procedure 7fe13beaafa0 at guix/packages.scm:13?> ?)
In guix/packages.scm:
1345:44 7 (_ _ ("x86_64-linux" "i686-linux"))
In guix/memoization.scm:
101:0 6 (_ #<hash-table 7fe13d50ec20 289/443> #<package linux-?> ?)
In guix/packages.scm:
1349:39 5 (_)
1611:16 4 (package->bag _ _ _ #:graft? _)
1716:43 3 (thunk)
In gnu/packages/cross-base.scm:
455:34 2 (loop (#:phases (modify-phases %standard-phases # ?) ?) #)
In ice-9/boot-9.scm:
1685:16 1 (raise-exception _ #:continuable? _)
1685:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
ERROR:
1. &platform-not-found-error: "powerpc64-linux-gnu"
Adding powerpc64-linux as a platform resolves this issue.
I'm wondering if there's any reason this cannot, or wouldn't be added as a
platform definition?
From 8c3029c1a15b42c98e67e1db790cedcf1cb8a45e Mon Sep 17 00:00:00 2001
From: fanquake <fanquake <at> gmail.com>
Date: Tue, 8 Aug 2023 16:39:47 +0200
Subject: [PATCH] platform: Introduce powerpc64-linux
* gnu/platforms/powerpc.scm: Introduce powerpc64-linux.
---
guix/platforms/powerpc.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/guix/platforms/powerpc.scm b/guix/platforms/powerpc.scm
index 9d0b343bc3..b45a216983 100644
--- a/guix/platforms/powerpc.scm
+++ b/guix/platforms/powerpc.scm
@@ -20,6 +20,7 @@ (define-module (guix platforms powerpc)
#:use-module (guix platform)
#:use-module (guix records)
#:export (powerpc-linux
+ powerpc64-linux
powerpc64le-linux))
(define powerpc-linux
@@ -29,6 +30,13 @@ (define powerpc-linux
(linux-architecture "powerpc")
(glibc-dynamic-linker "/lib/ld.so.1")))
+(define powerpc64-linux
+ (platform
+ (target "powerpc64-linux-gnu")
+ (system "powerpc64-linux")
+ (linux-architecture "powerpc")
+ (glibc-dynamic-linker "/lib/ld64.so.1")))
+
(define powerpc64le-linux
(platform
(target "powerpc64le-linux-gnu")
--
2.41.0
[Message part 2 (text/html, inline)]
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Sat, 12 Aug 2023 21:04:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Michael Ford <fanquake <at> gmail.com>
:
bug acknowledged by developer.
(Sat, 12 Aug 2023 21:04:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 65151-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Michael Ford <fanquake <at> gmail.com> skribis:
>>From 8c3029c1a15b42c98e67e1db790cedcf1cb8a45e Mon Sep 17 00:00:00 2001
> From: fanquake <fanquake <at> gmail.com>
> Date: Tue, 8 Aug 2023 16:39:47 +0200
> Subject: [PATCH] platform: Introduce powerpc64-linux
>
> * gnu/platforms/powerpc.scm: Introduce powerpc64-linux.
[...]
> +(define powerpc64-linux
> + (platform
> + (target "powerpc64-linux-gnu")
> + (system "powerpc64-linux")
I changed ‘system’ to #f, since it’s not supported in Guix, and tweaked
the commit log.
Thanks!
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#65151
; Package
guix-patches
.
(Mon, 14 Aug 2023 12:51:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 65151-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thanks!
On Sat, 12 Aug 2023 at 22:03, Ludovic Courtès <ludo <at> gnu.org> wrote:
> Hi,
>
> Michael Ford <fanquake <at> gmail.com> skribis:
>
> >>From 8c3029c1a15b42c98e67e1db790cedcf1cb8a45e Mon Sep 17 00:00:00 2001
> > From: fanquake <fanquake <at> gmail.com>
> > Date: Tue, 8 Aug 2023 16:39:47 +0200
> > Subject: [PATCH] platform: Introduce powerpc64-linux
> >
> > * gnu/platforms/powerpc.scm: Introduce powerpc64-linux.
>
> [...]
>
> > +(define powerpc64-linux
> > + (platform
> > + (target "powerpc64-linux-gnu")
> > + (system "powerpc64-linux")
>
> I changed ‘system’ to #f, since it’s not supported in Guix, and tweaked
> the commit log.
>
> Thanks!
>
> Ludo’.
>
[Message part 2 (text/html, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 12 Sep 2023 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 284 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.