* bug#15495: loading packages shows: void-function cl--do-remf
@ 2013-09-30 7:37 Darren Hoo
2013-09-30 18:32 ` Stefan Monnier
0 siblings, 1 reply; 5+ messages in thread
From: Darren Hoo @ 2013-09-30 7:37 UTC (permalink / raw)
To: 15495
steps to reproduce:
emacs -Q
M-x toggle-debug-on-error
M-x list-packages brings the stacktrace:
Debugger entered--Lisp error: (void-function cl--do-remf)
cl--do-remf(nil :kind)
package-desc-from-define("caml" "3.12.0.1" "OCaml code editing
commands for Emacs" (quote nil))
apply(package-desc-from-define ("caml" "3.12.0.1" "OCaml code
editing commands for Emacs" (quote nil)))
package-process-define-package((define-package "caml" "3.12.0.1"
"OCaml code editing commands for Emacs" (quote nil))
"/Users/darren/.emacs.d/elpa/caml-3.12.0.1/caml-pkg.el")
package-load-descriptor("/Users/darren/.emacs.d/elpa/caml-3.12.0.1")
package-load-all-descriptors()
package-initialize(t)
list-packages(nil)
call-interactively(list-packages record nil)
command-execute(list-packages record)
execute-extended-command(nil "list-packages")
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)
It seems that cl--do-remf is not autoloaded, have to explicitly require 'cl.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#15495: loading packages shows: void-function cl--do-remf
2013-09-30 7:37 bug#15495: loading packages shows: void-function cl--do-remf Darren Hoo
@ 2013-09-30 18:32 ` Stefan Monnier
2013-10-01 2:18 ` Darren Hoo
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2013-09-30 18:32 UTC (permalink / raw)
To: Darren Hoo; +Cc: 15495
> emacs -Q
> M-x toggle-debug-on-error
> M-x list-packages brings the stacktrace:
> Debugger entered--Lisp error: (void-function cl--do-remf)
Not for me. I guess the reason could be one of:
- you use a different version of Emacs.
- your package.el was miscompiled (maybe a "make bootstrap" would help).
- ...
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#15495: loading packages shows: void-function cl--do-remf
2013-09-30 18:32 ` Stefan Monnier
@ 2013-10-01 2:18 ` Darren Hoo
2013-10-01 14:30 ` Andy Moreton
2013-10-01 15:53 ` Stefan Monnier
0 siblings, 2 replies; 5+ messages in thread
From: Darren Hoo @ 2013-10-01 2:18 UTC (permalink / raw)
To: Stefan Monnier; +Cc: 15495
On Tue, Oct 1, 2013 at 2:32 AM, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> Not for me. I guess the reason could be one of:
> - you use a different version of Emacs.
revno: 114486 is what I used
> - your package.el was miscompiled (maybe a "make bootstrap" would help).
I have done "make bootstrap" twice, once before I filed the report.
BTW, I have moved ~/.emacs.d/elpa to ~/.emacs.d/elpa.bak and install a
package from scratch, the problem persists.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#15495: loading packages shows: void-function cl--do-remf
2013-10-01 2:18 ` Darren Hoo
@ 2013-10-01 14:30 ` Andy Moreton
2013-10-01 15:53 ` Stefan Monnier
1 sibling, 0 replies; 5+ messages in thread
From: Andy Moreton @ 2013-10-01 14:30 UTC (permalink / raw)
To: 15495
On Tue 01 Oct 2013, Darren Hoo wrote:
> On Tue, Oct 1, 2013 at 2:32 AM, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>
>> Not for me. I guess the reason could be one of:
>> - you use a different version of Emacs.
> revno: 114486 is what I used
>
>> - your package.el was miscompiled (maybe a "make bootstrap" would help).
> I have done "make bootstrap" twice, once before I filed the report.
>
> BTW, I have moved ~/.emacs.d/elpa to ~/.emacs.d/elpa.bak and install a
> package from scratch, the problem persists.
I see the same problem after bootstrapping r114487 for Windows (mingw)
from a clean checkout. The build log shows:
--[log]---------------------------------------------------------------
Compiling /c/emacs/src/emacs/trunk/lisp/emacs-lisp/package.el
In end of data:
../../lisp/emacs-lisp/package.el:1829:1:Warning: the function `cl--do-remf'
might not be defined at runtime.
../../lisp/emacs-lisp/package.el:1829:1:Warning: the function `lm-homepage' is
not known to be defined.
--[log]---------------------------------------------------------------
Using "runemacs.exe --debug-init", emacs shows a backtrace in my init
file at "(require 'package)". Adding "(require 'cl-lib)" before that
line works around the problem.
Full build log and backtrace available if needed.
AndyM
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#15495: loading packages shows: void-function cl--do-remf
2013-10-01 2:18 ` Darren Hoo
2013-10-01 14:30 ` Andy Moreton
@ 2013-10-01 15:53 ` Stefan Monnier
1 sibling, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2013-10-01 15:53 UTC (permalink / raw)
To: Darren Hoo; +Cc: 15495-done
>> Not for me. I guess the reason could be one of:
>> - you use a different version of Emacs.
> revno: 114486 is what I used
That was the problem, I see it now. Well, actually I don't see it any
more because I just installed a fix for it. Thank you,
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-10-01 15:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-30 7:37 bug#15495: loading packages shows: void-function cl--do-remf Darren Hoo
2013-09-30 18:32 ` Stefan Monnier
2013-10-01 2:18 ` Darren Hoo
2013-10-01 14:30 ` Andy Moreton
2013-10-01 15:53 ` Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).