From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Emacs trunk bootstrapping fails since about two days Date: Wed, 19 Jan 2011 16:02:52 -0800 Organization: UCLA Computer Science Department Message-ID: <4D377BAC.3070903@cs.ucla.edu> References: <87lj2ht8c9.fsf@member.fsf.org> <4D37249B.1000707@cs.ucla.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1295481797 2485 80.91.229.12 (20 Jan 2011 00:03:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 Jan 2011 00:03:17 +0000 (UTC) Cc: Tassilo Horn , emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 20 01:03:09 2011 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.69) (envelope-from ) id 1PfhzY-0001g8-Qy for ged-emacs-devel@m.gmane.org; Thu, 20 Jan 2011 01:03:09 +0100 Original-Received: from localhost ([127.0.0.1]:51434 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfhzX-0002Og-Ar for ged-emacs-devel@m.gmane.org; Wed, 19 Jan 2011 19:03:07 -0500 Original-Received: from [140.186.70.92] (port=42233 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfhzT-0002OZ-1s for emacs-devel@gnu.org; Wed, 19 Jan 2011 19:03:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PfhzR-0007Uh-UK for emacs-devel@gnu.org; Wed, 19 Jan 2011 19:03:03 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:39118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PfhzR-0007UY-Fk; Wed, 19 Jan 2011 19:03:01 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id D373539E80DC; Wed, 19 Jan 2011 16:02:59 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xlbgC8ibUu7y; Wed, 19 Jan 2011 16:02:58 -0800 (PST) Original-Received: from [131.179.64.200] (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 552BB39E80DB; Wed, 19 Jan 2011 16:02:58 -0800 (PST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:134789 Archived-At: On 01/19/11 11:11, Glenn Morris wrote: > Running just autoconf (and sometimes autoheader) used to be all that > was needed; and some people, like myself, have been in the habit of > always running autoconf to ensure we have the latest configure. Thanks, that likely explains things. Nowadays one must tell autotools where the macro files are. > Perhaps you could summarize the autotools steps now necessary to > consistently regenerate everything. Eg what do I do now when I need to > regenerate and commit configure? Just running autoconf alone doesn't > seem to be enough any more. See eg admin/make-tarball.txt which > documents the previous procedure and needs updating. I suggest "autoreconf -I m4". Or if you want to force generation of 'configure' even when it's up-to-date, "autoreconf -I m4 --force". I've added this to the documentation and Makefile.in; please see below. > Also, make maintainer-clean deletes aclocal.m4, which is a file in the > repository. Is this normal? Nothing then seems to recreate it. Is > --enable-maintainer-mode now necessary for maintainer-clean to work > right? This didn't use to be the case, and I have often recommended > people to run `make maintainer-clean' to start from a clean slate. It's not a big deal either way, and if that's the style here then let's keep aclocal.m4 after a maintainer-clean. I installed this, to try to address the above issues: === modified file 'ChangeLog' --- ChangeLog 2011-01-18 05:23:52 +0000 +++ ChangeLog 2011-01-19 23:58:43 +0000 @@ -1,3 +1,10 @@ +2011-01-19 Paul Eggert + + Minor Makefile.in tweaks to build from gnulib better. + + * Makefile.in (sync-from-gnulib): Also run autoreconf -I m4. + (top_maintainer_clean): Don't remove aclocal.m4. + 2011-01-18 Paul Eggert Minor cleanups for 'bzr status' === modified file 'Makefile.in' --- Makefile.in 2011-01-18 05:23:52 +0000 +++ Makefile.in 2011-01-19 23:58:43 +0000 @@ -343,6 +343,7 @@ $(gnulib_srcdir)/build-aux/mkinstalldirs \ $(gnulib_srcdir)/build-aux/move-if-change \ $(srcdir) + cd $(srcdir) && autoreconf -I m4 .PHONY: sync-from-gnulib # These targets should be "${SUBDIR} without `src'". @@ -832,8 +833,7 @@ ### begin to build the program. top_maintainer_clean=\ ${top_distclean}; \ - rm -fr autom4te.cache; \ - rm -f aclocal.m4 + rm -fr autom4te.cache maintainer-clean: bootstrap-clean FRC (cd src; $(MAKE) $(MFLAGS) maintainer-clean) (cd lisp; $(MAKE) $(MFLAGS) maintainer-clean) === modified file 'admin/ChangeLog' --- admin/ChangeLog 2011-01-17 22:11:13 +0000 +++ admin/ChangeLog 2011-01-19 23:58:43 +0000 @@ -1,3 +1,9 @@ +2011-01-19 Paul Eggert + + * make-tarball.txt: Suggest 'autoreconf -I m4 --force' + rather than doing rm and autoconf by hand. See + . + 2011-01-17 Paul Eggert * notes/bzr (Installing changes from gnulib): New section. === modified file 'admin/make-tarball.txt' --- admin/make-tarball.txt 2010-10-22 03:28:21 +0000 +++ admin/make-tarball.txt 2011-01-19 23:58:43 +0000 @@ -28,7 +28,7 @@ refer to a newer release of Emacs. (This is probably needed only when preparing a major Emacs release, or branching for it.) -5. rm configure src/config.in; autoconf; autoheader +5. autoreconf -I m4 --force make bootstrap 6. Commit configure, src/config.in, etc/AUTHORS, all the files changed @@ -107,4 +107,3 @@ 13. For a pretest, announce it on emacs-devel and BCC the pretesters. For a release, announce it on info-gnu@gnu.org, info-gnu-emacs@gnu.org, and emacs-devel. -