GNU bug report logs - #33755
error: execlp: No such file or directory from guix environment

Previous Next

Package: guix;

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

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: swedebugia <at> riseup.net
Subject: bug#33755: closed (Re: bug#33755: error: execlp: No such file or
 directory from guix environment)
Date: Tue, 18 Dec 2018 09:06:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#33755: error: execlp: No such file or directory from guix environment

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 33755 <at> debbugs.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)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Timothy Sample <samplet <at> ngyro.com>
Cc: swedebugia <at> riseup.net, Danny Milosavljevic <dannym <at> scratchpost.org>,
 33755-done <at> debbugs.gnu.org
Subject: Re: bug#33755: error: execlp: No such file or directory from guix
 environment
Date: Tue, 18 Dec 2018 10:05:12 +0100
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’.

[Message part 3 (message/rfc822, inline)]
From: swedebugia <at> riseup.net
To: bug-guix <at> gnu.org
Subject: error: execlp: No such file or directory from guix environment
Date: Fri, 14 Dec 2018 23:09:37 -0800
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



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.