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
Message #31 received at 33755-done <at> debbugs.gnu.org (full text, mbox):
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.