GNU bug report logs -
#14704
24.3.50; cl-lib breaks built-in Emacs version
Previous Next
Reported by: Sebastian Wiesner <lunaryorn <at> gmail.com>
Date: Mon, 24 Jun 2013 15:32:02 UTC
Severity: normal
Found in version 24.3.50
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Tue, 25 Jun 2013 12:27:39 -0400
with message-id <jwvd2rab1he.fsf-monnier+emacs <at> gnu.org>
and subject line Re: bug#14704: 24.3.50; cl-lib breaks built-in Emacs version
has caused the debbugs.gnu.org bug report #14704,
regarding 24.3.50; cl-lib breaks built-in Emacs version
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
14704: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14704
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
"(require 'cl-lib)" breaks the Emacs version information for
package.el. In "emacs -Q", "M-x ielm":
ELISP> (package-initialize)
t
ELISP> (package-built-in-p 'emacs (version-to-list "24.1"))
t
ELISP> (assq 'emacs package--builtin-versions)
(emacs 24 3 50)
ELISP> (require 'cl-lib)
cl-lib
ELISP> (package-built-in-p 'emacs (version-to-list "24.1"))
nil
ELISP> (assq 'emacs package--builtin-versions)
(emacs 2 2)
This breaks dependency resolution for packages which depend against a
certain Emacs version.
These incorrect entries in package--builtin-versions come from
"cl-loaddefs.el", which contains two instances of the following line:
(push (purecopy (quote (emacs 2 2))) package--builtin-versions)
These lines are apparently extracted from the package headers of
"cl-macs.el" and "cl-seq.el" which look like the following:
;; Author: Dave Gillespie <daveg <at> synaptics.com>
;; Version: 2.02
;; Keywords: extensions
;; Package: emacs
This meta information is obviously wrong.
This is the 3rd critical package.el bug I discovered within just a week
or so. Don't you test your code?!
[Message part 3 (message/rfc822, inline)]
ELISP> (require 'cl-lib)
> cl-lib
ELISP> (package-built-in-p 'emacs (version-to-list "24.1"))
> nil
ELISP> (assq 'emacs package--builtin-versions)
> (emacs 2 2)
Thanks, should be fixed now,
Stefan
This bug report was last modified 11 years and 337 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.