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

2023-07-09 Thread Nicholas D Steeves
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  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


signature.asc
Description: PGP signature


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

2023-07-09 Thread Balbir Thomas
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. 

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.

Listed below are the warning messages
-

Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/dash-2.17.0/dash.elc Disable showing Disable 
logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/esxml-0.3.5/esxml-query.elc Disable showing 
Disable logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/org.elc Disable showing Disable logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/org-macs.elc Disable showing Disable 
logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/org-compat.elc Disable showing Disable 
logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/org-keys.elc Disable showing Disable 
logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/ol.elc Disable showing Disable logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/org-table.elc Disable showing Disable 
logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/ob-emacs-lisp.elc Disable showing 
Disable logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/ob-core.elc Disable showing Disable 
logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/ob-eval.elc Disable showing Disable 
logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/org.elc Disable showing Disable logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/org-entities.elc Disable showing 
Disable logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/org-faces.elc Disable showing Disable 
logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/org-list.elc Disable showing Disable 
logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/org-pcomplete.elc Disable showing 
Disable logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/org-src.elc Disable showing Disable 
logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/ob-comint.elc Disable showing Disable 
logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/org-footnote.elc Disable showing 
Disable logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/org-macro.elc Disable showing Disable 
logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/ob.elc Disable showing Disable logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/ob-exp.elc Disable showing Disable 
logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/ob-table.elc Disable showing Disable 
logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/ob-lob.elc Disable showing Disable 
logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/ob-ref.elc Disable showing Disable 
logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/ob-tangle.elc Disable showing Disable 
logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/ob-R.elc Disable showing Disable logging
Warning (comp): Cannot look-up eln file as no source file was found for 
/usr/share/emacs/site-lisp/elpa/org-9.4/ob-shell.elc Disable showing Disable 
logging
Warning (comp): Cannot look-up eln file as no source file was found