From unknown Sat Aug 16 15:59:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8029: 24.0.50; make bootstrap fails, two getopt.h in the tree. 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 12:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8029 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 8029@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.12976007375671 (code B ref -1); Sun, 13 Feb 2011 12:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Feb 2011 12:38:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PobE8-0001TP-Vo for submit@debbugs.gnu.org; Sun, 13 Feb 2011 07:38:57 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PobE7-0001TC-C2 for submit@debbugs.gnu.org; Sun, 13 Feb 2011 07:38:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PobMj-0007Dm-6e for submit@debbugs.gnu.org; Sun, 13 Feb 2011 07:47:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RFC_ABUSE_POST autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:35640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PobMj-0007Dg-16 for submit@debbugs.gnu.org; Sun, 13 Feb 2011 07:47:49 -0500 Received: from [140.186.70.92] (port=55736 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PobMh-00060Y-97 for bug-gnu-emacs@gnu.org; Sun, 13 Feb 2011 07:47:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PobMf-0007BY-W7 for bug-gnu-emacs@gnu.org; Sun, 13 Feb 2011 07:47:47 -0500 Received: from smtprelay-h21.telenor.se ([195.54.99.196]:48219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PobMf-000787-Jw for bug-gnu-emacs@gnu.org; Sun, 13 Feb 2011 07:47:45 -0500 Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id 92DB9EA80C for ; Sun, 13 Feb 2011 13:47:40 +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: AvAwAM9hV01V4S1kPGdsb2JhbACmAAwBAQEBNS+4WIVeBA X-IronPort-AV: E=Sophos;i="4.60,464,1291590000"; d="scan'208";a="172505274" Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb2.telenor.se with ESMTP; 13 Feb 2011 13:47:40 +0100 Received: from zeplin.local (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id A38B77FA05A for ; Sun, 13 Feb 2011 13:47:39 +0100 (CET) Message-ID: <4D57D2EB.4020209@swipnet.se> Date: Sun, 13 Feb 2011 13:47:39 +0100 From: Jan =?UTF-8?Q?Dj=C3=A4rv?= 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 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.54.99.196 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.3 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.3 (----) This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your report will be posted to the bug-gnu-emacs@gnu.org mailing list and the gnu.emacs.bug news group, and at http://debbugs.gnu.org. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': 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=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-distrib.= 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 declar= ation=20 of =91rpl_getopt_long=92 was here ../lib/getopt.h:252: error: conflicting types for =91rpl_getopt_long_only= =92 /Users/jhd/src/emacs/current/lib-src/getopt.h:216: error: previous declar= ation=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 I guess the lib-src/getopt.h should be removed? Jan D. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /Users/jhd/bin/Emacs.app/Contents/Resources/etc/DEBUG. In GNU Emacs 24.0.50.1 (x86_64-apple-darwin10.6.0, NS apple-appkit-1038.3= 5) of 2011-02-08 on zeplin Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--verbose' '--enable-asserts' '--without-x'= =20 '--with-ns' 'CFLAGS=3D-g'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: sv_SE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x r e p o r t - e m a Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort mail-extr message rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader emacsbug url-util url-parse auth-source netrc gnus-util time-date url-vars mm-util mail-prsvr tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) From unknown Sat Aug 16 15:59:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8029: 24.0.50; make bootstrap fails, two getopt.h in the tree. Resent-From: Andreas Schwab 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 14:48:01 +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: To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Cc: 8029@debbugs.gnu.org Received: via spool by 8029-submit@debbugs.gnu.org id=B8029.129760845221658 (code B ref 8029); Sun, 13 Feb 2011 14:48:01 +0000 Received: (at 8029) by debbugs.gnu.org; 13 Feb 2011 14:47:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PodEa-0005dH-DY for submit@debbugs.gnu.org; Sun, 13 Feb 2011 09:47:32 -0500 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PodEY-0005d6-N2 for 8029@debbugs.gnu.org; Sun, 13 Feb 2011 09:47:31 -0500 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 152A91C0F566; Sun, 13 Feb 2011 15:56:24 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id EC8481C00111; Sun, 13 Feb 2011 15:56:24 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id x4EaDSoaEKJc; Sun, 13 Feb 2011 15:56:24 +0100 (CET) Received: from igel.home (ppp-88-217-126-191.dynamic.mnet-online.de [88.217.126.191]) by mail.mnet-online.de (Postfix) with ESMTP; Sun, 13 Feb 2011 15:56:24 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id DCC44CA2A0; Sun, 13 Feb 2011 15:56:23 +0100 (CET) From: Andreas Schwab References: <4D57D2EB.4020209@swipnet.se> X-Yow: Actually, what I'd like is a little toy spaceship!! Date: Sun, 13 Feb 2011 15:56:22 +0100 In-Reply-To: <4D57D2EB.4020209@swipnet.se> ("Jan =?UTF-8?Q?Dj=C3=A4rv?="'s message of "Sun, 13 Feb 2011 13:47:39 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Jan Djärv writes: > I guess the lib-src/getopt.h should be removed? There is no getopt.h in lib-src any more, try starting with a clean tree. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From unknown Sat Aug 16 15:59:55 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Subject: bug#8029: closed (Re: bug#8029: 24.0.50; make bootstrap fails, two getopt.h in the tree.) Message-ID: References: <4D5819F1.1070205@swipnet.se> <4D57D2EB.4020209@swipnet.se> X-Gnu-PR-Message: they-closed 8029 X-Gnu-PR-Package: emacs Reply-To: 8029@debbugs.gnu.org Date: Sun, 13 Feb 2011 17:42:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1297618922-4050-1" This is a multi-part message in MIME format... ------------=_1297618922-4050-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #8029: 24.0.50; make bootstrap fails, two getopt.h in the tree. which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 8029@debbugs.gnu.org. --=20 8029: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8029 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1297618922-4050-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 8029-done) by debbugs.gnu.org; 13 Feb 2011 17:41:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PofxG-00012w-P2 for submit@debbugs.gnu.org; Sun, 13 Feb 2011 12:41:50 -0500 Received: from smtprelay-h32.telenor.se ([213.150.131.5]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PofxE-00012j-Kv for 8029-done@debbugs.gnu.org; Sun, 13 Feb 2011 12:41:49 -0500 Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h32.telenor.se (Postfix) with ESMTP id 06CB8E9AF1 for <8029-done@debbugs.gnu.org>; Sun, 13 Feb 2011 18:50:42 +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: ArNAACOoV01V4S1kPGdsb2JhbACEHoRJnRgMAQEBATUvqGCPNYEng0F2BI8x X-IronPort-AV: E=Sophos;i="4.60,465,1291590000"; d="scan'208";a="174017744" Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb1.telenor.se with ESMTP; 13 Feb 2011 18:50:42 +0100 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 22DD97FA05A; Sun, 13 Feb 2011 18:50:42 +0100 (CET) Message-ID: <4D5819F1.1070205@swipnet.se> Date: Sun, 13 Feb 2011 18:50:41 +0100 From: =?UTF-8?B?SmFuIERqw6Rydg==?= 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 MIME-Version: 1.0 To: Andreas Schwab Subject: Re: bug#8029: 24.0.50; make bootstrap fails, two getopt.h in the tree. References: <4D57D2EB.4020209@swipnet.se> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 8029-done Cc: 8029-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.3 (--) Andreas Schwab skrev 2011-02-13 15.56: > Jan Dj=C3=A4rv writes: > >> I guess the lib-src/getopt.h should be removed? > > There is no getopt.h in lib-src any more, try starting with a clean > tree. > Why doesn't bzr update remove it? And why doesn't it indicate that it ha= s=20 been removed. See: % branch ... trunk2 % cd trunk2 % bzr status % touch lib-src/getopt.h % bzr status The second bzr status should say unknown: lib-src/getopt.h IMHO. Is there an "do the right thing" option for bzr? Closing this as this is a bzr failure. Jan D. ------------=_1297618922-4050-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Feb 2011 12:38:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PobE8-0001TP-Vo for submit@debbugs.gnu.org; Sun, 13 Feb 2011 07:38:57 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PobE7-0001TC-C2 for submit@debbugs.gnu.org; Sun, 13 Feb 2011 07:38:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PobMj-0007Dm-6e for submit@debbugs.gnu.org; Sun, 13 Feb 2011 07:47:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RFC_ABUSE_POST autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:35640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PobMj-0007Dg-16 for submit@debbugs.gnu.org; Sun, 13 Feb 2011 07:47:49 -0500 Received: from [140.186.70.92] (port=55736 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PobMh-00060Y-97 for bug-gnu-emacs@gnu.org; Sun, 13 Feb 2011 07:47:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PobMf-0007BY-W7 for bug-gnu-emacs@gnu.org; Sun, 13 Feb 2011 07:47:47 -0500 Received: from smtprelay-h21.telenor.se ([195.54.99.196]:48219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PobMf-000787-Jw for bug-gnu-emacs@gnu.org; Sun, 13 Feb 2011 07:47:45 -0500 Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id 92DB9EA80C for ; Sun, 13 Feb 2011 13:47:40 +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: AvAwAM9hV01V4S1kPGdsb2JhbACmAAwBAQEBNS+4WIVeBA X-IronPort-AV: E=Sophos;i="4.60,464,1291590000"; d="scan'208";a="172505274" Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb2.telenor.se with ESMTP; 13 Feb 2011 13:47:40 +0100 Received: from zeplin.local (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id A38B77FA05A for ; Sun, 13 Feb 2011 13:47:39 +0100 (CET) Message-ID: <4D57D2EB.4020209@swipnet.se> Date: Sun, 13 Feb 2011 13:47:39 +0100 From: =?windows-1252?Q?Jan_Dj=E4rv?= 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 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 24.0.50; make bootstrap fails, two getopt.h in the tree. Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.54.99.196 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.3 (----) This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your report will be posted to the bug-gnu-emacs@gnu.org mailing list and the gnu.emacs.bug news group, and at http://debbugs.gnu.org. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': 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=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-distrib.= 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 declar= ation=20 of =91rpl_getopt_long=92 was here ../lib/getopt.h:252: error: conflicting types for =91rpl_getopt_long_only= =92 /Users/jhd/src/emacs/current/lib-src/getopt.h:216: error: previous declar= ation=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 I guess the lib-src/getopt.h should be removed? Jan D. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /Users/jhd/bin/Emacs.app/Contents/Resources/etc/DEBUG. In GNU Emacs 24.0.50.1 (x86_64-apple-darwin10.6.0, NS apple-appkit-1038.3= 5) of 2011-02-08 on zeplin Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--verbose' '--enable-asserts' '--without-x'= =20 '--with-ns' 'CFLAGS=3D-g'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: sv_SE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x r e p o r t - e m a Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort mail-extr message rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader emacsbug url-util url-parse auth-source netrc gnus-util time-date url-vars mm-util mail-prsvr tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) ------------=_1297618922-4050-1-- From unknown Sat Aug 16 15:59:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8029: 24.0.50; make bootstrap fails, two getopt.h in the tree. 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: To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Cc: 8029@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 8029-submit@debbugs.gnu.org id=B8029.12976201655845 (code B ref 8029); Sun, 13 Feb 2011 18:03:02 +0000 Received: (at 8029) by debbugs.gnu.org; 13 Feb 2011 18:02:45 +0000 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 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 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) 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) Date: Sun, 13 Feb 2011 20:11:27 +0200 From: Eli Zaretskii In-reply-to: <4D57D2EB.4020209@swipnet.se> Message-id: <83vd0npzxs.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <4D57D2EB.4020209@swipnet.se> X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > 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. From unknown Sat Aug 16 15:59:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8029: 24.0.50; make bootstrap fails, two getopt.h in the tree. 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: To: Eli Zaretskii Cc: 8029@debbugs.gnu.org Received: via spool by 8029-submit@debbugs.gnu.org id=B8029.129762332710223 (code B ref 8029); Sun, 13 Feb 2011 18:56:02 +0000 Received: (at 8029) by debbugs.gnu.org; 13 Feb 2011 18:55:27 +0000 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 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 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" 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 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) Message-ID: <4D582B2F.3000406@swipnet.se> Date: Sun, 13 Feb 2011 20:04:15 +0100 From: Jan =?UTF-8?Q?Dj=C3=A4rv?= 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 MIME-Version: 1.0 References: <4D57D2EB.4020209@swipnet.se> <83vd0npzxs.fsf@gnu.org> In-Reply-To: <83vd0npzxs.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.3 (--) 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. From unknown Sat Aug 16 15:59:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8029: 24.0.50; make bootstrap fails, two getopt.h in the tree. 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 19:00:03 +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: To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Cc: 8029@debbugs.gnu.org, jan.h.d@swipnet.se Reply-To: Eli Zaretskii Received: via spool by 8029-submit@debbugs.gnu.org id=B8029.129762354510550 (code B ref 8029); Sun, 13 Feb 2011 19:00:03 +0000 Received: (at 8029) by debbugs.gnu.org; 13 Feb 2011 18:59:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PohA0-0002k7-R8 for submit@debbugs.gnu.org; Sun, 13 Feb 2011 13:59:04 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Poh9y-0002jd-VS for 8029@debbugs.gnu.org; Sun, 13 Feb 2011 13:59:03 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LGK00A00L15YS00@a-mtaout22.012.net.il> for 8029@debbugs.gnu.org; Sun, 13 Feb 2011 21:07:57 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.171.5]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LGK0083OL53NRK0@a-mtaout22.012.net.il>; Sun, 13 Feb 2011 21:07:53 +0200 (IST) Date: Sun, 13 Feb 2011 21:07:51 +0200 From: Eli Zaretskii In-reply-to: <4D5819F1.1070205@swipnet.se> Message-id: <83sjvrpxbs.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <4D57D2EB.4020209@swipnet.se> <4D5819F1.1070205@swipnet.se> X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > Date: Sun, 13 Feb 2011 18:50:41 +0100 > From: Jan Dj=C3=A4rv > Cc: 8029-done@debbugs.gnu.org >=20 > Andreas Schwab skrev 2011-02-13 15.56: > > Jan Dj=C3=A4rv writes: > > > >> I guess the lib-src/getopt.h should be removed? > > > > There is no getopt.h in lib-src any more, try starting with a cle= an > > tree. > > >=20 > Why doesn't bzr update remove it? And why doesn't it indicate that= it has=20 > been removed. Because it was never a versioned file. It was generated from lib-src/getopt_.h (which _was_ a versioned file). > % branch ... trunk2 > % cd trunk2 > % bzr status > % touch lib-src/getopt.h > % bzr status >=20 > The second bzr status should say > unknown: > lib-src/getopt.h It does for me (with bzr 2.3.0). Note that before gnulib merge, lib-src/getopt.h was in .bzrignore, so bzr would not announce it as "unknown" back then. > Closing this as this is a bzr failure. I don't think it is. From unknown Sat Aug 16 15:59:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8029: 24.0.50; make bootstrap fails, two getopt.h in the tree. 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 21:25: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: To: Eli Zaretskii Cc: 8029@debbugs.gnu.org Received: via spool by 8029-submit@debbugs.gnu.org id=B8029.129763229023339 (code B ref 8029); Sun, 13 Feb 2011 21:25:02 +0000 Received: (at 8029) by debbugs.gnu.org; 13 Feb 2011 21:24:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PojR4-00064O-AK for submit@debbugs.gnu.org; Sun, 13 Feb 2011 16:24:50 -0500 Received: from smtprelay-h31.telenor.se ([213.150.131.4]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PojR1-00064A-Nj for 8029@debbugs.gnu.org; Sun, 13 Feb 2011 16:24:48 -0500 Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h31.telenor.se (Postfix) with ESMTP id BB81BEA76A for <8029@debbugs.gnu.org>; Sun, 13 Feb 2011 22:33:42 +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: ArNAANzcV01V4S1kPGdsb2JhbACEHoRJnRoMAQEBATUvqRCPM4Eng0F2BI8x X-IronPort-AV: E=Sophos;i="4.60,466,1291590000"; d="scan'208";a="172572481" Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb2.telenor.se with ESMTP; 13 Feb 2011 22:33:42 +0100 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id D186B7FA05A; Sun, 13 Feb 2011 22:33:41 +0100 (CET) Message-ID: <4D584E35.7080603@swipnet.se> Date: Sun, 13 Feb 2011 22:33:41 +0100 From: Jan =?UTF-8?Q?Dj=C3=A4rv?= 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 MIME-Version: 1.0 References: <4D57D2EB.4020209@swipnet.se> <4D5819F1.1070205@swipnet.se> <83sjvrpxbs.fsf@gnu.org> In-Reply-To: <83sjvrpxbs.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.3 (--) Eli Zaretskii skrev 2011-02-13 20.07: > > Note that before gnulib merge, lib-src/getopt.h was in .bzrignore, so > bzr would not announce it as "unknown" back then. > It was still in .bzrignore, that at least was a bug, but has now been corrected. Jan D.