GNU bug report logs - #22677
guix lint fails with -dc switch missing

Previous Next

Package: guix;

Reported by: Pjotr Prins <pjotr.public12 <at> thebird.nl>

Date: Mon, 15 Feb 2016 11:02:02 UTC

Severity: normal

Tags: notabug

Fixed in version 0.9.0

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22677 in the body.
You can then email your comments to 22677 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#22677; Package guix. (Mon, 15 Feb 2016 11:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pjotr Prins <pjotr.public12 <at> thebird.nl>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 15 Feb 2016 11:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pjotr Prins <pjotr.public12 <at> thebird.nl>
To: bug-guix <at> gnu.org
Subject: guix lint fails with -dc switch missing
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)





Information forwarded to bug-guix <at> gnu.org:
bug#22677; Package guix. (Mon, 15 Feb 2016 11:29:02 GMT) Full text and rfc822 format available.

Message #8 received at 22677 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
To: Pjotr Prins <pjotr.public12 <at> thebird.nl>
Cc: 22677 <at> debbugs.gnu.org
Subject: Re: bug#22677: guix lint fails with -dc switch missing
Date: Mon, 15 Feb 2016 12:28:14 +0100
Pjotr Prins <pjotr.public12 <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#22677; Package guix. (Mon, 15 Feb 2016 17:57:03 GMT) Full text and rfc822 format available.

Message #11 received at 22677 <at> debbugs.gnu.org (full text, mbox):

From: Pjotr Prins <pjotr2016 <at> thebird.nl>
To: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
Cc: Pjotr Prins <pjotr.public12 <at> thebird.nl>, 22677 <at> debbugs.gnu.org
Subject: Re: bug#22677: guix lint fails with -dc switch missing
Date: Mon, 15 Feb 2016 12:48:33 +0100
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.




Information forwarded to bug-guix <at> gnu.org:
bug#22677; Package guix. (Sun, 21 Feb 2016 22:38:02 GMT) Full text and rfc822 format available.

Message #14 received at 22677 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Pjotr Prins <pjotr2016 <at> thebird.nl>
Cc: 22677 <at> debbugs.gnu.org, Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
Subject: Re: bug#22677: guix lint fails with -dc switch missing
Date: Sun, 21 Feb 2016 23:36:50 +0100
Pjotr Prins <pjotr2016 <at> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#22677; Package guix. (Mon, 22 Feb 2016 08:17:02 GMT) Full text and rfc822 format available.

Message #17 received at 22677 <at> debbugs.gnu.org (full text, mbox):

From: Pjotr Prins <pjotr2016 <at> thebird.nl>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 22677 <at> debbugs.gnu.org, Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
Subject: Re: bug#22677: guix lint fails with -dc switch missing
Date: Mon, 22 Feb 2016 09:15:42 +0100
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")

-- 




Information forwarded to bug-guix <at> gnu.org:
bug#22677; Package guix. (Mon, 22 Feb 2016 11:19:01 GMT) Full text and rfc822 format available.

Message #20 received at 22677 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Pjotr Prins <pjotr2016 <at> thebird.nl>
Cc: 22677 <at> debbugs.gnu.org, Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
Subject: Re: bug#22677: guix lint fails with -dc switch missing
Date: Mon, 22 Feb 2016 12:18:19 +0100
Pjotr Prins <pjotr2016 <at> 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’.




Added tag(s) notabug. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Mon, 22 Feb 2016 11:19:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 0.9.0, send any further explanations to 22677 <at> debbugs.gnu.org and Pjotr Prins <pjotr.public12 <at> thebird.nl> Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Mon, 22 Feb 2016 11:19:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 21 Mar 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 153 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.