From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: bug#25200: guix lint throws gnutls error Date: Wed, 14 Dec 2016 09:23:27 -0800 Message-ID: <87pokufmr4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHDQT-0001iu-7o for bug-guix@gnu.org; Wed, 14 Dec 2016 12:33:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHDQN-0007sv-3z for bug-guix@gnu.org; Wed, 14 Dec 2016 12:33:09 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54905) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cHDQN-0007sn-1c for bug-guix@gnu.org; Wed, 14 Dec 2016 12:33:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cHDQM-0003GT-N9 for bug-guix@gnu.org; Wed, 14 Dec 2016 12:33:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHDIX-0001LE-2H for bug-guix@gnu.org; Wed, 14 Dec 2016 12:24:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHDIT-0005ey-13 for bug-guix@gnu.org; Wed, 14 Dec 2016 12:24:57 -0500 Received: from mail-pf0-f172.google.com ([209.85.192.172]:34625) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cHDIS-0005UC-Pq for bug-guix@gnu.org; Wed, 14 Dec 2016 12:24:52 -0500 Received: by mail-pf0-f172.google.com with SMTP id c4so4643555pfb.1 for ; Wed, 14 Dec 2016 09:24:30 -0800 (PST) Received: from apteryx ([2601:647:4100:e0d:c2f8:daff:fe5d:2f2f]) by smtp.gmail.com with ESMTPSA id q9sm88779346pfg.47.2016.12.14.09.23.27 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Dec 2016 09:23:28 -0800 (PST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 25200@debbugs.gnu.org --=-=-= Content-Type: text/plain Hello Guix! 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: --=-=-= Content-Type: text/plain Content-Disposition: inline guix lint icecat gnu/packages/gnuzilla.scm:304:2: icecat-45.5.1-gnu1: file names of patches should start with the package name Backtrace:cecat-45.5.1-gnu1 [cve]... In ice-9/boot-9.scm: 160: 17 [catch #t # ...] In unknown file: ?: 16 [apply-smob/1 #] In ice-9/boot-9.scm: 66: 15 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 14 [eval # #] In ice-9/boot-9.scm: 2404: 13 [save-module-excursion #] 4056: 12 [#] 1727: 11 [%start-stack load-stack ...] 1732: 10 [#] In unknown file: ?: 9 [primitive-load "/gnu/store/qxawdi2q9bhr9x4v57wbnj8y5krhhm3p-guix-0.11.0-8.8d12/bin/.guix-real"] In guix/ui.scm: 1222: 8 [run-guix-command lint "icecat"] In srfi/srfi-1.scm: 616: 7 [for-each # #] In guix/scripts/lint.scm: 964: 6 [run-checkers # #] In srfi/srfi-1.scm: 616: 5 [for-each # #] In guix/scripts/lint.scm: 786: 4 [check-vulnerabilities #] 781: 3 [# #] In unknown file: ?: 2 [force #>] In guix/scripts/lint.scm: 770: 1 [#] In ice-9/boot-9.scm: 160: 0 [catch srfi-34 # ...] ice-9/boot-9.scm:160:17: In procedure catch: ice-9/boot-9.scm:160:17: Throw to key `gnutls-error' with args `(# set-certificate-credentials-x509-trust-file!)'. --=-=-= Content-Type: text/plain I'm using GuixSD and ran "sudo guix system reconfigure /etc/config.scm" prior to sending this report, so everything should be current. This config contains the nss-certs package, which should include gnutls, I believe. Here's my config, in case: --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=config.scm Content-Description: My system config.scm ;; This is an operating system configuration template ;; for a "desktop" setup without full-blown desktop ;; environments. (use-modules (gnu) (gnu system nss)) (use-service-modules desktop) (use-package-modules wm ratpoison certs) (operating-system (host-name "apteryx") (timezone "America/Los_Angeles") (locale "en_US.UTF-8") ;; Assuming /dev/sdX is the target hard disk, and "my-root" ;; is the label of the target root file system. (bootloader (grub-configuration (device "/dev/sda"))) (file-systems (cons (file-system (device "my-root") (title 'label) (mount-point "/") (type "ext4")) %base-file-systems)) (users (cons (user-account (name "maxim") (comment "Maxim Cournoyer") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/maxim")) %base-user-accounts)) ;; Add a bunch of window managers; we can choose one at ;; the log-in screen with F1. (packages (cons* ratpoison ; i3-wm xmonad ;window managers nss-certs ;for HTTPS access %base-packages)) ;; Use the "desktop" services, which include the X11 ;; log-in service, networking with Wicd, and more. (services %desktop-services) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss)) --=-=-=--