From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <20161108213940.GA23513@jasmine> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4E7R-0002Eh-4s for guix-devel@gnu.org; Tue, 08 Nov 2016 16:39:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4E7N-0006Ga-UJ for guix-devel@gnu.org; Tue, 08 Nov 2016 16:39:49 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:33791) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c4E7N-0006G2-Ni for guix-devel@gnu.org; Tue, 08 Nov 2016 16:39:45 -0500 Content-Disposition: inline In-Reply-To: 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: Frederick Muriithi Cc: guix-devel@gnu.org 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 [#] > 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 # #] > In guix/scripts/lint.scm: > 882: 15 [run-checkers # #] > In srfi/srfi-1.scm: > 619: 14 [for-each # #] > In guix/scripts/lint.scm: > 712: 13 [check-vulnerabilities #] > 707: 12 [# #] > In unknown file: > ?: 11 [force #>] > In guix/scripts/lint.scm: > 696: 10 [#] > In ice-9/boot-9.scm: > 157: 9 [catch srfi-34 # ...] > 157: 8 [catch getaddrinfo-error ...] > In srfi/srfi-1.scm: > 646: 7 [append-map # # #] > 601: 6 [map # (2016 2015 2014 ...) ...] > In ice-9/boot-9.scm: > 157: 5 [catch system-error # ...] > In guix/cve.scm: > 217: 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 # "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