Subject: elpa-elscreen: elscreen_1.4.6-8 fails to compile with emacs 28.2
Package: elpa-elscreen
X-Debbugs-Cc: leo.but...@umanitoba.ca
Version: 1.4.6-8
Severity: grave
Justification: renders package unusable
Tags: ftbfs

Dear Maintainer,

Upgrading my testing installation produced the following:

#+begin_example
Install elpa-elscreen for emacs
install/elscreen-1.4.6: Handling install of emacsen flavor emacs
install/elscreen-1.4.6: byte-compiling for emacs

In toplevel form:
elscreen-color-theme.el:25:1: Error: Wrong number of arguments: 
make-obsolete-variable, 2

In toplevel form:
elscreen-dired.el:26:1: Error: Wrong number of arguments: 
make-obsolete-variable, 2

In toplevel form:
elscreen-dnd.el:26:1: Error: Wrong number of arguments: make-obsolete-variable, 
2

In toplevel form:
elscreen-gf.el:28:1: Error: Wrong number of arguments: make-obsolete-variable, 2

In toplevel form:
elscreen-goby.el:26:1: Error: Wrong number of arguments: 
make-obsolete-variable, 2

In toplevel form:
elscreen-howm.el:26:1: Error: Wrong number of arguments: 
make-obsolete-variable, 2

In toplevel form:
elscreen-server.el:27:1: Error: Wrong number of arguments: 
make-obsolete-variable, 2

In toplevel form:
elscreen-speedbar.el:25:1: Error: Wrong number of arguments: 
make-obsolete-variable, 2

In toplevel form:
elscreen-w3m.el:26:1: Error: Wrong number of arguments: make-obsolete-variable, 
2

In toplevel form:
elscreen.el:155:4: Warning: make-obsolete-variable called with 2 arguments,
    but requires 3-4
    elscreen.el:201:13: Warning: custom-declare-variable
        `elscreen-tab-display-kill-screen' docstring wider than 80 characters

In elscreen-get-alist-to-nickname:
elscreen.el:630:8: Warning: ‘mapcar’ called for effect; use ‘mapc’ or ‘dolist’
    instead

In elscreen-get-screen-to-name-alist:
elscreen.el:666:21: Warning: ‘mapcar’ called for effect; use ‘mapc’ or
    ‘dolist’ instead
    elscreen.el:666:21: Warning: ‘mapcar’ called for effect; use ‘mapc’ or
        ‘dolist’ instead

In elscreen-find-screens:
elscreen.el:769:11: Warning: ‘mapcar’ called for effect; use ‘mapc’ or
    ‘dolist’ instead

In elscreen-find-screen-by-major-mode:
elscreen.el:818:15: Warning: ‘mapcar’ called for effect; use ‘mapc’ or
    ‘dolist’ instead

In elscreen-find-screen-by-major-mode:
elscreen.el:818:15: Warning: ‘mapcar’ called for effect; use ‘mapc’ or
    ‘dolist’ instead

In elscreen-kill-others:
elscreen.el:927:14: Warning: ‘interactive-p’ is an obsolete function (as of
    23.2); use ‘called-interactively-p’ instead.
    elscreen.el:929:5: Warning: ‘interactive-p’ is an obsolete function (as of
        23.2); use ‘called-interactively-p’ instead.
        elscreen.el:929:5: Warning: ‘interactive-p’ is an obsolete function (as 
of
            23.2); use ‘called-interactively-p’ instead.
            elscreen.el:926:45: Warning: ‘interactive-p’ is an obsolete 
function (as of
                23.2); use ‘called-interactively-p’ instead.

In elscreen-select-and-goto:
elscreen.el:1170:8: Warning: ‘mapcar’ called for effect; use ‘mapc’ or
    ‘dolist’ instead
    elscreen.el:1183:43: Warning: ‘mapcar’ called for effect; use ‘mapc’ or
        ‘dolist’ instead

In elscreen-find-and-goto-by-buffer:
elscreen.el:1193:30: Warning: ‘interactive-p’ is an obsolete function (as of
    23.2); use ‘called-interactively-p’ instead.

In elscreen-find-file-read-only:
elscreen.el:1220:4: Warning: ‘toggle-read-only’ is an obsolete function (as of
    24.3); use ‘read-only-mode’ instead.

In elscreen-e21-tab-update:
elscreen.el:1533:38: Warning: ‘mapcar’ called for effect; use ‘mapc’ or
    ‘dolist’ instead

In elscreen-command-line-funcall:
elscreen.el:1676:10: Warning: reference to free variable ‘file-count’
elscreen.el:1676:10: Warning: assignment to free variable ‘file-count’

In elscreen-command-line-find-file:
elscreen.el:1693:20: Warning: ‘goto-line’ is for interactive use only; use
    ‘forward-line’ instead.
    elscreen.el:1728:13: Warning: reference to free variable ‘file-count’
    elscreen.el:1728:28: Warning: assignment to free variable ‘file-count’
    elscreen.el:1732:50: Warning: reference to free variable ‘orig-argi’
    elscreen.el:1751:16: Warning: reference to free variable ‘dir’
    elscreen.el:1777:54: Warning: reference to free variable ‘line’
    elscreen.el:1717:13: Warning: reference to free variable ‘column’
    elscreen.el:1778:21: Warning: assignment to free variable ‘line’
    elscreen.el:1778:21: Warning: assignment to free variable ‘column’
    elscreen.el:1733:16: Warning: reference to free variable ‘cl1-dir’
    elscreen.el:1734:58: Warning: reference to free variable ‘cl1-line’
elscreen.el:1734:67: Warning: reference to free variable ‘cl1-column’
elscreen.el:1735:13: Warning: assignment to free variable ‘cl1-line’
elscreen.el:1736:13: Warning: assignment to free variable ‘cl1-column’

In elscreen-start:
elscreen.el:1813:4: Warning: ‘mapcar’ called for effect; use ‘mapc’ or
    ‘dolist’ instead

In end of data:
elscreen.el:1225:19: Warning: the function ‘dired-read-dir-and-switches’ is
    not known to be defined.
    elscreen.el:1197:33: Warning: the function ‘iswitchb-read-buffer’ is not 
known
        to be defined.
        elscreen.el:1059:6: Warning: the function ‘print-help-return-message’ 
is not
            known to be defined.
            ERROR: install script from elpa-elscreen package failed
            dpkg: error processing package emacs-gtk (--configure):
             installed emacs-gtk package post-installation script subprocess 
returned error exit status 1
             Setting up ristretto (0.12.4-1) ...
             Setting up xfce4-appfinder (4.18.0-1) ...
             Setting up libwebkit2gtk-4.0-37:amd64 (2.38.3-1) ...
             Setting up libgtk-4-1:amd64 (4.8.2+ds-4) ...
             Setting up firefox-esr (102.6.0esr-1) ...
             Setting up libxfce4ui-utils (4.18.0-1) ...
             Setting up libwxgtk3.2-1:amd64 (3.2.1+dfsg-3) ...
             Setting up libwebkit2gtk-4.1-0:amd64 (2.38.3-1) ...
             Setting up gir1.2-webkit2-4.0:amd64 (2.38.3-1) ...
             Setting up system-config-printer-common (1.5.18-1) ...
             dpkg: dependency problems prevent configuration of emacs:
              emacs depends on emacs-gtk (>= 1:27.1) | emacs-lucid (>= 1:27.1) 
| emacs-nox (>= 1:27.1); however:
                Package emacs-gtk is not configured yet.
                  Package emacs-lucid is not installed.
                    Package emacs-nox is not installed.

dpkg: error processing package emacs (--configure):
 dependency problems - leaving unconfigured
 dpkg: dependency problems prevent configuration of maxima-emacs:
  maxima-emacs depends on emacs-gtk | emacsen; however:
    Package emacs-gtk is not configured yet.
      Package emacsen is not installed.
        Package emacs-gtk which provides emacsen is not configured yet.

dpkg: error processing package maxima-emacs (--configure):
 dependency problems - leaving unconfigured
 Setting up libxfce4panel-2.0-4 (4.18.0-1) ...
 Setting up xfwm4 (4.18.0-1) ...
 Setting up libexo-2-0:amd64 (4.18.0-1) ...
 Setting up xfce4-sensors-plugin (1.4.4-1) ...
 Setting up gnuplot-qt (5.4.4+dfsg1-2+b2) ...
 dpkg: dependency problems prevent processing triggers for auctex:
  auctex depends on emacs; however:
  Package emacs is not configured yet.
    Package emacs-gtk which provides emacs is not configured yet.

dpkg: error processing package auctex (--configure):
 dependency problems - leaving triggers unprocessed
 Setting up system-config-printer (1.5.18-1) ...
 Installing new version of config file /etc/xdg/autostart/print-applet.desktop 
...
 Setting up xfce4-power-manager-plugins (4.18.0-1) ...
 Setting up xfce4-cpugraph-plugin:amd64 (1.2.7-1) ...
 Setting up exo-utils (4.18.0-1) ...
 Setting up xfce4-panel (4.18.0-1) ...
 Setting up xfce4-notifyd (0.6.5-1) ...
 dpkg: dependency problems prevent configuration of gcl:
  gcl depends on emacs | emacsen; however:
    Package emacs is not configured yet.
      Package emacs-gtk which provides emacs is not configured yet.
        Package emacsen is not installed.
          Package emacs-gtk which provides emacsen is not configured yet.

dpkg: error processing package gcl (--configure):
 dependency problems - leaving unconfigured
 Setting up xfce4-settings (4.18.0-1) ...
 Installing new version of config file 
/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml ...
 Setting up xfce4-screenshooter (1.10.0-1) ...
 Setting up xfce4-cpufreq-plugin:amd64 (1.2.8-1) ...
 Setting up xfce4-systemload-plugin:amd64 (1.3.2-2) ...
 Setting up libthunarx-3-0:amd64 (4.18.0-1) ...
 Setting up xfdesktop4 (4.18.0-1) ...
 Setting up thunar (4.18.0-1) ...
 Setting up xfce4-session (4.18.0-1) ...
 Installing new version of config file /etc/xdg/autostart/xscreensaver.desktop 
...
 Setting up thunar-volman (4.18.0-1) ...
 Processing triggers for dictionaries-common (1.29.3) ...
 debconf: unable to initialize frontend: Dialog
 debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell 
buffer, or without a controlling terminal.)
 debconf: falling back to frontend: Readline
 Processing triggers for shim-signed:amd64 (1.38+15.4-7) ...
 debconf: unable to initialize frontend: Dialog
 debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell 
buffer, or without a controlling terminal.)
 debconf: falling back to frontend: Readline
 Processing triggers for libc-bin (2.36-7) ...
 Errors were encountered while processing:
  emacs-gtk
  emacs
  maxima-emacs
  auctex
  gcl
E: Sub-process /usr/bin/dpkg returned an error code (1)
#+end_example

I believe that this bug is related to

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1017833

and that the package in unstable fixes this bug.

Leo Butler

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

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

Versions of packages elpa-elscreen depends on:
ii  apel            10.8+0.20201106-1
ii  dh-elpa-helper  2.0.16
ii  emacsen-common  3.0.5

Versions of packages elpa-elscreen recommends:
iu  emacs              1:28.2+1-9
ih  emacs-gtk [emacs]  1:28.2+1-9

Versions of packages elpa-elscreen suggests:
pn  speedbar                  <none>
ii  w3m-el-snapshot [w3m-el]  1.4.632+0.20221027.0216.7f74768-1

-- no debconf information

Reply via email to