unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14704: 24.3.50; cl-lib breaks built-in Emacs version
@ 2013-06-24 15:30 Sebastian Wiesner
  2013-06-24 15:48 ` Juanma Barranquero
                   ` (2 more replies)
  0 siblings, 3 replies; 79+ messages in thread
From: Sebastian Wiesner @ 2013-06-24 15:30 UTC (permalink / raw)
  To: 14704


"(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@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?!





^ permalink raw reply	[flat|nested] 79+ messages in thread

end of thread, other threads:[~2015-05-11 15:18 UTC | newest]

Thread overview: 79+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-24 15:30 bug#14704: 24.3.50; cl-lib breaks built-in Emacs version Sebastian Wiesner
2013-06-24 15:48 ` Juanma Barranquero
2013-06-24 17:51   ` Sebastian Wiesner
2013-06-24 17:56     ` Juanma Barranquero
2013-06-24 18:26       ` Sebastian Wiesner
2013-06-24 18:38         ` Eli Zaretskii
2013-06-24 18:57           ` Sebastian Wiesner
2013-06-24 19:20             ` Eli Zaretskii
2013-06-24 20:02               ` Glenn Morris
2013-06-24 20:08                 ` Eli Zaretskii
2013-06-24 20:21                   ` Dmitry Gutov
2013-06-24 20:25                     ` Eli Zaretskii
2013-06-24 20:30                       ` Juanma Barranquero
2013-06-25 14:43                         ` Eli Zaretskii
2013-06-24 21:19                       ` Jambunathan K
2013-06-25  2:43                         ` Eli Zaretskii
2013-06-25  2:35                       ` Stefan Monnier
2013-06-25 14:39                         ` Eli Zaretskii
2013-06-25 15:50                           ` Stefan Monnier
2013-06-25  6:17                   ` Michael Albinus
2013-06-25 15:00                     ` Eli Zaretskii
2013-06-25 15:24                       ` Michael Albinus
2013-06-25 16:03                         ` bug#10304: " Eli Zaretskii
2013-06-25 18:27                           ` bug#10304: display bug (was: bug#14704: 24.3.50; cl-lib breaks built-in Emacs version) Michael Albinus
2013-06-25 18:58                             ` Eli Zaretskii
2013-06-25 19:13                               ` bug#10304: display bug Michael Albinus
2011-12-15 13:51                                 ` bug#10304: 24.0.92: display but Yagnesh Raghava Yakkala
2011-12-15 13:58                                   ` Yagnesh Raghava Yakkala
2012-01-07  1:20                                   ` Lars Magne Ingebrigtsen
2012-01-07  8:48                                     ` Eli Zaretskii
2012-01-26  0:09                                       ` Lars Ingebrigtsen
2013-01-02  2:36                                       ` bug#10304: 24.0.92: display bug Lars Magne Ingebrigtsen
2013-01-02 18:23                                         ` Eli Zaretskii
2013-01-02 18:42                                           ` Lars Magne Ingebrigtsen
2013-01-02 21:42                                             ` Andreas Schwab
2013-01-05  8:38                                         ` Lars Magne Ingebrigtsen
2013-01-05  8:51                                           ` Eli Zaretskii
2013-01-05  9:16                                             ` Lars Magne Ingebrigtsen
2013-01-05  9:17                                             ` Lars Magne Ingebrigtsen
2013-01-05  9:49                                               ` Eli Zaretskii
2013-01-05 10:11                                                 ` Lars Magne Ingebrigtsen
2013-01-05 11:29                                           ` Eli Zaretskii
2013-01-05 11:38                                             ` Lars Magne Ingebrigtsen
2013-01-05 13:43                                               ` Eli Zaretskii
2013-01-05 17:36                                               ` Eli Zaretskii
2013-01-08  5:11                                                 ` Lars Magne Ingebrigtsen
2013-01-08  5:43                                                   ` Eli Zaretskii
2013-01-08 11:19                                                     ` Michael Albinus
2013-01-08 21:21                                                       ` Eli Zaretskii
2013-01-08 21:29                                                         ` Michael Albinus
2013-01-08 21:39                                                           ` Eli Zaretskii
2013-01-13 18:08                                                     ` Eli Zaretskii
2013-01-16 15:06                                                       ` Michael Albinus
2014-11-14 15:45                                                     ` Lars Magne Ingebrigtsen
2014-11-14 15:56                                                       ` Eli Zaretskii
2014-11-14 15:57                                                         ` Lars Magne Ingebrigtsen
2014-11-15 15:35                                                           ` Lars Magne Ingebrigtsen
2014-11-15 15:41                                                           ` Lars Magne Ingebrigtsen
2014-11-29 15:42                                                             ` Eli Zaretskii
     [not found]                                                               ` <m3oarmyoiz.fsf@stories.gnus.org>
2014-12-27 14:20                                                                 ` Eli Zaretskii
2015-01-15 23:50                                                                   ` Lars Magne Ingebrigtsen
2015-01-17 11:34                                                                     ` Eli Zaretskii
2015-05-07  4:31                                                                       ` Eli Zaretskii
2015-05-11 13:06                                                                         ` Lars Magne Ingebrigtsen
2015-05-11 15:18                                                                           ` Eli Zaretskii
2013-06-27 13:20                                   ` bug#10304: " Michael Albinus
2013-06-27 17:11                                     ` Eli Zaretskii
2013-06-27 18:25                                       ` Michael Albinus
2013-07-09 10:39                                       ` Michael Albinus
2013-07-09 17:16                                         ` Eli Zaretskii
2013-07-10 17:04                                         ` Eli Zaretskii
2013-07-10 18:03                                           ` Michael Albinus
2013-06-24 20:18         ` bug#14704: 24.3.50; cl-lib breaks built-in Emacs version Juanma Barranquero
2013-06-25  2:11         ` Stefan Monnier
2013-06-24 18:16     ` Eli Zaretskii
2013-06-24 18:40       ` Sebastian Wiesner
2013-06-24 17:39 ` Glenn Morris
2013-06-24 17:52   ` Sebastian Wiesner
2013-06-25 16:27 ` 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).