From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 21 21:55:45 2022 Received: (at submit) by debbugs.gnu.org; 22 Oct 2022 01:55:45 +0000 Received: from localhost ([127.0.0.1]:39364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1om3jl-0007mR-4S for submit@debbugs.gnu.org; Fri, 21 Oct 2022 21:55:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:44102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1om3ji-0007mJ-TJ for submit@debbugs.gnu.org; Fri, 21 Oct 2022 21:55:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1om3ji-0003vs-Iz for bug-guix@gnu.org; Fri, 21 Oct 2022 21:55:42 -0400 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1om3jg-0002jp-Cz for bug-guix@gnu.org; Fri, 21 Oct 2022 21:55:42 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 810A34E8A4 for ; Sat, 22 Oct 2022 03:55:37 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NFO8ZgZD2ZdT for ; Sat, 22 Oct 2022 03:55:36 +0200 (CEST) Date: Sat, 22 Oct 2022 01:55:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1666403736; bh=pZAzWRCoK0xAuHnYO6yOTG5gPxEuH5almFIYsrLZIKg=; h=Date:From:To:Subject; b=UrZ1ZfMlFWVP1gGMK6RvTAVNAxTioUdh9952A8fJIPq1quAlihiTiXCT617aODkho gebPS2pnZ6p6ez7Qxfm2GhB7mJIpKZ60yXBdYF+9IvySntcn64qwQ4bzGHR7UJMZpp HO7PD2WAViKctbJU2lcOWaXGQ3wJUQelQ9UY5LC7cqtaKPTWMv9MB+wNQUTa/B8MH6 uNpZQOmW1ydj5E9NaBSXzER3GaUk5g1yoaP7pQCZWGYpzFM5P6QwtCCqk+FVCfMaey 5dE/7uO6lcd1ZChtO1BQzWDAdQwidK8qpVKnnDVxLLJO5oU1cSZ3ApVYZca3OUlC2S vfCHHHE45D3MA== From: kiasoc5 To: bug-guix@gnu.org Subject: [bug] guix refresh nftables crashes Message-ID: <20221022015532.76d66c05@aria> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=178.21.23.139; envelope-from=kiasoc5@disroot.org; helo=knopi.disroot.org 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) % guix refresh nftables ``` Backtrace: 13 (primitive-load "/home/kiasoc5/.config/guix/current/=E2=80=A6") In guix/ui.scm: 2263:7 12 (run-guix . _) 2226:10 11 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 10 (with-exception-handler _ _ #:unwind? _ # _) 1752:10 9 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 656:37 8 (thunk) 2165:25 7 (run-with-store # =E2=80= =A6) In guix/scripts/refresh.scm: 567:14 6 (_ _) In srfi/srfi-1.scm: 634:9 5 (for-each # =E2=80=A6) In guix/scripts/refresh.scm: 367:10 4 (check-for-package-update # =E2=80=A6) In srfi/srfi-1.scm: 858:15 3 (any1 # =E2=80=A6) In guix/gnu-maintenance.scm: 834:10 2 (_ _ . _) 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 getaddrinfo: Servname not supported for ai_socktype ``` --=20 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 22 05:56:41 2022 Received: (at 58697) by debbugs.gnu.org; 22 Oct 2022 09:56:41 +0000 Received: from localhost ([127.0.0.1]:39726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omBFB-0007XV-9C for submit@debbugs.gnu.org; Sat, 22 Oct 2022 05:56:41 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:36504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omBF9-0007XM-KQ for 58697@debbugs.gnu.org; Sat, 22 Oct 2022 05:56:40 -0400 Received: from [IPV6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16] ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by xavier.telenet-ops.be with bizsmtp id axwc2800C20ykKC01xwc29; Sat, 22 Oct 2022 11:56:37 +0200 Message-ID: <13f90fdb-fdbe-2a3e-9e5f-2d15bccf10a0@telenet.be> Date: Sat, 22 Oct 2022 11:56:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: bug#58697: [bug] guix refresh nftables crashes To: kiasoc5 , 58697@debbugs.gnu.org References: <20221022015532.76d66c05@aria> Content-Language: en-US From: Maxime Devos In-Reply-To: <20221022015532.76d66c05@aria> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------e5PNh4OpgOL3Jwu0X4nfR600" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1666432597; bh=eZG1ndysBBoacVB2ej6BlZUYgfP3unIUaoptR2pSC4E=; h=Date:Subject:To:References:From:In-Reply-To; b=lsk6SZ2jhNNOLK1x3XIIdAKd0PeBfbMBvsK578p/51TvJjpO5ZZ1Cu/HquqJzqiy9 QqB0nzt7dYPmpO11Ayw3CdCA+uKelCOxZjLsZ29x7dSjICkmlFOEBgIK9ADJYqL53g mm02irHreG+QgHVK/UwAARHz1rAU+taWkSq58wvJFucCy4ce6d/hPTPij/7D9oWgbl ArDp0luszBtTgIcJN8SuosoUNrJF6mirjmdKWeCDh/ajlq3cvcx4fll7VP2Rye9BUx LD3o7D4S+TWkTCn38Ujw3W5M4vO2Yfbnifs0G8d+GBSf52jd9XftKQZj3hnpwBau6b n0sDeHWtRtvCA== X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 58697 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------e5PNh4OpgOL3Jwu0X4nfR600 Content-Type: multipart/mixed; boundary="------------tFuQ7xclE73CFF0d9K01EFyC"; protected-headers="v1" From: Maxime Devos To: kiasoc5 , 58697@debbugs.gnu.org Message-ID: <13f90fdb-fdbe-2a3e-9e5f-2d15bccf10a0@telenet.be> Subject: Re: bug#58697: [bug] guix refresh nftables crashes References: <20221022015532.76d66c05@aria> In-Reply-To: <20221022015532.76d66c05@aria> --------------tFuQ7xclE73CFF0d9K01EFyC Content-Type: multipart/mixed; boundary="------------as7Zdf4bqHqGEI0U2E3BF0RM" --------------as7Zdf4bqHqGEI0U2E3BF0RM Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 DQoNCk9uIDIyLTEwLTIwMjIgMDM6NTUsIGtpYXNvYzUgdmlhIEJ1ZyByZXBvcnRzIGZvciBH TlUgR3VpeCB3cm90ZToNCj4gJSBndWl4IHJlZnJlc2ggbmZ0YWJsZXMNCj4gWy4uLl0NCj4g aWNlLTkvYm9vdC05LnNjbToxNjg1OjE2OiBJbiBwcm9jZWR1cmUgcmFpc2UtZXhjZXB0aW9u Og0KPiBJbiBwcm9jZWR1cmUgZ2V0YWRkcmluZm86IFNlcnZuYW1lIG5vdCBzdXBwb3J0ZWQg Zm9yIGFpX3NvY2t0eXBlDQo+IGBgYA0KDQpJIGNhbiByZXByb2R1Y2UgdGhpcyBsb2NhbGx5 IGFuZCBkb24ndCBrbm93IHRoZSBjYXVzZS4NCg0KR3JlZXRpbmdzLA0KTWF4aW1lDQo= --------------as7Zdf4bqHqGEI0U2E3BF0RM Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc" Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2 ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc /gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4 LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0 k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D =3DOVqp -----END PGP PUBLIC KEY BLOCK----- --------------as7Zdf4bqHqGEI0U2E3BF0RM-- --------------tFuQ7xclE73CFF0d9K01EFyC-- --------------e5PNh4OpgOL3Jwu0X4nfR600 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCY1O+UwUDAAAAAAAKCRBJ4+4iGRcl7ikF AP9/i10I+c84kHjhieR7RCho2SThCT4sPW+UmrKTtrVVJwD/RSTcMXLY+xQkJMdNJCP2FF7vY6M8 DY/LsBt/f9Ja2go= =QNVV -----END PGP SIGNATURE----- --------------e5PNh4OpgOL3Jwu0X4nfR600-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 24 04:43:34 2022 Received: (at 58697) by debbugs.gnu.org; 24 Oct 2022 08:43:34 +0000 Received: from localhost ([127.0.0.1]:46994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omt3W-00036k-4P for submit@debbugs.gnu.org; Mon, 24 Oct 2022 04:43:34 -0400 Received: from mail.envs.net ([5.199.136.28]:36006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omt3R-00036V-3X for 58697@debbugs.gnu.org; Mon, 24 Oct 2022 04:43:33 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 8D09D38A0C3A; Mon, 24 Oct 2022 08:43:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1666601007; bh=SUdqv2AKn3V0AsgHx2L7QNYTy08lpBuqYrx0NbHMrTs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=H2DbXBGNqtZET1UkShE0S7Bh4l420+JPG9xM9w37nAuwhVePDVqiaB9Rfg9XpA7X/ GgxYCkPYh3Fef4o3dlYuGcckVJHSFEF51vVX0BuarGPayVfe3qZaDWJjB8haJbZtXe jDaDqzohKyi6IJCf9ptMa2qeAwynZxChX8xGkQygd+2A/wEQ9JT31DWp8OUe9tRAYE xOlhcmhSr7k111VDfWxkBHsssYexfH1guRfXHnwLWURr+BWop6bUJems3HMI091V9+ hXWs1nRfiD4VxswSPjnOwYlnYg9C3+Ey3RBtZDo0Y2ji7f5E7Syq5riphhZNoo1hl/ i29atjbCUts4c3t5nYceqkrWjp6xhl0s313BkmhRgNdlWfhZLexgu2BJhdu7dj33cP m8cbZGnaf0sWAo9lmle3/CcHmRWw2+ZD7gR3bfOQRDWmcow0b+i3RPjEMzLMXCzJCF vD6TQHwIyk4ZC9M7Th4K0znDfuPG+ZMHA7wAIxTM3iFhGenIgQ4b95arI2MFaAmu+L dQtDNggwdO+VvZDYpgPSd+5XmofTFslxuULPLRo1GyuO2cXm57ZYWeNE8MhCwQI99m jSW9FN4fWHQPFUu2GHEK28u4Vg6l6nbqNKt0oGm/cVibhIsr0HM61NXPyJ3op6VX93 VpfDHEOBnkXssaWbNHYqSHtM= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id jD4W3WpQ_N1e; Mon, 24 Oct 2022 08:43:23 +0000 (UTC) Received: from localhost (unknown [182.150.116.135]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Mon, 24 Oct 2022 08:43:23 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 2869f29e; Mon, 24 Oct 2022 08:44:02 +0000 (UTC) From: =?utf-8?B?5a6L5paH5q2m?= To: Maxime Devos Subject: Re: bug#58697: [bug] guix refresh nftables crashes References: <20221022015532.76d66c05@aria> <13f90fdb-fdbe-2a3e-9e5f-2d15bccf10a0@telenet.be> Date: Mon, 24 Oct 2022 16:44:02 +0800 In-Reply-To: <13f90fdb-fdbe-2a3e-9e5f-2d15bccf10a0@telenet.be> (Maxime Devos's message of "Sat, 22 Oct 2022 11:56:35 +0200") Message-ID: <87y1t5pq5p.fsf@envs.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58697 Cc: kiasoc5 , 58697@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Maxime Devos writes: > On 22-10-2022 03:55, kiasoc5 via Bug reports for GNU Guix wrote: >> % guix refresh nftables >> [...] >> ice-9/boot-9.scm:1685:16: In procedure raise-exception: >> In procedure getaddrinfo: Servname not supported for ai_socktype >> ``` > > I can reproduce this locally and don't know the cause. > It happens when the origin have both 'mirror://' and 'http://' urls, current the html updater check for any url match 'http' or 'https', but when updating it will just pick the first url, so when the first is 'mirror://' this error will come. This patch should fix it: --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-maintenance-Don-t-try-html-updater-on-mirror-url.patch >From e9dfdc3a2031c25043cc8b6f4b08656d05024c16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Mon, 24 Oct 2022 16:35:18 +0800 Subject: [PATCH] gnu-maintenance: Don't try html updater on 'mirror://' urls. This fixes . * guix/gnu-maintenance.scm (latest-html-updatable-release): Use the first http or https url for updating. --- guix/gnu-maintenance.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm index 10a6ec05f1..4cd501e492 100644 --- a/guix/gnu-maintenance.scm +++ b/guix/gnu-maintenance.scm @@ -806,10 +806,16 @@ (define http-url? (define (latest-html-updatable-release package) "Return the latest release of PACKAGE. Do that by crawling the HTML page of the directory containing its source tarball." + (define (http-url? url) + (match (string->uri url) + (#f #f) + (uri (let ((scheme (uri-scheme uri))) + (memq scheme '(http https)))))) (let* ((uri (string->uri (match (origin-uri (package-source package)) ((? string? url) url) - ((url _ ...) url)))) + ;; We need filter out possibly 'mirror://' urls. + ((? list? urls) (first (filter http-url? urls)))))) (custom (assoc-ref (package-properties package) 'release-monitoring-url)) (base (or custom -- 2.37.3 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 11 23:40:58 2023 Received: (at 58697-done) by debbugs.gnu.org; 12 Sep 2023 03:40:59 +0000 Received: from localhost ([127.0.0.1]:55585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfuGo-0005rD-A2 for submit@debbugs.gnu.org; Mon, 11 Sep 2023 23:40:58 -0400 Received: from mail-qv1-xf2d.google.com ([2607:f8b0:4864:20::f2d]:53559) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfuGi-0005qs-Ht for 58697-done@debbugs.gnu.org; Mon, 11 Sep 2023 23:40:56 -0400 Received: by mail-qv1-xf2d.google.com with SMTP id 6a1803df08f44-64aaf3c16c2so32774446d6.3 for <58697-done@debbugs.gnu.org>; Mon, 11 Sep 2023 20:40:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694490042; x=1695094842; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=FnIxIuR+gGuaZ4Ii6wld8oGVRIG+ZoJ5S9Hq47B0uvI=; b=hvk99vV2+NABwci+L/rliAiUn5ow8KLVFcG4C2YwY6wJCobNRPLpifFerPVAQBkv4Z BVcQ1dn2FibNR1/CHuRwhfa4rTCXzMuxF9+x935pQkRd139OxsCOlg9sJDvNoU6U2gjl nzCS09N1fO1h2bm2xozaheiPex7FJvADwoD6j9c9dQPxzPxnP0D/DoTUoT8JTsu3y3J+ 8/vVcuA9t7nOJVhIezoeGydsoIq0bxCOjgMBRiGpCIa7mW8ugZeUR/i6rm3XNXnihzff 0APfBZmiaDSCxh2SUSdPQD10keTErwJX2htPQf/d3nFR3Cc8YTLmgrdoOZHHT9QI3ZRp YEbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694490042; x=1695094842; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=FnIxIuR+gGuaZ4Ii6wld8oGVRIG+ZoJ5S9Hq47B0uvI=; b=vc/QQJaCAL18aTTuMVpWVCZ1COzTzzCa93ShRzv64RRPK74Fn/e6cIigA3XZlZ91BY CyJ6scFc666LGSK4knEHRQGnaRqLT1gPu7308bMAEG8ZTdoHIMKW775nyS1kHmDTOhLP g9VZPW9pBr80ZObIbTOavmjhhIygn8kaE5zkg6uePEauNCH6EX+LFGyGvVJ5GB+n3gKZ B+FZ9HwWcEI+R7BgbnpYyI0bYlTNZvmUvF91V0lJQXRac6xSVmndCh8t28enVxpMJD/2 LnllbH3BXLqgl+LMV9ukIfZaC2N6VmZWR7DQMDCj3YTKXIGu/C0zsTZCda/MlsSad24l IDww== X-Gm-Message-State: AOJu0YwfGUqrb9UJwC1uTU+A0B+c+vjrxDz5oGatbyiDW92KWH/ocSrm SLbKz7TTcGjdNKJLjhdEYJ21lmyt52x5xg== X-Google-Smtp-Source: AGHT+IHjARiNUrwwEiMG7V6ABi+eUdCxAs3jgiuPhXO40OT1al5LXURBVw4XvXp4cJmd+kvZu6vrEA== X-Received: by 2002:a0c:e287:0:b0:64a:4790:1737 with SMTP id r7-20020a0ce287000000b0064a47901737mr11066963qvl.12.1694490041957; Mon, 11 Sep 2023 20:40:41 -0700 (PDT) Received: from hurd (dsl-141-150.b2b2c.ca. [66.158.141.150]) by smtp.gmail.com with ESMTPSA id p15-20020a0ccb8f000000b0064f4ec872dfsm3379530qvk.0.2023.09.11.20.40.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 20:40:41 -0700 (PDT) From: Maxim Cournoyer To: =?utf-8?B?5a6L5paH5q2m?= Subject: Re: bug#58697: [bug] guix refresh nftables crashes References: <20221022015532.76d66c05@aria> <13f90fdb-fdbe-2a3e-9e5f-2d15bccf10a0@telenet.be> <87y1t5pq5p.fsf@envs.net> Date: Mon, 11 Sep 2023 23:40:39 -0400 In-Reply-To: <87y1t5pq5p.fsf@envs.net> (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Mon, 24 Oct 2022 16:44:02 +0800") Message-ID: <87a5tsxdmw.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) 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: 58697-done Cc: kiasoc5 , 58697-done@debbugs.gnu.org, Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, =E5=AE=8B=E6=96=87=E6=AD=A6 writes: > Maxime Devos writes: > >> On 22-10-2022 03:55, kiasoc5 via Bug reports for GNU Guix wrote: >>> % guix refresh nftables >>> [...] >>> ice-9/boot-9.scm:1685:16: In procedure raise-exception: >>> In procedure getaddrinfo: Servname not supported for ai_socktype >>> ``` >> >> I can reproduce this locally and don't know the cause. >> > > It happens when the origin have both 'mirror://' and 'http://' urls, > current the html updater check for any url match 'http' or 'https', but > when updating it will just pick the first url, so when the first is > 'mirror://' this error will come. I ended up with honoring the first element of the URI, since support for mirror:// URIs in (guix gnu-maintenance) was added recently (see commit bdaef69556f68595e5ec0db1710bf8ad208abe20, "gnu-maintenance: Allow mirror URLs to fallback to the generic HTML updater."). The fix is pushed with commit 2a7f031ca9. Let me know if anything is still causing problems! --=20 Thanks, Maxim From unknown Sat Jun 21 03:15:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 10 Oct 2023 11:24:21 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator