bug#22677: guix lint fails with -dc switch missing
Pjotr Prinsskribis: > 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’.
bug#22677: guix lint fails with -dc switch missing
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") --
bug#22677: guix lint fails with -dc switch missing
Pjotr Prinswrites: > 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
bug#22677: guix lint fails with -dc switch missing
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 #] 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 #] 4050: 15 [#] 1724: 14 [%start-stack load-stack ...] 1729: 13 [#] 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 # #] 619: 9 [for-each # #] In guix/scripts/lint.scm: 608: 8 [check-vulnerabilities #] 602: 7 [# #] In unknown file: ?: 6 [force #>] In guix/scripts/lint.scm: 592: 5 [#] In ice-9/boot-9.scm: 157: 4 [catch getaddrinfo-error ...] In guix/cve.scm: 67: 3 [call-with-cve-port #] In guix/utils.scm: 255: 2 [call-with-decompressed-port gzip ...] In guix/cve.scm: 143: 1 [# #] 133: 0 [xml->vulnerabilities #] guix/cve.scm:133:11: In procedure xml->vulnerabilities: guix/cve.scm:133:11: Throw to key `parser-error' with args `(# "XML [22], unexpected EOF")'. Backtrace: In ice-9/boot-9.scm: 2401: 19 [save-module-excursion #] 4050: 18 [#] 1724: 17 [%start-stack load-stack ...] 1729: 16 [#] 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 # #] 619: 12 [for-each # #] In guix/scripts/lint.scm: 608: 11 [check-vulnerabilities #] 602: 10 [# #] In unknown file: ?: 9 [force #>] In guix/scripts/lint.scm: 592: 8 [#] In ice-9/boot-9.scm: 157: 7 [catch getaddrinfo-error ...] In guix/cve.scm: 67: 6 [call-with-cve-port #] In guix/utils.scm: 255: 5 [call-with-decompressed-port gzip ...] In guix/cve.scm: 143: 4 [# #] 133: 3 [xml->vulnerabilities #] In ice-9/boot-9.scm: 105: 2 [# 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)