Subject: Re: bug#64505: bug report

From: Josselin Poiret <[email-masked]>
Date: Mon, 10 Jul 2023 08:57:52 +0200

Hi Jean-Christophe,

Jean-Christophe Haessig <[email-masked]> writes:

> In ./guix/platform.scm:
>     139:6  2 (lookup-platform-by-target-or-system "x86_64-linux")
> In ice-9/boot-9.scm:
>     829:9  1 (catch srfi-34 #<procedure 7f278ee8a040 at
> ./guix/platform.scm:139:6 ()> #<procedure 7f27a4868298 at .?> ?)
> In ./guix/platform.scm:
>     129:2  0 (lookup-platform-by-target "x86_64-linux")
>
> ./guix/platform.scm:129:2: In procedure lookup-platform-by-target:
> error: raise-exception: unbound variable
> guix pull: error: You found a bug: the program
> '/gnu/store/cb56v1p47byd2ars5xbgkw26f3iq41sj-compute-guix-derivation'
> failed to compute the derivation for Guix (version:
> "961ffca1c75141cbb351d143b22b673638e9659d"; system: "x86_64-linux";
> host version: "1.1.0"; pull-version: 1).
> Please report the COMPLETE output above by email to <[email-masked]>.

You seem to have a quite old version of Guix, along with Guile 2.x, and
there raise-exception doesn't exist, but it is indirectly being used
when building Guix.

You can either try to pull in small increments (I think 1.1 -> 1.2 ->
1.3 -> master should do it) for now, but we should also fix this use of
raise-exception: it should be `raise` from srfi-34/35 instead.

Best,
-- 
Josselin Poiret