Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 13303] New: avahi needs a patch to compile against dbus>1.0

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 13303] New: avahi needs a patch to compile against dbus>1.0
  • Date: 2 Dec 2006 13:35:38 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=13303

Summary: avahi needs a patch to compile against dbus>1.0
Product: Codex
Version: test grimoire
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: utils
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: timothee.lecomte AT ens.fr


avahi currently does not cast because of dbus>1.0 being in test grimoire. It
fails with the following:

gcc -DHAVE_CONFIG_H -I. -I.. -I.. '-DDEBUG_TRAP=__asm__("int $3")'
-DAVAHI_DAEMON_RUNTIME_DIR=\"/var/run/avahi-daemon/\"
-DAVAHI_SOCKET=\"/var/run/avahi-daemon/socket\"
-DAVAHI_SERVICE_DIR=\"/etc/avahi/services\"
-DAVAHI_CONFIG_FILE=\"/etc/avahi/avahi-daemon.conf\"
-DAVAHI_HOSTS_FILE=\"/etc/avahi/hosts\"
-DAVAHI_DBUS_INTROSPECTION_DIR=\"/usr/share/avahi/introspection\"
-DAVAHI_CONFIG_DIR=\"/etc/avahi\" -D_REENTRANT -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -DDBUS_VERSION_MAJOR=1 -DDBUS_VERSION_MINOR=0
-DDBUS_VERSION_MICRO=1 -DDBUS_API_SUBJECT_TO_CHANGE -O -march=pentium4m -mmmx
-mfpmath=sse -msse -msse2 -pipe -DPIC -fPIC -Os -std=c99 -Wall -W -Wextra
-pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement
-Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes
-Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith
-Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -MT
avahi_daemon-dbus-protocol.o -MD -MP -MF .deps/avahi_daemon-dbus-protocol.Tpo
-c
-o avahi_daemon-dbus-protocol.o `test -f 'dbus-protocol.c' || echo
'./'`dbus-protocol.c
dbus-protocol.c: In function 'dbus_connect':
dbus-protocol.c:1073: error: 'DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT' undeclared
(first use in this function)
dbus-protocol.c:1073: error: (Each undeclared identifier is reported only once
dbus-protocol.c:1073: error: for each function it appears in.)
dbus-protocol.c:1085: warning: cast discards qualifiers from pointer target
type
make[2]: *** [avahi_daemon-dbus-protocol.o] Error 1
make[2]: Leaving directory `/usr/src/avahi-0.6.15/avahi-daemon'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/avahi-0.6.15'
make: *** [all] Error 2
! Problem Detected !

The problem is reported upstream:
http://avahi.org/ticket/71

and fixed:
http://www.avahi.org/changeset/1333
(use the link 'unified diff' at the bottom of the page to retrieve the patch)

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Grimoire-Bugs] [Bug 13303] New: avahi needs a patch to compile against dbus>1.0, bugzilla-daemon, 12/02/2006

Archive powered by MHonArc 2.6.24.

Top of Page