From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MinGW build broken with O_CLOEXEC undeclared Date: Sun, 08 Mar 2020 19:04:49 +0200 Message-ID: <83mu8qbwwe.fsf@gnu.org> References: <83v9ne99dq.fsf@gnu.org> <0af5b1c9-3ab8-a7e6-36a8-a85a7266d555@gmx.at> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="82404"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Mar 08 18:05:24 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jAzMi-000LGO-9P for ged-emacs-devel@m.gmane-mx.org; Sun, 08 Mar 2020 18:05:24 +0100 Original-Received: from localhost ([::1]:59730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAzMh-0006eD-Ad for ged-emacs-devel@m.gmane-mx.org; Sun, 08 Mar 2020 13:05:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48357) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAzM8-0006E9-Px for emacs-devel@gnu.org; Sun, 08 Mar 2020 13:04:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jAzM7-0001vp-Sq; Sun, 08 Mar 2020 13:04:47 -0400 Original-Received: from [176.228.60.248] (port=4034 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jAzM7-0003A6-4r; Sun, 08 Mar 2020 13:04:47 -0400 In-Reply-To: <0af5b1c9-3ab8-a7e6-36a8-a85a7266d555@gmx.at> (message from martin rudalics on Sun, 8 Mar 2020 17:38:29 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245347 Archived-At: > Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org > From: martin rudalics > Date: Sun, 8 Mar 2020 17:38:29 +0100 > > > For cleaner results, I suggest to do the following after "git pull" > > and before saying "make": > > > > $ rm lib/*.[oa] > > $ touch configure.ac lib/gnulib.mk.in > > This doesn't seem to work. Doing that right after a "git pull" triggers > automatic reconfigure (takes ages here). And after that building fails as > > ... > make info-real info-dir > make[1]: Entering directory `/c/emacs-git/trunk/dbg/lib' > Makefile:39: *** Recursive variable `am__v_CC_' references itself (eventually). Stop. > make[1]: Leaving directory `/c/emacs-git/trunk/dbg/lib' > make: *** [lib] Error 2 > make: *** Waiting for unfinished jobs.... > make[1]: Entering directory `/c/emacs-git/trunk/dbg' > make -C doc/lispref info > > > If I run your two commands right before "make" it builds normally. That's what I said: run those before saying "make". You _must_ force configure re-run, because some of the files I changed affect how Emacs is configured. Are you saying that you still run autogen.sh and configure by hand, and only after that run "make"? That's unnecessary. Or maybe you are building outside of the source tree? In that case, I don't know what you should do.