Received: (at 55833) by debbugs.gnu.org; 8 Jun 2022 17:11:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 08 13:11:44 2022 Received: from localhost ([127.0.0.1]:44181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nyzDQ-0003O1-W5 for submit <at> debbugs.gnu.org; Wed, 08 Jun 2022 13:11:44 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]:57236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ekaitz@HIDDEN>) id 1nyzDN-0003Nk-Fe for 55833 <at> debbugs.gnu.org; Wed, 08 Jun 2022 13:11:31 -0400 Date: Wed, 08 Jun 2022 17:11:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail2; t=1654708282; x=1654967482; bh=ExDRX6E2gaJP5liaYodZXTBX533QIghCaiPob4orxUw=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=qQuzSKGumnOIg0JHCV7CG8foANNDpWY9Z904p2hpfV1bznRVeyIe382M6uHKaZuKF xUSCL6DggBZFniQ+AfIDTxNidOUnwucRc6UAT8IOJmiY/G7RjqADvJRr4sZYlCti4Y feUSSV3o0tEFHX7LXxWWoVBd/2I+2eZdeNS5UdvD3A881HTL71zYCOeIrtqfT9amuf fNZQ4zbhxyNM0LmV8Flbq2RBkvUEYuwNBMrt5ZQDxvjYDjCwKMPJkxJcPfs/CYZeG4 mWJKaDfzZQBGqph+0M47/urNLNXKqOsGFQQe6tX3rtN9PFmcmEMJXR6D+8Nt+qPEqL gVRnebVTCYl7Q== To: Maxime Devos <maximedevos@HIDDEN> From: Ekaitz Zarraga <ekaitz@HIDDEN> Subject: Re: bug#55833: cross-base error: wrong type argument in position 1 Message-ID: <AfJ8NsB9JmSRw7tZXUqCDGDXhYGmEsTJYJF-tcmGcULzYcQvkQ6u9PFYWdv5mBFpza3hvqYyiRXpwPxu63xnxXLoroAbGTyDuAH-y8jnqxc=@elenq.tech> In-Reply-To: <ZnQyWD0ObmbPJCLuz__m3KgBWHwliJEAUWPQiFg76p2m6QBfi3uFfWTqN7lt3dpCsKe9vJ8W371i01jeHxDYTkG7YHiKSY4ae58caA9u94E=@elenq.tech> References: <5qR8o5eSldiy3chXSPnE2qn1NtHm4FklEGx9APhm0xFagHrv8fZapayVEMvdtJ4Kqw6vTwbyu3rCyPc38oEbJq78X2XW7RwWoe3DzND_K_w=@elenq.tech> <eb961bdb61d352de2771a188441c5ded8364da96.camel@HIDDEN> <ZnQyWD0ObmbPJCLuz__m3KgBWHwliJEAUWPQiFg76p2m6QBfi3uFfWTqN7lt3dpCsKe9vJ8W371i01jeHxDYTkG7YHiKSY4ae58caA9u94E=@elenq.tech> Feedback-ID: 3263582:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55833 Cc: othacehe@HIDDEN, 55833 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Reply-To: Ekaitz Zarraga <ekaitz@HIDDEN> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Forget it, there was some code missing to match the platform correctly in m= y custom GCC. Added it and now it's working without the `unknown` part. Cheers
bug-guix@HIDDEN
:bug#55833
; Package guix
.
Full text available.Received: (at 55833) by debbugs.gnu.org; 8 Jun 2022 16:29:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 08 12:29:54 2022 Received: from localhost ([127.0.0.1]:44056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nyyZ7-0008Qa-Rp for submit <at> debbugs.gnu.org; Wed, 08 Jun 2022 12:29:54 -0400 Received: from mail-4018.proton.ch ([185.70.40.18]:48715) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ekaitz@HIDDEN>) id 1nyyZ2-0008QM-SA for 55833 <at> debbugs.gnu.org; Wed, 08 Jun 2022 12:29:50 -0400 Date: Wed, 08 Jun 2022 16:29:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail2; t=1654705781; x=1654964981; bh=e5R9NbP5cUw+PnicbhPbl7nwHvg7jikWKKQkGWA//9w=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=Jt49FGoYdKVJEJumm2GYv1ZdyN3v5xTCTD4uQEqFy0WYNbdwKuAVJtZ62qqG2qhG+ wxIFVV5ENAcqbq3L90opceMkzJWqIHDttjgKlGIZoun6Y3CldR9W2vpgJxcsgBu9Kf SOaHI3Mv36HDzXHoKq0E1xf586ocm7ZEtzQonmNIXPhc2vr7K+RANuUEpIq7txJXT0 mI1dCAmeT7pCS5D7kSwov9Qq/ymbUhzXIyRBZYftgetgTpcI5DvyE9V9r4ABBJEe19 6zp4xhBLgU7yMC/nbI1kLM6oeJAUcZfi20h53UPiTIwzI39+UjNnKMOdsKCV1lFHgC XKD+GvoGh5wcQ== To: Maxime Devos <maximedevos@HIDDEN> From: Ekaitz Zarraga <ekaitz@HIDDEN> Subject: Re: bug#55833: cross-base error: wrong type argument in position 1 Message-ID: <ZnQyWD0ObmbPJCLuz__m3KgBWHwliJEAUWPQiFg76p2m6QBfi3uFfWTqN7lt3dpCsKe9vJ8W371i01jeHxDYTkG7YHiKSY4ae58caA9u94E=@elenq.tech> In-Reply-To: <eb961bdb61d352de2771a188441c5ded8364da96.camel@HIDDEN> References: <5qR8o5eSldiy3chXSPnE2qn1NtHm4FklEGx9APhm0xFagHrv8fZapayVEMvdtJ4Kqw6vTwbyu3rCyPc38oEbJq78X2XW7RwWoe3DzND_K_w=@elenq.tech> <eb961bdb61d352de2771a188441c5ded8364da96.camel@HIDDEN> Feedback-ID: 3263582:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55833 Cc: othacehe@HIDDEN, 55833 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Reply-To: Ekaitz Zarraga <ekaitz@HIDDEN> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi, > * use "riscv64-linux-gnu" instead of "riscv64-unknown-linux-gnu" > (as expected by (guix platforms riscv)). There's an slight problem with that. I tried to do it and I can't build my custom gcc without sending the full triplet (with -unknown) and if I make the other parts of the system, like binutils without the -unknown part, the gcc is unable to find `ld`. I have to dig on this further but it looks like this has further effects on the system. Best, Ekaitz
bug-guix@HIDDEN
:bug#55833
; Package guix
.
Full text available.Received: (at 55833) by debbugs.gnu.org; 8 Jun 2022 13:12:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 08 09:12:04 2022 Received: from localhost ([127.0.0.1]:42753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nyvTg-00015I-NI for submit <at> 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 <maximedevos@HIDDEN>) id 1nyvTe-00014s-Bb for 55833 <at> 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@HIDDEN> Subject: Re: bug#55833: cross-base error: wrong type argument in position 1 From: Maxime Devos <maximedevos@HIDDEN> To: Josselin Poiret <dev@HIDDEN>, Ekaitz Zarraga <ekaitz@HIDDEN>, 55833 <at> debbugs.gnu.org, othacehe@HIDDEN Date: Wed, 08 Jun 2022 15:12:00 +0200 In-Reply-To: <877d5rwigy.fsf@HIDDEN> References: <5qR8o5eSldiy3chXSPnE2qn1NtHm4FklEGx9APhm0xFagHrv8fZapayVEMvdtJ4Kqw6vTwbyu3rCyPc38oEbJq78X2XW7RwWoe3DzND_K_w=@elenq.tech> <eb961bdb61d352de2771a188441c5ded8364da96.camel@HIDDEN> <877d5rwigy.fsf@HIDDEN> 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55833 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-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--
bug-guix@HIDDEN
:bug#55833
; Package guix
.
Full text available.Received: (at 55833) by debbugs.gnu.org; 8 Jun 2022 13:06:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 08 09:06:20 2022 Received: from localhost ([127.0.0.1]:42748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nyvO8-0000xK-1x for submit <at> debbugs.gnu.org; Wed, 08 Jun 2022 09:06:20 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:46384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1nyvO5-0000x8-Ai for 55833 <at> debbugs.gnu.org; Wed, 08 Jun 2022 09:06:18 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id gd6F2700K4UW6Th06d6FFh; Wed, 08 Jun 2022 15:06:15 +0200 Message-ID: <f478f45c1b318d7abb562468b9f3cdca8b2076e3.camel@HIDDEN> Subject: Re: bug#55833: cross-base error: wrong type argument in position 1 From: Maxime Devos <maximedevos@HIDDEN> To: Josselin Poiret <dev@HIDDEN>, Ekaitz Zarraga <ekaitz@HIDDEN>, 55833 <at> debbugs.gnu.org, othacehe@HIDDEN Date: Wed, 08 Jun 2022 15:06:10 +0200 In-Reply-To: <877d5rwigy.fsf@HIDDEN> References: <5qR8o5eSldiy3chXSPnE2qn1NtHm4FklEGx9APhm0xFagHrv8fZapayVEMvdtJ4Kqw6vTwbyu3rCyPc38oEbJq78X2XW7RwWoe3DzND_K_w=@elenq.tech> <eb961bdb61d352de2771a188441c5ded8364da96.camel@HIDDEN> <877d5rwigy.fsf@HIDDEN> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-Rc7qYCxYv4PmoVyxwIdw" 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=1654693575; bh=FiSCYt6Fe6Xh13pCq++D+2xA2w7S9fqcWze8EAG/uGM=; h=Subject:From:To:Date:In-Reply-To:References; b=fQogNudZvElmE6AUYsrs9XjfFNhBDFfD22++BoLj8Hs7ZjkZKr8e/95LLYq3LJfi+ dQn51KCNnDiUEDcfiOg5exBMy63FsrvkQ+nSC51c9cGwFfr2T8h7j5z9QgrJzT/kV+ i9LqdSJaaiJKp6T6SjiKRpY4wlnkECQ4gTrNQeDBTpiEQ/M7ZqhYVJ6dze43VCn0qF SKaP7dwOVwbvMudplIL4Za+3H5AobQOsfeUzAU6KI6OpGSgHfL7b+EVuYNMB3R2pin 804uDx9Nm/JplRHtQ0joCcJ5s+mlAs6tIGSXdDM1KBsiPKd+U58g+yimyEvIj/D8ch iXlcmtuCsb5CQ== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55833 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-Rc7qYCxYv4PmoVyxwIdw Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Josselin Poiret schreef op wo 08-06-2022 om 12:35 [+0200]: > > =C2=A0=C2=A0 * rename platform-linux-architecture to > > =C2=A0=C2=A0=C2=A0=C2=A0 '%platform-linux-architecture' > > =C2=A0=C2=A0=C2=A0=C2=A0 and define a wrapper 'platform-linux-architect= ure' displaying > > =C2=A0=C2=A0=C2=A0=C2=A0 a proper error message =E2=80=98unsupported ta= rget=E2=80=99 or such. > >=20 > > and > >=20 > > =C2=A0=C2=A0 * use "riscv64-linux-gnu" instead of "riscv64-unknown-linu= x-gnu" > > =C2=A0=C2=A0=C2=A0=C2=A0 (as expected by (guix platforms riscv)). >=20 > 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. The proposal was to modify platform-linux-architecture, which doesn't search for anything and doesn't return #false. It already throws an exception: > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > In procedure struct-vtable: Wrong type argument in position 1 > (expecting struct): #f The proposal is to make the error message clearer, by raising an exception ourselves instead of leaving it to struct-vtable. (My proposal might have been confusing due to the mention of lookup-platform-by-target-or-system which doesn't seem relevant on second sight?) Greetings, Maxime. --=-Rc7qYCxYv4PmoVyxwIdw 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+4iGRcl7gUCYqCewhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kHkAP4m4wrF7q24/IYCaAe9bB2YYYyO W9OZNwh4e5orKdPzTgD+KrDFwdrTQCYqsy2ruXPyhGZZeDqnOHiqku1B5bda3wc= =3gEg -----END PGP SIGNATURE----- --=-Rc7qYCxYv4PmoVyxwIdw--
bug-guix@HIDDEN
:bug#55833
; Package guix
.
Full text available.Received: (at 55833) by debbugs.gnu.org; 8 Jun 2022 10:35:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 08 06:35:46 2022 Received: from localhost ([127.0.0.1]:42552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nyt2Q-0007X4-8q for submit <at> 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 <dev@HIDDEN>) id 1nyt2N-0007Wu-Q9 for 55833 <at> 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== From: Josselin Poiret <dev@HIDDEN> To: Maxime Devos <maximedevos@HIDDEN>, Ekaitz Zarraga <ekaitz@HIDDEN>, 55833 <at> debbugs.gnu.org, othacehe@HIDDEN Subject: Re: bug#55833: cross-base error: wrong type argument in position 1 In-Reply-To: <eb961bdb61d352de2771a188441c5ded8364da96.camel@HIDDEN> References: <5qR8o5eSldiy3chXSPnE2qn1NtHm4FklEGx9APhm0xFagHrv8fZapayVEMvdtJ4Kqw6vTwbyu3rCyPc38oEbJq78X2XW7RwWoe3DzND_K_w=@elenq.tech> <eb961bdb61d352de2771a188441c5ded8364da96.camel@HIDDEN> Date: Wed, 08 Jun 2022 12:35:41 +0200 Message-ID: <877d5rwigy.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@HIDDEN smtp.mailfrom=dev@HIDDEN X-Spamd-Bar: / X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello Maxime and Ekaitz, Maxime Devos <maximedevos@HIDDEN> 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-arc [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 55833 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello Maxime and Ekaitz, Maxime Devos <maximedevos@HIDDEN> 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-arc [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Hello Maxime and Ekaitz, Maxime Devos <maximedevos@HIDDEN> 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
bug-guix@HIDDEN
:bug#55833
; Package guix
.
Full text available.Received: (at 55833) by debbugs.gnu.org; 7 Jun 2022 18:34:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 07 14:34:22 2022 Received: from localhost ([127.0.0.1]:41482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nye22-0001cW-6I for submit <at> debbugs.gnu.org; Tue, 07 Jun 2022 14:34:22 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:41726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maximedevos@HIDDEN>) id 1nye1z-0001cK-TY for 55833 <at> debbugs.gnu.org; Tue, 07 Jun 2022 14:34:20 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by andre.telenet-ops.be with bizsmtp id gJa7270034UW6Th01JaHU1; Tue, 07 Jun 2022 20:34:18 +0200 Message-ID: <eb961bdb61d352de2771a188441c5ded8364da96.camel@HIDDEN> Subject: Re: bug#55833: cross-base error: wrong type argument in position 1 From: Maxime Devos <maximedevos@HIDDEN> To: Ekaitz Zarraga <ekaitz@HIDDEN>, 55833 <at> debbugs.gnu.org, othacehe@HIDDEN Date: Tue, 07 Jun 2022 20:33:58 +0200 In-Reply-To: <5qR8o5eSldiy3chXSPnE2qn1NtHm4FklEGx9APhm0xFagHrv8fZapayVEMvdtJ4Kqw6vTwbyu3rCyPc38oEbJq78X2XW7RwWoe3DzND_K_w=@elenq.tech> References: <5qR8o5eSldiy3chXSPnE2qn1NtHm4FklEGx9APhm0xFagHrv8fZapayVEMvdtJ4Kqw6vTwbyu3rCyPc38oEbJq78X2XW7RwWoe3DzND_K_w=@elenq.tech> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-VowLpg0VS1CslNlngdju" 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=1654626858; bh=xJ8kc+8fAG2s/DeK+Taz+c73/Y3J4eBcywAHFUTW88Y=; h=Subject:From:To:Date:In-Reply-To:References; b=kNmyky9yfILycH50agPFDURXHdZe9G3rJjVOL6F6Kn8h30qvwHnpSfqeSNvFFfHm3 QzdW2Y1HpvSRljz86J4uoT6+Va+/2rojVYeFS4X+ptRWy5C27//cl+5BNtw6MeehRS 8ndpy+IYEdOEkWT6lgQ/FKGq/ZsG6tj9NeoDM6mr+3ONm+TUIrlxDdktk/Fw3oIj8H ZuW87RX3rRolA1HGxdFdA4zhG5mOQOU3NH3EGFd7+UP5yMSrr+KVd7b2hDIKALjCBZ llNaL0YIgQYdZPOxyDtwPjXQpML7gKq9kcTP72EWwwj7EOoavEnLR0QnPjVyWhGNw4 Lkud+vj7+WKtQ== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55833 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-VowLpg0VS1CslNlngdju Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ekaitz Zarraga schreef op di 07-06-2022 om 15:43 [+0000]: > I think the error was introduced in the commit b55310603f0df7d5ae02d47cb8= d4be58bf1d41ca but I can't really explain what's happening. I guess it's due to the introduction of lookup-platform-by-target-or-system 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)). Greetings, Maxime. --=-VowLpg0VS1CslNlngdju 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+4iGRcl7gUCYp+aFhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7qNgAP4y+z5kehiIbeO+hRvARMS1STbc yovf4rlfW6d2a7+CRwEA7svONvdr3HPsm+T6IB9CB18q7mxynGf8EfRc1h4gxgA= =SXjG -----END PGP SIGNATURE----- --=-VowLpg0VS1CslNlngdju--
bug-guix@HIDDEN
:bug#55833
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 7 Jun 2022 15:43:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 07 11:43:40 2022 Received: from localhost ([127.0.0.1]:41185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nybMh-0005GG-JP for submit <at> debbugs.gnu.org; Tue, 07 Jun 2022 11:43:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:34858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ekaitz@HIDDEN>) id 1nybMd-0005Fx-P4 for submit <at> debbugs.gnu.org; Tue, 07 Jun 2022 11:43:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ekaitz@HIDDEN>) id 1nybMc-0002rz-Vv for bug-guix@HIDDEN; Tue, 07 Jun 2022 11:43:27 -0400 Received: from mail-0201.mail-europe.com ([51.77.79.158]:43444) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ekaitz@HIDDEN>) id 1nybMa-0000h0-8I for bug-guix@HIDDEN; Tue, 07 Jun 2022 11:43:26 -0400 Date: Tue, 07 Jun 2022 15:43:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail2; t=1654616598; x=1654875798; bh=bYXaCuLZReYDbzmUBNB+VDd3BLDBRxG16uk58pKKT9g=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=gLRyUqqFJcJj/wcy43kc9IQbgYvGCP6MVPaBVhIuRseO5f29qWAREgLitdI1PKE8I zNXTg7Peq3tt+uDAIjxDtTRvzVaWykb/Rh8+KzrsmZ/3IFh54oXTMgdO7xc/UBtH6F tY7HZDXpFKJFdmeFj/5lfcwTyErAJEAsgWiM/ShRLDnhIF1anFjS+yhjEGlbtPu45n V/HFKSIq6lE6UAX3ybRbZZ/ZnDSam3al4aLRLoK2ZGLfRUjSE7Upkasx0h9OMEa0eC 1geXszyUSdV3svuS/KMB6ICpX2WlDzLFESzLhR2ymvkhvs49otDmUCCQJpb8hLKuGr 0TVP0QIi+5VSw== To: "bug-guix@HIDDEN" <bug-guix@HIDDEN>, "othacehe@HIDDEN" <othacehe@HIDDEN> From: Ekaitz Zarraga <ekaitz@HIDDEN> Subject: cross-base error: wrong type argument in position 1 Message-ID: <5qR8o5eSldiy3chXSPnE2qn1NtHm4FklEGx9APhm0xFagHrv8fZapayVEMvdtJ4Kqw6vTwbyu3rCyPc38oEbJq78X2XW7RwWoe3DzND_K_w=@elenq.tech> Feedback-ID: 3263582:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=51.77.79.158; envelope-from=ekaitz@HIDDEN; helo=mail-0201.mail-europe.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Reply-To: Ekaitz Zarraga <ekaitz@HIDDEN> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) Hi all, I'm experiencing the following error when I try to make something like (cro= ss-libc "riscv64-unknown-linux-gnu") and it broke in every single setup I a= lready have for months and was working properly. In fact, it works as expec= ted when using a time-machine to the past. ``` $ guix shell -m manifest.scm Backtrace: In guix/scripts/environment.scm: 953:13 19 (_) In guix/store.scm: 2168:25 18 (run-with-store #<store-connection 256.99 7f651e026870> = =E2=80=A6) In guix/scripts/environment.scm: 955:14 17 (_ _) In guix/profiles.scm: 627:3 16 (_ _) In srfi/srfi-1.scm: 586:29 15 (map1 (#<<manifest-entry> name: "gcc" version: "4.6.=E2=80= =A6> =E2=80=A6)) 586:29 14 (map1 (#<<manifest-entry> name: "binutils-cross-risc=E2=80= =A6> =E2=80=A6)) 586:17 13 (map1 (#<<manifest-entry> name: "glibc-cross-riscv64=E2=80= =A6> =E2=80=A6)) In guix/profiles.scm: 1889:19 12 (_ _) In guix/packages.scm: 1269:17 11 (supported-package? #<package glibc-cross-riscv64-unkn= =E2=80=A6> =E2=80=A6) In guix/memoization.scm: 101:0 10 (_ #<hash-table 7f650b8bae00 153/223> #<package glibc-= =E2=80=A6> =E2=80=A6) In guix/packages.scm: 1239:12 9 (_) In srfi/srfi-1.scm: 460:18 8 (fold #<procedure 7f650ba4b540 at guix/packages.scm:12= =E2=80=A6> =E2=80=A6) In guix/packages.scm: 1243:42 7 (_ _ ("x86_64-linux" "i686-linux")) In guix/memoization.scm: 101:0 6 (_ #<hash-table 7f650b8bae00 153/223> #<package linux-= =E2=80=A6> =E2=80=A6) In guix/packages.scm: 1247:37 5 (_) 1507:16 4 (package->bag _ _ _ #:graft? _) 1612:43 3 (thunk) In gnu/packages/cross-base.scm: 352:33 2 (loop (#:phases (modify-phases %standard-phases # =E2=80=A6) = =E2=80=A6) #) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure struct-vtable: Wrong type argument in position 1 (expecting st= ruct): #f ``` I think the error was introduced in the commit b55310603f0df7d5ae02d47cb8d4= be58bf1d41ca but I can't really explain what's happening. You can replicate this using the manifest from: https://github.com/ekaitz-z= arraga/gcc It won't work if you have guix updated, but it will if you use the time-mac= hine with the `channels.scm` file in the same repo. You can also try with smaller packages (the repo is a full gcc4.6, use it u= nder your own risk (: ), anything that uses `(cross-libc "riscv64-unknown-l= inux-gnu")` will trigger the error. I would fix this myself but I don't really understand what's going on. If a= nyone guides me a little I'm open to fix it myself. Thank you all! Ekaitz ElenQ Technology Ethical Innovation
Ekaitz Zarraga <ekaitz@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#55833
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.