GNU bug report logs - #13787
24.2; Call to package-install during byte compilation returns non-zero exit status

Previous Next

Package: emacs;

Reported by: Jon Dufresne <jon <at> jondufresne.org>

Date: Fri, 22 Feb 2013 17:13:02 UTC

Severity: normal

Found in version 24.2

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Jon Dufresne <jon <at> jondufresne.org>
Cc: 13787 <at> debbugs.gnu.org
Subject: bug#13787: 24.2; Call to package-install during byte compilation returns non-zero exit status
Date: Fri, 22 Feb 2013 13:58:54 -0500
Jon Dufresne wrote:

> (eval-and-compile
>   (require 'package)
>   (package-initialize)
>   (package-refresh-contents)
>   (package-install 'org))

Why eval-and-compile?

Anyway, I think the issue can be summarized as:

cat /tmp/foo.el:

(eval-and-compile
  (byte-compile-file "/tmp/bar.el"))

cat /tmp/bar.el:

(message "hi")

emacs -Q -batch -f batch-byte-compile foo.el

  Wrote /tmp/bar.elc
  >>Error occurred processing foo.el: error (("Selecting deleted buffer"))

Recursive byte-compilation trips over itself trying to use
a single " *Compiler Input*" buffer.

(package-install byte-compiles what it installs.)




This bug report was last modified 12 years and 93 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.