help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gccgo package does not include gccgo binary


From: Ludovic Courtès
Subject: Re: gccgo package does not include gccgo binary
Date: Tue, 12 Jul 2016 15:23:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hello,

Alex Vong <address@hidden> skribis:

> Btw, does anyone have problem cloning github repo? I get the SSL
> verfication problem mentioned earlier. However, I have already installed
> nss-certs and include the following line in .bashrc:
>   GIT_SSL_CAINFO="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt"
>   export GIT_SSL_CAINFO
>
> Any ideas?

It works for me (on GuixSD, but that shouldn’t make a difference.)

What does “wc -l $GIT_SSL_CAINFO” say?

>From a quick look, Git honors a bunch of additional environment
variables in this area:

--8<---------------cut here---------------start------------->8---
$ ltrace -f -e getenv sh -c 'git clone 
https://github.com/elm-lang/elm-compiler' 2>&1 |grep SSL
[pid 21398] sh->getenv("GIT_SSL_NO_VERIFY")      = nil
[pid 21398] sh->getenv("GIT_SSL_CERT")           = nil
[pid 21398] sh->getenv("GIT_SSL_KEY")            = nil
[pid 21398] sh->getenv("GIT_SSL_CAPATH")         = nil
[pid 21398] sh->getenv("GIT_SSL_CAINFO")         = 
"/etc/ssl/certs/ca-certificates.c"...
[pid 21398] sh->getenv("GIT_SSL_CERT_PASSWORD_PROTECTED") = nil
[pid 21398] sh->getenv("GIT_SSL_VERSION")        = nil
[pid 21398] sh->getenv("GIT_SSL_CIPHER_LIST")    = nil
--8<---------------cut here---------------end--------------->8---

Could it be that one of these is shadowing GIT_SSL_CAINFO?

There’s also ‘http.sslCAInfo’ and similar (see git-config(1)).

HTH,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]