[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#1040690: emacs-el: Warnings resulting from org-mode source files not found



Control: tag -1 confirmed
Control: tag -1 affects dh-elpa
Control: tag -1 severity important
# Justification: Causes packages to not upgrade cleanly

Hello,

Balbir Thomas <balbir.thomas@gmail.com> writes:

> Package: emacs-el
> Version: 1:28.2+1-15
> Severity: normal
>
> Dear Maintainer,
>
> On starting emacs 28 in bookworm various warnings are displayed because
> elisp source files (mostly for) org-mode are not found. 
[snip]

Thank you for filing this bug Balbir!  I wonder if you reported this
against emacs-el, because your hypothesis is that this is an
Emacs28-related bug?  Two things that stand out in your list to me are
esxml, and markdown-mode, because these are elpa-only packages that
don't overlap with files provided by emacs-el.  Consequently, I wonder
if this bug is on the dh-elpa side rather than the emacs-el side.

I have the following list, with the notable omission of org mode,
because I had uninstalled elpa-org before upgrading from bullseye to
bookworm:

  /usr/share/emacs/site-lisp/elpa/seq-2.22/seq.elc
  /usr/share/emacs/site-lisp/elpa/seq-2.22/seq-25.elc
  /usr/share/emacs/site-lisp/elpa/git-commit-2.99.0/git-commit.elc
  /usr/share/emacs/site-lisp/elpa/dash-2.17.0/dash.elc
  /usr/share/emacs/site-lisp/elpa/transient-0.2.0.30/transient.elc
  /usr/share/emacs/site-lisp/elpa/async-1.9.3/async-bytecomp.elc
  /usr/share/emacs/site-lisp/elpa/async-1.9.3/async.elc
  /usr/share/emacs/site-lisp/elpa/with-editor-3.0.2/with-editor.elc
  /usr/share/emacs/site-lisp/elpa/hl-todo-3.1.2/hl-todo.elc

> There are broken symlinks to source files in the directory /usr/share/emacs/site-lisp/elpa/org-9.4/
> The symlinks point to files in the directory /usr/share/emacs/site-lisp/elpa-src/org-9.4/ which
> does not exist.

I suspect bullseye2bookworm is a trigger condition, and here an example
of where things get weird:

  Given /usr/share/emacs/site-lisp/elpa/with-editor-3.0.2/with-editor.elc
  # dpkg -S   /usr/share/emacs/site-lisp/elpa/with-editor-3.0.2/with-editor.elc
dpkg-query: no path found matching pattern /usr/share/emacs/site-lisp/elpa/with-editor-3.0.2/with-editor.elc
  # cruft /usr/share/emacs/site-lisp/
  returns no matches

Cruft should find matches, but doesn't !  Yes, I've also done a full
cruft run, and have grepped for with-editor, for example.

One final bit of data:

Your list has

  /usr/share/emacs/site-lisp/elpa/markdown-mode-2.4/markdown-mode.elc

but mine doesn't.  I remember that I had manually upgraded to
elpa-markdown 2.5 long ago, so this was the version that was present
during the bullseye2bookworm upgrade.  Consequently, it seems that the
version of the elpa-foo package needs to change during bullseye2bookworm
process in order to trigger this bug.


'hope this helps identify what's going on!
Regards,
Nicholas

Attachment: signature.asc
Description: PGP signature


Reply to: