bug#23504: git 2.7.4 fails to clone repositories over HTTPS sources
Hey there, Sorry for the late reply. I used Pjotr's Guix hacking notes to fix the problem , solution: https://github.com/pjotrp/guix-notes/blob/master/HACKING.org#git-ca-certificates On 10 May 2016 at 16:46, Dennis Mungai wrote: > Sure, will do. > > On 10 May 2016 at 16:38, Ludovic Courtès wrote: >> Dennis Mungai skribis: >> >>> 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? >>> >>> At the moment, I've installed the nss-certs package hoping it would be >>> a workaround as these are Mozilla certs, but to no avail. >> >> I think you also need to set the ‘GIT_SSL_CAINFO’ environment variable. >> For instance: >> >> $ guix package -i nss-certs >> $ export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs" >> $ export >> SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt" >> $ export GIT_SSL_CAINFO="$SSL_CERT_FILE" >> >> Can you confirm? >> >> Thanks, >> Ludo’.
bug#23504: git 2.7.4 fails to clone repositories over HTTPS sources
Also, your workaround worked (in git, at least). I'm not sure if there are other cases affected by this in the wild. On 11 May 2016 at 11:10, Dennis Mungai wrote: > Hey there, > > Sorry for the late reply. > > I used Pjotr's Guix hacking notes to fix the problem , solution: > > https://github.com/pjotrp/guix-notes/blob/master/HACKING.org#git-ca-certificates > > > > On 10 May 2016 at 16:46, Dennis Mungai wrote: >> Sure, will do. >> >> On 10 May 2016 at 16:38, Ludovic Courtès wrote: >>> Dennis Mungai skribis: >>> 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? At the moment, I've installed the nss-certs package hoping it would be a workaround as these are Mozilla certs, but to no avail. >>> >>> I think you also need to set the ‘GIT_SSL_CAINFO’ environment variable. >>> For instance: >>> >>> $ guix package -i nss-certs >>> $ export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs" >>> $ export >>> SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt" >>> $ export GIT_SSL_CAINFO="$SSL_CERT_FILE" >>> >>> Can you confirm? >>> >>> Thanks, >>> Ludo’.
bug#23504: git 2.7.4 fails to clone repositories over HTTPS sources
Dennis Mungai skribis: > Also, your workaround worked (in git, at least). > > I'm not sure if there are other cases affected by this in the wild. Great, thanks for letting us know. Ludo’.
bug#23514: missing viewport declaration in the manual ?
I was suggested to report this information here The Guix manual is not readable on mobile phones. It seems to me that the viewport declaration is missing The effect is that you have to pinch and zoom and scroll all over in order to read. That is, it's substantially impossible to casually consult the manual on a mobile phone.
bug#23409: unable to load free firmware
Hello: This is my first oportunity to use my laptop with telecomunications. Below I comment with my reports. Thank you for your patience. El 2016-05-05 03:42, Alex Kost escribió: Quilro Ordonez (2016-05-05 02:13 +0300) wrote: Same errors in dmesg. If you mean after system reconfiguring, then it is expected, because nothing has changed, you just moved package definitions from you system config to another file, so that "guix build" and other commands could see these packages. Or do you mean after modifying "/sys/module/firmware_class/parameters/path" and "insmod"-ing that firmware? Sorry, I didn't test that yet. I did it now. The output is below the respective part of Ludo's message. Here is an excerpt of Ludo's message. Please report after doing these steps. Ludovic Courtès (2016-05-03 11:01 +0300) wrote: Quilíro: firmware files are searched for in the directory specified in the /sys/module/firmware_class/parameters/path pseudo-file (see the (gnu build activation) module.) Could you try, as root, something like (use the right package and module name below): echo -n $(guix build b43-firmware-whatever)/lib/firmware \ > /sys/module/firmware_class/parameters/path insmod b43-module-whatever-its-called dmesg | tail … and report back? Here it is: $ sudo bash # export GUIX_PACKAGE_PATH=/home/quiliro/guix/packages # echo -n $(guix build openfwwf-firmware) > /sys/module/firmware_class/parameters/path substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0% # cat /sys/module/firmware_class/parameters/path /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2 # insmod b43-open insmod: ERROR: could not load module b43-open: No such file or directory # echo -n $(guix build openfwwf-firmware)/lib/firmware > /sys/module/firmware_class/parameters/path # cat /sys/module/firmware_class/parameters/path /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2/lib/firmware o# insmod b43-open insmod: ERROR: could not load module b43-open: No such file or directory # Also, can you show the output of: find $(guix build b43-firmware-whatever)/lib/firmware ? It should contain “b43-open/ucode5.fw”. # find $(guix build b43-open)/lib/firmware guix build: error: b43-open: unknown package find: ‘/lib/firmware’: No existe el fichero o el directorio # find $(guix build openfwwf-firmware)/lib/firmware find: ‘/gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2/lib/firmware’: No existe el fichero o el directorio # find $(guix build openfwwf-firmware) /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2 /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2/b43-open /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2/b43-open/b0g0initvals5.fw /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2/b43-open/b0g0bsinitvals5.fw /gnu/store/xcxhd2r2h3iz0721vn6c5wfqkd0r4xc0-openfwwf-firmware-5.2/b43-open/ucode5.fw #
bug#23504: git 2.7.4 fails to clone repositories over HTTPS sources
Dennis Mungai 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
bug#23504: git 2.7.4 fails to clone repositories over HTTPS sources
On 2016-05-10(03:11:34+0200), Ricardo Wurmus wrote: > > Dennis Mungai 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 signature.asc Description: Digital signature