GNU bug report logs - #55833
cross-base error: wrong type argument in position 1

Previous Next

Package: guix;

Reported by: Ekaitz Zarraga <ekaitz <at> elenq.tech>

Date: Tue, 7 Jun 2022 15:44:02 UTC

Severity: normal

Full log


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

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: Maxime Devos <maximedevos <at> telenet.be>, Ekaitz Zarraga
 <ekaitz <at> elenq.tech>, 55833 <at> debbugs.gnu.org, othacehe <at> gnu.org
Subject: Re: bug#55833: cross-base error: wrong type argument in position 1
Date: Wed, 08 Jun 2022 12:35:41 +0200
Hello Maxime and Ekaitz,
Maxime Devos <maximedevos <at> telenet.be> writes:

> Ekaitz Zarraga schreef op di 07-06-2022 om 15:43 [+0000]:
> Proposed solution:
>
>   * rename platform-linux-architecture to
>     '%platform-linux-architecture'
>     and define a wrapper 'platform-linux-architecture' displaying
>     a proper error message ‘unsupported target’ or such.
>
> and
>
>   * use "riscv64-linux-gnu" instead of "riscv64-unknown-linux-gnu"
>     (as expected by (guix platforms riscv)).

I don't think we should deviate from the usual behaviour of a procedure
returning #f it wasn't able to find the thing it was searching for.
Ideally, cross-libc should take a platform argument itself, so that we
can lookup the target earlier and throw an exception there instead.

WDYT?

Best,
-- 
Josselin Poiret




This bug report was last modified 3 years and 7 days ago.

Previous Next


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