Hello! First of all, my apologies for not remembering that backports
bugs should not be filed on bugs.d.o. And thanks for dealing with it
anyway.

Xiyue: I've read #1099467 and, based on it, tried to install dh-elpa
2.1.5 on my stable+backports machine. AFAICT from the bug report, it
should fix the issue, which is marked as fixed in 2.1.2, but it doesn't
for me. Is that expected? Here's what I still experience with it:

----------------------------
$ sudo dpkg --configure --pending
Setting up elpa-compat (29.1.3.4+dfsg-1) ...
Install emacsen-common for emacs
emacsen-common: Handling install of emacsen flavor emacs

In toplevel form:
usr/share/emacs/site-lisp/debian-startup.el:1:1: Warning: file has no 
‘lexical-binding’ directive on its first line
Install elpa-seq for emacs
install/seq-2.23: Handling install of emacsen flavor emacs
install/seq-2.23: byte-compiling for emacs
Install elpa-compat for emacs
install/compat-29.1.3.4: Handling install of emacsen flavor emacs
install/compat-29.1.3.4: byte-compiling for emacs

In toplevel form:
compat-25.el:24:2: Error: Cannot open load file: No such file or directory, 
compat-macs

In toplevel form:
compat-26.el:24:2: Error: Cannot open load file: No such file or directory, 
compat-macs

In toplevel form:
compat-27.el:24:2: Error: Cannot open load file: No such file or directory, 
compat-macs

In toplevel form:
compat-28.el:24:2: Error: Cannot open load file: No such file or directory, 
compat-macs

In toplevel form:
compat-29.el:24:2: Error: Cannot open load file: No such file or directory, 
compat-macs

In toplevel form:
compat-pkg.el:1:1: Warning: file has no ‘lexical-binding’ directive on its 
first line
ERROR: install script from elpa-compat package failed
dpkg: error processing package elpa-compat (--configure):
 installed elpa-compat package post-installation script subprocess returned 
error exit status 1
Setting up emacs-gtk (1:30.1+1-3~bpo12+1) ...
Install emacsen-common for emacs
emacsen-common: Handling install of emacsen flavor emacs

In toplevel form:
usr/share/emacs/site-lisp/debian-startup.el:1:1: Warning: file has no 
‘lexical-binding’ directive on its first line
Install bbdb3 for emacs
Install elpa-xref for emacs
install/xref-1.6.0: Handling install of emacsen flavor emacs
install/xref-1.6.0: byte-compiling for emacs
Install elpa-websocket for emacs
install/websocket-1.13: Handling install of emacsen flavor emacs
install/websocket-1.13: byte-compiling for emacs
Install dictionaries-common for emacs
install/dictionaries-common: Already byte-compiled for emacs. Skipping ...
Install elpa-debian-el for emacs
install/debian-el-37: Handling install of emacsen flavor emacs
install/debian-el-37: byte-compiling for emacs
Install elpa-bind-key for emacs
install/bind-key-2.4.1: Handling install of emacsen flavor emacs
install/bind-key-2.4.1: byte-compiling for emacs
Install elpa-async for emacs
install/async-1.9.7: Handling install of emacsen flavor emacs
install/async-1.9.7: byte-compiling for emacs
Install elpa-spinner for emacs
install/spinner-1.7.4: Handling install of emacsen flavor emacs
install/spinner-1.7.4: byte-compiling for emacs
Install elpa-browse-kill-ring for emacs
install/browse-kill-ring-2.0.0: Handling install of emacsen flavor emacs
install/browse-kill-ring-2.0.0: byte-compiling for emacs
Install elpa-yaml-mode for emacs
install/yaml-mode-0.0.15: Handling install of emacsen flavor emacs
install/yaml-mode-0.0.15: byte-compiling for emacs
Install elpa-ledger for emacs
install/ledger-3.1.2: Handling install of emacsen flavor emacs
install/ledger-3.1.2: byte-compiling for emacs
Install elpa-treepy for emacs
install/treepy-0.1.1: Handling install of emacsen flavor emacs
install/treepy-0.1.1: byte-compiling for emacs
Install elpa-diminish for emacs
install/diminish-0.45: Handling install of emacsen flavor emacs
install/diminish-0.45: byte-compiling for emacs
Install latex-cjk-common for emacs
Install elpa-posframe for emacs
install/posframe-1.1.7: Handling install of emacsen flavor emacs
install/posframe-1.1.7: byte-compiling for emacs
Install elpa-scala-mode for emacs
install/scala-mode-0.23: Handling install of emacsen flavor emacs
install/scala-mode-0.23: byte-compiling for emacs
Install elpa-js2-mode for emacs
install/js2-mode-20201220: Handling install of emacsen flavor emacs
install/js2-mode-20201220: byte-compiling for emacs
Install elpa-company for emacs
install/company-0.9.13: Handling install of emacsen flavor emacs
install/company-0.9.13: byte-compiling for emacs
Install auctex for emacs
auctex/install: Byte-compiling for Emacs flavor emacs (log to 
/usr/share/emacs/site-lisp/auctex/CompilationLog)... done.
Install elpa-tabbar for emacs
install/tabbar-20160524: Handling install of emacsen flavor emacs
install/tabbar-20160524: byte-compiling for emacs
Install elpa-htmlize for emacs
install/htmlize-1.56: Handling install of emacsen flavor emacs
install/htmlize-1.56: byte-compiling for emacs
Install elpa-s for emacs
install/s-1.12.0: Handling install of emacsen flavor emacs
install/s-1.12.0: byte-compiling for emacs
Install elpa-csv-mode for emacs
install/csv-mode-1.22: Handling install of emacsen flavor emacs
install/csv-mode-1.22: byte-compiling for emacs
Install elpa-ess for emacs
install/ess-18.10.3snapshot: Handling install of emacsen flavor emacs
install/ess-18.10.3snapshot: byte-compiling for emacs
Install elpa-apiwrap for emacs
install/apiwrap-0.5: Handling install of emacsen flavor emacs
install/apiwrap-0.5: byte-compiling for emacs
Install elpa-dash for emacs
install/dash-2.19.1: Handling install of emacsen flavor emacs
install/dash-2.19.1: byte-compiling for emacs
Install elpa-markdown-mode for emacs
install/markdown-mode-2.5: Handling install of emacsen flavor emacs
install/markdown-mode-2.5: byte-compiling for emacs
Install elpa-caml for emacs
install/caml-4.6: Handling install of emacsen flavor emacs
install/caml-4.6: byte-compiling for emacs
Install elpa-bar-cursor for emacs
install/bar-cursor-2.0: Handling install of emacsen flavor emacs
install/bar-cursor-2.0: byte-compiling for emacs
Install elpa-pyvenv for emacs
install/pyvenv-1.21: Handling install of emacsen flavor emacs
install/pyvenv-1.21: byte-compiling for emacs
Install elpa-epl for emacs
install/epl-0.9: Handling install of emacsen flavor emacs
install/epl-0.9: byte-compiling for emacs
Install elpa-apache-mode for emacs
install/apache-mode-2.2.0: Handling install of emacsen flavor emacs
install/apache-mode-2.2.0: byte-compiling for emacs
Install elpa-pfuture for emacs
install/pfuture-1.9: Handling install of emacsen flavor emacs
install/pfuture-1.9: byte-compiling for emacs
Install elpa-rust-mode for emacs
install/rust-mode-0.4.0: Handling install of emacsen flavor emacs
install/rust-mode-0.4.0: byte-compiling for emacs
Install elpa-let-alist for emacs
install/let-alist-1.0.6: Handling install of emacsen flavor emacs
install/let-alist-1.0.6: byte-compiling for emacs
Install elpa-queue for emacs
install/queue-0.2: Handling install of emacsen flavor emacs
install/queue-0.2: byte-compiling for emacs
Install elpa-lv for emacs
install/lv-0.15.0: Handling install of emacsen flavor emacs
install/lv-0.15.0: byte-compiling for emacs
Install elpa-popup for emacs
install/popup-0.5.8: Handling install of emacsen flavor emacs
install/popup-0.5.8: byte-compiling for emacs
Install elpa-with-editor for emacs
install/with-editor-3.0.5: Handling install of emacsen flavor emacs
install/with-editor-3.0.5: byte-compiling for emacs
Install elpa-seq for emacs
install/seq-2.23: Handling install of emacsen flavor emacs
install/seq-2.23: byte-compiling for emacs
Install elpa-yasnippet for emacs
install/yasnippet-0.14.0: Handling install of emacsen flavor emacs
install/yasnippet-0.14.0: byte-compiling for emacs
Install elpa-writegood-mode for emacs
install/writegood-mode-2.2.0: Handling install of emacsen flavor emacs
install/writegood-mode-2.2.0: byte-compiling for emacs
Install elpa-projectile for emacs
install/projectile-2.7.0: Handling install of emacsen flavor emacs
install/projectile-2.7.0: byte-compiling for emacs
Install elpa-lbdb for emacs
install/lbdb-0.51.1: Handling install of emacsen flavor emacs
install/lbdb-0.51.1: byte-compiling for emacs
Install elpa-color-theme-modern for emacs
install/color-theme-modern-0.0.2: Handling install of emacsen flavor emacs
install/color-theme-modern-0.0.2: byte-compiling for emacs
Install elpa-muttrc-mode for emacs
install/muttrc-mode-1.2.1: Handling install of emacsen flavor emacs
install/muttrc-mode-1.2.1: byte-compiling for emacs
Install elpa-bm for emacs
install/bm-201905: Handling install of emacsen flavor emacs
install/bm-201905: byte-compiling for emacs
Install elpa-avy for emacs
install/avy-0.5.0: Handling install of emacsen flavor emacs
install/avy-0.5.0: byte-compiling for emacs
Install elpa-initsplit for emacs
install/initsplit-1.8: Handling install of emacsen flavor emacs
install/initsplit-1.8: byte-compiling for emacs
Install elpa-folding for emacs
install/folding-20220110.1718: Handling install of emacsen flavor emacs
install/folding-20220110.1718: byte-compiling for emacs
Install elpa-goto-chg for emacs
install/goto-chg-1.7.3: Handling install of emacsen flavor emacs
install/goto-chg-1.7.3: byte-compiling for emacs
Install elpa-session for emacs
install/session-2.4.2: Handling install of emacsen flavor emacs
install/session-2.4.2: byte-compiling for emacs
Install elpa-emacsql for emacs
install/emacsql-3.1.1: Handling install of emacsen flavor emacs
install/emacsql-3.1.1: byte-compiling for emacs
Install elpa-find-file-in-project for emacs
install/find-file-in-project-6.2.0: Handling install of emacsen flavor emacs
install/find-file-in-project-6.2.0: byte-compiling for emacs
Install elpa-pod-mode for emacs
install/pod-mode-1.3: Handling install of emacsen flavor emacs
install/pod-mode-1.3: byte-compiling for emacs
Install elpa-highlight-indentation for emacs
install/highlight-indentation-0.7.0: Handling install of emacsen flavor emacs
install/highlight-indentation-0.7.0: byte-compiling for emacs
Install elpa-mutt-alias for emacs
install/mutt-alias-1.4: Handling install of emacsen flavor emacs
install/mutt-alias-1.4: byte-compiling for emacs
Install elpa-boxquote for emacs
install/boxquote-2.2: Handling install of emacsen flavor emacs
install/boxquote-2.2: byte-compiling for emacs
Install elpa-wc-mode for emacs
install/wc-mode-1.4: Handling install of emacsen flavor emacs
install/wc-mode-1.4: byte-compiling for emacs
Install elpa-project for emacs
install/project-0.8.1: Handling install of emacsen flavor emacs
install/project-0.8.1: byte-compiling for emacs
Install elpa-dpkg-dev-el for emacs
install/dpkg-dev-el-37.0: Handling install of emacsen flavor emacs
install/dpkg-dev-el-37.0: byte-compiling for emacs
Install elpa-helm-core for emacs
install/helm-core-3.8.4: Handling install of emacsen flavor emacs
install/helm-core-3.8.4: byte-compiling for emacs
Install elpa-use-package for emacs
install/use-package-2.4.4: Handling install of emacsen flavor emacs
install/use-package-2.4.4: byte-compiling for emacs
Install elpa-graphviz-dot-mode for emacs
install/graphviz-dot-mode-0.4.2: Handling install of emacsen flavor emacs
install/graphviz-dot-mode-0.4.2: byte-compiling for emacs
Install elpa-magit-popup for emacs
install/magit-popup-2.13.2: Handling install of emacsen flavor emacs
install/magit-popup-2.13.2: byte-compiling for emacs
Install elpa-magit-section for emacs
install/magit-section-3.3.0: Handling install of emacsen flavor emacs
install/magit-section-3.3.0: byte-compiling for emacs
Install elpa-ht for emacs
install/ht-2.3: Handling install of emacsen flavor emacs
install/ht-2.3: byte-compiling for emacs
Install elpa-pip-requirements for emacs
install/pip-requirements-0.5: Handling install of emacsen flavor emacs
install/pip-requirements-0.5: byte-compiling for emacs
Install elpa-f for emacs
install/f-0.20.0: Handling install of emacsen flavor emacs
install/f-0.20.0: byte-compiling for emacs
Install elpa-bui for emacs
install/bui-1.2.1: Handling install of emacsen flavor emacs
install/bui-1.2.1: byte-compiling for emacs
Install elpa-markdown-toc for emacs
install/markdown-toc-0.1.5: Handling install of emacsen flavor emacs
install/markdown-toc-0.1.5: byte-compiling for emacs
Install elpa-tuareg for emacs
install/tuareg-2.2.0: Handling install of emacsen flavor emacs
install/tuareg-2.2.0: byte-compiling for emacs
Install elpa-pkg-info for emacs
install/pkg-info-0.6: Handling install of emacsen flavor emacs
install/pkg-info-0.6: byte-compiling for emacs
Install elpa-ghub for emacs
install/ghub-0: Handling install of emacsen flavor emacs
install/ghub-0: byte-compiling for emacs
Install elpa-undo-tree for emacs
install/undo-tree-0.8.1: Handling install of emacsen flavor emacs
install/undo-tree-0.8.1: byte-compiling for emacs
Install elpa-hydra for emacs
install/hydra-0.15.0: Handling install of emacsen flavor emacs
install/hydra-0.15.0: byte-compiling for emacs
Install elpa-auto-complete for emacs
install/auto-complete-1.5.0: Handling install of emacsen flavor emacs
install/auto-complete-1.5.0: byte-compiling for emacs
Install elpa-git-commit for emacs
install/git-commit-3.3.0: Handling install of emacsen flavor emacs
install/git-commit-3.3.0: byte-compiling for emacs
Install elpa-compat for emacs
install/compat-29.1.3.4: Handling install of emacsen flavor emacs
install/compat-29.1.3.4: byte-compiling for emacs

In toplevel form:
compat-25.el:24:2: Error: Cannot open load file: No such file or directory, 
compat-macs

In toplevel form:
compat-26.el:24:2: Error: Cannot open load file: No such file or directory, 
compat-macs

In toplevel form:
compat-27.el:24:2: Error: Cannot open load file: No such file or directory, 
compat-macs

In toplevel form:
compat-28.el:24:2: Error: Cannot open load file: No such file or directory, 
compat-macs

In toplevel form:
compat-29.el:24:2: Error: Cannot open load file: No such file or directory, 
compat-macs

In toplevel form:
compat-pkg.el:1:1: Warning: file has no ‘lexical-binding’ directive on its 
first line
ERROR: install script from elpa-compat package failed
dpkg: error processing package emacs-gtk (--configure):
 installed emacs-gtk package post-installation script subprocess returned error 
exit status 1
dpkg: dependency problems prevent configuration of emacs:
 emacs depends on emacs-gtk (>= 1:30.1) | emacs-pgtk (>= 1:30.1) | emacs-lucid 
(>= 1:30.1) | emacs-nox (>= 1:30.1); however:
  Package emacs-gtk is not configured yet.
  Package emacs-pgtk is not installed.
  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 dh-elpa:
 dh-elpa depends on emacs-nox (>= 1:28.2+1-9) | emacs (>= 1:28.2+1-9); however:
  Package emacs-nox is not installed.
  Package emacs is not configured yet.
  Version of emacs on system, provided by emacs-gtk:amd64, is <none>.

dpkg: error processing package dh-elpa (--configure):
 dependency problems - leaving unconfigured
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
Errors were encountered while processing:
 elpa-compat
 emacs-gtk
 emacs
 dh-elpa
 auctex
----------------------------

Cheers

On Mon, Mar 03, 2025 at 02:12:24PM -0800, Xiyue Deng wrote:
> Sean Whitton <spwhit...@spwhitton.name> writes:
> 
> > (adding Xiyue)
> >
> 
> Thanks Sean!
> 
> > On Mon 03 Mar 2025 at 08:44pm +08, Sean Whitton wrote:
> >
> >> Hello Stefano,
> >>
> >> My understanding is that bugs against backports aren't meant to be filed
> >> in the ordinary BTS.
> >>
> >> Xiyue has been looking for a solution for these issues and perhaps this
> >> is a fine place to discuss them, so I'll leave this bug open.
> >
> 
> FYI I have also filed Bug#1099467[1] against dh-elpa and provided a
> workaround there.  It's still unclear to me what is the actual cause of
> the behavior change since 30.1, so I'm not reassigning/merging the bugs
> yet.
> 
> [1] https://bugs.debian.org/1099467
> 
> -- 
> Regards,
> Xiyue Deng



-- 
Stefano Zacchiroli . z...@upsilon.cc . https://upsilon.cc/zack  _. ^ ._
Full professor of Computer Science              o     o   o     \/|V|\/
Télécom Paris, Polytechnic Institute of Paris     o     o o    </>   <\>
Co-founder & CSO Software Heritage            o o o     o       /\|^|/\
Mastodon: https://mastodon.xyz/@zacchiro                        '" V "'

Reply via email to