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 04:09:17 -0800 Message-ID: <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 1361553112 1993 80.91.229.3 (22 Feb 2013 17:11:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Feb 2013 17:11:52 +0000 (UTC) To: 13787@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 22 18:12:15 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 1U8wAP-00013P-Ar for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2013 18:12:13 +0100 Original-Received: from localhost ([::1]:52488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8wA4-00028E-Hi for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2013 12:11:52 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8w9y-00026Y-RP for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 12:11:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8w9r-00013d-HT for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 12:11:46 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8w9r-00013Z-8R for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 12:11:39 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U8wBC-0001cN-91 for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 12:13: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: Fri, 22 Feb 2013 17:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13787 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13615531786197 (code B ref -1); Fri, 22 Feb 2013 17:13:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Feb 2013 17:12:58 +0000 Original-Received: from localhost ([127.0.0.1]:44558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8wB6-0001br-Ri for submit@debbugs.gnu.org; Fri, 22 Feb 2013 12:12:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37521) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8rSm-00023o-UA for submit@debbugs.gnu.org; Fri, 22 Feb 2013 07:10:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8rRP-00052d-BH for submit@debbugs.gnu.org; Fri, 22 Feb 2013 07:09:30 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:35719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8rRP-00052U-7m for submit@debbugs.gnu.org; Fri, 22 Feb 2013 07:09:27 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8rRK-0001aM-Ut for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 07:09:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8rRI-00051D-59 for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 07:09:22 -0500 Original-Received: from caibbdcaaaaf.dreamhost.com ([208.113.200.5]:44757 helo=homiemail-a42.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8rRH-000510-Pj for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2013 07:09:20 -0500 Original-Received: from homiemail-a42.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a42.g.dreamhost.com (Postfix) with ESMTP id 3670468C05B for ; Fri, 22 Feb 2013 04:09:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jondufresne.org; h= message-id:subject:from:to:date:content-type:mime-version: content-transfer-encoding; s=jondufresne.org; bh=5DLaxluDhPrR644 lRlLQ9rHDDtg=; b=Qd4ntdyxkdtU84aQI38l5d2xiAFOGY4mOPGCiGgQyXt3RwH zbfPkcWwlS6G7srRmb2e4/wiEFXA73lH2EHxILza79DjqFnPXaRzsEMhFXRY46x4 dtc7uRygcboG3pheqj1FFsKwvm9sSH6DnEZSGeBKyazaf7UjOgHhjI0Ya5cE= 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-a42.g.dreamhost.com (Postfix) with ESMTPSA id 0BA1168C058 for ; Fri, 22 Feb 2013 04:09:17 -0800 (PST) X-Mailer: Evolution 3.6.3 (3.6.3-2.fc18) X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Fri, 22 Feb 2013 12:12:55 -0500 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:71652 Archived-At: This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': STR: 0. Create a simple elisp file that installs an ELPA package (example below). 1. Compile the file from the command line using "emacs --batch". 2. Check the exit status of the command, notice it is non-zero (255). The simple elisp file used for testing has the contents: (eval-and-compile (require 'package) (package-initialize) (package-refresh-contents) (package-install 'org)) The file is compiled from the command line using the command: $ emacs --batch --eval '(byte-compile-file "test.el")'; echo $? After lots of compilation output, eventually you'll see the output: Selecting deleted buffer Wrote /home/jon/.emacs.d/ac-comphist.dat 255 Where 255 is the exit status. When this elisp file is compiled as part of a Makefile, this causes the build to fail, reducing automation. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/share/emacs/24.2/etc/DEBUG. In GNU Emacs 24.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.6.4) of 2013-02-02 on buildvm-04.phx2.fedoraproject.org Windowing system distributor `Fedora Project', version 11.0.11302000 Configured using: `configure '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk3' '--with-gpm=no' '--with-wide-int' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' 'LDFLAGS=-Wl,-z,relro '' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.utf8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: global-auto-complete-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x M-x r e p o r Recent messages: Loading /usr/share/emacs/site-lisp/site-start.d/auto-complete-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/desktop-entry-mode-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/emacs-goodies-loaddefs.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/gnus-bonus-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: