Warnings during byte-compile when installing erlang-mode

Bug #541893 reported by Russel Winder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Erlang/OTP
New
Undecided
auto-erlang-patches
erlang (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: erlang-mode

I just installed erlang-mode into Lucid using aptitude . . .

Setting up erlang-mode (1:13.b.3-dfsg-2ubuntu1) ...
emacsen-common: Handling install of emacsen flavor emacs
emacsen-common: Handling install of emacsen flavor emacs23
emacsen-common: byte-compiling for emacs23
Wrote /etc/emacs23/site-start.d/00debian-vars.elc

In debian-run-directories:
debian-startup.el:131:25:Warning: `mapcar' called for effect; use `mapc' or
    `dolist' instead
Wrote /usr/share/emacs23/site-lisp/debian-startup.elc
install/erlang: Handling install for emacsen flavor emacs23

In erlang-eunit-compile-and-run-tests:
erlang-eunit.el:146:4:Warning: `(save-some-buffers (&optional any) nil)' is a
    malformed function
Wrote /usr/share/emacs23/site-lisp/erlang/erlang-eunit.elc
Wrote /usr/share/emacs23/site-lisp/erlang/erlang-start.elc
Wrote /usr/share/emacs23/site-lisp/erlang/erlang.elc

It does appear to work though despite these problems.

Revision history for this message
Ralf Doering (rdoering) wrote : Re: Warnings during byte-compile when installing

erlang-eunit.el uses "flet", which is part of of emacs' partial common lisp support. However, a "(require 'cl)" is missing, leading to the warning if the cl emacs package is not loaded yet. This is the case during byte-compile. I will see how to report this upstream, the warnings may be savely ignored (I think) till upstream fixes this.

summary: - Erlang Emacs mode has problems installing in Lucid
+ Warnings during byte-compile when installing
Changed in erlang (Ubuntu):
status: New → Confirmed
Ralf Doering (rdoering)
summary: - Warnings during byte-compile when installing
+ Warnings during byte-compile when installing erlang-mode
Revision history for this message
Ralf Doering (rdoering) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

  • auto-erlang-patches Edit

Bug watches keep track of this bug in other bug trackers.