all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Jean Louis <bugs@gnu.support>, 58280@debbugs.gnu.org
Cc: Lars Ingebrigtsen <larsi@gnus.org>
Subject: bug#58280: 29.0.50; package-install: slime, loaddefs-generate: Search failed: " "
Date: Tue, 4 Oct 2022 07:28:12 +0200	[thread overview]
Message-ID: <CADwFkmkwB=JPYWShjpjH_XCUviSuZx_F7FVr-2-pDpiejTbbYg@mail.gmail.com> (raw)
In-Reply-To: <courier.00000000633B81DA.000017C8@stw1.rcdrun.com>

Jean Louis <bugs@gnu.support> writes:

> I do:
>
> M-x package-install RET slime RET
>
> and get this error:
>
> loaddefs-generate: Search failed: "\f
> "

I can reproduce this when trying to install `slime' from NonGNU ELPA.

The problem here is that the `slime' package already comes with a file
"slime-autoloads.el", which means that the attempt to auto-generate a
new one fails:

    https://github.com/slime/slime/blob/master/slime-autoloads.el

Here's the backtrace:

Debugger entered--Lisp error: (search-failed "\f\n")
  search-backward("\f\n")
  loaddefs-generate("/home/skangas/.emacs.d/elpa/slime-2.26.1"
"/home/skangas/.emacs.d/elpa/slime-2.26.1/slime-autoloads.el" nil
"(add-to-list 'load-path (directory-file-name\n
 (or (file-name-directory #$) (car load-path))))")
  package-generate-autoloads(slime "/home/skangas/.emacs.d/elpa/slime-2.26.1")
  package--make-autoloads-and-stuff(#s(package-desc :name slime
:version (2 26 1) :summary "Superior Lisp Interaction Mode for Emacs"
:reqs ((cl-lib (0 5)) (macrostep (0 9))) :kind tar :archive "nongnu"
:dir nil :extras ((:url . "https://github.com/slime/slime") (:keywords
"languages" "lisp" "slime")) :signed nil)
"/home/skangas/.emacs.d/elpa/slime-2.26.1")
  package-unpack(#s(package-desc :name slime :version (2 26 1)
:summary "Superior Lisp Interaction Mode for Emacs" :reqs ((cl-lib (0
5)) (macrostep (0 9))) :kind tar :archive "nongnu" :dir nil :extras
((:url . "https://github.com/slime/slime") (:keywords "languages"
"lisp" "slime")) :signed nil))
  #f(compiled-function (&optional good-sigs) #<bytecode
-0x1c34996dfaea29ed>)((#s(epg-signature :status good :key-id
"066DAFCB81E42C40" :validity undefined :fingerprint
"C433554766D3DDC64221BFAA066DAFCB81E42C40" :creation-time 1628370304
:expiration-time nil :pubkey-algorithm 1 :digest-algorithm 10 :class 0
:version 4 :notations nil)))
  #f(compiled-function () #<bytecode -0x497ef45b22fcff9>)()
  package--with-response-buffer-1("https://elpa.nongnu.org/nongnu/"
#f(compiled-function () #<bytecode -0x497ef45b22fcff9>) :file
"slime-2.26.1.tar.sig" :async nil :error-function #f(compiled-function
() #<bytecode 0x1dd95231c003d77a>) :noerror t)
  package--check-signature("https://elpa.nongnu.org/nongnu/"
"slime-2.26.1.tar"
"slime-2.26.1/\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..."
nil #f(compiled-function (&optional good-sigs) #<bytecode
-0x1c34996dfaea29ed>))
  #f(compiled-function () #<bytecode 0x1f89d58d4a8c5c8>)()
  package--with-response-buffer-1("https://elpa.nongnu.org/nongnu/"
#f(compiled-function () #<bytecode 0x1f89d58d4a8c5c8>) :file
"slime-2.26.1.tar" :async nil :error-function #f(compiled-function ()
#<bytecode 0x1dc000153e91>) :noerror nil)
  package-install-from-archive(#s(package-desc :name slime :version (2
26 1) :summary "Superior Lisp Interaction Mode for Emacs" :reqs
((cl-lib (0 5)) (macrostep (0 9))) :kind tar :archive "nongnu" :dir
nil :extras ((:url . "https://github.com/slime/slime") (:keywords
"languages" "lisp" "slime")) :signed nil))
  mapc(package-install-from-archive (#s(package-desc :name slime
:version (2 26 1) :summary "Superior Lisp Interaction Mode for Emacs"
:reqs ((cl-lib (0 5)) (macrostep (0 9))) :kind tar :archive "nongnu"
:dir nil :extras ((:url . "https://github.com/slime/slime") (:keywords
"languages" "lisp" "slime")) :signed nil)))
  package-download-transaction((#s(package-desc :name slime :version
(2 26 1) :summary "Superior Lisp Interaction Mode for Emacs" :reqs
((cl-lib (0 5)) (macrostep (0 9))) :kind tar :archive "nongnu" :dir
nil :extras ((:url . "https://github.com/slime/slime") (:keywords
"languages" "lisp" "slime")) :signed nil)))
  package-install(#s(package-desc :name slime :version (2 26 1)
:summary "Superior Lisp Interaction Mode for Emacs" :reqs ((cl-lib (0
5)) (macrostep (0 9))) :kind tar :archive "nongnu" :dir nil :extras
((:url . "https://github.com/slime/slime") (:keywords "languages"
"lisp" "slime")) :signed nil) nil)
  package-install-button-action(#<marker (moves after insertion) at 68
in *Help*>)
  button-activate(#<marker (moves after insertion) at 68 in *Help*> nil)
  push-button(68)
  funcall-interactively(push-button 68)
  call-interactively(push-button nil nil)
  command-execute(push-button)





  reply	other threads:[~2022-10-04  5:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-04  0:43 bug#58280: 29.0.50; package-install: slime, loaddefs-generate: Search failed: " " Jean Louis
2022-10-04  5:28 ` Stefan Kangas [this message]
2022-10-04 11:05   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkmkwB=JPYWShjpjH_XCUviSuZx_F7FVr-2-pDpiejTbbYg@mail.gmail.com' \
    --to=stefankangas@gmail.com \
    --cc=58280@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.