From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eO3cK/2joGKo9gAAbAwnHQ (envelope-from ) for ; Wed, 08 Jun 2022 15:28:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QFvoK/2joGJrYwAA9RJhRA (envelope-from ) for ; Wed, 08 Jun 2022 15:28:29 +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 67BA72C64A for ; Wed, 8 Jun 2022 15:28:29 +0200 (CEST) Received: from localhost ([::1]:45230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyvjY-0007JS-GH for larch@yhetil.org; Wed, 08 Jun 2022 09:28:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyvUc-0006dw-Jv for bug-guix@gnu.org; Wed, 08 Jun 2022 09:13:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48863) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyvUc-0005Gm-Bt for bug-guix@gnu.org; Wed, 08 Jun 2022 09:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nyvUc-000171-8C for bug-guix@gnu.org; Wed, 08 Jun 2022 09:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55833: cross-base error: wrong type argument in position 1 Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 08 Jun 2022 13:13: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: Josselin Poiret , Ekaitz Zarraga , 55833@debbugs.gnu.org, othacehe@gnu.org Received: via spool by 55833-submit@debbugs.gnu.org id=B55833.16546939254176 (code B ref 55833); Wed, 08 Jun 2022 13:13:02 +0000 Received: (at 55833) by debbugs.gnu.org; 8 Jun 2022 13:12:05 +0000 Received: from localhost ([127.0.0.1]:42753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyvTg-00015I-NI for submit@debbugs.gnu.org; Wed, 08 Jun 2022 09:12:04 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:51492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyvTe-00014s-Bb for 55833@debbugs.gnu.org; Wed, 08 Jun 2022 09:12:02 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id gdC0270064UW6Th06dC0UV; Wed, 08 Jun 2022 15:12:00 +0200 Message-ID: <7a7d7becd3cfb7f05c3e04fbbc98b04250b297f9.camel@telenet.be> From: Maxime Devos Date: Wed, 08 Jun 2022 15:12:00 +0200 In-Reply-To: <877d5rwigy.fsf@jpoiret.xyz> References: <5qR8o5eSldiy3chXSPnE2qn1NtHm4FklEGx9APhm0xFagHrv8fZapayVEMvdtJ4Kqw6vTwbyu3rCyPc38oEbJq78X2XW7RwWoe3DzND_K_w=@elenq.tech> <877d5rwigy.fsf@jpoiret.xyz> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-ffXOO4CK82JN2HmsiDYA" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1654693921; bh=+oECXXcW5IYQ3BBFlTq3KA0cr8ge/EX62F2b9pk4nV4=; h=Subject:From:To:Date:In-Reply-To:References; b=HzyM9c95trnRaeRlPiXMfrdvWdVaePo8yRI5+W5Z8Cz8mShE+PujBt+j/RALsrx7i EifTEcSi/6NLZF2hbGtmFYJov8UMGlR97K9Bjpv+GeFbxNDR0xu21ljlyEtzLbCDUo CR8TK0dRFD+WYs2emO2p9ubZdpr4TOOFoQ9jkapUmvjvLIo5RikAd3O78V3cMCIS7y rqpdq9x+U8X9YfwVqS9Vw8Fvb8eaz9dc4Vy/BwkAT08irvXZ208B09MRx8VGnD1jyw miwMfHbEssBOO0PgxtN6EmHALsL/kFjY1DWxOpfDBNuDuAKWCfKMyK/nHeS8cmn9ap HUKJpHD2+c/IA== 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" 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=1654694909; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: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=+oECXXcW5IYQ3BBFlTq3KA0cr8ge/EX62F2b9pk4nV4=; b=g5uJn5mLzLZsxu+ge6lStqu0RccjxTJWM1jVAwfmN7KVTPbepARx0lZWWoupMCQSjkmQIV UDZzJAXvOqN74aZmWMm9AIkTPN/xUhJH0lyLVo7Wu/da+xQTNON4P02ZPaqXoZpjcUKRnR 5pSddprYpfKZJL6uvbgeQALFHcJ2Nue6CL22m33lZO0RIJFm/NZi57nkRYocVu5uElGP9s mdxUdT4psy/0mUKNDPHKTtV/egqmhJWM36SnR7kLmKbDeOEWBD3NOcoV+Zl6hMgnuo0dUS ovMmw5X4ExIzy/nga0Tj2oJIN3crsddk0+skXFHbMv7aoQjAnNIzo0x57IJNrg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654694909; a=rsa-sha256; cv=none; b=mWkP6LDPye/Ebet41kHOXjqTzi0TGVEC1J4q2PnPiItAyteyyAk5JaplHs1M7C+kIHfU5A OUTyiszCvRiM6uCFlL4RODL71Xjnd2/BLYpA53JUpD85Oca40KFjZwG93jDWjPax/9oGx9 oaW2YFbfqwVaB1O979iBb8ffqACyLZvQdbOZRva6Xdlde6USqWydP5PrfeI4w6jwzHWgb6 7aBhp0Bfs99GTVVkk/3OCFjGOoAje3Yh3/zX4DJH8U5bxzUI8RND2hPZjEU0AxM1y9drid 6Il/1yQa/+BdbL/+kszRkYXmiUdjOINZUsmrTPGpBYQH7csLqtHGG8gUncrOqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=HzyM9c95; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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=telenet.be header.s=r22 header.b=HzyM9c95; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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: 67BA72C64A X-Spam-Score: 2.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: BcfJvC0N+Xw+ --=-ffXOO4CK82JN2HmsiDYA Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Josselin Poiret schreef op wo 08-06-2022 om 12:35 [+0200]: > 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. Wait my proposal cannot work as-is because linux-architecture=3D#false for Hurd platforms ... FWIW, I think the current usual behaviour is not ideal, and that these kind of procedures should raise an exception instead, like specification->package: scheme@(guix-user)> (specification->package "foobar") guix repl: fout: foobar: onbekend pakket ; <-- unknown package Or search-input-file or search-input-directory. Maybe it could raise a &non-linux-platform condition like search-input-file raises &search-error condition? Greetings, Maxime. --=-ffXOO4CK82JN2HmsiDYA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYqCgIBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7nI0AP9DzFJ0CeDkmWGOWd8APD9OyTvM pLHwT6n6C4OeWjFHWAEAtUKeHv/nsJSUtFXPStd2MaNJJpOGDoHLIH+WQxEuVQk= =XfJd -----END PGP SIGNATURE----- --=-ffXOO4CK82JN2HmsiDYA--