From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 OPfTGpPDe2I9AQEAbAwnHQ (envelope-from ) for ; Wed, 11 May 2022 16:09:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gO2pGpPDe2KWUQAA9RJhRA (envelope-from ) for ; Wed, 11 May 2022 16:09:23 +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 DE3F62ADD1 for ; Wed, 11 May 2022 16:09:21 +0200 (CEST) Received: from localhost ([::1]:49956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1non1k-0000Vt-H8 for larch@yhetil.org; Wed, 11 May 2022 10:09:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1non1T-0000VU-Cv for bug-guix@gnu.org; Wed, 11 May 2022 10:09:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44077) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1non1T-0003CZ-4F for bug-guix@gnu.org; Wed, 11 May 2022 10:09:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1non1S-0001jd-Sd for bug-guix@gnu.org; Wed, 11 May 2022 10:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55367: guix refresh fails. struct-vtable: Wrong type argument in position 1 (expecting struct) Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 11 May 2022 14:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55367 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Rostislav Svoboda Cc: 55367@debbugs.gnu.org Received: via spool by 55367-submit@debbugs.gnu.org id=B55367.16522781416655 (code B ref 55367); Wed, 11 May 2022 14:09:02 +0000 Received: (at 55367) by debbugs.gnu.org; 11 May 2022 14:09:01 +0000 Received: from localhost ([127.0.0.1]:37973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1non1R-0001jH-Ei for submit@debbugs.gnu.org; Wed, 11 May 2022 10:09:01 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:49034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1non1P-0001j6-AC for 55367@debbugs.gnu.org; Wed, 11 May 2022 10:09:00 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id VS8x2700A4UW6Th01S8x2g; Wed, 11 May 2022 16:08:57 +0200 Message-ID: <60cd5b74cb5d7c9b706c5af70bfb1edd2f6736fd.camel@telenet.be> From: Maxime Devos Date: Wed, 11 May 2022 16:08:52 +0200 In-Reply-To: <874k1wnpqw.fsf@gnu.org> References: <874k1wnpqw.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-5pjM9dUBw3hSnh5P7vOA" 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=1652278137; bh=Dmz/5vmqaNeziNsfRFWRz57v+9vXy7S2KGPWnnpPyLY=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=O5GlyFKME8hfCbIutmTBcOz+bOU4aFj+51e5zTt70ThCBzp6eKaI24tYFFAzd3ke+ jHW7akoikNteuhjmhrn3hU5aHgDT8MrApQOA3yBmIG48BOhQhyW6jLx1HyxRjWbE3a qZxc0OAc9Ng+iiPmAhrcF5UubKyy8DGQMDZxHISy7FCle5RjpcJxfdWM1ILFWJ7MwT cyqLTEsAg3NhhGSNlVi6rLWLVAUGZPvUxuARWONPPryYI7U6Pip+yOL/6HMoo5hi0l 2IkrHK9FL8SK06A/0CFL2caWyn1fe8zNJCs1TtsetryfcNvcwC4CqAGLfs+vbcd8e4 6GT8T3KrFAu/Q== 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=1652278162; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=Dmz/5vmqaNeziNsfRFWRz57v+9vXy7S2KGPWnnpPyLY=; b=ZLGmwBZobOBJ479QR7ei9FNBQhkUCCr2fx5uReRdnx3AcmQeRTRxZA4hu0Y9Z7y+If97+J oIwaTYQk0J6BWAPYasbKkFPwe1Ed1lG2jiUwoo93pvz2nHFxFtgjtFRQdfSSu64ZaYgtrE rbqMC4MJB4GZrzd9Rw8wQ8B8WVtwpAu/4I6B0x6daKd4Q8PQi3z/PPFUlxY7qTpwxUai4k Y+t3vFyPNsRUWKu5ykTlmM6kUJhnrBODgjljbzmL3sziZbtYkscAmMRqtnytccb7K/gCkz vIuVUhxjTthdSd2UPsvs8OL83xZFxJaV47E4Eg65YPGAOBkMOhVw9Ab6wbrWwA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652278162; a=rsa-sha256; cv=none; b=bZJycc3IPog3eTPY8cybmqUWxuEfv4lDDt7Tyl9YgEFJplwyBULAzwcClw86Nj3Z7NioEC 3MhvXUvfv2+t4HVZNwQVsjt/VtTISdEGRsx1JbLiDOdaAqH3zHltTPQNEHjevOHzoT+vD4 KihWQmUUG+5ObhZ+ucwgc1CCCImM9FFBJ53frYEF6Uyz+f/n5E+frPNDi1cQHUGZcVX0qM uiTXCMjt9OZzB2YMLQLIODico7VtWdUnq4RGLtxLOKNUXSebgPX20k7FiJuKsI6KXoI4Ua u3GVfmhFZ7Sv9mjc18WuiTO966zswG0UstxDES4WWxq8KJGH/resji1Vda1f4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=O5GlyFKM; 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: 3.09 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=O5GlyFKM; 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: DE3F62ADD1 X-Spam-Score: 3.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: g+KIyb+Us1+8 --=-5pjM9dUBw3hSnh5P7vOA Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op wo 11-05-2022 om 15:49 [+0200]: > The code at guix/gnu-maintenance.scm:188:20 checks a URI, so my guess is > that the source of that package is not a valid URI, and thus > =E2=80=98string->uri=E2=80=99 returns #false. It's "gogdownloader://world_of_goo/en3installer0". (string->uri "gogdownloader://world_of_goo/en3installer0") $1 =3D #f (string->uri "gogdownloader://worldofgoo/en3installer0") $2 =3D #f Apparently it doesn't like _ characters.=C2=A0 Makes some sense for http, https and ftp, but what about other protocols? Do the Internet RFCs say anything about this? Worse, looks like non-ASCII characters (that are valid DNS names, at least ignoring punycode encodings and such) aren't supported: (string->uri "https://www.=C3=A9toile.fr") $3 =3D #f though maybe that's due to the URI -- IRI distinction. Even then, not supporting IRIs (even if in a separate module or such) seems like quite a limitation. (What does Guile aim to implement -- the strict version of URIs, or the more general IRIs, sometimes just named URIs?) However, non-ASCII in 'path' is supported: (string->uri "https://etoile.fr/=C3=A9toile.html") #< scheme: https userinfo: #f host: "etoile.fr" port: #f path: "/=C3= =A9toile.html" query: #f fragment: #f> Seems a bit arbitrary to me ... I guess 'top-level-regexp' and 'domain-label-regexp' might need to be adjus= ted. Though there's a comment ;; See RFC 3986 #3.2.2 for comments on percent-encodings, IDNA (RFC ;; 3490), and non-ASCII host names. in the Guile module ... maybe we want IRIs instead? Greetings, Maxime. --=-5pjM9dUBw3hSnh5P7vOA 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+4iGRcl7gUCYnvDdBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7ibTAP9RcmSdDjrTNVzGLdh48q/oUpOp p6BeKiROCI7fX6W8oAD9HsmWFIDK5fCKTNZv5fX28LMaKsYQcSuJuTfFUVA6pQ4= =ou5d -----END PGP SIGNATURE----- --=-5pjM9dUBw3hSnh5P7vOA--