From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Errors Linting Package Definition for New Package ruby-net-http-digest-auth Date: Wed, 09 Nov 2016 16:30:42 +0100 Message-ID: <87twbg8ycd.fsf@gnu.org> References: <20161108213940.GA23513@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4Upv-0004aZ-Qk for guix-devel@gnu.org; Wed, 09 Nov 2016 10:30:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4Upr-0005vu-TM for guix-devel@gnu.org; Wed, 09 Nov 2016 10:30:51 -0500 In-Reply-To: <20161108213940.GA23513@jasmine> (Leo Famulari's message of "Tue, 8 Nov 2016 16:39:40 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel@gnu.org, Frederick Muriithi Hello, Leo Famulari skribis: > On Tue, Nov 08, 2016 at 08:41:51PM +0300, Frederick Muriithi wrote: [...] >> 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 certifi= cate 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. Exactly: you need to tell =E2=80=98guix lint=E2=80=99 where to find X.509 c= ertificates. This comes from: http://git.savannah.gnu.org/cgit/guix.git/commit/?id=3Dbc3c41ce36349ed4ec= 758c70b48a7059e363043a For background info, see: https://www.gnu.org/software/guix/manual/html_node/Application-Setup.html= #X_002e509-Certificates-1 That said, =E2=80=98guix lint=E2=80=99 shouldn=E2=80=99t print an ugly back= trace when that happens. I=E2=80=99ll push a commit that fixes that. Thanks for your report, Frederick! Ludo=E2=80=99.