From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Git help please - checking out old commit doesn't find lib/gnulib.mk.in. Date: Mon, 13 Nov 2017 18:53:43 +0000 Message-ID: <20171113185343.GA3952@ACM> References: <20171112180959.GB20916@ACM> <83inefmjuh.fsf@gnu.org> <20171112200651.GC20916@ACM> <83d14nmebn.fsf@gnu.org> <20171112215547.GD20916@ACM> <83a7zqn9d3.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1510599361 17056 195.159.176.226 (13 Nov 2017 18:56:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 13 Nov 2017 18:56:01 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: eggert@cs.ucla.edu, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 13 19:55:57 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEJte-0003ni-V5 for ged-emacs-devel@m.gmane.org; Mon, 13 Nov 2017 19:55:51 +0100 Original-Received: from localhost ([::1]:55913 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEJtm-0003gR-BH for ged-emacs-devel@m.gmane.org; Mon, 13 Nov 2017 13:55:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEJtU-0003br-6i for emacs-devel@gnu.org; Mon, 13 Nov 2017 13:55:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eEJtR-0002X3-2B for emacs-devel@gnu.org; Mon, 13 Nov 2017 13:55:40 -0500 Original-Received: from ocolin.muc.de ([193.149.48.4]:40013 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1eEJtQ-0002Vl-NI for emacs-devel@gnu.org; Mon, 13 Nov 2017 13:55:37 -0500 Original-Received: (qmail 59656 invoked by uid 3782); 13 Nov 2017 18:55:33 -0000 Original-Received: from acm.muc.de (p548C6984.dip0.t-ipconnect.de [84.140.105.132]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 13 Nov 2017 19:55:32 +0100 Original-Received: (qmail 29481 invoked by uid 1000); 13 Nov 2017 18:53:43 -0000 Content-Disposition: inline In-Reply-To: <83a7zqn9d3.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.4 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:220149 Archived-At: Hello, Eli. On Mon, Nov 13, 2017 at 05:30:32 +0200, Eli Zaretskii wrote: > > Date: Sun, 12 Nov 2017 21:55:47 +0000 > > From: Alan Mackenzie > > Cc: Stefan Monnier , emacs-devel@gnu.org > > make clean and make distclean fail because around 12 files in m4/ > > are missing. > These targets should be invoked _before_ checking out another > revision, not after. Otherwise, you get a bunch of Makefile's that > are inconsistent with the working tree contents. Yes, that works better, thanks. But not perfectly. If I start off having just built the emacs-26 head, then do (i) make distclean. (ii) git checkout 10c0e1ca. (iii) ./autogen.sh , I get the following error: Running 'autoreconf -fi -I m4' ... /usr/bin/m4:aclocal.m4:9: cannot open `m4/count-leading-zeros.m4': No such file or directory (+ ~11 similar lines) . The error here is that (i) make distclean has failed to delete aclocal.m4. If I do (i) delete aclocal.m4 by hand. (ii) ./autogen.sh , this works. I then follow up with (iii) ./configure --with-tiff=no --with-gif=no --with-gpm (iv) make -j17 , this fails with: Loading /home/acm/emacs/emacs.git/sub-26-0/lisp/emacs-lisp/cl-preloaded.el (source)... Eager macro-expansion failure: (void-function define-symbol-prop) Eager macro-expansion failure: (void-function define-symbol-prop) Symbol's function definition is void: define-symbol-prop . Grepping for define-symbol-prop shows that define-symbol-prop is used in cl-loaddefs.el. It would appear that make distclean has failed to delete the *loaddefs.el files, too. I now delete *loaddefs.el from the source tree, and try again (i) make -j17 , I get lots of errors like: Eager macro-expansion failure: (void-function define-symbol-prop) . I've still got _lots_ of .elc files which refer to define-symbol-prop (but no source files). My theory: make distclean failed to delete *.elc, but I can check that later. Finally, I try (i) make -j17 bootstrap . This _must_ work, surely? Yes, it does. make distclean is broken. It purports to remove all files generated by "configuring or building the program". It doesn't do this. I'll be submitting a bug report about this, probably this evening. -- Alan Mackenzie (Nuremberg, Germany).