GNU bug report logs -
#33755
error: execlp: No such file or directory from guix environment
Previous Next
Reported by: swedebugia <at> riseup.net
Date: Sat, 15 Dec 2018 07:10:01 UTC
Severity: normal
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Tue, 18 Dec 2018 10:05:12 +0100
with message-id <87tvjbjjcn.fsf <at> gnu.org>
and subject line Re: bug#33755: error: execlp: No such file or directory from guix environment
has caused the debbugs.gnu.org bug report #33755,
regarding error: execlp: No such file or directory from guix environment
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
33755: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33755
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi
Is this a bug?
sdb <at> antelope ~/src/guix$ guix environment guix -- ad-hoc libgit2 texinfo
guix environment: error: execlp: No such file or directory
I meant to type:
sdb <at> 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"
--
Cheers
Swedebugia
[Message part 3 (message/rfc822, inline)]
Hi Timothy,
Timothy Sample <samplet <at> ngyro.com> skribis:
> Aha! I didn’t know about “error-reporting-wrapper”. I think this makes
> sense. It fixes the same issue in the container script, too. I’ve
> attached an updated patch.
>
> I had to modify “error-reporting-wrapper” to deal with the fact that
> “execlp” takes a variable number of arguments. I tested it and it works
> for the old use-case as well as the new. On whether or not it works
> stylistically, I defer to you.
I like it. :-)
> From 428b80973026909c915e1f33d4509e82f66355e3 Mon Sep 17 00:00:00 2001
> From: Timothy Sample <samplet <at> ngyro.com>
> Date: Sun, 16 Dec 2018 23:12:13 -0500
> Subject: [PATCH] ui: Report file names in 'system-error' exceptions from
> 'execlp'.
>
> Fixes <https://bugs.gnu.org/33755>.
>
> * guix/ui.scm (apply-formals): New macro.
> (execlp): New error-reporting wrapper.
Applied, thank you!
Ludo’.
This bug report was last modified 6 years and 240 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.