From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#5191: 23.1.90; Make target compile-main fails under GNU/Linux Kernel 2.6.16 Date: Sat, 12 Dec 2009 15:24:25 -0500 Message-ID: <87vdgcgcue.fsf@stupidchicken.com> Reply-To: Chong Yidong , 5191@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1260650890 7181 80.91.229.12 (12 Dec 2009 20:48:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Dec 2009 20:48:10 +0000 (UTC) Cc: 5191@emacsbugs.donarmstrong.com To: Harald Maier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 12 21:48:02 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NJYsj-0005u2-RH for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Dec 2009 21:48:02 +0100 Original-Received: from localhost ([127.0.0.1]:60502 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJYsj-0001nK-PL for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Dec 2009 15:48:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NJYsR-0001cw-DO for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2009 15:47:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NJYsM-0001ag-K6 for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2009 15:47:42 -0500 Original-Received: from [199.232.76.173] (port=58019 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJYsM-0001ac-Ba for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2009 15:47:38 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57699) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NJYsL-0002rB-CX for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2009 15:47:38 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nBCKlSX0019081; Sat, 12 Dec 2009 12:47:28 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nBCKUAGe017476; Sat, 12 Dec 2009 12:30:10 -0800 Resent-Date: Sat, 12 Dec 2009 12:30:10 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 12 Dec 2009 20:30:09 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 5191 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5191-submit@emacsbugs.donarmstrong.com id=B5191.126064947416886 (code B ref 5191); Sat, 12 Dec 2009 20:30:09 +0000 Original-Received: (at 5191) by emacsbugs.donarmstrong.com; 12 Dec 2009 20:24:34 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from pantheon-po29.its.yale.edu (pantheon-po29.its.yale.edu [130.132.50.124]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nBCKOVS8016879 for <5191@emacsbugs.donarmstrong.com>; Sat, 12 Dec 2009 12:24:33 -0800 Original-Received: from furry (arubaguest-master.net.yale.edu [128.36.199.250]) (authenticated bits=0) by pantheon-po29.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id nBCKOPTa018406 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 12 Dec 2009 15:24:26 -0500 Original-Received: by furry (Postfix, from userid 1000) id BA568C071; Sat, 12 Dec 2009 15:24:25 -0500 (EST) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 12 Dec 2009 15:47:42 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33540 Archived-At: Does this patch fix it? Instead of passing ELCFILES on the command line, it saves it to a .elcfiles file, and the recursive Make includes that. (I am assuming the "-include" directive is supported, but we seem to use it in src/Makefile already anyhow.) *** emacs/lisp/Makefile.in.~1.215.~ 2009-12-09 09:21:04.000000000 -0500 --- emacs/lisp/Makefile.in 2009-12-12 15:13:02.000000000 -0500 *************** *** 211,216 **** --- 211,218 ---- compile-first: $(COMPILE_FIRST) + -include $(lisp)/.elcfiles + # ELCFILES is set dynamically in the recursive call from `compile-main'. compile-elcfiles: $(ELCFILES) *************** *** 219,230 **** compile-main: @wd=$(lisp); $(setwins); \ els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \ for el in $$els; do \ test -f $$el || continue; \ test ! -f $${el}c && GREP_OPTIONS= grep '^;.*no-byte-compile: t' $$el > /dev/null && continue; \ ! files="$$files $${el}c"; \ done; \ ! $(MAKE) $(MFLAGS) compile-elcfiles EMACS=$(EMACS) ELCFILES="$$files" # Erase left-over .elc files that do not have a corresponding .el file. compile-clean: --- 221,233 ---- compile-main: @wd=$(lisp); $(setwins); \ els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \ + echo -n "ELCFILES=" > $(lisp)/.elcfiles; \ for el in $$els; do \ test -f $$el || continue; \ test ! -f $${el}c && GREP_OPTIONS= grep '^;.*no-byte-compile: t' $$el > /dev/null && continue; \ ! echo -n "$${el}c " >> $(lisp)/.elcfiles; \ done; \ ! $(MAKE) $(MFLAGS) compile-elcfiles EMACS=$(EMACS) # Erase left-over .elc files that do not have a corresponding .el file. compile-clean: