From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: bug#23504: git 2.7.4 fails to clone repositories over HTTPS sources Date: Wed, 11 May 2016 22:07:38 +0000 Message-ID: <20160511220737.GA14842@khazad-dum> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0cKU-0004gk-UV for bug-guix@gnu.org; Wed, 11 May 2016 18:10:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0cKP-0002cm-Rn for bug-guix@gnu.org; Wed, 11 May 2016 18:10:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0cKP-0002ci-OV for bug-guix@gnu.org; Wed, 11 May 2016 18:10:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b0cKP-0008Hk-Kv for bug-guix@gnu.org; Wed, 11 May 2016 18:10:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 23504@debbugs.gnu.org --wac7ysb48OaltWcw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2016-05-10(03:11:34+0200), Ricardo Wurmus wrote: >=20 > Dennis Mungai writes: >=20 > > Hello there, > > > > I'm using git 2.7.4 from a guix profile, and here is my current environ= ment: > > > > guix package -p ~/opt/guix-build-system --search-paths > > warning: failed to install locale: Invalid argument > > export PATH=3D"/home/lin/opt/guix-build-system/bin:/home/lin/opt/guix-b= uild-system/sbin" > > export XDG_DATA_DIRS=3D"/home/lin/opt/guix-build-system/share" > > export GUIX_GTK3_PATH=3D"/home/lin/opt/guix-build-system/lib/gtk-3.0" > > export INFOPATH=3D"/home/lin/opt/guix-build-system/share/info" > > export PKG_CONFIG_PATH=3D"/home/lin/opt/guix-build-system/lib/pkgconfig" > > export GUILE_LOAD_COMPILED_PATH=3D"/home/lin/opt/guix-build-system/lib/= guile/2.0/ccache" > > export C_INCLUDE_PATH=3D"/home/lin/opt/guix-build-system/include" > > export CPLUS_INCLUDE_PATH=3D"/home/lin/opt/guix-build-system/include" > > export LIBRARY_PATH=3D"/home/lin/opt/guix-build-system/lib" > > export ACLOCAL_PATH=3D"/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-bioinf= ormatics > > 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? >=20 > Please try this: >=20 > export GIT_SSL_CAPATH=3D$HOME/.guix-profile/etc/ssl/certs >=20 > Assuming that nss-certs has been installed into $HOME/.guix-profile this > should be enough to make it work. >=20 > I wonder how we can make it easier to tell the user that this > environment variable must be set. >=20 > ~~ 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? --=20 =E2=99=A5=E2=92=B6 ng0 --wac7ysb48OaltWcw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJXM60oAAoJEAKilhUMIBgjWQUQAMfNYa8XzJuf07BKae1PrziQ WBWAumGXSoTTKGuOCvraA7Pr2dN4c0bHIabuOhkFLr8gTf+vQ4z5xnuzbTXnjMyt kr9ntJLv8Iwm+5Z7GYk5nmeDnsARPcMI97jtiOUKcscYjQqfPT40dr0bl+T0B6rC tCHxyT3Px5VP3hQuaqU4WIP/Odg5tUrVIGSNV3Qt7govI+ak+8hVP8VHA4lNBJ1V Dujr23nv3i9T409xxE6PY8zyE3P0C/mbVl615Vjts9po3hYliTs/Gf0j9/5NFEjY uJ/4GcHmAkeyivhIcmlwCn2zhsFwKwiv50upJS/8xLep6ct3pJ0byX9FAq7uUl4w tYIKbXOSZtfj4wubjgWkbcGos84yV6XB//zzrlXB6Pnylc2p9rEogl70jwGfuWpy MDExAaB55/uady5qcH7BxxwMACLdQWsBr3CVCnatpQ59eVB+FZj2rYdYmBv09Ie/ pFbOC/q7+a03D7nZK1kH/gKRNQF1sJYp3pHCUBDU2+xa5FXzsXPpzHjQ69XJIwbi qtrL28TO1/hFoPbO3Skk/Sxn7BaBhEeDyxejJ8fu2ZpQbu7ccieT4aBwjBWcgPoE AHCbX0/+DFNwLR/LBSikS2/nrTzQdmQX8RINm84iR6dC4/MGlq7+31YUWhXugR1c JD4LNLEdhelhT2XUy9DW =puNm -----END PGP SIGNATURE----- --wac7ysb48OaltWcw--