unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Jack Hill <jackhill@jackhill.us>
Cc: 42543-done@debbugs.gnu.org
Subject: bug#42543: lint failure for packages on load path specified with -L
Date: Sun, 23 Aug 2020 23:10:13 +0200	[thread overview]
Message-ID: <87lfi59ih6.fsf@gnu.org> (raw)
In-Reply-To: <alpine.DEB.2.21.2008051720370.4809@marsh.hcoop.net> (Jack Hill's message of "Wed, 5 Aug 2020 17:42:21 -0400 (EDT)")

Hello!

Jack Hill <jackhill@jackhill.us> skribis:

>> Jack Hill <jackhill@jackhill.us> 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…")
>>> 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 #<procedure 7f40c0484020 at guix/scripts/lin…> …)
>>> In guix/scripts/lint.scm:
>>>      60:4  3 (run-checkers _ _ #:store _)
>>> In srfi/srfi-1.scm:
>>>     634:9  2 (for-each #<procedure 7f40b2ab53f0 at guix/scripts/lin…> …)
>>>     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’re right.  I’ve fixed the root issue with
d10474c38d58bdc676e64336769dc2e00cdfa8ed (avoiding ‘canonicalize-path’).

Thanks,
Ludo’.




  reply	other threads:[~2020-08-23 21:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-26  4:20 bug#42543: lint failure for packages on load path specified with -L Jack Hill
2020-07-27  3:36 ` Jack Hill
2020-07-27 21:54   ` zimoun
2020-07-28  3:50     ` Jack Hill
2020-07-27 21:47 ` bug#42543: [PATCH 0/2] Canonicalize 'load-path' option zimoun
2020-07-27 21:47   ` bug#42543: [PATCH 1/2] scripts: build: " zimoun
2020-07-27 21:47   ` bug#42543: [PATCH 2/2] scripts: repl: " zimoun
2020-08-05 20:28 ` bug#42543: lint failure for packages on load path specified with -L Ludovic Courtès
2020-08-05 21:42   ` Jack Hill
2020-08-23 21:10     ` Ludovic Courtès [this message]
2020-08-24 20:23       ` Jack Hill
2020-08-05 22:33   ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lfi59ih6.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=42543-done@debbugs.gnu.org \
    --cc=jackhill@jackhill.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).