* bug#22677: guix lint fails with -dc switch missing
@ 2016-02-15 10:59 Pjotr Prins
2016-02-15 11:28 ` Ricardo Wurmus
0 siblings, 1 reply; 6+ messages in thread
From: Pjotr Prins @ 2016-02-15 10:59 UTC (permalink / raw)
To: 22677
When I run lint on a recent ceckout
./pre-inst-env guix lint
or
./pre-inst-env guix lint python
I get
filtered-port: failed to execute ' -dc ': No such file or directory
Backtrace:
In unknown file:
?: 19 [apply-smob/1 #<catch-closure 16dfcc0>]
In ice-9/boot-9.scm:
63: 18 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
432: 17 [eval # #]
In ice-9/boot-9.scm:
2401: 16 [save-module-excursion #<procedure 16fc940 at ice-9/boot-9.scm:4045:3 ()>]
4050: 15 [#<procedure 16fc940 at ice-9/boot-9.scm:4045:3 ()>]
1724: 14 [%start-stack load-stack ...]
1729: 13 [#<procedure 1713ea0 ()>]
In unknown file:
?: 12 [primitive-load "/export2/izip/git/opensource/scheme/guix/scripts/guix"]
In guix/ui.scm:
1177: 11 [run-guix-command lint "python"]
In srfi/srfi-1.scm:
619: 10 [for-each #<procedure 280bbe0 at guix/scripts/lint.scm:867:20 (spec)> #]
619: 9 [for-each #<procedure 388c120 at guix/scripts/lint.scm:778:14 (checker)> #]
In guix/scripts/lint.scm:
608: 8 [check-vulnerabilities #]
602: 7 [#<procedure 2808f20 at guix/scripts/lint.scm:600:4 (package)> #]
In unknown file:
?: 6 [force #<promise #<procedure 2806000 at guix/scripts/lint.scm:589:16 ()>>]
In guix/scripts/lint.scm:
592: 5 [#<procedure 2806000 at guix/scripts/lint.scm:589:16 ()>]
In ice-9/boot-9.scm:
157: 4 [catch getaddrinfo-error ...]
In guix/cve.scm:
67: 3 [call-with-cve-port #<procedure 27e0000 at guix/cve.scm:139:3 (port)>]
In guix/utils.scm:
255: 2 [call-with-decompressed-port gzip ...]
In guix/cve.scm:
143: 1 [#<procedure 27e0000 at guix/cve.scm:139:3 (port)> #<input: #{read pipe}# 12>]
133: 0 [xml->vulnerabilities #<input: #{read pipe}# 12>]
guix/cve.scm:133:11: In procedure xml->vulnerabilities:
guix/cve.scm:133:11: Throw to key `parser-error' with args `(#<input: #{read pipe}# 12> "XML [22], unexpected EOF")'.
Backtrace:
In ice-9/boot-9.scm:
2401: 19 [save-module-excursion #<procedure 16fc940 at ice-9/boot-9.scm:4045:3 ()>]
4050: 18 [#<procedure 16fc940 at ice-9/boot-9.scm:4045:3 ()>]
1724: 17 [%start-stack load-stack ...]
1729: 16 [#<procedure 1713ea0 ()>]
In unknown file:
?: 15 [primitive-load "/export2/izip/git/opensource/scheme/guix/scripts/guix"]
In guix/ui.scm:
1177: 14 [run-guix-command lint "python"]
In srfi/srfi-1.scm:
619: 13 [for-each #<procedure 280bbe0 at guix/scripts/lint.scm:867:20 (spec)> #]
619: 12 [for-each #<procedure 388c120 at guix/scripts/lint.scm:778:14 (checker)> #]
In guix/scripts/lint.scm:
608: 11 [check-vulnerabilities #]
602: 10 [#<procedure 2808f20 at guix/scripts/lint.scm:600:4 (package)> #]
In unknown file:
?: 9 [force #<promise #<procedure 2806000 at guix/scripts/lint.scm:589:16 ()>>]
In guix/scripts/lint.scm:
592: 8 [#<procedure 2806000 at guix/scripts/lint.scm:589:16 ()>]
In ice-9/boot-9.scm:
157: 7 [catch getaddrinfo-error ...]
In guix/cve.scm:
67: 6 [call-with-cve-port #<procedure 27e0000 at guix/cve.scm:139:3 (port)>]
In guix/utils.scm:
255: 5 [call-with-decompressed-port gzip ...]
In guix/cve.scm:
143: 4 [#<procedure 27e0000 at guix/cve.scm:139:3 (port)> #<closed: file 0>]
133: 3 [xml->vulnerabilities #<closed: file 0>]
In ice-9/boot-9.scm:
105: 2 [#<procedure 1672180 at ice-9/boot-9.scm:97:6 (thrown-k . args)> parser-error ...]
65: 1 [abort-to-prompt catch7 parser-error ...]
In unknown file:
?: 0 [scm-error misc-error #f "~A ~S" ("decompressed-port failure" (24327)) #f]
ERROR: In procedure scm-error:
ERROR: decompressed-port failure (24327)
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#22677: guix lint fails with -dc switch missing
2016-02-15 10:59 bug#22677: guix lint fails with -dc switch missing Pjotr Prins
@ 2016-02-15 11:28 ` Ricardo Wurmus
2016-02-15 11:48 ` Pjotr Prins
0 siblings, 1 reply; 6+ messages in thread
From: Ricardo Wurmus @ 2016-02-15 11:28 UTC (permalink / raw)
To: Pjotr Prins; +Cc: 22677
Pjotr Prins <pjotr.public12@thebird.nl> writes:
> When I run lint on a recent ceckout
>
> ./pre-inst-env guix lint
>
> or
>
> ./pre-inst-env guix lint python
>
> I get
>
> filtered-port: failed to execute ' -dc ': No such file or directory
>
This looks like it is a result of an undefined %bzip2, %xz, and/or %gzip
value. These values are used by utils.scm to assemble a command. They
are defined in config.scm, which is created at configure/build time.
Do you have config.scm in the root directory of the repository? Did you
run ./configure?
~~ Ricardo
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#22677: guix lint fails with -dc switch missing
2016-02-15 11:28 ` Ricardo Wurmus
@ 2016-02-15 11:48 ` Pjotr Prins
2016-02-21 22:36 ` Ludovic Courtès
0 siblings, 1 reply; 6+ messages in thread
From: Pjotr Prins @ 2016-02-15 11:48 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 22677
On Mon, Feb 15, 2016 at 12:28:14PM +0100, Ricardo Wurmus wrote:
> This looks like it is a result of an undefined %bzip2, %xz, and/or %gzip
> value. These values are used by utils.scm to assemble a command. They
> are defined in config.scm, which is created at configure/build time.
Nice error message ;)
> Do you have config.scm in the root directory of the repository? Did you
> run ./configure?
I rebuilt the thing and now it works again (!) using
https://github.com/pjotrp/guix-notes/blob/master/INSTALL.org#other-installation-routes-building-guix-from-source
There is, however, no config.scm in my tree.
Pj.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#22677: guix lint fails with -dc switch missing
2016-02-15 11:48 ` Pjotr Prins
@ 2016-02-21 22:36 ` Ludovic Courtès
2016-02-22 8:15 ` Pjotr Prins
0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2016-02-21 22:36 UTC (permalink / raw)
To: Pjotr Prins; +Cc: 22677
Pjotr Prins <pjotr2016@thebird.nl> skribis:
> On Mon, Feb 15, 2016 at 12:28:14PM +0100, Ricardo Wurmus wrote:
>> This looks like it is a result of an undefined %bzip2, %xz, and/or %gzip
>> value. These values are used by utils.scm to assemble a command. They
>> are defined in config.scm, which is created at configure/build time.
>
> Nice error message ;)
Something is fishy: ./configure cannot leave these variables empty.
>> Do you have config.scm in the root directory of the repository? Did you
>> run ./configure?
>
> I rebuilt the thing and now it works again (!) using
>
> https://github.com/pjotrp/guix-notes/blob/master/INSTALL.org#other-installation-routes-building-guix-from-source
>
> There is, however, no config.scm in my tree.
Running ‘configure’ creates guix/config.scm. Could you check that this
is the case?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#22677: guix lint fails with -dc switch missing
2016-02-21 22:36 ` Ludovic Courtès
@ 2016-02-22 8:15 ` Pjotr Prins
2016-02-22 11:18 ` Ludovic Courtès
0 siblings, 1 reply; 6+ messages in thread
From: Pjotr Prins @ 2016-02-22 8:15 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 22677
On Sun, Feb 21, 2016 at 11:36:50PM +0100, Ludovic Courtès wrote:
> Running ‘configure’ creates guix/config.scm. Could you check that this
> is the case?
Got it:
(define %gzip
"/home/wrk/.guix-profile/bin/gzip")
(define %bzip2
"/home/wrk/opt/guix-build-system/bin/bzip2")
(define %xz
"/home/wrk/opt/guix-build-system/bin/xz")
--
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#22677: guix lint fails with -dc switch missing
2016-02-22 8:15 ` Pjotr Prins
@ 2016-02-22 11:18 ` Ludovic Courtès
0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2016-02-22 11:18 UTC (permalink / raw)
To: Pjotr Prins; +Cc: 22677
Pjotr Prins <pjotr2016@thebird.nl> skribis:
> On Sun, Feb 21, 2016 at 11:36:50PM +0100, Ludovic Courtès wrote:
>> Running ‘configure’ creates guix/config.scm. Could you check that this
>> is the case?
>
> Got it:
>
>
> (define %gzip
> "/home/wrk/.guix-profile/bin/gzip")
>
> (define %bzip2
> "/home/wrk/opt/guix-build-system/bin/bzip2")
>
> (define %xz
> "/home/wrk/opt/guix-build-system/bin/xz")
OK, looks good. Not sure what happened.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-02-22 11:19 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-15 10:59 bug#22677: guix lint fails with -dc switch missing Pjotr Prins
2016-02-15 11:28 ` Ricardo Wurmus
2016-02-15 11:48 ` Pjotr Prins
2016-02-21 22:36 ` Ludovic Courtès
2016-02-22 8:15 ` Pjotr Prins
2016-02-22 11:18 ` Ludovic Courtès
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.