From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id LBp0CrkEHV/UIwAA0tVLHw (envelope-from ) for ; Sun, 26 Jul 2020 04:21:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OJjPBbkEHV+aGAAAB5/wlQ (envelope-from ) for ; Sun, 26 Jul 2020 04:21:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7E1579400B1 for ; Sun, 26 Jul 2020 04:21:12 +0000 (UTC) Received: from localhost ([::1]:42720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzY9t-0001w7-KE for larch@yhetil.org; Sun, 26 Jul 2020 00:21:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzY9m-0001vx-7m for bug-guix@gnu.org; Sun, 26 Jul 2020 00:21:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39997) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jzY9l-0004dA-VD for bug-guix@gnu.org; Sun, 26 Jul 2020 00:21:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jzY9l-0005TC-Qy for bug-guix@gnu.org; Sun, 26 Jul 2020 00:21:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42543: lint failure for packages on load path specified with -L Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 26 Jul 2020 04:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42543 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42543@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159573722920977 (code B ref -1); Sun, 26 Jul 2020 04:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jul 2020 04:20:29 +0000 Received: from localhost ([127.0.0.1]:51543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzY9E-0005SH-OQ for submit@debbugs.gnu.org; Sun, 26 Jul 2020 00:20:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:45186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzY99-0005S5-Lk for submit@debbugs.gnu.org; Sun, 26 Jul 2020 00:20:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzY99-0001rm-EA for bug-guix@gnu.org; Sun, 26 Jul 2020 00:20:23 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:40586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzY95-0004Uk-Sp for bug-guix@gnu.org; Sun, 26 Jul 2020 00:20:23 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1jzY94-0006YZ-Da for bug-guix@gnu.org; Sun, 26 Jul 2020 00:20:18 -0400 Date: Sun, 26 Jul 2020 00:20:18 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="925712948-1187974230-1595737218=:4809" Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@jackhill.us; helo=minsky.hcoop.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/26 00:20:18 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.4 (--) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 1.49 X-TUID: Pz85Bod4eiDG This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --925712948-1187974230-1595737218=:4809 Content-Type: text/plain; format=flowed; charset=UTF-8 Content-Transfer-Encoding: 8BIT Hi Guix, I'm running guix from commit 30aa5dd7e7180d163d409b080bf89e8a15a5ba4d. I've created a package in local directory lint-test. `guix lint` errors when processing this package, but other guix commands like build and show work as expected. A session with these commands: ``` jackhill@alperton ~$ guix lint -L lint-test my-hello Backtrace:y-hello@2.10 [formatting]... 8 (primitive-load "/home/jackhill/.config/guix/current/bi…") In guix/ui.scm: 1974:12 7 (run-guix-command _ . _) In ice-9/boot-9.scm: 1736:10 6 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 631:22 5 (thunk) In srfi/srfi-1.scm: 634:9 4 (for-each # …) In guix/scripts/lint.scm: 60:4 3 (run-checkers _ _ #:store _) In srfi/srfi-1.scm: 634:9 2 (for-each # …) 241:2 1 (for-each _ _) In ice-9/boot-9.scm: 1669:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: In procedure for-each: Wrong type argument: #f jackhill@alperton ~$ guix build -L lint-test my-hello /gnu/store/h21bncim3hshjpfbs1dn4kvg1ri6zb7z-my-hello-2.10 jackhill@alperton ~$ guix show -L lint-test my-hello name: my-hello version: 2.10 outputs: out systems: x86_64-linux i686-linux dependencies: location: lint-test/my-hello.scm:8:2 homepage: https://www.gnu.org/software/hello/ license: GPL 3+ synopsis: Hello, GNU world: An example GNU package description: GNU Hello prints the message "Hello, world!" and then + exits. It serves as an example of standard GNU coding practices. As + such, it supports command-line arguments, multiple languages, and so on. ``` my-hello.scm looks like: ``` (define-module (my-hello) #:use-module (guix build-system gnu) #:use-module (guix download) #:use-module (guix licenses) #:use-module (guix packages)) (define-public my-hello (package (name "my-hello") (version "2.10") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/hello/hello-" version ".tar.gz")) (sha256 (base32 "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i")))) (build-system gnu-build-system) (synopsis "Hello, GNU world: An example GNU package") (description "GNU Hello prints the message \"Hello, world!\" and then exits. It serves as an example of standard GNU coding practices. As such, it supports command-line arguments, multiple languages, and so on.") (home-page "https://www.gnu.org/software/hello/") (license gpl3+))) ``` Best, Jack --925712948-1187974230-1595737218=:4809--