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

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Sat Dec 2 08:35:38 EST 2006


           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_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
-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: 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:

and fixed:
(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.

More information about the SM-Grimoire-Bugs mailing list