Subject: guix lint fails with -dc switch missing

From: Pjotr Prins <[email-masked]>
Date: Mon, 15 Feb 2016 11:59:53 +0100

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)