guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Errors Linting Package Definition for New Package ruby-net-http-dige


From: Leo Famulari
Subject: Re: Errors Linting Package Definition for New Package ruby-net-http-digest-auth
Date: Tue, 8 Nov 2016 16:39:40 -0500
User-agent: Mutt/1.7.1 (2016-10-04)

On Tue, Nov 08, 2016 at 08:41:51PM +0300, Frederick Muriithi wrote:
> I'm new to guix and was trying to contribute a new package, for the
> ruby gem net-http-digest_auth
> 
> Running "./pre-inst-env guix build ruby-net-http-digest-auth" runs
> with seemingly no errors (I've attached the build log).

Yes, that looks fine.

> Running "./pre-inst-env guix lint ruby-net-http-digest-auth" fails
> with the errors indicated in the attached file lint_log

> gnu/packages/ruby.scm:4182:2: ruby-net-http-digest-auth-1.4: TLS certificate 
> error: ERROR: X.509 certificate of 'github.com' could not be verified:
>   signer-not-found
>   invalid

There are two TLS errors (here, for GitHub, and below, for NIST). I'm
not sure but I'd guess that the linter is unable to find your
certificate store, or it lacks the GnuTLS client. How about if you try
invoking the linter in an environment where you have all of Guix's
dependencies available? Like this:

$ guix environment guix --pure -- ./pre-inst-env guilx lint 
ruby-net-http-digest-auth

> gnu/packages/ruby.scm:4207:4: ruby-net-http-digest-auth-1.4: invalid license 
> field

This will need to be corrected as well.

> substitute: warning: failed to install locale: Invalid argument
> Backtrace:
> In ice-9/boot-9.scm:
> 1729: 19 [#<procedure 289dea0 ()>]
> In unknown file:
>    ?: 18 [primitive-load 
> "/home/frederick/repositories/projects/pjotrp_projects/guix/scripts/guix"]
> In guix/ui.scm:
> 1220: 17 [run-guix-command lint "ruby-net-http-digest-auth"]
> In srfi/srfi-1.scm:
>  619: 16 [for-each #<procedure 38e6c40 at guix/scripts/lint.scm:974:20 
> (spec)> #]
> In guix/scripts/lint.scm:
>  882: 15 [run-checkers # #]
> In srfi/srfi-1.scm:
>  619: 14 [for-each #<procedure 5ec09c0 at guix/scripts/lint.scm:882:14 
> (checker)> #]
> In guix/scripts/lint.scm:
>  712: 13 [check-vulnerabilities #]
>  707: 12 [#<procedure 38e2200 at guix/scripts/lint.scm:697:4 (package)> #]
> In unknown file:
>    ?: 11 [force #<promise #<procedure 38e22e0 at guix/scripts/lint.scm:695:16 
> ()>>]
> In guix/scripts/lint.scm:
>  696: 10 [#<procedure 38e22e0 at guix/scripts/lint.scm:695:16 ()>]
> In ice-9/boot-9.scm:
>  157: 9 [catch srfi-34 #<procedure 38e23e0 at guix/scripts/lint.scm:677:2 ()> 
> ...]
>  157: 8 [catch getaddrinfo-error ...]
> In srfi/srfi-1.scm:
>  646: 7 [append-map #<procedure fetch-vulnerabilities (year ttl)> # #]
>  601: 6 [map #<procedure fetch-vulnerabilities (year ttl)> (2016 2015 2014 
> ...) ...]
> In ice-9/boot-9.scm:
>  157: 5 [catch system-error #<procedure 7ab7b10 at guix/cve.scm:233:4 ()> ...]
> In guix/cve.scm:
>  217: 4 [#<procedure 7ab7b10 at guix/cve.scm:233:4 ()>]
>   79: 3 [call-with-cve-port # 10800 ...]
> In guix/http-client.scm:
>  238: 2 [loop #]
> In guix/build/download.scm:
>  483: 1 [open-connection-for-uri # # #f ...]
>  383: 0 [tls-wrap #<closed: file 0> "static.nvd.nist.gov" 
> #:verify-certificate? #t]
> 
> guix/build/download.scm:383:6: In procedure tls-wrap:
> guix/build/download.scm:383:6: X.509 certificate of 'static.nvd.nist.gov' 
> could not be verified:
>   signer-not-found
>   invalid



reply via email to

[Prev in Thread] Current Thread [Next in Thread]