all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* guix build and HTTPS does not work, but guix download does
@ 2017-04-26  7:31 Björn Höfling
  2017-04-30  3:05 ` Chris Marusich
  0 siblings, 1 reply; 2+ messages in thread
From: Björn Höfling @ 2017-04-26  7:31 UTC (permalink / raw)
  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="$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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: guix build and HTTPS does not work, but guix download does
  2017-04-26  7:31 guix build and HTTPS does not work, but guix download does Björn Höfling
@ 2017-04-30  3:05 ` Chris Marusich
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Marusich @ 2017-04-30  3:05 UTC (permalink / raw)
  To: Björn Höfling; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1018 bytes --]

Björn Höfling <bjoern.hoefling@bjoernhoefling.de> writes:

> 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

Perhaps it's the same issue as described in this thread?

https://lists.gnu.org/archive/html/guix-devel/2017-02/msg00160.html

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-30  3:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-26  7:31 guix build and HTTPS does not work, but guix download does Björn Höfling
2017-04-30  3:05 ` Chris Marusich

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.