GNU bug report logs - #4186
23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus problem)

Previous Next

Package: emacs;

Reported by: Matthieu Moy <Matthieu.Moy <at> imag.fr>

Date: Thu, 20 Aug 2009 19:35:50 UTC

Severity: normal

Merged with 4201

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #12 received at 4186 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Matthieu Moy <Matthieu.Moy <at> imag.fr>
Cc: 4186 <at> debbugs.gnu.org
Subject: Re: bug#4186: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus problem)
Date: Fri, 21 Aug 2009 08:47:41 +0200
Matthieu Moy <Matthieu.Moy <at> imag.fr> 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.



This bug report was last modified 15 years and 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.