unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4186: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus problem)
@ 2009-08-19 12:21 Matthieu Moy
  0 siblings, 0 replies; 3+ messages in thread
From: Matthieu Moy @ 2009-08-19 12:21 UTC (permalink / raw)
  To: emacs-pretest-bug

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#4186: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus problem)
       [not found] <mailman.4904.1250797669.2239.bug-gnu-emacs@gnu.org>
@ 2009-08-21  6:47 ` Michael Albinus
  2009-08-21  8:27   ` Matthieu Moy
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Albinus @ 2009-08-21  6:47 UTC (permalink / raw)
  To: Matthieu Moy; +Cc: 4186

Matthieu Moy <Matthieu.Moy@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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#4186: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus problem)
  2009-08-21  6:47 ` bug#4186: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus problem) Michael Albinus
@ 2009-08-21  8:27   ` Matthieu Moy
  0 siblings, 0 replies; 3+ messages in thread
From: Matthieu Moy @ 2009-08-21  8:27 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 4186

Michael Albinus <michael.albinus@gmx.de> writes:

> Matthieu Moy <Matthieu.Moy@imag.fr> 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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-21  8:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.4904.1250797669.2239.bug-gnu-emacs@gnu.org>
2009-08-21  6:47 ` bug#4186: 23.0.91; Can not compile CVS Emacs on Debian old-stable (dbus problem) Michael Albinus
2009-08-21  8:27   ` Matthieu Moy
2009-08-19 12:21 Matthieu Moy

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).