From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2BjKMOd7oGIbQgEAbAwnHQ (envelope-from ) for ; Wed, 08 Jun 2022 12:37:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iBWqMOd7oGIRfAAAauVa8A (envelope-from ) for ; Wed, 08 Jun 2022 12:37:27 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6BE4939528 for ; Wed, 8 Jun 2022 12:37:27 +0200 (CEST) Received: from localhost ([::1]:35772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyt42-0006Ku-7U for larch@yhetil.org; Wed, 08 Jun 2022 06:37:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyt2g-0004gD-Kz for bug-guix@gnu.org; Wed, 08 Jun 2022 06:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48655) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyt2g-0000mp-Cf for bug-guix@gnu.org; Wed, 08 Jun 2022 06:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nyt2g-0007XX-8s for bug-guix@gnu.org; Wed, 08 Jun 2022 06:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55833: cross-base error: wrong type argument in position 1 Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 08 Jun 2022 10:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55833 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos , Ekaitz Zarraga , 55833@debbugs.gnu.org, othacehe@gnu.org Received: via spool by 55833-submit@debbugs.gnu.org id=B55833.165468454628962 (code B ref 55833); Wed, 08 Jun 2022 10:36:02 +0000 Received: (at 55833) by debbugs.gnu.org; 8 Jun 2022 10:35:46 +0000 Received: from localhost ([127.0.0.1]:42552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyt2Q-0007X4-8q for submit@debbugs.gnu.org; Wed, 08 Jun 2022 06:35:46 -0400 Received: from jpoiret.xyz ([206.189.101.64]:57938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyt2N-0007Wu-Q9 for 55833@debbugs.gnu.org; Wed, 08 Jun 2022 06:35:45 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id C84FB1852FF; Wed, 8 Jun 2022 10:35:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1654684542; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GeLuR98SnQW4Qo0ARMpzQrAc3vFE0y6B2WzatyNgx58=; b=E4sgJaX3Jm4Tfx1dOdVpvefdpjnU1iAxStJvIS8QtAn7sohtgGKLCuoPXFDJ02IkI1Z8bq 1Um7wGhG9YraNh3N1s+YqX2Hqk+TrTrsoNU0aaOTMumGp3vnUcg/tlk9CzOQitj/B8dQ7S E0W6cSzflLaHUFv6p7HbaYK9kLK2rb97WHLcZUBNFlFRSGehz9mfOJQdaVOdnkTgxop0OB UYY/7CGtIYEUz2IgGMOaVNqmatI3i4PgQ2hpD0AB4rVWrei05rLzCirbD201hrWWNqw4tN RR/EAHT5eNNqYq5yii3EZazih0WJ5auQpTBiHWAgNstaK7ig/Vh2UqiPWnnvQA== In-Reply-To: References: <5qR8o5eSldiy3chXSPnE2qn1NtHm4FklEGx9APhm0xFagHrv8fZapayVEMvdtJ4Kqw6vTwbyu3rCyPc38oEbJq78X2XW7RwWoe3DzND_K_w=@elenq.tech> Date: Wed, 08 Jun 2022 12:35:41 +0200 Message-ID: <877d5rwigy.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Josselin Poiret From: Josselin Poiret via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654684647; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=GeLuR98SnQW4Qo0ARMpzQrAc3vFE0y6B2WzatyNgx58=; b=j3xcwhTu6JPmz7DJv+4dCJAMX71FYuUQPojrXkzDXyLLXD+uVSDczROrVK/4C6TXReIVGx qXg3aF5rbL3/+r60XNaHbEK9C8vvAn2k60iLrcYAdROe2X9luUbfwRbg2umuGplsspw1oV pzLX+bIzFoiqKrxqb7O5zHLqH0RpTYGtKtb9aYoopGvmIDpg66kbQPejft4kKTLgouI82J 7/hlItPpjzbFpsG/JWGVvt046a04apMAf0OM1Ro2QLPOOcTW/jp9dw15hwX2Nu5mY26W7w RpZwgDmIo5Ze0oJM6juuaWqVHDm9NClWbRDx36yvauDbTfZGFpo/gEWrQ4dRUg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654684647; a=rsa-sha256; cv=none; b=iq8CZUvDovqRec6ZT8k8qzbEXZgZEyGSO4yx4c3qU9TY0Lo+/1coPXsJsbdPP61j8h/kzt dZEKfVxhvMhbW+83Thd8258qyvJd2WCm3pJvbTyKJ86ImNA1K0QkIlpYSLBuEhP+NR+CCk 7j3MzYzxTTiri832R50rwSTQWotZxsa43YsAiF/lXwclL6m7a2xQSdR+bSTzWaa6uNAqTU 674CeE3QVu48GwKTtQ214O3cNTUuvqkoJasnwqEOAIzKnB4ibRBByd6UFsFLsXSEREGFV9 soOIEBc6kMqAYcOoYp1VDqyL7OsNQZdbpzDhNH/9G+iKjc71DZa6e38GOfzwkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=E4sgJaX3; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.00 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=E4sgJaX3; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6BE4939528 X-Spam-Score: -2.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7T2IFRp91oz3 Hello Maxime and Ekaitz, Maxime Devos 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 =E2=80=98unsupported target=E2=80=99 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, --=20 Josselin Poiret