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 IHzMNyHGfGKTWwEAbAwnHQ (envelope-from ) for ; Thu, 12 May 2022 10:32:33 +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 2C7GNyHGfGIkPwEA9RJhRA (envelope-from ) for ; Thu, 12 May 2022 10:32:33 +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 7BD491F844 for ; Thu, 12 May 2022 10:32:33 +0200 (CEST) Received: from localhost ([::1]:39580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1np4FM-00015U-6L for larch@yhetil.org; Thu, 12 May 2022 04:32:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np42I-0004cl-OX for bug-guix@gnu.org; Thu, 12 May 2022 04:19:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1np42I-00041k-Fp for bug-guix@gnu.org; Thu, 12 May 2022 04:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1np42I-0005kP-B4 for bug-guix@gnu.org; Thu, 12 May 2022 04:19: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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 12 May 2022 08:19: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: Maxime Devos Cc: 55367@debbugs.gnu.org, Rostislav Svoboda Received: via spool by 55367-submit@debbugs.gnu.org id=B55367.165234351622041 (code B ref 55367); Thu, 12 May 2022 08:19:02 +0000 Received: (at 55367) by debbugs.gnu.org; 12 May 2022 08:18:36 +0000 Received: from localhost ([127.0.0.1]:39497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1np41r-0005jR-KP for submit@debbugs.gnu.org; Thu, 12 May 2022 04:18:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1np41p-0005j5-Cl for 55367@debbugs.gnu.org; Thu, 12 May 2022 04:18:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59444) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np41j-00040d-IY; Thu, 12 May 2022 04:18:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=wzXhuGv7+kdkEfrtzZOex+otHKjsr6lhtWMUgZTCb/U=; b=GMfWBCA3/ph+2raT/bsv o3znoxpiKWgyjlaetjwoXfJbJ8Z/b6F4Qc8fPKFyvIQnqrVF6wEqkkkoqxMEF7iSqeh+aokWkJE56 HvJSruQivFV42kow3jb/4NFHQa1P40V01WEC01/+bkMbmIz7ANEKT+nxiCcTTkEmw2kq0F+uL4Iue o+3S+zL/+WJapFBKbTQI2jkDDPOZEzWabb4tlUetuRSno7RvHI91CPmlwjV2tKira9WI1zVmq4GRh k8sRfEVBWL9jI4xWhNhPEc5qAGSBRsdbsAsRDIpEFsuCUoS/ox1rzsDBrJXKtdoQKkq1V9h9uWTqj 1xi1Ngc+f2NaLA==; Received: from [193.50.110.244] (port=52704 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np41j-0004x3-4Y; Thu, 12 May 2022 04:18:27 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <874k1wnpqw.fsf@gnu.org> <60cd5b74cb5d7c9b706c5af70bfb1edd2f6736fd.camel@telenet.be> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 23 =?UTF-8?Q?Flor=C3=A9al?= an 230 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 12 May 2022 10:18:24 +0200 In-Reply-To: <60cd5b74cb5d7c9b706c5af70bfb1edd2f6736fd.camel@telenet.be> (Maxime Devos's message of "Wed, 11 May 2022 16:08:52 +0200") Message-ID: <87a6bnmaen.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1652344353; 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: 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=wzXhuGv7+kdkEfrtzZOex+otHKjsr6lhtWMUgZTCb/U=; b=hCZczRmZoYkpgKnNST6FJmwyHFTbugbCdFi2TunLZR1J6UM1UqAMFnQ73K709iGJheE0jr 6lwnrXKvrZAB19vAJ8YqcZVsFiBWVtoSUoimYc337kaf1HtaXF16ueEKUvimUNdXTZ09My s5LsBLzWz7AunkMb/mPwZucy2Np5pNHvhCRDYBXBZ2U3u2W+MFxOpNzrtQDL1IFNzh58FC gC3gp3v2UaRAKjHhdJSAEBll1iY9LeQ15xY768/OnzOHA220wKIt4iAde4nxl0B9umlWz2 K+tJmk0CM3+BbVFIBbEZ8rHDesbAOqkRC2NB5aoR1NlinmEHVX30Fhtn6kyS7Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652344353; a=rsa-sha256; cv=none; b=daOCWBBjHB0jpiozry7nrE8CPIn9qmVGfISJC1EIE3hG9Tt8pWKMKU853/BpvgTfRvy+H6 KU1ZFcfHaIN0fMD16BR6V8n3oVKmerhAmL27Qc+jJQbN2AmuaB/3mmejJ5EV8IgnR9w9+s 3/sG3wnxmW8dnsiyMKpBqb+WnN2jfEWp0djK8Nm8FZZOfnPj+mWZJfmwLsrkpeh4y1ITS5 IFRAat7/Iq13CYVolUs59GSW56fj4GVi3wndBezJuOtKgd3eL1n98FUSZwE4yighr0p/Nh ++k3F0J4BHWmSNeQpu0dAugh2E9GQVgDJWWXlAs1hjonRyMnTUmHypET0HyCZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=GMfWBCA3; 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: -5.01 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=GMfWBCA3; 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: 7BD491F844 X-Spam-Score: -5.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7pdRC+kPhjr2 Hi, Maxime Devos skribis: > 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 The second one works for me: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> (string->uri "gogdownloader://worldofgoo/en3installer= 0") $7 =3D #< scheme: gogdownloader userinfo: #f host: "worldofgoo" port: = #f path: "/en3installer0" query: #f fragment: #f> --8<---------------cut here---------------end--------------->8--- The first one has an invalid authority part, which doesn=E2=80=99t match =E2=80=98authority-regexp=E2=80=99 (underscores are not permitted; I believ= e (web uri) is correct here.) > 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 Right; I think =E2=80=98string->uri=E2=80=99 expects a Punycode-encoded str= ing, which is probably correct per RFC 3986. That said, it=E2=80=99s beyond this scope of this bug report. To me, the conclusion is that the package has a invalid URI, so it=E2=80=99= s not a Guix bug strictly speaking. However, we could change gnu-maintenance.scm so that it deals with invalid URIs gracefully. Thoughts? Ludo=E2=80=99.