all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#42543: lint failure for packages on load path specified with -L
@ 2020-07-26  4:20 Jack Hill
  2020-07-27  3:36 ` Jack Hill
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Jack Hill @ 2020-07-26  4:20 UTC (permalink / raw)
  To: 42543

[-- Attachment #1: Type: text/plain, Size: 2708 bytes --]

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 #<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
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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-08-24 20:24 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2020-08-24 20:23       ` Jack Hill
2020-08-05 22:33   ` zimoun

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.