From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#33755: error: execlp: No such file or directory from guix environment Date: Tue, 18 Dec 2018 10:05:12 +0100 Message-ID: <87tvjbjjcn.fsf@gnu.org> References: <6d6639a0587b793ec342c7d1de36e7c3@riseup.net> <87h8femz5z.fsf@ngyro.com> <875zvumyd3.fsf@ngyro.com> <20181215203853.1b267a72@scratchpost.org> <87efaiyu5c.fsf@ngyro.com> <8736qxtq2c.fsf@gnu.org> <875zvszrwd.fsf@ngyro.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZBKI-0001T4-BF for bug-guix@gnu.org; Tue, 18 Dec 2018 04:06:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZBKH-0008Qk-Cs for bug-guix@gnu.org; Tue, 18 Dec 2018 04:06:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48339) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZBKF-0008OG-0V for bug-guix@gnu.org; Tue, 18 Dec 2018 04:06:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gZBKE-0000eB-Ow for bug-guix@gnu.org; Tue, 18 Dec 2018 04:06:02 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <875zvszrwd.fsf@ngyro.com> (Timothy Sample's message of "Sun, 16 Dec 2018 23:41:38 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Timothy Sample Cc: swedebugia@riseup.net, 33755-done@debbugs.gnu.org Hi Timothy, Timothy Sample skribis: > Aha! I didn=E2=80=99t know about =E2=80=9Cerror-reporting-wrapper=E2=80= =9D. I think this makes > sense. It fixes the same issue in the container script, too. I=E2=80=99= ve > attached an updated patch. > > I had to modify =E2=80=9Cerror-reporting-wrapper=E2=80=9D to deal with th= e fact that > =E2=80=9Cexeclp=E2=80=9D 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 > Date: Sun, 16 Dec 2018 23:12:13 -0500 > Subject: [PATCH] ui: Report file names in 'system-error' exceptions from > 'execlp'. > > Fixes . > > * guix/ui.scm (apply-formals): New macro. > (execlp): New error-reporting wrapper. Applied, thank you! Ludo=E2=80=99.