[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33755: error: execlp: No such file or directory from guix environmen
From: |
Timothy Sample |
Subject: |
bug#33755: error: execlp: No such file or directory from guix environment |
Date: |
Sat, 15 Dec 2018 13:18:32 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi,
Julien Lepiller <address@hidden> writes:
> Hi, this is because we have a -- option. "guix environment guix --
> ad-hoc libgit2" means you want to run "ad-hoc libgit2" in a guix
> environment. The error message tells you that it can't find an ad-hoc
> executable in that environment. There is no "ad-hoc" package involved
> here…
This is true, but I would argue that the error message is not quite as
clear as you say. Specifically, it does not mention “ad-hoc” at all.
I’ve attached a patch that so that the command
$ guix environment guix -- ad-hoc
prints
guix environment: error: ad-hoc: command not found
and exits with status 127. (In imitation of “bash -c 'ad-hoc'”.)
Thoughts?
> Le 15 décembre 2018 08:09:37 GMT+01:00, address@hidden a écrit :
>>Hi
>>
>>Is this a bug?
>>
>>address@hidden ~/src/guix$ guix environment guix -- ad-hoc libgit2
>>texinfo
>>guix environment: error: execlp: No such file or directory
>>
>>I meant to type:
>>address@hidden ~/src/guix$ guix environment guix --ad-hoc libgit2 texinfo
>>
>>I would have liked an error saying "error: package ad-hoc not found -
>>cannot add it to the environment"
-- Tim
<<< message/external-body; name="/home/samplet/code/3rdparty/guix/0001-environment-Print-command-name-on-execlp-error.patch"; access-type=local-file: Unrecognized >>>
- bug#33755: error: execlp: No such file or directory from guix environment, swedebugia, 2018/12/15
- bug#33755: error: execlp: No such file or directory from guix environment, Julien Lepiller, 2018/12/15
- bug#33755: error: execlp: No such file or directory from guix environment,
Timothy Sample <=
- bug#33755: error: execlp: No such file or directory from guix environment, Timothy Sample, 2018/12/15
- bug#33755: error: execlp: No such file or directory from guix environment, Danny Milosavljevic, 2018/12/15
- bug#33755: error: execlp: No such file or directory from guix environment, Timothy Sample, 2018/12/15
- bug#33755: error: execlp: No such file or directory from guix environment, Ludovic Courtès, 2018/12/16
- bug#33755: error: execlp: No such file or directory from guix environment, Timothy Sample, 2018/12/16
- bug#33755: error: execlp: No such file or directory from guix environment, Ludovic Courtès, 2018/12/18