From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jon Dufresne 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 17:32:23 -0800 Message-ID: <1361583143.1767.5.camel@localhost> References: <1361534957.1773.0.camel@localhost> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1361583871 30639 80.91.229.3 (23 Feb 2013 01:44:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Feb 2013 01:44:31 +0000 (UTC) Cc: 13787@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 23 02:44:54 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 1U94AV-0001QJ-To for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Feb 2013 02:44:52 +0100 Original-Received: from localhost ([::1]:50306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U94AB-0003AG-B2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2013 20:44:31 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U93yj-0002G2-Jy for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 20:32:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U93yf-0002gp-Ih for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 20:32:41 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U93yf-0002gc-Ej for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 20:32:37 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U9402-00086U-5b for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 20:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jon Dufresne Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Feb 2013 01:34: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.136158323431136 (code B ref 13787); Sat, 23 Feb 2013 01:34:02 +0000 Original-Received: (at 13787) by debbugs.gnu.org; 23 Feb 2013 01:33:54 +0000 Original-Received: from localhost ([127.0.0.1]:44969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U93zt-000869-PK for submit@debbugs.gnu.org; Fri, 22 Feb 2013 20:33:54 -0500 Original-Received: from caibbdcaaaaf.dreamhost.com ([208.113.200.5]:37240 helo=homiemail-a79.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U93zq-00085z-IT for 13787@debbugs.gnu.org; Fri, 22 Feb 2013 20:33:52 -0500 Original-Received: from homiemail-a79.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a79.g.dreamhost.com (Postfix) with ESMTP id 82F097D406E; Fri, 22 Feb 2013 17:32:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jondufresne.org; h= message-id:subject:from:to:cc:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; s= jondufresne.org; bh=hxo2DS81AmFxEEet0aNvx5MfOcU=; b=Z0slNGnbgOkX UcUZNlUIRVpIjJhWW4ATF9DFTJFAe4pICf06ua/VeCw690hsKFAcnmcd23I6MTTQ LfoKG8jmenCiWvS4HhVElDP55tz/9vy+yDwX/xkl+DPRv+fQPIwMMSGwc0T8V6s6 1/f3VyEBePIhqyZqMOlq36efBBkPltw= Original-Received: from [192.168.1.100] (S01060016b6e9eea4.vc.shawcable.net [24.84.213.158]) (using SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jon@jondufresne.org) by homiemail-a79.g.dreamhost.com (Postfix) with ESMTPSA id 478607D4059; Fri, 22 Feb 2013 17:32:05 -0800 (PST) In-Reply-To: X-Mailer: Evolution 3.6.3 (3.6.3-2.fc18) 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:71690 Archived-At: On Fri, 2013-02-22 at 13:58 -0500, Glenn Morris wrote: > Why eval-and-compile? I have one init.el that I share across many installations of Emacs. There are several third party packages in repositories that I rely on. When I pass the init.el to a new Emacs installation, I build it using a Makefile. My goal is to byte compile the init.el file and install all required third party packages. I want to avoid passing around the init.el file *and* the third party packages. I prefer to rely on the repository for an up to date version of the package. This way I avoid tracking all packages individually. I figured build time was the best time to download, compile and install these packages. This is why I use eval-and-compile. I am probably not the first person to consider doing this. And so my approach may be off. If there is a more direct or better approach to handle this please let me know.