From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= Subject: guix build and HTTPS does not work, but guix download does Date: Wed, 26 Apr 2017 09:31:21 +0200 Message-ID: <20170426093121.72eb5bef@alma-ubu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3HQ7-0006uw-N3 for help-guix@gnu.org; Wed, 26 Apr 2017 03:31:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3HQ4-0003ET-Ik for help-guix@gnu.org; Wed, 26 Apr 2017 03:31:27 -0400 Received: from m4s11.vlinux.de ([83.151.27.109]:47054 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3HQ4-0003D5-Ce for help-guix@gnu.org; Wed, 26 Apr 2017 03:31:24 -0400 Received: from alma-ubu (ipbcc2dade.dynamic.kabel-deutschland.de [188.194.218.222]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 022D43F8DB for ; Wed, 26 Apr 2017 09:31:21 +0200 (CEST) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix Hi, I have a problem here that I don't understand. I'm trying to build Hartmund's Java branch an a Ubuntu/Guix system and I cannot download over HTTPS while doing guix build. But I can `guix download` and afterwards build that package. Here is what I'm doing: guix pull # I'm going into 'pure', because there is also guile installed in Ubuntu # and I don't want any conflicts: guix environment --pure guix --ad-hoc gnutls nss-certs git # This was suggested by Hartmund here: # https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00565.html export SSL_CERT_DIR=3D"$GUIX_ENVIRONMENT/etc/ssl/certs" export SSL_CERT_FILE=3D"$GUIX_ENVIRONMENT/etc/ssl/certs/ca-certificates.crt" export GIT_SSL_CAINFO=3D"$SSL_CERT_FILE" #I'm currently here: git status On branch WIP-maven Your branch is up-to-date with 'goebel/WIP-maven'. # Now let's get that build: bjoern@alma-ubu:~/guix/guix$ ./pre-inst-env guix build maven-for-bootstrap #@ build-started /gnu/store/mqi9b5m5r1swbaa62f9xq1hxyqif4p2v-jsr305-3.0.2-sour= ces.jar.drv - x86_64-linux /var/log/guix/drvs/mq//i9b5m5r1swbaa62f9xq1hxyqif4p2v-jsr305-3= .0.2-sources.jar.drv.bz2 Starting download of /gnu/store/138srkx9mm6513sl4sxvs3qqk5j3m1mp-jsr305-3.0.2-sources.jar From http://search.maven.org/remotecontent?filepath=3Dcom/google/code/findbugs/j= sr305/3.0.2/jsr305-3.0.2-sources.jar... following redirection to `https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/3.0.2/jsr30= 5-3.0.2-sources.jar'... ;;; Failed to autoload make-session in (gnutls): ;;; ERROR: missing interface for module (gnutls)=20 ERROR: In procedure module-lookup: Unbound variable: make-session [... trying mirrors, they yield a 404] But then: bjoern@alma-ubu:~/guix/guix$ ./pre-inst-env guix download http://search.maven.org/remotecontent?filepath=3Dcom/google/code/findbugs/j= sr305/3.0.2/jsr305-3.0.2-sources.jar Starting download of /tmp/guix-file.8fKudD From http://search.maven.org/remotecontent?filepath=3Dcom/google/code/findbugs/j= sr305/3.0.2/jsr305-3.0.2-sources.jar... following redirection to `https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/3.0.2/jsr30= 5-3.0.2-sources.jar'... ...-sources.jar 18KiB 406KiB/s 00:00 [####################] 100.0% /gnu/store/138srkx9mm6513sl4sxvs3qqk5j3m1mp-jsr305-3.0.2-sources.jar 0fq6mai14sg5rj1swxfc90xha0qnqwl4iiqxb5m8qw6hfbi8b7hw bjoern@alma-ubu:~/guix/guix$ ./pre-inst-env guix build java-jsr305 --> works !!! Diagnostic info: bjoern@alma-ubu:~/guix/guix$ set | grep GUI GUILE_LOAD_COMPILED_PATH=3D/gnu/store/y4jnnmrzl5ix7yx3wabgvlc3j6r7vxx6-prof= ile/lib/guile/2.0/site-ccache:/gnu/store/y4jnnmrzl5ix7yx3wabgvlc3j6r7vxx6-p= rofile/share/guile/site/2.0 GUILE_LOAD_PATH=3D/gnu/store/y4jnnmrzl5ix7yx3wabgvlc3j6r7vxx6-profile/share= /guile/site/2.0 GUIX_ENVIRONMENT=3D/gnu/store/y4jnnmrzl5ix7yx3wabgvlc3j6r7vxx6-profile GUIX_LOCPATH=3D/home/bjoern/.guix-profile/lib/locale guile -c '(use-modules (gnutls))'; echo $? 0 In that way I at least come step by step to my goal, but why does `guix build` fail to download? Bj=C3=B6rn