all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
To: help-guix <help-guix@gnu.org>
Subject: guix build and HTTPS does not work, but guix download does
Date: Wed, 26 Apr 2017 09:31:21 +0200	[thread overview]
Message-ID: <20170426093121.72eb5bef@alma-ubu> (raw)

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="$GUIX_ENVIRONMENT/etc/ssl/certs"
export
SSL_CERT_FILE="$GUIX_ENVIRONMENT/etc/ssl/certs/ca-certificates.crt"
export GIT_SSL_CAINFO="$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-sources.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=com/google/code/findbugs/jsr305/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/jsr305-3.0.2-sources.jar'... ;;;
Failed to autoload make-session in (gnutls):
;;; ERROR: missing interface for module (gnutls) 
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=com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2-sources.jar

Starting download of /tmp/guix-file.8fKudD
From
http://search.maven.org/remotecontent?filepath=com/google/code/findbugs/jsr305/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/jsr305-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=/gnu/store/y4jnnmrzl5ix7yx3wabgvlc3j6r7vxx6-profile/lib/guile/2.0/site-ccache:/gnu/store/y4jnnmrzl5ix7yx3wabgvlc3j6r7vxx6-profile/share/guile/site/2.0
GUILE_LOAD_PATH=/gnu/store/y4jnnmrzl5ix7yx3wabgvlc3j6r7vxx6-profile/share/guile/site/2.0
GUIX_ENVIRONMENT=/gnu/store/y4jnnmrzl5ix7yx3wabgvlc3j6r7vxx6-profile
GUIX_LOCPATH=/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örn

             reply	other threads:[~2017-04-26  7:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-26  7:31 Björn Höfling [this message]
2017-04-30  3:05 ` guix build and HTTPS does not work, but guix download does Chris Marusich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170426093121.72eb5bef@alma-ubu \
    --to=bjoern.hoefling@bjoernhoefling.de \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.