all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <ng0@n0.is>
To: 23504@debbugs.gnu.org
Subject: bug#23504: git 2.7.4 fails to clone repositories over HTTPS sources
Date: Wed, 11 May 2016 22:07:38 +0000	[thread overview]
Message-ID: <20160511220737.GA14842@khazad-dum> (raw)
In-Reply-To: <idjoa8e3vnd.fsf@bimsb-sys02.mdc-berlin.net>

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

On 2016-05-10(03:11:34+0200), Ricardo Wurmus wrote:
> 
> Dennis Mungai <dmngaie@gmail.com> writes:
> 
> > Hello there,
> >
> > I'm using git 2.7.4 from a guix profile, and here is my current environment:
> >
> > guix package -p ~/opt/guix-build-system --search-paths
> > warning: failed to install locale: Invalid argument
> > export PATH="/home/lin/opt/guix-build-system/bin:/home/lin/opt/guix-build-system/sbin"
> > export XDG_DATA_DIRS="/home/lin/opt/guix-build-system/share"
> > export GUIX_GTK3_PATH="/home/lin/opt/guix-build-system/lib/gtk-3.0"
> > export INFOPATH="/home/lin/opt/guix-build-system/share/info"
> > export PKG_CONFIG_PATH="/home/lin/opt/guix-build-system/lib/pkgconfig"
> > export GUILE_LOAD_COMPILED_PATH="/home/lin/opt/guix-build-system/lib/guile/2.0/ccache"
> > export C_INCLUDE_PATH="/home/lin/opt/guix-build-system/include"
> > export CPLUS_INCLUDE_PATH="/home/lin/opt/guix-build-system/include"
> > export LIBRARY_PATH="/home/lin/opt/guix-build-system/lib"
> > export ACLOCAL_PATH="/home/lin/opt/guix-build-system/share/aclocal"
> >
> > which env returns:
> >
> > which env
> > /home/lin/opt/guix-build-system/bin/env
> >
> > Now, with git clone example over HTTPS:
> >
> > git clone --branch gn-latest https://github.com/genenetwork/guix-bioinformatics
> > Cloning into 'guix-bioinformatics'...
> > fatal: unable to access
> > 'https://github.com/genenetwork/guix-bioinformatics/': server
> > certificate verification failed. CAfile: none CRLfile: none
> >
> > The system git does not present such an error.
> >
> > What could be wrong with my setup? Missing certificates?
> 
> Please try this:
> 
>     export GIT_SSL_CAPATH=$HOME/.guix-profile/etc/ssl/certs
> 
> Assuming that nss-certs has been installed into $HOME/.guix-profile this
> should be enough to make it work.
> 
> I wonder how we can make it easier to tell the user that this
> environment variable must be set.
> 
> ~~ Ricardo

Assuming this currently does not exist (I have not checked it), what
about a note in the manual, application specific, and maybe something
like a message after guix package -i git was run?

-- 
♥Ⓐ ng0

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

  parent reply	other threads:[~2016-05-11 22:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-10 12:30 bug#23504: git 2.7.4 fails to clone repositories over HTTPS sources Dennis Mungai
2016-05-10 13:11 ` Ricardo Wurmus
2016-05-10 13:36   ` Dennis Mungai
2016-05-11 22:07   ` ng0 [this message]
2016-05-10 13:38 ` Ludovic Courtès
2016-05-10 13:46   ` Dennis Mungai
2016-05-11  8:10     ` Dennis Mungai
2016-05-11  8:16       ` Dennis Mungai
2016-05-11  9:02         ` 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

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

  git send-email \
    --in-reply-to=20160511220737.GA14842@khazad-dum \
    --to=ng0@n0.is \
    --cc=23504@debbugs.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.