From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <1361534957.1773.0.camel@localhost> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1361559590 5473 80.91.229.3 (22 Feb 2013 18:59:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Feb 2013 18:59:50 +0000 (UTC) Cc: 13787@debbugs.gnu.org To: Jon Dufresne Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 22 20:00:12 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U8xqt-0006tU-Ea for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2013 20:00:11 +0100 Original-Received: from localhost ([::1]:32827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8xqY-0007ln-SR for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2013 13:59:50 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8xqQ-0007P6-0G for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 13:59:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8xqN-0001ay-75 for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 13:59:41 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8xqN-0001ak-3P for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 13:59:39 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U8xri-00064g-2N for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 14:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Feb 2013 19:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13787 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13787-submit@debbugs.gnu.org id=B13787.136155962223294 (code B ref 13787); Fri, 22 Feb 2013 19:01:02 +0000 Original-Received: (at 13787) by debbugs.gnu.org; 22 Feb 2013 19:00:22 +0000 Original-Received: from localhost ([127.0.0.1]:44656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8xr3-00063e-Fr for submit@debbugs.gnu.org; Fri, 22 Feb 2013 14:00:22 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:47326) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8xr1-00063V-3H for 13787@debbugs.gnu.org; Fri, 22 Feb 2013 14:00:19 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U8xpe-0006fI-Ro; Fri, 22 Feb 2013 13:58:54 -0500 X-Spook: infowar INS anarchy Croatian Venezuela e-cash Uzbekistan X-Ran: 9$\#awMM.gFh)sZ_s.miXyE(vm|?>4=lVa,s.i6&`LKe~blNKh[;L=vo88(MvDa)#cNI%\ X-Hue: red X-Attribution: GM In-Reply-To: <1361534957.1773.0.camel@localhost> (Jon Dufresne's message of "Fri, 22 Feb 2013 04:09:17 -0800") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71662 Archived-At: 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.)