From unknown Sun Aug 10 08:07:41 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4186: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus problem) Reply-To: Matthieu Moy , 4186@debbugs.gnu.org Resent-From: Matthieu Moy Original-Sender: Matthieu Moy Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 20 Aug 2009 19:35:50 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 4186 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.1250684488334 (code B ref -1); Thu, 20 Aug 2009 19:35:50 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Aug 2009 12:21:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7JCLPfL000327 for ; Wed, 19 Aug 2009 05:21:28 -0700 Received: from mail.gnu.org ([199.232.76.166]:50325 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MdkAO-0007uM-Ic for emacs-pretest-bug@gnu.org; Wed, 19 Aug 2009 08:21:24 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MdkAJ-0000FP-PG for emacs-pretest-bug@gnu.org; Wed, 19 Aug 2009 08:21:23 -0400 Received: from mx1.imag.fr ([129.88.30.5]:50823 helo=shiva.imag.fr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MdkAI-0000DS-Md for emacs-pretest-bug@gnu.org; Wed, 19 Aug 2009 08:21:19 -0400 Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by shiva.imag.fr (8.13.8/8.13.8) with ESMTP id n7JCIJpM012144 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Wed, 19 Aug 2009 14:18:19 +0200 Received: from bauges.imag.fr ([129.88.43.5]) by mail-veri.imag.fr with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1MdkA5-0002gB-Lf; Wed, 19 Aug 2009 14:21:05 +0200 Received: from moy by bauges.imag.fr with local (Exim 4.63) (envelope-from ) id 1MdkA5-0007hD-KL; Wed, 19 Aug 2009 14:21:05 +0200 To: emacs-pretest-bug@gnu.org From: Matthieu Moy Date: Wed, 19 Aug 2009 14:21:05 +0200 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Matthieu Moy X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (shiva.imag.fr [129.88.30.5]); Wed, 19 Aug 2009 14:18:19 +0200 (CEST) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-MailScanner-ID: n7JCIJpM012144 X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: moy@imag.fr MailScanner-NULL-Check: 1251289101.81262@zhwaiq805ykNF+TOv/0HTA X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Hi, Short version: whether I enable dbus or not, newest Emacs fails to compile on my system. Longer version: With the same configuration I used to succeed in compiling Emacs on my machine, I now get this error at link time: dbusbind.o: In function `xd_remove_watch': /home/moy/local/usr/src/emacs/src/dbusbind.c:766: undefined reference to `dbus_watch_get_unix_fd' /home/moy/local/usr/src/emacs/src/dbusbind.c:768: undefined reference to `dbus_watch_get_socket' dbusbind.o: In function `xd_add_watch': /home/moy/local/usr/src/emacs/src/dbusbind.c:741: undefined reference to `dbus_watch_get_unix_fd' /home/moy/local/usr/src/emacs/src/dbusbind.c:743: undefined reference to `dbus_watch_get_socket' collect2: ld returned 1 exit status Fine, I thought, my dbus is too old, I don't need it, I'll disable it. But compiling with --without-dbus, it doesn't work either: Wrote /net/bauges/local/moy/usr/src/emacs.git/lisp/net/tramp-ftp.elc Compiling /net/bauges/local/moy/usr/src/emacs.git/lisp/net/tramp-gvfs.el Loading tramp... In toplevel form: ../../lisp/net/tramp-gvfs.el:101:1:Error: Symbol's function definition is void: dbus-init-bus make[2]: *** [...] Error 1 Reproducible with a fresh checkout. Ideally, Emacs should be tought not to use inexisting functions in libdbus, but at least, fixing the build with --without-dbus should be done. Thanks in advance, $ uname -a Linux bauges 2.6.29.3-686 #1 SMP PREEMPT Thu May 14 12:01:17 CEST 2009 i686 GNU/Linux $ cat /etc/debian_version 4.0 (rest of message mostly irrelevant, since I'm posting from another Emacs instance) In GNU Emacs 23.0.91.2 (i686-pc-linux-gnu, GTK+ Version 2.8.20) of 2009-03-17 on bauges Windowing system distributor `The X.Org Foundation', version 11.0.70101000 configured using `configure '--prefix=/home/moy/local/usr/'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil 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: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Term Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t erc-track-mode: t recentf-mode: t global-whitespace-mode: t global-hl-line-mode: t icomplete-mode: t auto-image-file-mode: t which-function-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: (only) Recent input: [...] Recent messages: nndiary: Reading incoming mail from file... nndiary: Reading incoming mail (no new mail)...done Reading active file via nndiary...done Reading active file from archive via nnfolder...done Checking new news...done (No changes need to be saved) No more unread newsgroups [2 times] (No changes need to be saved) Mark set (No changes need to be saved) -- Matthieu From rgm@gnu.org Thu Aug 20 18:09:19 2009 Received: (at control) by emacsbugs.donarmstrong.com; 21 Aug 2009 01:09:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-4.9 required=4.0 tests=AWL,ONEWORD,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7L19H7w000999 for ; Thu, 20 Aug 2009 18:09:19 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MeId3-0004Zc-5w; Thu, 20 Aug 2009 21:09:17 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19085.62397.105518.639079@fencepost.gnu.org> Date: Thu, 20 Aug 2009 21:09:17 -0400 From: Glenn Morris To: control Subject: control X-Debbugs-No-Ack: yes merge 4185 4202 merge 4186 4201 severity 4192 wishlist reassign 4192 emacs,cc-mode reassign 4143 emacs,ns reassign 4146 emacs,cc-mode severity 4164 minor reassign 4180 emacs,ns reassign 4187 emacs,cc-mode forcemerge 2868 4194 From unknown Sun Aug 10 08:07:41 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4186: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus problem) Reply-To: Michael Albinus , 4186@debbugs.gnu.org Resent-From: Michael Albinus Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 21 Aug 2009 06:55:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4186 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4186-submit@emacsbugs.donarmstrong.com id=B4186.125083727231594 (code B ref 4186); Fri, 21 Aug 2009 06:55:08 +0000 Received: (at 4186) by emacsbugs.donarmstrong.com; 21 Aug 2009 06:47:52 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.3 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mailrelay1.alcatel.de (mailrelay1.alcatel.de [194.113.59.95]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7L6ln7O031396 for <4186@emacsbugs.donarmstrong.com>; Thu, 20 Aug 2009 23:47:51 -0700 Received: from destgsu0048.stgl.sel.alcatel.de (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay1.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n7L6lgl0008225; Fri, 21 Aug 2009 08:47:42 +0200 Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.stgl.sel.alcatel.de (8.12.3/8.12.3) with ESMTP id n7L6lfY4025159; Fri, 21 Aug 2009 08:47:42 +0200 (MEST) From: Michael Albinus To: Matthieu Moy Cc: 4186@debbugs.gnu.org References: Date: Fri, 21 Aug 2009 08:47:41 +0200 In-Reply-To: (Matthieu Moy's message of "Wed, 19 Aug 2009 14:21:05 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Alcanet-virus-scanned: n7L6lfY4025159 at destgsu0048.stgl.sel.alcatel.de X-Scanned-By: MIMEDefang 2.57 on 149.204.45.72 Matthieu Moy writes: > Hi, Hi, > Short version: whether I enable dbus or not, newest Emacs fails to > compile on my system. I'm impressed: 23.0.91 is the newest Emacs. Really? > Longer version: > With the same configuration I used to succeed in compiling Emacs on my > machine, I now get this error at link time: > > dbusbind.o: In function `xd_remove_watch': > /home/moy/local/usr/src/emacs/src/dbusbind.c:766: undefined reference to `dbus_watch_get_unix_fd' > /home/moy/local/usr/src/emacs/src/dbusbind.c:768: undefined reference to `dbus_watch_get_socket' > dbusbind.o: In function `xd_add_watch': > /home/moy/local/usr/src/emacs/src/dbusbind.c:741: undefined reference to `dbus_watch_get_unix_fd' > /home/moy/local/usr/src/emacs/src/dbusbind.c:743: undefined reference to `dbus_watch_get_socket' > collect2: ld returned 1 exit status Both functions have been added in D-Bus 1.1.1. I've committed a fix, which checks the availability of these functions. > Fine, I thought, my dbus is too old, I don't need it, I'll disable it. > But compiling with --without-dbus, it doesn't work either: > > Wrote /net/bauges/local/moy/usr/src/emacs.git/lisp/net/tramp-ftp.elc > Compiling /net/bauges/local/moy/usr/src/emacs.git/lisp/net/tramp-gvfs.el > Loading tramp... > > In toplevel form: > ../../lisp/net/tramp-gvfs.el:101:1:Error: Symbol's function definition is void: dbus-init-bus > make[2]: *** [...] Error 1 > > Reproducible with a fresh checkout. > > Ideally, Emacs should be tought not to use inexisting functions in > libdbus, but at least, fixing the build with --without-dbus should be > done. Yes, I've reenabled the check for (featurep 'dbusbind) > Thanks in advance, Best regards, Michael. From unknown Sun Aug 10 08:07:41 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4186: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus problem) Reply-To: Matthieu Moy , 4186@debbugs.gnu.org Resent-From: Matthieu Moy Original-Sender: Matthieu Moy Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 21 Aug 2009 08:35:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4186 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4186-submit@emacsbugs.donarmstrong.com id=B4186.125084324416411 (code B ref 4186); Fri, 21 Aug 2009 08:35:05 +0000 Received: (at 4186) by emacsbugs.donarmstrong.com; 21 Aug 2009 08:27:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.2 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from rominette.imag.fr (mx2.imag.fr [129.88.30.17]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7L8RMFf016406 for <4186@emacsbugs.donarmstrong.com>; Fri, 21 Aug 2009 01:27:24 -0700 Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by rominette.imag.fr (8.13.8/8.13.8) with ESMTP id n7L8PjWa013668 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Fri, 21 Aug 2009 10:25:45 +0200 Received: from bauges.imag.fr ([129.88.43.5]) by mail-veri.imag.fr with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1MePSv-00019h-E1; Fri, 21 Aug 2009 10:27:17 +0200 Received: from moy by bauges.imag.fr with local (Exim 4.63) (envelope-from ) id 1MePSv-0004kt-C4; Fri, 21 Aug 2009 10:27:17 +0200 To: Michael Albinus Cc: 4186@debbugs.gnu.org References: From: Matthieu Moy Date: Fri, 21 Aug 2009 10:27:17 +0200 In-Reply-To: (Michael Albinus's message of "Fri\, 21 Aug 2009 08\:47\:41 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Matthieu Moy X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (rominette.imag.fr [129.88.30.17]); Fri, 21 Aug 2009 10:25:45 +0200 (CEST) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-MailScanner-ID: n7L8PjWa013668 X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: moy@imag.fr MailScanner-NULL-Check: 1251447946.93901@Mk6+Qm8v9gUIjPe76deQ9w Michael Albinus writes: > Matthieu Moy writes: > >> Short version: whether I enable dbus or not, newest Emacs fails to >> compile on my system. > > I'm impressed: 23.0.91 is the newest Emacs. Really? If you read carefully, my bug report is about NOT being able to compile Emacs. Which probably explains why I'm not posting from this version of Emacs ;-). > Both functions have been added in D-Bus 1.1.1. I've committed a fix, > which checks the availability of these functions. [...] > Yes, I've reenabled the check for (featurep 'dbusbind) Great job, Emacs compiles both --with and --without-dbus now. Thanks a lot! -- Matthieu From unknown Sun Aug 10 08:07:41 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Matthieu Moy Subject: bug#4186 closed by Michael Albinus (Re: bug#4186: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus problem)) Message-ID: References: X-Emacs-PR-Message: they-closed 4186 X-Emacs-PR-Package: emacs Reply-To: 4186@debbugs.gnu.org Date: Fri, 21 Aug 2009 09:00:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1250845205-21766-1" This is a multi-part message in MIME format... ------------=_1250845205-21766-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #4186: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus proble= m) It has been closed by Michael Albinus . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Michael Albinus by replying to this email. --=20 4186: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D4186 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1250845205-21766-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4186-done) by emacsbugs.donarmstrong.com; 21 Aug 2009 08:55:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.2 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mailrelay1.alcatel.de (mailrelay1.alcatel.de [194.113.59.95]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7L8tpmL021244 for <4186-done@emacsbugs.donarmstrong.com>; Fri, 21 Aug 2009 01:55:52 -0700 Received: from destgsu0048.stgl.sel.alcatel.de (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay1.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n7L8tjWV022693; Fri, 21 Aug 2009 10:55:45 +0200 Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.stgl.sel.alcatel.de (8.12.3/8.12.3) with ESMTP id n7L8tjY4022780; Fri, 21 Aug 2009 10:55:45 +0200 (MEST) From: Michael Albinus To: Matthieu Moy Cc: <4186-done@debbugs.gnu.org> Subject: Re: bug#4186: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus problem) References: Date: Fri, 21 Aug 2009 10:55:44 +0200 In-Reply-To: (Matthieu Moy's message of "Fri, 21 Aug 2009 10:27:17 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Alcanet-virus-scanned: n7L8tjY4022780 at destgsu0048.stgl.sel.alcatel.de X-Scanned-By: MIMEDefang 2.57 on 149.204.45.72 Matthieu Moy writes: >> Both functions have been added in D-Bus 1.1.1. I've committed a fix, >> which checks the availability of these functions. > > [...] > >> Yes, I've reenabled the check for (featurep 'dbusbind) > > Great job, Emacs compiles both --with and --without-dbus now. OK, so I close the ticket. > Thanks a lot! Best regards, Michael. ------------=_1250845205-21766-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 19 Aug 2009 12:21:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7JCLPfL000327 for ; Wed, 19 Aug 2009 05:21:28 -0700 Received: from mail.gnu.org ([199.232.76.166]:50325 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MdkAO-0007uM-Ic for emacs-pretest-bug@gnu.org; Wed, 19 Aug 2009 08:21:24 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MdkAJ-0000FP-PG for emacs-pretest-bug@gnu.org; Wed, 19 Aug 2009 08:21:23 -0400 Received: from mx1.imag.fr ([129.88.30.5]:50823 helo=shiva.imag.fr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MdkAI-0000DS-Md for emacs-pretest-bug@gnu.org; Wed, 19 Aug 2009 08:21:19 -0400 Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by shiva.imag.fr (8.13.8/8.13.8) with ESMTP id n7JCIJpM012144 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Wed, 19 Aug 2009 14:18:19 +0200 Received: from bauges.imag.fr ([129.88.43.5]) by mail-veri.imag.fr with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1MdkA5-0002gB-Lf; Wed, 19 Aug 2009 14:21:05 +0200 Received: from moy by bauges.imag.fr with local (Exim 4.63) (envelope-from ) id 1MdkA5-0007hD-KL; Wed, 19 Aug 2009 14:21:05 +0200 To: emacs-pretest-bug@gnu.org Subject: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus problem) From: Matthieu Moy Date: Wed, 19 Aug 2009 14:21:05 +0200 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Matthieu Moy X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (shiva.imag.fr [129.88.30.5]); Wed, 19 Aug 2009 14:18:19 +0200 (CEST) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-MailScanner-ID: n7JCIJpM012144 X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: moy@imag.fr MailScanner-NULL-Check: 1251289101.81262@zhwaiq805ykNF+TOv/0HTA X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Hi, Short version: whether I enable dbus or not, newest Emacs fails to compile on my system. Longer version: With the same configuration I used to succeed in compiling Emacs on my machine, I now get this error at link time: dbusbind.o: In function `xd_remove_watch': /home/moy/local/usr/src/emacs/src/dbusbind.c:766: undefined reference to `dbus_watch_get_unix_fd' /home/moy/local/usr/src/emacs/src/dbusbind.c:768: undefined reference to `dbus_watch_get_socket' dbusbind.o: In function `xd_add_watch': /home/moy/local/usr/src/emacs/src/dbusbind.c:741: undefined reference to `dbus_watch_get_unix_fd' /home/moy/local/usr/src/emacs/src/dbusbind.c:743: undefined reference to `dbus_watch_get_socket' collect2: ld returned 1 exit status Fine, I thought, my dbus is too old, I don't need it, I'll disable it. But compiling with --without-dbus, it doesn't work either: Wrote /net/bauges/local/moy/usr/src/emacs.git/lisp/net/tramp-ftp.elc Compiling /net/bauges/local/moy/usr/src/emacs.git/lisp/net/tramp-gvfs.el Loading tramp... In toplevel form: ../../lisp/net/tramp-gvfs.el:101:1:Error: Symbol's function definition is void: dbus-init-bus make[2]: *** [...] Error 1 Reproducible with a fresh checkout. Ideally, Emacs should be tought not to use inexisting functions in libdbus, but at least, fixing the build with --without-dbus should be done. Thanks in advance, $ uname -a Linux bauges 2.6.29.3-686 #1 SMP PREEMPT Thu May 14 12:01:17 CEST 2009 i686 GNU/Linux $ cat /etc/debian_version 4.0 (rest of message mostly irrelevant, since I'm posting from another Emacs instance) In GNU Emacs 23.0.91.2 (i686-pc-linux-gnu, GTK+ Version 2.8.20) of 2009-03-17 on bauges Windowing system distributor `The X.Org Foundation', version 11.0.70101000 configured using `configure '--prefix=/home/moy/local/usr/'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil 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: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Term Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t erc-track-mode: t recentf-mode: t global-whitespace-mode: t global-hl-line-mode: t icomplete-mode: t auto-image-file-mode: t which-function-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: (only) Recent input: [...] Recent messages: nndiary: Reading incoming mail from file... nndiary: Reading incoming mail (no new mail)...done Reading active file via nndiary...done Reading active file from archive via nnfolder...done Checking new news...done (No changes need to be saved) No more unread newsgroups [2 times] (No changes need to be saved) Mark set (No changes need to be saved) -- Matthieu ------------=_1250845205-21766-1-- From unknown Sun Aug 10 08:07:41 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Matthieu Moy Subject: bug#4201 closed by Michael Albinus (Re: bug#4186: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus problem)) Message-ID: References: X-Emacs-PR-Message: they-closed 4201 X-Emacs-PR-Package: emacs Reply-To: 4201@debbugs.gnu.org Date: Fri, 21 Aug 2009 09:00:06 +0000 Content-Type: multipart/mixed; boundary="----------=_1250845206-21766-3" This is a multi-part message in MIME format... ------------=_1250845206-21766-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #4186: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus proble= m) It has been closed by Michael Albinus . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Michael Albinus by replying to this email. --=20 4186: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D4186 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1250845206-21766-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4186-done) by emacsbugs.donarmstrong.com; 21 Aug 2009 08:55:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.2 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mailrelay1.alcatel.de (mailrelay1.alcatel.de [194.113.59.95]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7L8tpmL021244 for <4186-done@emacsbugs.donarmstrong.com>; Fri, 21 Aug 2009 01:55:52 -0700 Received: from destgsu0048.stgl.sel.alcatel.de (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay1.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n7L8tjWV022693; Fri, 21 Aug 2009 10:55:45 +0200 Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.stgl.sel.alcatel.de (8.12.3/8.12.3) with ESMTP id n7L8tjY4022780; Fri, 21 Aug 2009 10:55:45 +0200 (MEST) From: Michael Albinus To: Matthieu Moy Cc: <4186-done@debbugs.gnu.org> Subject: Re: bug#4186: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus problem) References: Date: Fri, 21 Aug 2009 10:55:44 +0200 In-Reply-To: (Matthieu Moy's message of "Fri, 21 Aug 2009 10:27:17 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Alcanet-virus-scanned: n7L8tjY4022780 at destgsu0048.stgl.sel.alcatel.de X-Scanned-By: MIMEDefang 2.57 on 149.204.45.72 Matthieu Moy writes: >> Both functions have been added in D-Bus 1.1.1. I've committed a fix, >> which checks the availability of these functions. > > [...] > >> Yes, I've reenabled the check for (featurep 'dbusbind) > > Great job, Emacs compiles both --with and --without-dbus now. OK, so I close the ticket. > Thanks a lot! Best regards, Michael. ------------=_1250845206-21766-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 19 Aug 2009 13:41:16 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.6 required=4.0 tests=AWL,IMPRONONCABLE_2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7JDfF6v012356 for ; Wed, 19 Aug 2009 06:41:16 -0700 Received: from mx10.gnu.org ([199.232.76.166]:35638) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MdlPe-0000Gc-MS for emacs-pretest-bug@gnu.org; Wed, 19 Aug 2009 09:41:14 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MdlPc-0000em-C4 for emacs-pretest-bug@gnu.org; Wed, 19 Aug 2009 09:41:14 -0400 Received: from mx2.imag.fr ([129.88.30.17]:50505 helo=rominette.imag.fr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MdlPa-0000dr-IB for emacs-pretest-bug@gnu.org; Wed, 19 Aug 2009 09:41:11 -0400 Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by rominette.imag.fr (8.13.8/8.13.8) with ESMTP id n7JDdYhr006476 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Wed, 19 Aug 2009 15:39:34 +0200 Received: from bauges.imag.fr ([129.88.43.5]) by mail-veri.imag.fr with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1MdlPR-0003vt-7D; Wed, 19 Aug 2009 15:41:01 +0200 Received: from moy by bauges.imag.fr with local (Exim 4.63) (envelope-from ) id 1MdlPR-00072W-5n; Wed, 19 Aug 2009 15:41:01 +0200 To: emacs-pretest-bug@gnu.org Subject: Re: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus problem) References: From: Matthieu Moy Date: Wed, 19 Aug 2009 15:41:01 +0200 In-Reply-To: (Matthieu Moy's message of "Wed\, 19 Aug 2009 14\:21\:05 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Matthieu Moy X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (rominette.imag.fr [129.88.30.17]); Wed, 19 Aug 2009 15:39:34 +0200 (CEST) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-MailScanner-ID: n7JDdYhr006476 X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: moy@imag.fr MailScanner-NULL-Check: 1251293976.91015@qUS2RIomKKohcMPpbcrb5Q X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Matthieu Moy writes: > Fine, I thought, my dbus is too old, I don't need it, I'll disable it. > But compiling with --without-dbus, it doesn't work either: > > Wrote /net/bauges/local/moy/usr/src/emacs.git/lisp/net/tramp-ftp.elc > Compiling /net/bauges/local/moy/usr/src/emacs.git/lisp/net/tramp-gvfs.el > Loading tramp... > > In toplevel form: > ../../lisp/net/tramp-gvfs.el:101:1:Error: Symbol's function definition is void: dbus-init-bus > make[2]: *** [...] Error 1 This happens since this revision below (thanks to 'git bisect' ;-) ). Reverting it fixes the problem for me. I guess the important part was the (when (and (featurep 'dbusbind) (not (featurep 'dbus))) which got lost in the process. commit f1a6beaaeea05ae21131f38ed5ff243046fb29f2 Author: Michael Albinus Date: Wed Aug 19 07:08:57 2009 +0000 * net/dbus.el (top): Apply `dbus-init-bus' for the :session bus only if it is running already. diff --git a/lisp/net/dbus.el b/lisp/net/dbus.el index c1222a6..159fcb6 100644 --- a/lisp/net/dbus.el +++ b/lisp/net/dbus.el @@ -41,15 +41,6 @@ (defvar dbus-debug) (defvar dbus-registered-functions-table) -;; Initialize :system and :session buses. This adds their file -;; descriptors to input_wait_mask, in order to detect incoming -;; messages immediately. -;; We must avoid to call the function twice for a bus, because the -;; DBusWatch will be removed then. -(when (and (featurep 'dbusbind) (not (featurep 'dbus))) - (dbus-init-bus :system) - (dbus-init-bus :session)) - ;; Pacify byte compiler. (eval-when-compile (require 'cl)) @@ -841,6 +832,14 @@ name of the property, and its value. If there are no properties, (cons property (dbus-get-property bus service path interface property)) 'append))))) +;; Initialize :system and :session buses. This adds their file +;; descriptors to input_wait_mask, in order to detect incoming +;; messages immediately. +(dbus-ignore-errors + (dbus-init-bus :system) + (when (getenv "DBUS_SESSION_BUS_ADDRESS") + (dbus-init-bus :session))) + (provide 'dbus) ;; arch-tag: a47caf84-9162-4811-90cc-5d388e37b9bd -- Matthieu ------------=_1250845206-21766-3--