GNU bug report logs - #54400
Emacs error in Ubuntu

Previous Next

Package: guix;

Reported by: Vicente Mataix ferrandiz <vicente.mataix-ferrandiz <at> inria.fr>

Date: Tue, 15 Mar 2022 16:16:02 UTC

Severity: normal

Tags: moreinfo

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: zimoun <zimon.toutoune <at> gmail.com>
To: Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at>, Vicente Mataix ferrandiz <vicente.mataix-ferrandiz <at> inria.fr>, 54400 <at> debbugs.gnu.org
Subject: bug#54400: Emacs error in Ubuntu
Date: Wed, 16 Mar 2022 10:36:04 +0100
Hi Liliana.

On Wed, 16 Mar 2022 at 09:02, Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at> wrote:

> --8<---------------cut here---------------start------------->8---
> $ ldd $GUIX_ENVIRONMENT/bin/.emacs-27.2-real | grep lzma
> 	liblzma.so.5 => /gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/lib/liblzma.so.5 (0x00007f7919fee000)
> --8<---------------cut here---------------end--------------->8---
>
> where xz is one of those magic libraries you'd expect to exist in any
> distro.  However,
>
> --8<---------------cut here---------------start------------->8---
> $ guix show emacs | recsel -p dependencies
> dependencies: acl <at> 2.3.1 alsa-lib <at> 1.2.4 cairo <at> 1.16.0 coreutils <at> 8.32
> + dbus <at> 1.12.20 ghostscript <at> 9.54.0 giflib <at> 5.2.1 gmp <at> 6.2.1 gnutls <at> 3.7.2 gpm <at> 1.20.7
> + gtk+@3.24.30 gzip <at> 1.10 harfbuzz <at> 2.8.2 jansson <at> 2.13.1 libice <at> 1.0.10
> + libjpeg-turbo <at> 2.0.5 libotf <at> 0.9.16 libpng <at> 1.6.37 librsvg <at> 2.50.7 libsm <at> 1.2.3
> + libtiff <at> 4.3.0 libx11 <at> 1.7.3.1 libxft <at> 2.3.3 libxml2 <at> 2.9.12 libxpm <at> 3.5.13
> + m17n-lib <at> 1.8.0 mailutils <at> 3.14 ncurses <at> 6.2.20210619 pango <at> 1.48.10
> + pkg-config <at> 0.29.2 poppler <at> 21.07.0 texinfo <at> 6.7 zlib <at> 1.2.11
> --8<---------------cut here---------------end--------------->8---
>
> If at all, xz is included as implicit input to unpack Emacs!  We should
> probably add it as explicit input instead.

--8<---------------cut here---------------start------------->8---
$ guix graph --path emacs xz
emacs <at> 27.2
libxml2 <at> 2.9.12
xz <at> 5.2.5
--8<---------------cut here---------------end--------------->8---

Note that

--8<---------------cut here---------------start------------->8---
    (source (origin
              (method url-fetch)
              (uri (string-append "mirror://gnu/emacs/emacs-"
                                  version ".tar.xz"))
--8<---------------cut here---------------end--------------->8---

but I do not see ’xz’ in the implicit inputs; only emacs-minimal.  Quick
look, maybe I miss it.

Well, indeed, something seems unexpected if the Emacs binary is linked
to liblzma and this liblzma is not an explicit inputs but instead comes
from a reference to another inputs.


Cheers,
simon




This bug report was last modified 3 years and 3 days ago.

Previous Next


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