From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: make bootsrap problems Date: Tue, 27 May 2008 12:44:03 +0200 Message-ID: <85bq2suivg.fsf@lola.goethe.zz> References: <20080527055600.04681853@cs.sunysb.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211886008 30984 80.91.229.12 (27 May 2008 11:00:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 May 2008 11:00:08 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: kifer@cs.sunysb.edu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 27 13:00:39 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K0wv0-0005Ne-HS for ged-emacs-devel@m.gmane.org; Tue, 27 May 2008 13:00:38 +0200 Original-Received: from localhost ([127.0.0.1]:47856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0wuF-0005z8-EN for ged-emacs-devel@m.gmane.org; Tue, 27 May 2008 06:59:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K0wfG-0007OQ-M1 for emacs-devel@gnu.org; Tue, 27 May 2008 06:44:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0wfB-0007Mo-7g for emacs-devel@gnu.org; Tue, 27 May 2008 06:44:21 -0400 Original-Received: from [199.232.76.173] (port=46202 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0wf9-0007MY-9T for emacs-devel@gnu.org; Tue, 27 May 2008 06:44:15 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:53040) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K0wf9-0003Vx-1R for emacs-devel@gnu.org; Tue, 27 May 2008 06:44:15 -0400 Original-Received: from mail.gnu.org ([199.232.76.166]:49249 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1K0wdX-0007ip-6o for emacs-pretest-bug@gnu.org; Tue, 27 May 2008 06:42:35 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1K0wf4-0003V9-BP for emacs-pretest-bug@gnu.org; Tue, 27 May 2008 06:44:14 -0400 Original-Received: from mail-in-17.arcor-online.net ([151.189.21.57]:48946) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K0wf2-0003Ud-AL for emacs-pretest-bug@gnu.org; Tue, 27 May 2008 06:44:09 -0400 Original-Received: from mail-in-14-z2.arcor-online.net (mail-in-14-z2.arcor-online.net [151.189.8.31]) by mail-in-17.arcor-online.net (Postfix) with ESMTP id A8E4C2BD0C5; Tue, 27 May 2008 12:44:06 +0200 (CEST) Original-Received: from mail-in-14.arcor-online.net (mail-in-14.arcor-online.net [151.189.21.54]) by mail-in-14-z2.arcor-online.net (Postfix) with ESMTP id 919F110105; Tue, 27 May 2008 12:44:06 +0200 (CEST) Original-Received: from lola.goethe.zz (dslb-084-061-057-176.pools.arcor-ip.net [84.61.57.176]) by mail-in-14.arcor-online.net (Postfix) with ESMTP id 5F3B71879A1; Tue, 27 May 2008 12:44:06 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id E71ED1C162D8; Tue, 27 May 2008 12:44:04 +0200 (CEST) In-Reply-To: <20080527055600.04681853@cs.sunysb.edu> (Michael Kifer's message of "Tue, 27 May 2008 05:56:00 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Virus-Scanned: ClamAV 0.92.1/7252/Tue May 27 10:51:14 2008 on mail-in-14.arcor-online.net X-Virus-Status: Clean X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:97794 gmane.emacs.pretest.bugs:22454 Archived-At: Michael Kifer writes: > In the latest cvs version under Ubuntu 8.04, I am getting: > > make maintainer-clean > configure > make bootstrap > > ... > > echo "ELCFILES = \\\\\\" >> temp.sed > exclude=`echo /home/users/kifer/gnu/emacs/lisp/emacs-lisp/byte-opt.el /home/users/kifer/gnu/emacs/lisp/emacs-lisp/bytecomp.el /home/users/kifer/gnu/emacs/lisp/subr.el /home/users/kifer/gnu/emacs/lisp/progmodes/cc-mode.el /home/users/kifer/gnu/emacs/lisp/progmodes/cc-vars.el | sed -e 's, ,\\\\|,g' -e 's,\/,\\\\/,g'`; \ > ls /home/users/kifer/gnu/emacs/lisp/*.elc /home/users/kifer/gnu/emacs/lisp/*/*.elc | sed -e "/$exclude/d" -e "s|^/home/users/kifer/gnu/emacs/lisp| \$(lisp)|" -e 's/$/ \\\\\\/' -e '$ s/ \\\\//' >> temp.sed > echo "" >> temp.sed > sed -f temp.sed /home/users/kifer/gnu/emacs/lisp/Makefile.in > temp-elcfiles || rm temp-elcfiles > sed: file temp.sed line 3: unknown command: `(' > rm temp.sed > chmod +w /home/users/kifer/gnu/emacs/lisp/Makefile.in > mv -f temp-elcfiles /home/users/kifer/gnu/emacs/lisp/Makefile.in || echo "Maintainer warning: failed to update Makefile.in" > mv: cannot stat `temp-elcfiles': No such file or directory > Maintainer warning: failed to update Makefile.in Me too. The culprit would likely be ## Construct a sed command file that operates on lines between ## ^ELCFILES and the next blank line. Convert spaces between members ## of COMPILE_FIRST to "\|", and escape directory "/". List the .elc ## files, exclude the members of COMPILE_FIRST, convert ^$(lisp) to a ## literal " $(lisp)", add trailing " \\\" to the end of every line ## (the last \ continues the line in sed, the other \\ result in a ## single \ at the end of the replacement text). For the last line, ## just use a single "\", for sed. Finally, run sed using the command ## so constructed and update Makefile.in. chmod +w is for CVSREAD=1. ## Errors in final sed are non-fatal, since they have no effect on ## building Emacs. update-elclist: echo "/^ELCFILES/,/^$$/c\\" > temp.sed echo "ELCFILES = \\\\\\" >> temp.sed exclude=`echo $(COMPILE_FIRST) | sed -e 's, ,\\\\|,g' -e 's,\/,\\\\/,g'`; \ ls $(lisp)/*.elc $(lisp)/*/*.elc | sed -e "/$$exclude/d" -e "s|^$(lisp)| \$$(lisp)|" -e 's/$$/ \\\\\\/' -e '$$ s/ \\\\//' >> temp.sed echo "" >> temp.sed -sed -f temp.sed $(lisp)/Makefile.in > temp-elcfiles || rm temp-elcfiles rm temp.sed chmod +w $(lisp)/Makefile.in mv -f temp-elcfiles $(lisp)/Makefile.in || echo "Maintainer warning: failed to update Makefile.in" in lisp/Makefile.in. In particular, "Finally, run sed using the command so constructed and update Makefile.in." since the preceding recipe does not actually construct a command, but just a part of it. I am not sure what the real intent here is. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum