From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii 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:11:27 +0200 Message-ID: <83vd0npzxs.fsf@gnu.org> References: <4D57D2EB.4020209@swipnet.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1297622230 9337 80.91.229.12 (13 Feb 2011 18:37:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Feb 2011 18:37:10 +0000 (UTC) Cc: 8029@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 13 19:37:06 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 1Pogoj-0006Na-Sz for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Feb 2011 19:37:06 +0100 Original-Received: from localhost ([127.0.0.1]:52184 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pogoj-0005k7-EZ for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Feb 2011 13:37:05 -0500 Original-Received: from [140.186.70.92] (port=55213 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pogo4-0005K1-S9 for bug-gnu-emacs@gnu.org; Sun, 13 Feb 2011 13:36:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pogo3-0003nl-Kb for bug-gnu-emacs@gnu.org; Sun, 13 Feb 2011 13:36:24 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pogo3-0003ng-H3 for bug-gnu-emacs@gnu.org; Sun, 13 Feb 2011 13:36:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PogHm-0001Wj-5Y; Sun, 13 Feb 2011 13:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii 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:03: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.12976201655845 (code B ref 8029); Sun, 13 Feb 2011 18:03:02 +0000 Original-Received: (at 8029) by debbugs.gnu.org; 13 Feb 2011 18:02:45 +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 1PogHN-0001W6-F1 for submit@debbugs.gnu.org; Sun, 13 Feb 2011 13:02:45 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PogHL-0001Vp-98 for 8029@debbugs.gnu.org; Sun, 13 Feb 2011 13:02:35 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LGK00A00IE8G800@a-mtaout22.012.net.il> for 8029@debbugs.gnu.org; Sun, 13 Feb 2011 20:11:29 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.171.5]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LGK007HBIJ42KR0@a-mtaout22.012.net.il>; Sun, 13 Feb 2011 20:11:29 +0200 (IST) In-reply-to: <4D57D2EB.4020209@swipnet.se> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 13 Feb 2011 13:03: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:44102 Archived-At: > Date: Sun, 13 Feb 2011 13:47:39 +0100 > From: Jan Dj=E4rv > Cc:=20 >=20 > While using a separate object directory in OSX: >=20 > % make bootstrap > cd lib-src; make all \ > =09 CC=3D'gcc' CFLAGS=3D'-g' CPPFLAGS=3D'-DXASSERTS=3D1' \ > =09 LDFLAGS=3D'' MAKE=3D'make' > gcc -Wimplicit-function-declaration -Wold-style-definition=20 > -Wdeclaration-after-statement -Wno-pointer-sign -DHAVE_CONFIG_H -I= . -I../src=20 > -I../lib -I/Users/jhd/src/emacs/current/lib-src=20 > -I/Users/jhd/src/emacs/current/lib-src/../src=20 > -I/Users/jhd/src/emacs/current/lib-src/../lib -DXASSERTS=3D1 -g -= o=20 > 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-di= strib.c:24: > ../lib/getopt.h:248: error: conflicting types for =91rpl_getopt_lon= g=92 > /Users/jhd/src/emacs/current/lib-src/getopt.h:212: error: previous = declaration=20 > of =91rpl_getopt_long=92 was here > ../lib/getopt.h:252: error: conflicting types for =91rpl_getopt_lon= g_only=92 > /Users/jhd/src/emacs/current/lib-src/getopt.h:216: error: previous = declaration=20 > of =91rpl_getopt_long_only=92 was here > make[2]: *** [test-distrib] Error 1 > make[1]: *** [lib-src] Error 2 > make: *** [bootstrap] Error 2 >=20 > 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.