Emacs currently requires bash and gzip to be propagated to load core functionality

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Maxim Cournoyer
Severity
normal
M
M
Maxim Cournoyer wrote on 6 Jul 2020 04:59
Emacs currently requires bash and gzip to be progatade to load core functionality.
(name . bug-guix)(address . bug-guix@gnu.org)
87a70dl56n.fsf@gmail.com
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

M
M
Maxim Cournoyer wrote on 9 Jul 2020 05:02
control message for bug #42224
(address . control@debbugs.gnu.org)
875zaxl7ad.fsf@gmail.com
retitle 42224 Emacs currently requires bash and gzip to be propagated to load core functionality
quit
L
L
Ludovic Courtès wrote on 13 Jul 2020 15:47
Re: bug#42224: Emacs currently requires bash and gzip to be progatade to load core functionality.
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)(address . 42224@debbugs.gnu.org)
87v9irplw9.fsf@gnu.org
Hi,

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

Toggle quote (5 lines)
> 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!

Toggle quote (3 lines)
> 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’.
M
M
Maxim Cournoyer wrote on 20 May 2021 14:42
Re: bug#42224: Emacs currently requires bash and gzip to be propagated to load core functionality
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 42224-done@debbugs.gnu.org)
875yzd1srb.fsf_-_@gmail.com
Hi,

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

Toggle quote (14 lines)
> Hi,
>
> Maxim Cournoyer <maxim.cournoyer@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
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 42224@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 42224
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch