Bug 45894

Summary: Latest changes in API break Ytstenut on Android
Product: Ytstenut Reporter: Alvaro Soliverez <alvaro.soliverez>
Component: ytstenut-glibAssignee: Robert Staudinger <robert.staudinger>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Alvaro Soliverez 2012-02-10 06:37:51 UTC
The latest API changes break the build of the Ytstenut JAVA API on Android

/home/asoliver/work/ytstenut/src/shamdeh/test/telepathy-android/jni/ytstenut-client.c:1083: warning: passing argument 1 of 'g_strdup' makes pointer from integer without a cast
/home/asoliver/work/ytstenut/src/shamdeh/test/telepathy-android/jni/../../glib/glib/gstrfuncs.h:190: note: expected 'const gchar *' but argument is of type 'int'
/home/asoliver/work/ytstenut/src/shamdeh/test/telepathy-android/jni/ytstenut-client.c: In function 'lookup_service':
/home/asoliver/work/ytstenut/src/shamdeh/test/telepathy-android/jni/ytstenut-client.c:1096: warning: passing argument 2 of 'yts_client_foreach_service' from incompatible pointer type
/home/asoliver/work/ytstenut/src/shamdeh/test/telepathy-android/jni/../../ytstenut-glib/ytstenut/yts-client.h:175: note: expected 'YtsClientServiceIterator' but argument is of type 'void (*)(struct YtsClient *, const char *, struct YtsCapability *, void *)'
/home/asoliver/work/ytstenut/src/shamdeh/test/telepathy-android/jni/ytstenut-client.c: In function 'exists_capability':
/home/asoliver/work/ytstenut/src/shamdeh/test/telepathy-android/jni/ytstenut-client.c:1112: warning: passing argument 2 of 'yts_client_foreach_service' from incompatible pointer type
/home/asoliver/work/ytstenut/src/shamdeh/test/telepathy-android/jni/../../ytstenut-glib/ytstenut/yts-client.h:175: note: expected 'YtsClientServiceIterator' but argument is of type 'void (*)(struct YtsClient *, const char *, struct YtsCapability *, void *)'
/home/asoliver/work/ytstenut/src/shamdeh/test/telepathy-android/jni/ytstenut-client.c: In function 'Java_org_freedesktop_ytstenut_YtsClientManager_getServiceIds':
/home/asoliver/work/ytstenut/src/shamdeh/test/telepathy-android/jni/ytstenut-client.c:1155: warning: passing argument 2 of 'yts_client_foreach_service' from incompatible pointer type
/home/asoliver/work/ytstenut/src/shamdeh/test/telepathy-android/jni/../../ytstenut-glib/ytstenut/yts-client.h:175: note: expected 'YtsClientServiceIterator' but argument is of type 'void (*)(struct YtsClient *, const char *, struct YtsCapability *, void *)'
/home/asoliver/work/ytstenut/src/shamdeh/test/telepathy-android/jni/ytstenut-client.c:1164: warning: initialization makes pointer from integer without a cast
make: *** [/home/asoliver/work/ytstenut/src/shamdeh/test/telepathy-android/obj/local/armeabi/objs-debug/ytstenut-client/ytstenut-client.o] Error 1
Comment 1 Robert Staudinger 2012-02-10 07:22:22 UTC
Can we make the build of the Java API optional, and turn it off for the time being?

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.