From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thiago Jung Bauermann via Bug reports for GNU Guix Newsgroups: gmane.comp.gnu.guix.bugs,gmane.lisp.guile.devel Subject: bug#56005: [bug#56867] [PATCH] download: Do not wrap TLS port on GnuTLS >= 3.7.7. Date: Thu, 04 Aug 2022 11:46:47 -0300 Message-ID: <87v8r86p7s.fsf@kolabnow.com> References: <20220801090749.11655-1-ludo@gnu.org> <87pmhgks4j.fsf@gnu.org> Reply-To: Thiago Jung Bauermann Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18338"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56005@debbugs.gnu.org, 56867@debbugs.gnu.org, guile-devel@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-X-From: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Thu Aug 04 16:48:07 2022 Return-path: Envelope-to: gcggb-bug-guix@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oJc8t-0004ag-99 for gcggb-bug-guix@m.gmane-mx.org; Thu, 04 Aug 2022 16:48:07 +0200 Original-Received: from localhost ([::1]:49370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJc8r-0007rJ-OM for gcggb-bug-guix@m.gmane-mx.org; Thu, 04 Aug 2022 10:48:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJc8o-0007ms-Fc for bug-guix@gnu.org; Thu, 04 Aug 2022 10:48:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36327) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJc8o-0001Ji-6L for bug-guix@gnu.org; Thu, 04 Aug 2022 10:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJc8o-0004K9-35 for bug-guix@gnu.org; Thu, 04 Aug 2022 10:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thiago Jung Bauermann Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 04 Aug 2022 14:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56005 X-GNU-PR-Package: guix Original-Received: via spool by 56005-submit@debbugs.gnu.org id=B56005.165962442416451 (code B ref 56005); Thu, 04 Aug 2022 14:48:02 +0000 Original-Received: (at 56005) by debbugs.gnu.org; 4 Aug 2022 14:47:04 +0000 Original-Received: from localhost ([127.0.0.1]:54307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJc7s-0004HF-2j for submit@debbugs.gnu.org; Thu, 04 Aug 2022 10:47:04 -0400 Original-Received: from mx.kolabnow.com ([212.103.80.155]:43026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJc7n-0004Gg-Dj; Thu, 04 Aug 2022 10:47:03 -0400 Original-Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id A4EE4113F; Thu, 4 Aug 2022 16:46:53 +0200 (CEST) Authentication-Results: ext-mx-out002.mykolab.com (amavisd-new); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:in-reply-to:subject:subject:from:from :references:received:received:received; s=dkim20160331; t= 1659624413; x=1661438814; bh=EC4BgR3lwgUGxyeP8hTpn2p3G9+cSMQufcD Mf5MNVlg=; b=baw3HWdxPu8J5rqXYEaLiye2QXSCjOXiuCS1qhCyHYGnsm4Z254 1UWVAPpAS4vYgJrXPRAr4bxZWzo9z8+qtwCEUgwQyKDphgGmgvMwwd7WpDEc5hEQ ax1KaLQQNmh9eIuA0HrOaWhV9tCKtkpkMFckbPqZPhWyvdvcGrfmKFfuIyU4FYNm KPuDmbOAodMPWgB3Yl9Vg1beZTcz4xCIqnZfllt9TDzpk3SscfvGnfkTCf11zGkK mOfb8dDeI4WfaTK16H5MjtGbK5d2WIbfWyzP+8FhJlcsXMqm0MuKORDYmT7e+kKO hLOm7/LNYzh8rhocQR0q57SBBAGc01GTBBR1z11Lyp31qgg2htad/Z0jIgSq3ZV1 HdGtU86hPCfJGA3/iGeDe82K5F+C8XeqIZHOfprCO9P8pyTX5sEwDmmZA1tkwmbc J0etjNqdHhLd7Z1sDRftWp6ntE8okU+tHVgcx7FCWFjypqsp9cseKSMNwaOXZFd3 K/Q6xwGpHeMUWS7SJURLwneIQ6H5YBsTaBXxGdY8OtFJ2 X-Virus-Scanned: amavisd-new at mykolab.com Original-Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G9b8L7OQkdJv; Thu, 4 Aug 2022 16:46:53 +0200 (CEST) Original-Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by mx.kolabnow.com (Postfix) with ESMTPS id 765DD49E; Thu, 4 Aug 2022 16:46:52 +0200 (CEST) Original-Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx003.mykolab.com (Postfix) with ESMTPS id 31AFD33FF; Thu, 4 Aug 2022 16:46:52 +0200 (CEST) In-reply-to: <87pmhgks4j.fsf@gnu.org> 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+gcggb-bug-guix=m.gmane-mx.org@gnu.org Original-Sender: "bug-Guix" Xref: news.gmane.io gmane.comp.gnu.guix.bugs:31931 gmane.lisp.guile.devel:21293 Archived-At: Hello Ludo, I don't have any comment/insight on what you're doing in general, except about one of your points below: Ludovic Court=C3=A8s writes: > First, I noticed that GnuTLS doesn=E2=80=99t implement =E2=80=98write_wai= t_fd=E2=80=99, only > =E2=80=98read_wait_fd=E2=80=99 (not sure how problematic that is): > > scheme@(guile-user)> ,use(web client) > scheme@(guile-user)> (define p (open-socket-for-uri "https://guix.gnu.org= ")) > scheme@(guile-user)> ((@@ (ice-9 suspendable-ports) wait-for-writable) p) > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > In procedure write_wait_fd: unimplemented > > Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. > scheme@(guile-user) [1]> ,q > scheme@(guile-user)> ,use(gnutls) > scheme@(guile-user)> (gnutls-version) > $1 =3D "3.7.7" > scheme@(guile-user)> ((@@ (ice-9 suspendable-ports) wait-for-readable) p) > $2 =3D 1 This occasionally causes problems when fetching substitutes, as can be seen in bug #56005 (during substitution: write_wait_fd: unimplemented). --=20 Thanks Thiago