From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.devel Subject: Re: Build failure on MS-Windows Date: Tue, 18 Jun 2013 21:10:38 +0100 Message-ID: References: <87mwqn1a91.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e016816308c708504df734e42 X-Trace: ger.gmane.org 1371586252 16560 80.91.229.3 (18 Jun 2013 20:10:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Jun 2013 20:10:52 +0000 (UTC) Cc: Juanma Barranquero , Emacs development discussions , Dani Moncayo , Dmitry Gutov To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 18 22:10:53 2013 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 1Up2Ev-00040t-Dn for ged-emacs-devel@m.gmane.org; Tue, 18 Jun 2013 22:10:53 +0200 Original-Received: from localhost ([::1]:41794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up2Eu-00042W-S3 for ged-emacs-devel@m.gmane.org; Tue, 18 Jun 2013 16:10:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up2Em-00040U-ML for emacs-devel@gnu.org; Tue, 18 Jun 2013 16:10:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Up2El-0005NW-16 for emacs-devel@gnu.org; Tue, 18 Jun 2013 16:10:44 -0400 Original-Received: from mail-ee0-x231.google.com ([2a00:1450:4013:c00::231]:50256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up2Ei-0005N8-Lk; Tue, 18 Jun 2013 16:10:40 -0400 Original-Received: by mail-ee0-f49.google.com with SMTP id b57so2758954eek.22 for ; Tue, 18 Jun 2013 13:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XIw5vQ2AwQO4OswWq17AyjlQrhjlZfuik/Cwq4J7Lzw=; b=vFOgw99tlG5k04AiTGPyWf3iFDqIlnpnMg0C4xoEN4wm7b7Xavb5QUtUSPHxElagkl kwkBPMRV/eS66oSzMb9IMls5viIjOnUiokqkObTNyURx069t1LpdnTMsuaRMRouQSaMt SdPulA9ohIvIaTICIZ5LUllvGdP808u5xr7s36yBemy75kZY16EI07KfF4mZ8CpDrzx3 3qceWokIBpMyK+VsONXY8g+qNXx6r+sX6TQVuOhheMLJCLspPYMLwmToFpSnFzBvMvLP Zwl7kl7hv5M8tzvg904tUHjt82OyCZ8ypu9zqJOoIgS2C36Ws6RE72pJQ6ir3VTZRBCw 133g== X-Received: by 10.15.41.71 with SMTP id r47mr24227347eev.63.1371586238890; Tue, 18 Jun 2013 13:10:38 -0700 (PDT) Original-Received: by 10.14.178.133 with HTTP; Tue, 18 Jun 2013 13:10:38 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::231 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:160604 Archived-At: --089e016816308c708504df734e42 Content-Type: text/plain; charset=ISO-8859-1 On 18 June 2013 20:40, Glenn Morris wrote: > Dmitry Gutov wrote: > > >> 4. cd . > >> 5. rm -fr * > [...] > > You need to 'make bootstrap', not just 'make'. > > To elucidate, simply deleting the build tree does not delete the > compiled Lisp files, which get compiled in the source tree. > > (Yes this is ugly; IIUC, it's essentially because the .elc files are > prebuilt in release tarfiles.) > > Last I heard [http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14503#8], make bootstrap is broken for an out-of-tree build, but that might have been fixed now. I'm pretty sure this sequence of commands will give you a clean up-to-date branch in all situations (I'm no bzr expert, and it might be doing too much or not enough, but it seems to work for me): bzr clean-tree --unknown --ignored --detritus --verbose --force bzr revert --no-backup bzr pull --overwrite bzr update Then you can run autogen.sh, msyconfig.sh and make, in MSYS. I've just rebuilt from scratch like that and it worked just fine for me. I did have to replace "make.exe" with the pre-release version mentioned in INSTALL.MSYS. (The default MSYS make 3.81 had been working for me, even for a parallel build, until recently. This time it seemed to hang towards the end of "make all".) --089e016816308c708504df734e42 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On 1= 8 June 2013 20:40, Glenn Morris <rgm@gnu.org> wrote:
Dmitry Gutov wrote:

>> 4. cd <build tree>.
>> 5. rm -fr *
[...]
> You need to 'make bootstrap', not just 'make'.
To elucidate, simply deleting the build tree does not delete the
compiled Lisp files, which get compiled in the source tree.

(Yes this is ugly; IIUC, it's essentially because the .elc files are prebuilt in release tarfiles.)


Last I heard [http://debbug= s.gnu.org/cgi/bugreport.cgi?bug=3D14503#8], make bootstrap is broken fo= r an out-of-tree build, but that might have been fixed now.

I'm pretty sure this sequence of c= ommands will give you a clean up-to-date branch in all situations (I'm = no bzr expert, and it might be doing too much or not enough, but it seems t= o work for me):

bzr clean-tree --unknown --ignored --d= etritus --verbose --force
bzr revert --no-backup
bzr pull --overwrite=
bzr update

Then you can run aut= ogen.sh, msyconfig.sh and make, in MSYS.

I'= ;ve just rebuilt from scratch like that and it worked just fine for me.
=
I did have to replace "make.exe" with the pre-release version= mentioned in INSTALL.MSYS. (The default MSYS make 3.81 had been working fo= r me, even for a parallel build, until recently. This time it seemed to han= g towards the end of "make all".)

--089e016816308c708504df734e42--