From unknown Tue Jun 17 03:39:11 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#14644 <14644@debbugs.gnu.org> To: bug#14644 <14644@debbugs.gnu.org> Subject: Status: emacsclient.c fails to compile Reply-To: bug#14644 <14644@debbugs.gnu.org> Date: Tue, 17 Jun 2025 10:39:11 +0000 retitle 14644 emacsclient.c fails to compile reassign 14644 emacs submitter 14644 Stefan Monnier severity 14644 normal tag 14644 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 17 12:54:16 2013 Received: (at submit) by debbugs.gnu.org; 17 Jun 2013 16:54:16 +0000 Received: from localhost ([127.0.0.1]:51045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uoch5-0000HT-My for submit@debbugs.gnu.org; Mon, 17 Jun 2013 12:54:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60893) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uoch3-0000H6-8j for submit@debbugs.gnu.org; Mon, 17 Jun 2013 12:54:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uocgw-0003kd-E4 for submit@debbugs.gnu.org; Mon, 17 Jun 2013 12:54:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uocgw-0003kR-Bu for submit@debbugs.gnu.org; Mon, 17 Jun 2013 12:54:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uocgt-0000mG-VT for bug-gnu-emacs@gnu.org; Mon, 17 Jun 2013 12:54:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uocgs-0003iI-5Y for bug-gnu-emacs@gnu.org; Mon, 17 Jun 2013 12:54:03 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:55884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uocgr-0003iC-VA for bug-gnu-emacs@gnu.org; Mon, 17 Jun 2013 12:54:02 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlIJABK/CFFFpZVy/2dsb2JhbABEhkemFgGKMxGHbBdzgkgzEwFEAgUPBA4CEQEcDVWHc6ALjlSSToEji3xEghSBEwOkeoFegxOBUw X-IPAS-Result: AlIJABK/CFFFpZVy/2dsb2JhbABEhkemFgGKMxGHbBdzgkgzEwFEAgUPBA4CEQEcDVWHc6ALjlSSToEji3xEghSBEwOkeoFegxOBUw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="16567413" Received: from 69-165-149-114.dsl.teksavvy.com (HELO pastel.home) ([69.165.149.114]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 17 Jun 2013 12:53:55 -0400 Received: by pastel.home (Postfix, from userid 20848) id AA25E62CA7; Mon, 17 Jun 2013 12:54:00 -0400 (EDT) From: Stefan Monnier To: bug-gnu-emacs@gnu.org Subject: emacsclient.c fails to compile Date: Mon, 17 Jun 2013 12:54:00 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Package: Emacs Version: 24.3.50 I started getting the following error today: gcc -std=3Dgnu99 -I. -I../src -I../lib -I/home/monnier/src/emacs/trunk/= lib-src -I/home/monnier/src/emacs/trunk/lib-src/../src -I/home/monnier/src/= emacs/trunk/lib-src/../lib -Wl,-znocombreloc -Wall -g3 -O1 -Wno-pointer-= sign /home/monnier/src/emacs/trunk/lib-src/emacsclient.c \ -DVERSION=3D"\"24.3.50\"" ../lib/libgnu.a \ -o emacsclient In file included from /home/monnier/src/emacs/trunk/lib-src/emacsclient.c:8= 1:0: ../lib/getopt.h:198:8: error: redefinition of =E2=80=98struct option=E2=80= =99 In file included from ../lib/getopt.h:32:0, from /home/monnier/src/emacs/trunk/lib-src/emacsclient.c:8= 1: /usr/include/getopt.h:105:8: note: originally defined here In file included from /home/monnier/src/emacs/trunk/lib-src/emacsclient.c:8= 1:0: ../lib/getopt.h:247:12: error: conflicting types for =E2=80=98getopt_long= =E2=80=99 In file included from ../lib/getopt.h:32:0, from /home/monnier/src/emacs/trunk/lib-src/emacsclient.c:8= 1: /usr/include/getopt.h:174:12: note: previous declaration of =E2=80=98getopt= _long=E2=80=99 was here In file included from /home/monnier/src/emacs/trunk/lib-src/emacsclient.c:8= 1:0: ../lib/getopt.h:251:12: error: conflicting types for =E2=80=98getopt_long_o= nly=E2=80=99 In file included from ../lib/getopt.h:32:0, from /home/monnier/src/emacs/trunk/lib-src/emacsclient.c:8= 1: /usr/include/getopt.h:178:12: note: previous declaration of =E2=80=98getopt= _long_only=E2=80=99 was here This may be due to an "aptitude upgrade" rather than a "bzr update", since I don't see any recent change that would have caused it. I don't have time to investigate right now, and the gnulib stuff is a bit impenetrable to me (e.g. I have no idea where/if GNULIB_defined_struct_option should be set), so if someone else can figure it out for me, all the better. Stefan In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.18) of 2013-06-17 on pastel Bzr revision: monnier@iro.umontreal.ca-20130614153815-pykhp7poka3ayt03 Windowing system distributor `The X.Org Foundation', version 11.0.11204000 System Description: Debian GNU/Linux testing (jessie) Configured using: `configure -C --enable-checking --enable-check-lisp-object-type CFLAGS=3D-Wall -g3 -O1 -Wno-pointer-sign' Important settings: value of $LANG: fr_CH.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: InactiveMinibuffer Minor modes in effect: diff-auto-refine-mode: t electric-pair-mode: t electric-indent-mode: t url-handler-mode: t global-reveal-mode: t reveal-mode: t auto-insert-mode: t savehist-mode: t minibuffer-electric-default-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-o M-n C-x C-s M-x v C-g C-x v =3D M-x=20 v c - f i n d M-o C-x C-s =20 =20 =20 =20 =20 C-a C-x C-s M-x M-p M-m C-x C-s M-x=20 M-p M-m C-x C-s M-x M-p C-x C-c C-h=20 f k i - b u f f =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 M-x r e p - e m - b u Recent messages: Error during redisplay: (jit-lock-function 12346678) signaled (void-variabl= e --regexp--) Error during redisplay: (jit-lock-function 12397229) signaled (void-variabl= e --regexp--) Error during redisplay: (jit-lock-function 12396604) signaled (void-variabl= e --regexp--) Error during redisplay: (jit-lock-function 12397104) signaled (void-variabl= e --regexp--) Error during redisplay: (jit-lock-function 12396545) signaled (void-variabl= e --regexp--) Error during redisplay: (jit-lock-function 12397729) signaled (void-variabl= e --regexp--) Error during redisplay: (jit-lock-function 12398229) signaled (void-variabl= e --regexp--) Error during redisplay: (jit-lock-function 12398729) signaled (void-variabl= e --regexp--) Error during redisplay: (jit-lock-function 12399229) signaled (void-variabl= e --regexp--) Error during redisplay: (jit-lock-function 12399729) signaled (void-variabl= e --regexp--) Load-path shadows: /home/monnier/src/emacs/elpa/packages/company/.dir-locals hides /home/monni= er/src/emacs/work/lisp/gnus/.dir-locals /home/monnier/src/emacs/elpa/packages/cl-lib/cl-lib hides /home/monnier/src= /emacs/work/lisp/emacs-lisp/cl-lib Features: (sort mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils hideif cpp cmacexp cc-mode two-column kmacro cc-fonts cc-awk cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-langs cc-vars cc-defs whitespace vc executable vc-dispatcher copyright xscheme warnings trace testcover scheme unsafep re-builder profiler shadow cl-indent inf-lisp ielm pp comint ansi-color ring gmm-utils ert find-func ewoc debug elp edebug cus-edit cus-start cus-load wid-edit smerge-mode diff-mode vc-bzr filecache server noutline outline easy-mmode flyspell ispell eldoc checkdoc thingatpt help-mode load-dir advice help-fns electric url-handlers url-parse auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util mm-util mail-prsvr password-cache url-vars reveal autoinsert proof-site proof-autoloads cl pg-vars uniquify time-date savehist minibuf-eldef disp-table info easymenu package cl-macs gv cl-lib cl-loaddefs bbdb-autoloads agda2 vm-autoloads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax 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 minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) =20=20=20=20=20=20=20=20 From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 18 03:59:30 2013 Received: (at 14644) by debbugs.gnu.org; 18 Jun 2013 07:59:31 +0000 Received: from localhost ([127.0.0.1]:52249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uoqp7-00071A-9X for submit@debbugs.gnu.org; Tue, 18 Jun 2013 03:59:29 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:35828) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uoqp3-00070U-SI for 14644@debbugs.gnu.org; Tue, 18 Jun 2013 03:59:26 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id E01B739E8106 for <14644@debbugs.gnu.org>; Tue, 18 Jun 2013 00:59:19 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nj02gq7ypjB5 for <14644@debbugs.gnu.org>; Tue, 18 Jun 2013 00:59:19 -0700 (PDT) Received: from [192.168.1.9] (pool-71-108-49-126.lsanca.fios.verizon.net [71.108.49.126]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 7B97939E8008 for <14644@debbugs.gnu.org>; Tue, 18 Jun 2013 00:59:19 -0700 (PDT) Message-ID: <51C01357.3000000@cs.ucla.edu> Date: Tue, 18 Jun 2013 00:59:19 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: 14644@debbugs.gnu.org Subject: Re: emacsclient.c fails to compile X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 14644 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.4 (---) Perhaps "make clean; ./configure; make" will fix whatever state your build is wedge in.... Anyway, I'm surprised that lib/getopt.h is built on your platform, as the stock getopt.h should be OK. Could you please send the part of config.log that talks about getopt? Mine says the following (Fedora 17): configure:9297: checking for getopt.h configure:9297: gcc -std=gnu99 -c -g3 -O2 conftest.c >&5 configure:9297: $? = 0 configure:9297: result: yes ... configure:18980: checking for getopt_long_only configure:18980: gcc -std=gnu99 -o conftest -g3 -O2 -Wl,-znocombreloc conftest.c -lpthread >&5 configure:18980: $? = 0 configure:18980: result: yes configure:18994: checking whether getopt is POSIX compatible configure:19036: gcc -std=gnu99 -o conftest -g3 -O2 -Wl,-znocombreloc conftest.c -lpthread >&5 configure:19036: $? = 0 configure:19036: ./conftest configure:19036: $? = 0 configure:19095: gcc -std=gnu99 -o conftest -g3 -O2 -Wl,-znocombreloc conftest.c -lpthread >&5 configure:19095: $? = 0 configure:19095: ./conftest configure:19095: $? = 0 configure:19137: gcc -std=gnu99 -o conftest -g3 -O2 -Wl,-znocombreloc conftest.c -lpthread >&5 configure:19137: $? = 0 configure:19137: ./conftest program: option requires an argument -- 'b' configure:19137: $? = 0 configure:19155: result: yes configure:19163: checking for working GNU getopt function configure:19384: gcc -std=gnu99 -o conftest -g3 -O2 -Wl,-znocombreloc conftest.c -lpthread >&5 configure:19384: $? = 0 configure:19384: ./conftest configure:19384: $? = 0 configure:19400: result: yes configure:19405: checking for working GNU getopt_long function configure:19450: gcc -std=gnu99 -o conftest -g3 -O2 -Wl,-znocombreloc conftest.c -lpthread >&5 configure:19450: $? = 0 configure:19450: ./conftest configure:19450: $? = 0 configure:19461: result: yes From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 18 12:07:31 2013 Received: (at 14644) by debbugs.gnu.org; 18 Jun 2013 16:07:31 +0000 Received: from localhost ([127.0.0.1]:53391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UoyRO-0007AR-2E for submit@debbugs.gnu.org; Tue, 18 Jun 2013 12:07:30 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:38334) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UoyRK-0007A3-4P for 14644@debbugs.gnu.org; Tue, 18 Jun 2013 12:07:27 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MOL00C00JDQK600@a-mtaout21.012.net.il> for 14644@debbugs.gnu.org; Tue, 18 Jun 2013 19:07:20 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MOL00C1QJG7J030@a-mtaout21.012.net.il>; Tue, 18 Jun 2013 19:07:19 +0300 (IDT) Date: Tue, 18 Jun 2013 19:07:24 +0300 From: Eli Zaretskii Subject: Re: bug#14644: emacsclient.c fails to compile In-reply-to: <51C01357.3000000@cs.ucla.edu> X-012-Sender: halo1@inter.net.il To: Paul Eggert Message-id: <83d2rjs8qr.fsf@gnu.org> References: <51C01357.3000000@cs.ucla.edu> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14644 Cc: 14644@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Tue, 18 Jun 2013 00:59:19 -0700 > From: Paul Eggert > > Anyway, I'm surprised that lib/getopt.h is built on your platform, > as the stock getopt.h should be OK. > Could you please send the part of > config.log that talks about getopt? > Mine says the following (Fedora 17): > [...] > configure:19163: checking for working GNU getopt function > configure:19384: gcc -std=gnu99 -o conftest -g3 -O2 -Wl,-znocombreloc conftest.c -lpthread >&5 > configure:19384: $? = 0 > configure:19384: ./conftest > configure:19384: $? = 0 > configure:19400: result: yes FWIW, on this system: Linux fencepost.gnu.org 2.6.32-47-server #1trisquel3 SMP Thu May 16 07:52:30 UTC 2013 x86_64 GNU/Linux with this GCC: gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3 the test for "working GNU getopt function" returns 1, although I see no compilation problems with emacsclient.c. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 18 15:14:55 2013 Received: (at 14644) by debbugs.gnu.org; 18 Jun 2013 19:14:56 +0000 Received: from localhost ([127.0.0.1]:53729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up1Ml-0006A4-Bn for submit@debbugs.gnu.org; Tue, 18 Jun 2013 15:14:55 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:49737 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up1Mj-00069w-NP for 14644@debbugs.gnu.org; Tue, 18 Jun 2013 15:14:54 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Up1Mh-0005O0-P1; Tue, 18 Jun 2013 15:14:51 -0400 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#14644: emacsclient.c fails to compile References: <51C01357.3000000@cs.ucla.edu> <83d2rjs8qr.fsf@gnu.org> X-Spook: SAPO USDOJ enemy of the state Rubin AIMSX BROMURE Echelon X-Ran: ;[kz2Y#0y7n6oX3TFZwcgG,r,F5?P7@#5R!@%3.{iY9{AXvhd3pW4{4 X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 18 Jun 2013 15:14:51 -0400 In-Reply-To: <83d2rjs8qr.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 18 Jun 2013 19:07:24 +0300") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 14644 Cc: Paul Eggert , 14644@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.2 (------) Eli Zaretskii wrote: > Linux fencepost.gnu.org 2.6.32-47-server #1trisquel3 SMP Thu May 16 07:52:30 UTC 2013 x86_64 GNU/Linux > > with this GCC: > > gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3 > > the test for "working GNU getopt function" returns 1 That uses glibc 2.11, and the (rather lengthy) conftest.c test for GNU getopt has a piece that is commented as "This code fails on glibc 2.11". Although it never gets a chance to return 32 since it apparently also triggers the "core dump" section and so returns 1. It also dumps core on RHEL6 with glib 2.12. So apparently you need to be bleeding edge to have a GNU getopt good enough for gnulib... ;) > , although I see no compilation problems with emacsclient.c. Me neither. This is a dupe of http://debbugs.gnu.org/10108, BTW. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 18 15:30:23 2013 Received: (at 14644) by debbugs.gnu.org; 18 Jun 2013 19:30:24 +0000 Received: from localhost ([127.0.0.1]:53753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up1bj-0007c9-1t for submit@debbugs.gnu.org; Tue, 18 Jun 2013 15:30:23 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:49979 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up1bh-0007c1-9F for 14644@debbugs.gnu.org; Tue, 18 Jun 2013 15:30:21 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Up1bb-0006WM-UN; Tue, 18 Jun 2013 15:30:16 -0400 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#14644: emacsclient.c fails to compile References: <51C01357.3000000@cs.ucla.edu> <83d2rjs8qr.fsf@gnu.org> X-Spook: Project Monarch BLU-97 A/B event security White Water X-Ran: =}w$!Wm5[+GTKhzYQ9N&Y3z&_Q'_W&(k7$A4eBm9XVq1^|t@lqL)Lsrix,U5RzzS^vK>K4 X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 18 Jun 2013 15:30:15 -0400 In-Reply-To: (Glenn Morris's message of "Tue, 18 Jun 2013 15:14:51 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 14644 Cc: Paul Eggert , 14644@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.2 (------) (Idle speculation) I wonder if this issue happens if: 1) you build Emacs with a system where the system getopt is not good enough for some reason, so libgnu.a gets a getopt compat definition compiled in. 2) you update your system and get a new glibc, so that system getopt is now "good enough" 3) you rebuild Emacs without deleting lib/libgnu.a. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 18 15:33:52 2013 Received: (at 14644) by debbugs.gnu.org; 18 Jun 2013 19:33:52 +0000 Received: from localhost ([127.0.0.1]:53765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up1f6-0007kM-EI for submit@debbugs.gnu.org; Tue, 18 Jun 2013 15:33:52 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:56436) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up1f3-0007k3-Lf for 14644@debbugs.gnu.org; Tue, 18 Jun 2013 15:33:50 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MOL00L00SRWP100@a-mtaout22.012.net.il> for 14644@debbugs.gnu.org; Tue, 18 Jun 2013 22:33:38 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MOL00LN8T01GN50@a-mtaout22.012.net.il>; Tue, 18 Jun 2013 22:33:38 +0300 (IDT) Date: Tue, 18 Jun 2013 22:33:43 +0300 From: Eli Zaretskii Subject: Re: bug#14644: emacsclient.c fails to compile In-reply-to: X-012-Sender: halo1@inter.net.il To: Glenn Morris Message-id: <83mwqnqkmg.fsf@gnu.org> References: <51C01357.3000000@cs.ucla.edu> <83d2rjs8qr.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14644 Cc: eggert@cs.ucla.edu, 14644@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Glenn Morris > Cc: Paul Eggert , 14644@debbugs.gnu.org > Date: Tue, 18 Jun 2013 15:30:15 -0400 > > > (Idle speculation) I wonder if this issue happens if: > > 1) you build Emacs with a system where the system getopt is not good > enough for some reason, so libgnu.a gets a getopt compat definition > compiled in. > > 2) you update your system and get a new glibc, so that system getopt is > now "good enough" > > 3) you rebuild Emacs without deleting lib/libgnu.a. Shouldn't .deps/getopt.Po catch that? From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 18 15:37:26 2013 Received: (at 14644) by debbugs.gnu.org; 18 Jun 2013 19:37:26 +0000 Received: from localhost ([127.0.0.1]:53772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up1iY-0007s6-2M for submit@debbugs.gnu.org; Tue, 18 Jun 2013 15:37:26 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:50108 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up1iW-0007rz-I5 for 14644@debbugs.gnu.org; Tue, 18 Jun 2013 15:37:24 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Up1iV-0004Td-4R; Tue, 18 Jun 2013 15:37:23 -0400 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#14644: emacsclient.c fails to compile References: <51C01357.3000000@cs.ucla.edu> <83d2rjs8qr.fsf@gnu.org> <83mwqnqkmg.fsf@gnu.org> X-Spook: benelux red noise Juiliett Class Submarine government X-Ran: }h,9QI3n"+lKJ{Mr_LJPg+[#OG^zWKc:paTAe" X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 18 Jun 2013 15:37:22 -0400 In-Reply-To: <83mwqnqkmg.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 18 Jun 2013 22:33:43 +0300") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 14644 Cc: eggert@cs.ucla.edu, 14644@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.2 (------) Eli Zaretskii wrote: > Shouldn't .deps/getopt.Po catch that? No idea. :) I'm just idly speculating in total ignorance of the details. I imagine make clean will fix it, and involve a lot less CPU time than any brain time we might spend trying to figure out exactly what goes on. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 18 16:45:18 2013 Received: (at 14644) by debbugs.gnu.org; 18 Jun 2013 20:45:18 +0000 Received: from localhost ([127.0.0.1]:53916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up2mD-0002BP-4J for submit@debbugs.gnu.org; Tue, 18 Jun 2013 16:45:17 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:40038) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up2mA-00021r-8T for 14644@debbugs.gnu.org; Tue, 18 Jun 2013 16:45:14 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id C1BA7A60001; Tue, 18 Jun 2013 13:45:08 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BiYDemktCzt0; Tue, 18 Jun 2013 13:45:08 -0700 (PDT) Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 71B1439E8105; Tue, 18 Jun 2013 13:45:08 -0700 (PDT) Message-ID: <51C0C6D4.5020307@cs.ucla.edu> Date: Tue, 18 Jun 2013 13:45:08 -0700 From: Paul Eggert User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: Glenn Morris Subject: Re: bug#14644: emacsclient.c fails to compile References: <51C01357.3000000@cs.ucla.edu> <83d2rjs8qr.fsf@gnu.org> <83mwqnqkmg.fsf@gnu.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 14644 Cc: Eli Zaretskii , 14644@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) On 06/18/13 12:37, Glenn Morris wrote: > I imagine make clean will fix it, and involve a lot less CPU time than > any brain time we might spend trying to figure out exactly what goes on. Sounds good to me. I suggest './configure; make clean' since it's 'configure' that checks whether getopt is working. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 18 20:38:20 2013 Received: (at 14644-done) by debbugs.gnu.org; 19 Jun 2013 00:38:20 +0000 Received: from localhost ([127.0.0.1]:54156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up6Pk-0002LH-71 for submit@debbugs.gnu.org; Tue, 18 Jun 2013 20:38:20 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:49936) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Up6Pi-0002L2-DT for 14644-done@debbugs.gnu.org; Tue, 18 Jun 2013 20:38:18 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At8KABK/CFFFpZVy/2dsb2JhbABEDr19AQMBA3sXc4IeAQEEAVYjBQsLNBIUGA0kiB4GsR+QDpEKA6R6gV6COVo X-IPAS-Result: At8KABK/CFFFpZVy/2dsb2JhbABEDr19AQMBA3sXc4IeAQEEAVYjBQsLNBIUGA0kiB4GsR+QDpEKA6R6gV6COVo X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="16687856" Received: from 69-165-149-114.dsl.teksavvy.com (HELO pastel.home) ([69.165.149.114]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 18 Jun 2013 20:38:07 -0400 Received: by pastel.home (Postfix, from userid 20848) id 248C662D1B; Tue, 18 Jun 2013 20:38:12 -0400 (EDT) From: Stefan Monnier To: Paul Eggert Subject: Re: bug#14644: emacsclient.c fails to compile Message-ID: References: <51C01357.3000000@cs.ucla.edu> <83d2rjs8qr.fsf@gnu.org> <83mwqnqkmg.fsf@gnu.org> <51C0C6D4.5020307@cs.ucla.edu> Date: Tue, 18 Jun 2013 20:38:11 -0400 In-Reply-To: <51C0C6D4.5020307@cs.ucla.edu> (Paul Eggert's message of "Tue, 18 Jun 2013 13:45:08 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 14644-done Cc: Glenn Morris , 14644-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > Sounds good to me. I suggest './configure; make clean' > since it's 'configure' that checks whether getopt is working. I had tried a "make bootstrap". This said, it works today, so it was probably some transient problem on my system. Stefan From unknown Tue Jun 17 03:39:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 17 Jul 2013 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator