Hi Maxim! Maxim Cournoyer <maxim.courno...@gmail.com> skribis:
> I'm using an up-to-date Guix (running directly from the Git tree) and > recently started getting the following gnutls errors when attempting to > run "guix lint some-package". This happens for any package. > > The complete error traceback returned on the console looks like: > > guix lint icecat > gnu/packages/gnuzilla.scm:304:2: icecat-45.5.1-gnu1: file names of patches > should start with the package name [...] > In guix/scripts/lint.scm: > 786: 4 [check-vulnerabilities #] > 781: 3 [#<procedure 35c2b00 at guix/scripts/lint.scm:771:4 (package)> #] > In unknown file: > ?: 2 [force #<promise #<procedure 35c2be0 at guix/scripts/lint.scm:769:16 > ()>>] > In guix/scripts/lint.scm: > 770: 1 [#<procedure 35c2be0 at guix/scripts/lint.scm:769:16 ()>] > In ice-9/boot-9.scm: > 160: 0 [catch srfi-34 #<procedure 35c2ce0 at guix/scripts/lint.scm:743:2 ()> > ...] > > ice-9/boot-9.scm:160:17: In procedure catch: > ice-9/boot-9.scm:160:17: Throw to key `gnutls-error' with args > `(#<gnutls-error-enum Error while reading file.> > set-certificate-credentials-x509-trust-file!)'. What is the value of SSL_CERT_DIR? Could it be that the directory it points to contains dangling symlinks? The logic for this is in (guix build download); search for “x509”. Thanks for your report! Ludo’.