From: Josselin Poiret via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Maxime Devos <maximedevos@telenet.be>,
Ekaitz Zarraga <ekaitz@elenq.tech>,
55833@debbugs.gnu.org, othacehe@gnu.org
Subject: bug#55833: cross-base error: wrong type argument in position 1
Date: Wed, 08 Jun 2022 12:35:41 +0200 [thread overview]
Message-ID: <877d5rwigy.fsf@jpoiret.xyz> (raw)
In-Reply-To: <eb961bdb61d352de2771a188441c5ded8364da96.camel@telenet.be>
Hello Maxime and Ekaitz,
Maxime Devos <maximedevos@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
next prev parent reply other threads:[~2022-06-08 10:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-07 15:43 bug#55833: cross-base error: wrong type argument in position 1 Ekaitz Zarraga
2022-06-07 18:33 ` Maxime Devos
2022-06-08 10:35 ` Josselin Poiret via Bug reports for GNU Guix [this message]
2022-06-08 13:06 ` Maxime Devos
2022-06-08 13:12 ` Maxime Devos
2022-06-08 16:29 ` Ekaitz Zarraga
2022-06-08 17:11 ` Ekaitz Zarraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877d5rwigy.fsf@jpoiret.xyz \
--to=bug-guix@gnu.org \
--cc=55833@debbugs.gnu.org \
--cc=dev@jpoiret.xyz \
--cc=ekaitz@elenq.tech \
--cc=maximedevos@telenet.be \
--cc=othacehe@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).