From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: after r114507 cannot build on msys Date: Thu, 31 Oct 2013 20:17:48 +0200 Message-ID: <83ppqlcnjn.fsf@gnu.org> References: <527296F1.9020300@poczta.onet.pl> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1383243500 6189 80.91.229.3 (31 Oct 2013 18:18:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Oct 2013 18:18:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jarek Czekalski Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 31 19:18:25 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 1Vbwp5-00082j-G0 for ged-emacs-devel@m.gmane.org; Thu, 31 Oct 2013 19:18:23 +0100 Original-Received: from localhost ([::1]:58756 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vbwp5-0005R4-1V for ged-emacs-devel@m.gmane.org; Thu, 31 Oct 2013 14:18:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vbwox-0005QW-87 for emacs-devel@gnu.org; Thu, 31 Oct 2013 14:18:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vbwom-0003eb-Vi for emacs-devel@gnu.org; Thu, 31 Oct 2013 14:18:15 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:49131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vbwom-0003eI-Ox for emacs-devel@gnu.org; Thu, 31 Oct 2013 14:18:04 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MVJ00900PDSAH00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Thu, 31 Oct 2013 20:18:03 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MVJ008VOPI2YMC0@a-mtaout22.012.net.il>; Thu, 31 Oct 2013 20:18:03 +0200 (IST) In-reply-to: <527296F1.9020300@poczta.onet.pl> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:164747 Archived-At: > Date: Thu, 31 Oct 2013 18:44:17 +0100 > From: Jarek Czekalski > > In r114506 configure say dup2: yes. > > In r114507: dup2: no Not here. It still works for me with today's trunk, as it did before. > configure:22632: checking whether dup2 works > configure:22691: gcc -I /c/Temp/src/emacs/nt/inc -std=gnu99 -o > conftest.exe -g3 -O2 -gdwarf-2 -mtune=pentium4 conftest.c >&5 > configure:22691: $? = 0 > configure:22691: ./conftest.exe > configure:22691: $? = 2 > configure: program exited with status 2 > configure: failed program was: > > When it tries to build dup2.c it cannot find msvc-inval.h - I don't have > such file. Previously this was not build, because dup2 was detected ok. How did you invoke the configure script? Did you use nt/msysconfig.sh, or did you invoke ./configure by hand? I'm guessing the latter, in which case the file nt/mingw-cfg.site was not loaded. Please be sure to follow the instructions in nt/INSTALL. Here's what my config.log says about this test: configure:22741: checking whether dup2 works configure:22811: result: yes That's it: it never runs the test program, precisely because that would erroneously decide that dup2 doesn't work. This happens because mingw-cfg.site forces configure to accept this result without testing.