From: ludo@gnu.org (Ludovic Courtès)
To: Alex Vong <alexvong1995@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: gccgo package does not include gccgo binary
Date: Tue, 12 Jul 2016 15:23:01 +0200 [thread overview]
Message-ID: <871t2zhtxm.fsf@gnu.org> (raw)
In-Reply-To: <87shvfmz38.fsf@gmail.com> (Alex Vong's message of "Tue, 12 Jul 2016 09:20:27 +0800")
Hello,
Alex Vong <alexvong1995@gmail.com> 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’.
next prev parent reply other threads:[~2016-07-12 13:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-07 14:55 gccgo package does not include gccgo binary Alex Vong
2016-07-09 18:23 ` Leo Famulari
2016-07-09 22:09 ` Matthew Jordan
2016-07-10 15:29 ` Alex Vong
2016-07-10 17:16 ` Matthew Jordan
2016-07-12 1:20 ` Alex Vong
2016-07-12 9:38 ` Matthew Jordan
2016-07-12 11:05 ` Alex Vong
2016-07-12 12:35 ` Leo Famulari
2016-07-12 14:13 ` Alex Vong
2016-07-12 13:23 ` Ludovic Courtès [this message]
2016-07-13 14:41 ` git ca cert problems Alex Vong
2016-07-13 21:11 ` Ludovic Courtès
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871t2zhtxm.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=alexvong1995@gmail.com \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).