From: Timothy Sample <samplet@ngyro.com>
To: Julien Lepiller <julien@lepiller.eu>
Cc: swedebugia@riseup.net, 33755@debbugs.gnu.org
Subject: bug#33755: error: execlp: No such file or directory from guix environment
Date: Sat, 15 Dec 2018 13:18:32 -0500 [thread overview]
Message-ID: <87h8femz5z.fsf@ngyro.com> (raw)
In-Reply-To: <C83228E5-9965-433F-B711-72DD75D310C7@lepiller.eu> (Julien Lepiller's message of "Sat, 15 Dec 2018 10:40:48 +0100")
[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]
Hi,
Julien Lepiller <julien@lepiller.eu> 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, swedebugia@riseup.net a écrit :
>>Hi
>>
>>Is this a bug?
>>
>>sdb@antelope ~/src/guix$ guix environment guix -- ad-hoc libgit2
>>texinfo
>>guix environment: error: execlp: No such file or directory
>>
>>I meant to type:
>>sdb@antelope ~/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
[-- Attachment #2: /home/samplet/code/3rdparty/guix/0001-environment-Print-command-name-on-execlp-error.patch --]
[-- Type: message/external-body, Size: 102 bytes --]
next prev parent reply other threads:[~2018-12-15 18:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-15 7:09 bug#33755: error: execlp: No such file or directory from guix environment swedebugia
2018-12-15 9:40 ` Julien Lepiller
2018-12-15 18:18 ` Timothy Sample [this message]
2018-12-15 18:35 ` Timothy Sample
2018-12-15 19:38 ` Danny Milosavljevic
2018-12-16 4:26 ` Timothy Sample
2018-12-16 16:05 ` Ludovic Courtès
2018-12-17 4:41 ` Timothy Sample
2018-12-18 9:05 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h8femz5z.fsf@ngyro.com \
--to=samplet@ngyro.com \
--cc=33755@debbugs.gnu.org \
--cc=julien@lepiller.eu \
--cc=swedebugia@riseup.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.