GNU bug report logs - #42224
Emacs currently requires bash and gzip to be propagated to load core functionality

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Mon, 6 Jul 2020 03:00:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42224 in the body.
You can then email your comments to 42224 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#42224; Package guix. (Mon, 06 Jul 2020 03:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 06 Jul 2020 03:00:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: Emacs currently requires bash and gzip to be progatade to load core
 functionality.
Date: Sun, 05 Jul 2020 22:59:12 -0400
Hello!

It was discovered while troubleshooting an issue on help-guix [0] that
Emacs cannot currently load its subr-x module (there are probably many
more) when used in a pure environment (or container) that doesn't
propagate bash and gzip, which it uses to decompress the said module.

The fix would be to patch Emacs' sources so those programs are referred
by their absolute store paths rather than simply being looked in PATH.

Maxim

[0]  https://lists.gnu.org/archive/html/help-guix/2020-06/msg00143.html




Changed bug title to 'Emacs currently requires bash and gzip to be propagated to load core functionality' from 'Emacs currently requires bash and gzip to be progatade to load core functionality.' Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 09 Jul 2020 03:03:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#42224; Package guix. (Mon, 13 Jul 2020 13:48:02 GMT) Full text and rfc822 format available.

Message #10 received at 42224 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 42224 <at> debbugs.gnu.org
Subject: Re: bug#42224: Emacs currently requires bash and gzip to be progatade
 to load core functionality.
Date: Mon, 13 Jul 2020 15:47:18 +0200
Hi,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> skribis:

> It was discovered while troubleshooting an issue on help-guix [0] that
> Emacs cannot currently load its subr-x module (there are probably many
> more) when used in a pure environment (or container) that doesn't
> propagate bash and gzip, which it uses to decompress the said module.

D’oh!

> The fix would be to patch Emacs' sources so those programs are referred
> by their absolute store paths rather than simply being looked in PATH.

Yup, looks like the way to go.

Ludo’.




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Thu, 20 May 2021 12:43:02 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Thu, 20 May 2021 12:43:02 GMT) Full text and rfc822 format available.

Message #15 received at 42224-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 42224-done <at> debbugs.gnu.org
Subject: Re: bug#42224: Emacs currently requires bash and gzip to be
 propagated to load core functionality
Date: Thu, 20 May 2021 08:42:16 -0400
Hi,

Ludovic Courtès <ludo <at> gnu.org> writes:

> Hi,
>
> Maxim Cournoyer <maxim.cournoyer <at> gmail.com> skribis:
>
>> It was discovered while troubleshooting an issue on help-guix [0] that
>> Emacs cannot currently load its subr-x module (there are probably many
>> more) when used in a pure environment (or container) that doesn't
>> propagate bash and gzip, which it uses to decompress the said module.
>
> D’oh!
>
>> The fix would be to patch Emacs' sources so those programs are referred
>> by their absolute store paths rather than simply being looked in PATH.

I believe this was fixed by Leo Prikler in their commit
d13b46fae46fe0e0d529e67ffc7f4074440d1b6e (gnu: emacs: Add coreutils and
gzip to PATH).

Closing!

Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 18 Jun 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 312 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.