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: Trunk: Build error on FreeBSD Date: Sat, 22 Sep 2012 04:04:45 -0700 Organization: UCLA Computer Science Department Message-ID: <505D9B4D.3050407@cs.ucla.edu> References: <86ipbfptdr.wl%hskuhra@eumx.net> <50544B5F.6060806@cs.ucla.edu> <85ehm3e9df.fsf@iznogoud.viz> <85vcfc94to.fsf@iznogoud.viz> <50579B90.5000808@cs.ucla.edu> <5057A62D.7030006@cs.ucla.edu> <85ehlzxuxm.fsf@iznogoud.viz> <505D6B6C.10006@cs.ucla.edu> <85r4pu73s6.fsf@iznogoud.viz> 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 1348311902 4858 80.91.229.3 (22 Sep 2012 11:05:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Sep 2012 11:05:02 +0000 (UTC) To: Andreas Schwab , "Herbert J. Skuhra" , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 22 13:05:03 2012 Return-path: Envelope-to: ged-emacs-devel@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 1TFNW9-0006jr-T4 for ged-emacs-devel@m.gmane.org; Sat, 22 Sep 2012 13:05:02 +0200 Original-Received: from localhost ([::1]:52230 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFNW5-0005VJ-3i for ged-emacs-devel@m.gmane.org; Sat, 22 Sep 2012 07:04:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFNVz-0005V3-Ru for emacs-devel@gnu.org; Sat, 22 Sep 2012 07:04:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFNVv-00078e-65 for emacs-devel@gnu.org; Sat, 22 Sep 2012 07:04:51 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:52502) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFNVu-00078W-Tt for emacs-devel@gnu.org; Sat, 22 Sep 2012 07:04:47 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 7B21639E800D; Sat, 22 Sep 2012 04:04:46 -0700 (PDT) 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 GjLO6IDArlY6; Sat, 22 Sep 2012 04:04:41 -0700 (PDT) Original-Received: from [192.168.1.3] (pool-108-23-119-2.lsanca.fios.verizon.net [108.23.119.2]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 92B0B39E8007; Sat, 22 Sep 2012 04:04:41 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0 In-Reply-To: <85r4pu73s6.fsf@iznogoud.viz> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 131.179.128.62 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:153457 Archived-At: >> "bootstrap-clean" removes Makefile, > It doesn't. Right you are. Sorry about that. >> I don't see why the "touch configure" is needed. > > Probably, because no configure was generated (as Andreas remarked). Andreas was fairly cryptic, but what I *think* he was saying was the Makefile should use $(srcdir)/configure, not ./configure, since ./configure does not exist when we're doing an out-of-tree build. If I understood him correctly, there should be no need to touch $(srcdir)/configure. If I'm wrong I hope somebody corrects me. Thanks again for following up. I installed the following as trunk bzr 110134. === modified file 'ChangeLog' --- ChangeLog 2012-09-22 09:46:20 +0000 +++ ChangeLog 2012-09-22 10:59:13 +0000 @@ -1,5 +1,9 @@ 2012-09-22 Paul Eggert + * Makefile.in (bootstrap): Simplify build procedure. + Suggested by Wolfgang Jenker in + . + Merge from gnulib, incorporating: 2012-09-22 sockets, sys_stat: remove AC_C_INLINE in MSVC-only cases === modified file 'Makefile.in' --- Makefile.in 2012-09-17 22:43:12 +0000 +++ Makefile.in 2012-09-22 10:59:13 +0000 @@ -889,18 +889,13 @@ .PHONY: bootstrap # Bootstrapping does the following: -# * Remove files to start from a clean slate. +# * Remove files to start from a bootstrap-clean slate. # * Run autogen.sh, falling back on copy_autogen if autogen.sh fails. -# * Build Makefile, to build the build procedure itself. +# * Rebuild Makefile, to update the build procedure itself. # * Do the actual build. bootstrap: bootstrap-clean FRC cd $(srcdir) && { ./autogen.sh || autogen/copy_autogen; } - if [ -x config.status ]; then \ - ./config.status --recheck && \ - ./config.status; \ - else \ - $(srcdir)/configure $(CONFIGURE_FLAGS); \ - fi + $(MAKE) $(MFLAGS) Makefile $(MAKE) $(MFLAGS) info all .PHONY: check-declare