From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WAg0Jend/2RH1AAA9RJhRA:P1 (envelope-from ) for ; Tue, 12 Sep 2023 05:41:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WAg0Jend/2RH1AAA9RJhRA (envelope-from ) for ; Tue, 12 Sep 2023 05:41: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 2993967C07 for ; Tue, 12 Sep 2023 05:41:29 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=hvk99vV2; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694490089; 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-to: 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=FnIxIuR+gGuaZ4Ii6wld8oGVRIG+ZoJ5S9Hq47B0uvI=; b=MHHL95ecrzNu5Sm6TkFr+ymOG9WflEARCOmuz8UweUB+Jhi1iFd5C+iTh1xNDoZndM8aB5 HayxHpiHG740vMarum4Qo0nhiOijpW12C8vaHUtn7xoakYrIkQTVNN4+JY4U10q4rAFs16 r/MdK3MA/FfSdmJyzxXGzsD7pP8cHr0iY6Cd4zdKNNMW/VQ6K8E7fKaYGXvrQUCUHy296Z dRDQXwhWJcA7PDsrTsLfg5zrNhRsIXNqDqlXxfsZ50Q+p/Gsi/hJTaQGPrJJj8Fi/aE3M7 mWQEMcGQV5BF+UlPbsKQgU5yRNKFEUCzlu8c3FNsoC0s6V7SShmNt/QPHidptQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=hvk99vV2; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694490089; a=rsa-sha256; cv=none; b=dVBt++H94awXGEQwNFKJpFxgZHZ+5chCjdG7v6RP78kbWVdIDVOoFS7HTcUDLAV1FfgJMz lSGcozzish1vyQ+9YAtaco7Iu5WkQrYCmYk7NPDKLtFgb+0JGL+J1QGtWeVO+ySqs1nqxU Yc4c+jeU6HPDut5OTYiIQrAekzB/jQhHvvCkwb5BQOZ4oEqcaJPcoa3zHljdEG53N4JUG0 WMcjTHQpKEEe4GE5HJyu57R7HyiOWrB7LwghQxqiMtsQXRE3H/OrBPwCeiVbXETeg2j1pi nRkIgYsziJaQiGrKrJNcTKzW1zV2sU8+UA6y0+X5UL9cJEXzs2/TBCzEzqrNLg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfuGw-0000f8-Ov; Mon, 11 Sep 2023 23:41:06 -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 1qfuGo-0000ea-W6 for bug-guix@gnu.org; Mon, 11 Sep 2023 23:40:59 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qfuGo-0007ej-N4 for bug-guix@gnu.org; Mon, 11 Sep 2023 23:40:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qfuGt-0005rh-0l for bug-guix@gnu.org; Mon, 11 Sep 2023 23:41:03 -0400 Subject: bug#58697: [bug] guix refresh nftables crashes Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Tue, 12 Sep 2023 03:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 58697 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Cc: kiasoc5 , 58697-done@debbugs.gnu.org, Maxime Devos Mail-Followup-To: 58697@debbugs.gnu.org, maxim.cournoyer@gmail.com, kiasoc5@disroot.org Received: via spool by 58697-done@debbugs.gnu.org id=D58697.169449005922523 (code D ref 58697); Tue, 12 Sep 2023 03:41:02 +0000 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 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?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?="'s 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-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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -5.12 X-Spam-Score: -5.12 X-Migadu-Queue-Id: 2993967C07 X-TUID: hN+ZuyuqP6sI 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