unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#42224: Emacs currently requires bash and gzip to be progatade to load core functionality.
@ 2020-07-06  2:59 Maxim Cournoyer
  2020-07-13 13:47 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2020-07-06  2:59 UTC (permalink / raw)
  To: 42224

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#42224: Emacs currently requires bash and gzip to be progatade to load core functionality.
  2020-07-06  2:59 bug#42224: Emacs currently requires bash and gzip to be progatade to load core functionality Maxim Cournoyer
@ 2020-07-13 13:47 ` Ludovic Courtès
  2021-05-20 12:42   ` bug#42224: Emacs currently requires bash and gzip to be propagated " Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2020-07-13 13:47 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 42224

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.

Yup, looks like the way to go.

Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#42224: Emacs currently requires bash and gzip to be propagated to load core functionality
  2020-07-13 13:47 ` Ludovic Courtès
@ 2021-05-20 12:42   ` Maxim Cournoyer
  0 siblings, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2021-05-20 12:42 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 42224-done

Hi,

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

> 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-20 12:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-06  2:59 bug#42224: Emacs currently requires bash and gzip to be progatade to load core functionality Maxim Cournoyer
2020-07-13 13:47 ` Ludovic Courtès
2021-05-20 12:42   ` bug#42224: Emacs currently requires bash and gzip to be propagated " Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).