[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #!/usr/bin/env perl
From: |
Andreas Enge |
Subject: |
Re: #!/usr/bin/env perl |
Date: |
Sat, 23 Feb 2013 18:48:08 +0100 |
User-agent: |
KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) |
Am Samstag, 23. Februar 2013 schrieb Ludovic Courtès:
> Andreas Enge <address@hidden> skribis:
> > I had test failures in coreutils,
>
> Do you still have the details around? ‘env’ is part of Coreutils, so it
> may be that it’s testing its behavior, and that patching prevents that.
This was also my suspicion, but it did not seem to be the case - I looked
at what was patch-shebanged, and none of it contained "env". I will check
again once core-updates works.
> > In /usr/local/bin/guix:
> > 59: 1 [#<procedure 28381c0 ()>]
> >
> > In unknown file:
> > ?: 0 [scm-error misc-error #f ...]
> >
> > ERROR: In procedure scm-error:
> > ERROR: No variable named guix-main in #<interface (guix ui) 28a0ea0>
>
> You should be using ‘./pre-inst-env guix build xxx’, which you don’t
> seem to be doing, no?
No, but I always do "make install" first. Prepending "./pre-inst-env" does
not change anything.
> For info about why this happens, you could try:
> guile -c '(pk (@ (guix ui) guix-main))'
Backtrace:
In ice-9/boot-9.scm:
149: 10 [catch #t #<catch-closure 1e31a00> ...]
157: 9 [#<procedure 1dcd0f0 ()>]
In unknown file:
?: 8 [catch-closure]
In ice-9/boot-9.scm:
63: 7 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
407: 6 [eval # #]
In unknown file:
?: 5 [call-with-input-string "(pk (@ (guix ui) guix-main))" ...]
In ice-9/command-line.scm:
174: 4 [#<procedure 1d4c460 at ice-9/command-line.scm:169:3 (port)>
#<input: string 1bf34e0>]
In unknown file:
?: 3 [eval (pk (@ (guix ui) guix-main)) #<directory (guile-user)
1e33d80>]
In ice-9/eval.scm:
368: 2 [eval # ()]
425: 1 [eval #<memoized (@ (guix ui) guix-main)> ()]
In unknown file:
?: 0 [memoize-variable-access! #<memoized (@ (guix ui) guix-main)> #f]
ERROR: In procedure memoize-variable-access!:
ERROR: In procedure module-lookup: Wrong type argument in position 1
(expecting module): #f
$ guile --version
guile (GNU Guile) 2.0.5-deb+1-3
Andreas
Re: #!/usr/bin/env perl, Mark H Weaver, 2013/02/24