From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6FopFiPcQl9wagAA0tVLHw (envelope-from ) for ; Sun, 23 Aug 2020 21:14:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cFMHEiPcQl+rNQAA1q6Kng (envelope-from ) for ; Sun, 23 Aug 2020 21:14:11 +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 D747A940602 for ; Sun, 23 Aug 2020 21:14:10 +0000 (UTC) Received: from localhost ([::1]:34142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9xJZ-00005I-Kw for larch@yhetil.org; Sun, 23 Aug 2020 17:14:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9xGY-0007ll-IJ for bug-guix@gnu.org; Sun, 23 Aug 2020 17:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43660) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k9xGY-0006B1-8M for bug-guix@gnu.org; Sun, 23 Aug 2020 17:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k9xGY-0001PE-38 for bug-guix@gnu.org; Sun, 23 Aug 2020 17:11:02 -0400 Subject: bug#42543: lint failure for packages on load path specified with -L Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Sun, 23 Aug 2020 21:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 42543 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Jack Hill Mail-Followup-To: 42543@debbugs.gnu.org, ludo@gnu.org, jackhill@jackhill.us Received: via spool by 42543-done@debbugs.gnu.org id=D42543.15982170235357 (code D ref 42543); Sun, 23 Aug 2020 21:11:01 +0000 Received: (at 42543-done) by debbugs.gnu.org; 23 Aug 2020 21:10:23 +0000 Received: from localhost ([127.0.0.1]:55205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9xFv-0001OL-By for submit@debbugs.gnu.org; Sun, 23 Aug 2020 17:10:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9xFt-0001O6-HF for 42543-done@debbugs.gnu.org; Sun, 23 Aug 2020 17:10:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58924) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9xFo-00060h-2X; Sun, 23 Aug 2020 17:10:16 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=40786 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k9xFn-0007AI-1J; Sun, 23 Aug 2020 17:10:15 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87d044on1k.fsf@gnu.org> Date: Sun, 23 Aug 2020 23:10:13 +0200 In-Reply-To: (Jack Hill's message of "Wed, 5 Aug 2020 17:42:21 -0400 (EDT)") Message-ID: <87lfi59ih6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42543-done@debbugs.gnu.org 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.01 X-TUID: gHaHtO0hvkJH Hello! Jack Hill skribis: >> Jack Hill skribis: >> >>> jackhill@alperton ~$ guix lint -L lint-test my-hello >>> Backtrace:y-hello@2.10 [formatting]... >>> 8 (primitive-load "/home/jackhill/.config/guix/current/bi=E2= =80=A6") >>> 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 # =E2=80=A6) >>> In guix/scripts/lint.scm: >>> 60:4 3 (run-checkers _ _ #:store _) >>> In srfi/srfi-1.scm: >>> 634:9 2 (for-each # =E2=80=A6) >>> 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 [...] > You've passed an absolute path to -L. Indeed, I don't don't see the > problem when I do that, only when using a relative path. Can you try > running `guix lint -L t my-hello` while your current working directory > is /tmp? Oops you=E2=80=99re right. I=E2=80=99ve fixed the root issue with d10474c38d58bdc676e64336769dc2e00cdfa8ed (avoiding =E2=80=98canonicalize-pa= th=E2=80=99). Thanks, Ludo=E2=80=99.