Subject: Re: bug#54400: Emacs error in Ubuntu

From: zimoun <[email-masked]>
Date: Wed, 16 Mar 2022 11:11:35 +0100

Hi Liliana,

On Wed, 16 Mar 2022 at 10:48, Liliana Marie Prikler <[email-masked]> wrote:

> Vicente, could you check the output of ldd for your Emacs, as well as
> libxml2 and also check whether your xz package is perhaps broken and
> ought to be repaired?

I am not Vicente but mine looks like with Guix ff093f5 on Debian.

--8<---------------cut here---------------start------------->8---
$ guix shell libxml2
[env]$ ldd $GUIX_ENVIRONMENT/lib/libxml2.so | grep lzma
	liblzma.so.5 => /gnu/store/aggsb6j1svxp70xlll4rqnx5f2pzz794-xz-5.2.5/lib/liblzma.so.5 (0x00007fee6026e000)
--8<---------------cut here---------------end--------------->8---

and

--8<---------------cut here---------------start------------->8---
$ guix shell emacs
[env]$ ldd $GUIX_ENVIRONMENT/bin/.emacs-27.2-real | grep lzma
	liblzma.so.5 => /gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/lib/liblzma.so.5 (0x00007f134d7e3000)
--8<---------------cut here---------------end--------------->8---

Ah!  It is not the “same“ xz. :-) Well, it probably does not come from
libxml2 (except if there is a graft).

Anyway, I suspect something wrong with Vicente’s ’env’.

Cheers,
simon