all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Frederick Muriithi <fredmanglis@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Errors Linting Package Definition for New Package ruby-net-http-digest-auth
Date: Tue, 8 Nov 2016 16:39:40 -0500	[thread overview]
Message-ID: <20161108213940.GA23513@jasmine> (raw)
In-Reply-To: <CALjrZwbY8ESoJSj9mdXeL9ES-W2T7V78qMikWL-tL-JOuf=dig@mail.gmail.com>

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	other threads:[~2016-11-08 21:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-08 17:41 Errors Linting Package Definition for New Package ruby-net-http-digest-auth Frederick Muriithi
2016-11-08 21:39 ` Leo Famulari [this message]
2016-11-09 15:07   ` Frederick Muriithi
2016-11-09 15:30   ` Ludovic Courtès
2016-11-11 16:22     ` Frederick Muriithi
2016-11-11 18:17   ` Marius Bakke
2016-11-12 13:50     ` 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=20161108213940.GA23513@jasmine \
    --to=leo@famulari.name \
    --cc=fredmanglis@gmail.com \
    --cc=guix-devel@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.