From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#8029: 24.0.50; make bootstrap fails, two getopt.h in the tree. Date: Sun, 13 Feb 2011 20:04:15 +0100 Message-ID: <4D582B2F.3000406@swipnet.se> References: <4D57D2EB.4020209@swipnet.se> <83vd0npzxs.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1297624035 18536 80.91.229.12 (13 Feb 2011 19:07:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Feb 2011 19:07:15 +0000 (UTC) Cc: 8029@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 13 20:07:09 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PohHI-0002iZ-E5 for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Feb 2011 20:07:09 +0100 Original-Received: from localhost ([127.0.0.1]:53584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PohHE-0007Nj-98 for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Feb 2011 14:06:32 -0500 Original-Received: from [140.186.70.92] (port=42849 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PohH6-0007NZ-Pt for bug-gnu-emacs@gnu.org; Sun, 13 Feb 2011 14:06:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PohH5-00041e-Kg for bug-gnu-emacs@gnu.org; Sun, 13 Feb 2011 14:06:24 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PohH5-00041U-H3 for bug-gnu-emacs@gnu.org; Sun, 13 Feb 2011 14:06:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Poh74-0002fl-CJ; Sun, 13 Feb 2011 13:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Feb 2011 18:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8029 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8029-submit@debbugs.gnu.org id=B8029.129762332710223 (code B ref 8029); Sun, 13 Feb 2011 18:56:02 +0000 Original-Received: (at 8029) by debbugs.gnu.org; 13 Feb 2011 18:55:27 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Poh6U-0002eq-K5 for submit@debbugs.gnu.org; Sun, 13 Feb 2011 13:55:26 -0500 Original-Received: from smtprelay-h22.telenor.se ([195.54.99.197]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Poh6S-0002ef-Fz for 8029@debbugs.gnu.org; Sun, 13 Feb 2011 13:55:25 -0500 Original-Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id 3577AEA289 for <8029@debbugs.gnu.org>; Sun, 13 Feb 2011 20:04:17 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqpAAMe5V01V4S1kPGdsb2JhbACIZp0ZDAEBAQE1L7hKhV4EjzE X-IronPort-AV: E=Sophos;i="4.60,465,1291590000"; d="scan'208";a="1714138741" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb4.telenor.se with ESMTP; 13 Feb 2011 20:04:16 +0100 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 349DA7FA05A; Sun, 13 Feb 2011 20:04:16 +0100 (CET) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.14) Gecko/20110123 Thunderbird/3.1.8 In-Reply-To: <83vd0npzxs.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 13 Feb 2011 13:56:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44104 Archived-At: Eli Zaretskii skrev 2011-02-13 19.11: >> Date: Sun, 13 Feb 2011 13:47:39 +0100 >> From: Jan Dj=E4rv >> Cc: >> >> While using a separate object directory in OSX: >> >> % make bootstrap >> cd lib-src; make all \ >> CC=3D'gcc' CFLAGS=3D'-g' CPPFLAGS=3D'-DXASSERTS=3D1' \ >> LDFLAGS=3D'' MAKE=3D'make' >> gcc -Wimplicit-function-declaration -Wold-style-definition >> -Wdeclaration-after-statement -Wno-pointer-sign -DHAVE_CONFIG_H -I. -= I../src >> -I../lib -I/Users/jhd/src/emacs/current/lib-src >> -I/Users/jhd/src/emacs/current/lib-src/../src >> -I/Users/jhd/src/emacs/current/lib-src/../lib -DXASSERTS=3D1 -g -o >> test-distrib /Users/jhd/src/emacs/current/lib-src/test-distrib.c >> In file included from ../lib/unistd.h:110, >> from /Users/jhd/src/emacs/current/lib-src/test-dist= rib.c:24: >> ../lib/getopt.h:248: error: conflicting types for =91rpl_getopt_long=92 >> /Users/jhd/src/emacs/current/lib-src/getopt.h:212: error: previous dec= laration >> of =91rpl_getopt_long=92 was here >> ../lib/getopt.h:252: error: conflicting types for =91rpl_getopt_long_o= nly=92 >> /Users/jhd/src/emacs/current/lib-src/getopt.h:216: error: previous dec= laration >> of =91rpl_getopt_long_only=92 was here >> make[2]: *** [test-distrib] Error 1 >> make[1]: *** [lib-src] Error 2 >> make: *** [bootstrap] Error 2 >> >> I guess the lib-src/getopt.h should be removed? > > I think you are supposed to run "make distclean" in the source tree, > before you can hope for a clean build outside the tree. I did. Jan D.