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

Bug#1040787: dh-elpa: Lots of missing eln files




On Sun, 16 Jul 2023, at 08:22, Sean Whitton wrote:
> Hello,
>
> On Mon 10 Jul 2023 at 03:27pm +01, Nikolaus Rath wrote:
>
>> Package: dh-elpa
>> Severity: normal
>>
>> After upgrading to bookworm, I'm getting many warnings when starting
>> emacs:
>>
>> 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/transient-0.2.0.30/transient.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/async-1.9.3/async-bytecomp.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/async-1.9.3/async.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/with-editor-3.0.2/with-editor.elc Disable showing Disable logging
>>
>> Looking at one randomly there seems to be a broken symlink for the .el
>> file:
>>
>> nikratio@vostro /u/s/e/s/elpa> dir  /usr/share/emacs/site-lisp/elpa/async-1.9.3/async.*
>> lrwxrwxrwx 1 root  57 Feb 24 10:49 /usr/share/emacs/site-lisp/elpa/async-1.9.3/async.el -> /usr/share/emacs/site-lisp/elpa-src/async-1.9.3//async.el
>> -rw-r--r-- 1 root 12K Feb 24 10:49 /usr/share/emacs/site-lisp/elpa/async-1.9.3/async.elc
>>
>>
>> I am not sure which package ought to ship
>> /usr/share/emacs/site-lisp/elpa-src/.
>>
>> I suspect this is the same problem for all elpa-* packages, so I'm not
>> filing this against elpa-async but (my best guess) dh-elpa.
>
> async 1.9.3 is from buster.  You have
> /usr/share/emacs/site-lisp/elpa-async-1.9.7 on your system, right?

No. It seems these files got orphaned during the upgrade:

# dpkg -S  /usr/share/emacs/site-lisp/elpa/async-1.9.3/async.elc
dpkg-query: no path found matching pattern /usr/share/emacs/site-lisp/elpa/async-1.9.3/async.elc

# dir  /usr/share/emacs/site-lisp/elpa/async-1.9.3/async.elc
-rw-r--r-- 1 root 12K Feb 24 10:49 /usr/share/emacs/site-lisp/elpa/async-1.9.3/async.elc

# apt show elpa-async
Package: elpa-async
Version: 1.9.7-1
Priority: optional
Section: lisp
Source: emacs-async
Maintainer: Debian Emacsen team <debian-emacsen@lists.debian.org>
Installed-Size: 88.1 kB
Depends: dh-elpa-helper, emacsen-common
Recommends: emacs (>= 46.0)
Enhances: emacs
Homepage: https://elpa.gnu.org/packages/async.html
Download-Size: 19.8 kB
APT-Sources: http://deb.debian.org/debian bookworm/main amd64 Packages
Description: simple library for asynchronous processing in Emacs

Same for the others:

nikratio@vostro ~> dir /usr/share/emacs/site-lisp/elpa/transient-0.2.0.30/transient.elc 
-rw-r--r-- 1 root 133K Feb 24 10:49 /usr/share/emacs/site-lisp/elpa/transient-0.2.0.30/transient.elc
nikratio@vostro ~> dpkg -S /usr/share/emacs/site-lisp/elpa/transient-0.2.0.30/transient.elc
dpkg-query: no path found matching pattern /usr/share/emacs/site-lisp/elpa/transient-0.2.0.30/transient.elc

Best,
-Nikolaus


Reply to: