Package: emacs-gtk
Version: 1:28.2+1-6
Severity: normal

Dear Maintainer,

thank you very much for packaging emacs 28 for Debian!


   * What led up to the situation?

Installing emacs-gtk from unstable on a system using sway/xwayland.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

start emacs from foot/bash prompt.

   * What was the outcome of this action?
(emacs:6069): Gtk-WARNING **: 20:54:52.756: cannot open display: :0

   * What outcome did you expect instead?
emacs starting and drawing a window.

Further information:

At the end of an strace I find this:

socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 4
connect(4, {sa_family=AF_UNIX, sun_path="/run/user/1000/:0"}, 20) = -1 ENOENT 
(No such file or directory)
close(4)                                = 0
getpeername(2, 0x7ffdb0480040, [128])   = -1 ENOTSOCK (Socket operation on 
non-socket)
futex(0x7f89ca48dfe8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
getpid()                                = 3004
newfstatat(AT_FDCWD, "/etc/localtime", {st_mode=S_IFREG|0644, st_size=2298, 
...}, 0) = 0
write(2, "\n(emacs:3004): Gtk-\33[1;33mWARNIN"..., 89) = 89
close(1)                                = 0
close(2)                                = 0
exit_group(1)                           = ?

I can confirm that /run/user/1000/:0 does not exist.

emacs -nw does work and runs in said foot terminal
an older 28.1.50 version built from sources does work fine!

ii  sway           1.7-6        amd64        i3-compatible Wayland compositor
ii  xwayland       2:22.1.5-1   amd64        X server for running X clients 
under Wayland




-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-4-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages emacs-gtk depends on:
ii  emacs-bin-common     1:28.2+1-6
ii  emacs-common         1:28.2+1-6
ii  libacl1              2.3.1-1
ii  libasound2           1.2.7.2-1
ii  libc6                2.36-5
ii  libcairo2            1.16.0-6
ii  libdbus-1-3          1.14.4-1
ii  libfontconfig1       2.13.1-4.5
ii  libfreetype6         2.12.1+dfsg-3
ii  libgccjit0           12.2.0-9
ii  libgdk-pixbuf-2.0-0  2.42.9+dfsg-1
ii  libgif7              5.2.1-2.5
ii  libglib2.0-0         2.74.1-2
ii  libgmp10             2:6.2.1+dfsg1-1.1
ii  libgnutls30          3.7.8-4
ii  libgpm2              1.20.7-10+b1
ii  libgtk-3-0           3.24.34-4
ii  libharfbuzz0b        5.2.0-2+b1
ii  libice6              2:1.0.10-1
ii  libjansson4          2.14-2
ii  libjpeg62-turbo      1:2.1.2-1+b1
ii  liblcms2-2           2.13.1-1+b1
ii  libm17n-0            1.8.0-4
ii  libotf1              0.9.16-3+b1
ii  libpango-1.0-0       1.50.10+ds-1
ii  libpng16-16          1.6.38-2
ii  librsvg2-2           2.54.5+dfsg-1
ii  libselinux1          3.4-1+b3
ii  libsm6               2:1.2.3-1
ii  libsystemd0          252.1-1
ii  libtiff5             4.4.0-5+b1
ii  libtinfo6            6.3+20220423-2
ii  libx11-6             2:1.8.1-2
ii  libxext6             2:1.3.4-1+b1
ii  libxfixes3           1:6.0.0-2
ii  libxml2              2.9.14+dfsg-1.1+b2
ii  libxrender1          1:0.9.10-1.1
ii  zlib1g               1:1.2.13.dfsg-1

Versions of packages emacs-gtk recommends:
pn  fonts-noto-color-emoji  <none>

Versions of packages emacs-gtk suggests:
ii  emacs-common-non-dfsg  1:28.2+1-2

-- no debconf information

Reply via email to