From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#26907: guix import (really: SSL) broken in different ways Date: Sat, 13 May 2017 12:01:25 +0200 Message-ID: <20170513120125.6bc1b03f@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9TsE-0003uj-T3 for bug-guix@gnu.org; Sat, 13 May 2017 06:02:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9TsA-0006DV-0S for bug-guix@gnu.org; Sat, 13 May 2017 06:02:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39134) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d9Ts9-0006DP-Tz for bug-guix@gnu.org; Sat, 13 May 2017 06:02:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d9Ts9-0008Eb-Ng for bug-guix@gnu.org; Sat, 13 May 2017 06:02:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: 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) 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.org@gnu.org Sender: "bug-Guix" To: 26907@debbugs.gnu.org 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.