From unknown Tue Jun 17 20:21:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#26907 <26907@debbugs.gnu.org> To: bug#26907 <26907@debbugs.gnu.org> Subject: Status: guix import (really: SSL) broken in different ways Reply-To: bug#26907 <26907@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:21:05 +0000 retitle 26907 guix import (really: SSL) broken in different ways reassign 26907 guix submitter 26907 Danny Milosavljevic severity 26907 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat May 13 06:01:46 2017 Received: (at submit) by debbugs.gnu.org; 13 May 2017 10:01:46 +0000 Received: from localhost ([127.0.0.1]:41811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9Trt-0008E5-Tm for submit@debbugs.gnu.org; Sat, 13 May 2017 06:01:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9Trt-0008Dt-3G for submit@debbugs.gnu.org; Sat, 13 May 2017 06:01:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9Trm-00063U-UQ for submit@debbugs.gnu.org; Sat, 13 May 2017 06:01:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56362) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d9Trm-00063K-RS for submit@debbugs.gnu.org; Sat, 13 May 2017 06:01:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9Trl-0003rB-Gl for bug-guix@gnu.org; Sat, 13 May 2017 06:01:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9Trg-00060U-LV for bug-guix@gnu.org; Sat, 13 May 2017 06:01:37 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:50636) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d9Trg-0005zm-FV for bug-guix@gnu.org; Sat, 13 May 2017 06:01:32 -0400 Received: from localhost (178.113.190.188.wireless.dyn.drei.com [178.113.190.188]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 1CC201CA0156 for ; Sat, 13 May 2017 12:01:30 +0200 (CEST) Date: Sat, 13 May 2017 12:01:25 +0200 From: Danny Milosavljevic To: Subject: guix import (really: SSL) broken in different ways Message-ID: <20170513120125.6bc1b03f@scratchpost.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) So after I installed the huge update from master, it seems that guix import= doesn't work anymore (the cwd is a guix master checkout): (1) Normal: $ ./pre-inst-env guix import pypi flask-migrate ... In guix/import/pypi.scm: 278:17 5 (pypi->guix-package _) In ice-9/boot-9.scm: 837:9 4 (catch srfi-34 # ?) In guix/import/json.scm: 32:17 3 (_) In guix/http-client.scm: 239:25 2 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ # ?) In guix/build/download.scm: 520:4 1 (open-connection-for-uri _ #:timeout _ # _) 360:0 0 (tls-wrap # "pypi.python.org" # ?) guix/build/download.scm:360:0: In procedure tls-wrap: guix/build/download.scm:360:0: In procedure module-lookup: Unbound variable= : make-session (2) In an environment: $ guix environment guix --fallback --pure $ ./pre-inst-env guix import pypi flask-migrate ... In guix/import/pypi.scm: 278:17 5 (pypi->guix-package _) In ice-9/boot-9.scm: 837:9 4 (catch srfi-34 # ?) In guix/import/json.scm: 32:17 3 (_) In guix/http-client.scm: 239:25 2 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ # ?) In guix/build/download.scm: 520:4 1 (open-connection-for-uri _ #:timeout _ # _) 417:6 0 (tls-wrap # _ # _) guix/build/download.scm:417:6: In procedure tls-wrap: guix/build/download.scm:417:6: X.509 certificate of 'pypi.python.org' could= not be verified: signer-not-found invalid (2b) In an environment with guile-json: $ guix environment guix --fallback --pure --ad-hoc guile-json $ ./pre-inst-env guix import pypi flask-migrate ... ERROR: In procedure scm-error: ERROR: no code for module (json) (3) In a container: $ guix environment -C guix --fallback --pure --ad-hoc guile-json $ ./pre-inst-env guix import pypi flask-migrate ... In guix/import/pypi.scm: 278:17 7 (pypi->guix-package _) In ice-9/boot-9.scm: 837:9 6 (catch srfi-34 # ?) In guix/import/json.scm: 32:17 5 (_) In guix/http-client.scm: 239:25 4 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ # ?) In guix/build/download.scm: 520:4 3 (open-connection-for-uri _ #:timeout _ # _) 521:14 2 (thunk) 460:7 1 (open-socket-for-uri _ #:timeout _) In unknown file: 0 (getaddrinfo "pypi.python.org" "https" 32 # # ?) ERROR: In procedure getaddrinfo: ERROR: In procedure getaddrinfo: Servname not supported for ai_socktype (4) For reference, the guix-pulled version works: $ cd / $ guix import pypi flask-migrate following redirection to `https://pypi.python.org/pypi/Flask-Migrate/json'.= .. Starting download of /tmp/guix-file.lHkpNj =46rom https://pypi.python.org/packages/a9/fe/559c313679b08f67efb9fba6f01debb= c9ea3a488539d03a5a38371351456/Flask-Migrate-2.0.3.tar.gz... ...-2.0.3.tar.gz 15KiB 170KiB/s 00:00 [####################] 1= 00.0% (package ... Maybe I need to logout and login again? Will test that later - but right n= ow I just wanted to log the errors. From debbugs-submit-bounces@debbugs.gnu.org Sat May 13 10:37:49 2017 Received: (at 26907) by debbugs.gnu.org; 13 May 2017 14:37:49 +0000 Received: from localhost ([127.0.0.1]:43088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9YB3-0008Nj-77 for submit@debbugs.gnu.org; Sat, 13 May 2017 10:37:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9YB1-0008NW-Ps for 26907@debbugs.gnu.org; Sat, 13 May 2017 10:37:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9YAt-00035W-Fh for 26907@debbugs.gnu.org; Sat, 13 May 2017 10:37:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9YAt-00035G-Bo; Sat, 13 May 2017 10:37:39 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:41430 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d9YAs-0008RJ-Hf; Sat, 13 May 2017 10:37:39 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: bug#26907: guix import (really: SSL) broken in different ways References: <20170513120125.6bc1b03f@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 =?utf-8?Q?Flor=C3=A9al?= an 225 de la =?utf-8?Q?R?= =?utf-8?Q?=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-unknown-linux-gnu Date: Sat, 13 May 2017 16:37:36 +0200 In-Reply-To: <20170513120125.6bc1b03f@scratchpost.org> (Danny Milosavljevic's message of "Sat, 13 May 2017 12:01:25 +0200") Message-ID: <87ziegzutr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26907 Cc: 26907@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: -5.0 (-----) Hi Danny, Danny Milosavljevic skribis: > So after I installed the huge update from master, it seems that guix impo= rt doesn't work anymore (the cwd is a guix master checkout): > > (1) Normal: > > $ ./pre-inst-env guix import pypi flask-migrate > ... > In guix/import/pypi.scm: > 278:17 5 (pypi->guix-package _) > In ice-9/boot-9.scm: > 837:9 4 (catch srfi-34 # ?) > In guix/import/json.scm: > 32:17 3 (_) > In guix/http-client.scm: > 239:25 2 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ # ?) > In guix/build/download.scm: > 520:4 1 (open-connection-for-uri _ #:timeout _ # _) > 360:0 0 (tls-wrap # "pypi.python.org" # ?) > > guix/build/download.scm:360:0: In procedure tls-wrap: > guix/build/download.scm:360:0: In procedure module-lookup: Unbound variab= le: make-session GnuTLS is not installed. It=E2=80=99s now a mandatory dependency and ./configure checks for it. Note that if you use Guile 2.2, you need to install =E2=80=9Cguile2.2-gnutl= s=E2=80=9D rather than just =E2=80=9Cgnutls=E2=80=9D. > (2) In an environment: > > $ guix environment guix --fallback --pure > $ ./pre-inst-env guix import pypi flask-migrate > ... > In guix/import/pypi.scm: > 278:17 5 (pypi->guix-package _) > In ice-9/boot-9.scm: > 837:9 4 (catch srfi-34 # ?) > In guix/import/json.scm: > 32:17 3 (_) > In guix/http-client.scm: > 239:25 2 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ # ?) > In guix/build/download.scm: > 520:4 1 (open-connection-for-uri _ #:timeout _ # _) > 417:6 0 (tls-wrap # _ # _) > > guix/build/download.scm:417:6: In procedure tls-wrap: > guix/build/download.scm:417:6: X.509 certificate of 'pypi.python.org' cou= ld not be verified: > signer-not-found > invalid See =E2=80=9CX.509 Certificates=E2=80=9D in the manual. :-) > (2b) In an environment with guile-json: > > $ guix environment guix --fallback --pure --ad-hoc guile-json > $ ./pre-inst-env guix import pypi flask-migrate > ... > > ERROR: In procedure scm-error: > ERROR: no code for module (json) If you use Guile 2.2, you need =E2=80=9Cguile2.2-json=E2=80=9D, not =E2=80= =9Cguile-json=E2=80=9D. > (3) In a container: > > $ guix environment -C guix --fallback --pure --ad-hoc guile-json > $ ./pre-inst-env guix import pypi flask-migrate > ... > In guix/import/pypi.scm: > 278:17 7 (pypi->guix-package _) > In ice-9/boot-9.scm: > 837:9 6 (catch srfi-34 # ?) > In guix/import/json.scm: > 32:17 5 (_) > In guix/http-client.scm: > 239:25 4 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ # ?) > In guix/build/download.scm: > 520:4 3 (open-connection-for-uri _ #:timeout _ # _) > 521:14 2 (thunk) > 460:7 1 (open-socket-for-uri _ #:timeout _) > In unknown file: > 0 (getaddrinfo "pypi.python.org" "https" 32 # # ?) > > ERROR: In procedure getaddrinfo: > ERROR: In procedure getaddrinfo: Servname not supported for ai_socktype In addition to -C, you need -N for network access. > (4) For reference, the guix-pulled version works: > > $ cd / > $ guix import pypi flask-migrate > following redirection to `https://pypi.python.org/pypi/Flask-Migrate/json= '... > > Starting download of /tmp/guix-file.lHkpNj > From https://pypi.python.org/packages/a9/fe/559c313679b08f67efb9fba6f01de= bbc9ea3a488539d03a5a38371351456/Flask-Migrate-2.0.3.tar.gz... > ...-2.0.3.tar.gz 15KiB 170KiB/s 00:00 [####################]= 100.0% > (package > ... > > Maybe I need to logout and login again? Will test that later - but right= now I just wanted to log the errors. I think you stumbled upon a mixture of poor error reporting, misconfiguration, and overall a situation where there are many ways to shoot oneself in the foot. HTH! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 11 00:16:28 2022 Received: (at 26907-done) by debbugs.gnu.org; 11 Jan 2022 05:16:28 +0000 Received: from localhost ([127.0.0.1]:53862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n79WG-0004ab-5c for submit@debbugs.gnu.org; Tue, 11 Jan 2022 00:16:28 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:41017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n79W9-0004aJ-VL for 26907-done@debbugs.gnu.org; Tue, 11 Jan 2022 00:16:27 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 09A793200A47; Tue, 11 Jan 2022 00:16:15 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 11 Jan 2022 00:16:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=JDAks2cvAq0zf/RjLpFZU0LK jc+6m7+dHX0jYOVAU4k=; b=VgG1SG4j5LS2+VCxLcuLpSKbbo+k3wloRNlT0d7l uYbEOh6FNtRzkR8gYW6FfsdUYaeMWZ5sbZFGV3HNDD+iF/oL/8cDVQ2xv86m6tHN JNGpLGRHfAMSKnPQAx0cWMr40QsSGPG3M0kvnAt6e34cuUMNYtUVjcGYkYseLnP9 CVQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=JDAks2 cvAq0zf/RjLpFZU0LKjc+6m7+dHX0jYOVAU4k=; b=OwryEvQVc2OSv8u6jozPrY 0pd1ja0tAUvY2pHM9DToumjHfToDbtE+NBgILZ3l0iurywJoWD/Aa2D/Bk+W48W8 sgcoe6pRQv+X3vO1Fsrf9gPJinJU2dh4FsSuYEvwJlihqJvEMOTFK8DmXk5WJ6pm fstl7SBvu67IiPROIflP1+YAL5kjyUESoD/C3kB0Le0w2KVJgbUBDARpSaHqFpQQ HJE3MGeqWeQ8DX6gSyX2GXNe8QYqDvmOEjsbUV1gTHIpCfWO7rMMKN6ygcqytUFD BhkraRHcPA9NC6/6o1j14bBfpq4GgVCDrYUyDmiA/xB2MhJDJpMlwcCTBW1VvF8g == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudehvddgkedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeeukeektdffvddtudegjeegtdevhfeufeeivdejiedtieegtdevjedvjeehffev gfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvg hosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 11 Jan 2022 00:16:14 -0500 (EST) Date: Tue, 11 Jan 2022 00:16:11 -0500 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#26907: guix import (really: SSL) broken in different ways Message-ID: References: <20170513120125.6bc1b03f@scratchpost.org> <87ziegzutr.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ziegzutr.fsf@gnu.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26907-done Cc: Danny Milosavljevic , 26907-done@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.7 (-) The pypi importer does currently work so I'm closing this old bug. From unknown Tue Jun 17 20:21:05 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, 08 Feb 2022 12:24:04 +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