Package: pybluez Version: 0.7.1-3 Severity: serious Tags: patch When building 'pybluez' on unstable, I get the following error:
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.4 -c bluez/btmodule.c -o build/temp.linux-x86_64-2.4/bluez/btmodule.o In file included from bluez/btmodule.c:20: bluez/btmodule.h:34: error: expected specifier-qualifier-list before 'sdp_session_t' bluez/btmodule.c: In function 'sock_close': bluez/btmodule.c:718: error: 'PySocketSockObject' has no member named 'sdp_session' bluez/btmodule.c:719: error: 'PySocketSockObject' has no member named 'sdp_session' bluez/btmodule.c:721: error: 'PySocketSockObject' has no member named 'sdp_session' bluez/btmodule.c: In function 'sock_dealloc': bluez/btmodule.c:1331: error: 'PySocketSockObject' has no member named 'sdp_session' bluez/btmodule.c:1332: error: 'PySocketSockObject' has no member named 'sdp_session' bluez/btmodule.c:1334: error: 'PySocketSockObject' has no member named 'sdp_session' bluez/btmodule.c: In function 'bt_sdp_advertise_service': bluez/btmodule.c:2283: error: 'PySocketSockObject' has no member named 'sdp_session' bluez/btmodule.c:2358: error: 'PySocketSockObject' has no member named 'sdp_session' bluez/btmodule.c: In function 'bt_sdp_stop_advertising': bluez/btmodule.c:2414: error: 'PySocketSockObject' has no member named 'sdp_session' bluez/btmodule.c:2416: error: 'PySocketSockObject' has no member named 'sdp_session' bluez/btmodule.c:2418: error: 'PySocketSockObject' has no member named 'sdp_session' error: command 'gcc' failed with exit status 1 make: *** [build-stamp] Error 1 With the attached patch 'pybluez' can be compiled on unstable. Regards Andreas Jochens diff -urN ../tmp-orig/pybluez-0.7.1/bluez/btmodule.h ./bluez/btmodule.h --- ../tmp-orig/pybluez-0.7.1/bluez/btmodule.h 2006-05-03 23:05:30.000000000 +0000 +++ ./bluez/btmodule.h 2006-10-10 17:37:29.000000000 +0000 @@ -4,6 +4,7 @@ #include "Python.h" #include <bluetooth/bluetooth.h> #include <bluetooth/sdp.h> +#include <bluetooth/sdp_lib.h> #include <stdint.h> #ifdef __cplusplus -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]