Ticket #774 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

SVN3431: python wrapper doesn't build anymore

Reported by: cstender Assigned to: bricks
Priority: normal Milestone: 0.40
Component: OpenSync Version: 0.36
Severity: normal Keywords:
Cc: bricks

Description

rev3431

[100%] Building C object wrapper/CMakeFiles/_opensync.dir/opensyncPYTHON_wrap.o
cd /usr/src/packages/BUILD/libopensync1-0.36_SVN3431/build/wrapper && /usr/bin/gcc -D_opensync_EXPORTS -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -O2 -fPIC -I/usr/src/packages/BUILD/libopensync1-0.36_SVN3431/build -I/usr/src/packages/BUILD/libopensync1-0.36_SVN3431/opensync -I/usr/src/packages/BUILD/libopensync1-0.36_SVN3431 -I/usr/include/python2.5 -fno-strict-aliasing -o CMakeFiles/_opensync.dir/opensyncPYTHON_wrap.o -c /usr/src/packages/BUILD/libopensync1-0.36_SVN3431/build/wrapper/opensyncPYTHON_wrap.c
/usr/src/packages/BUILD/libopensync1-0.36_SVN3431/build/wrapper/opensyncPYTHON_wrap.c: In function 'FormatEnv_find_path_formats':
/usr/src/packages/BUILD/libopensync1-0.36_SVN3431/build/wrapper/opensyncPYTHON_wrap.c:3568: warning: passing argument 3 of 'osync_format_env_find_path_formats' from incompatible pointer type
/usr/src/packages/BUILD/libopensync1-0.36_SVN3431/build/wrapper/opensyncPYTHON_wrap.c: In function 'XMLFormat_validate':
/usr/src/packages/BUILD/libopensync1-0.36_SVN3431/build/wrapper/opensyncPYTHON_wrap.c:4147: error: too few arguments to function 'osync_xmlformat_validate'
/usr/src/packages/BUILD/libopensync1-0.36_SVN3431/build/wrapper/opensyncPYTHON_wrap.c: In function 'ObjTypeSink_num_objformats':
/usr/src/packages/BUILD/libopensync1-0.36_SVN3431/build/wrapper/opensyncPYTHON_wrap.c:4493: warning: implicit declaration of function 'osync_objtype_sink_num_objformats'
/usr/src/packages/BUILD/libopensync1-0.36_SVN3431/build/wrapper/opensyncPYTHON_wrap.c: In function 'ObjTypeSink_nth_objformat':
/usr/src/packages/BUILD/libopensync1-0.36_SVN3431/build/wrapper/opensyncPYTHON_wrap.c:4496: warning: implicit declaration of function 'osync_objtype_sink_nth_objformat'
/usr/src/packages/BUILD/libopensync1-0.36_SVN3431/build/wrapper/opensyncPYTHON_wrap.c:4496: warning: return makes pointer from integer without a cast
/usr/src/packages/BUILD/libopensync1-0.36_SVN3431/build/wrapper/opensyncPYTHON_wrap.c: In function 'ObjTypeSink_add_objformat':
/usr/src/packages/BUILD/libopensync1-0.36_SVN3431/build/wrapper/opensyncPYTHON_wrap.c:4499: warning: implicit declaration of function 'osync_objtype_sink_add_objformat'
/usr/src/packages/BUILD/libopensync1-0.36_SVN3431/build/wrapper/opensyncPYTHON_wrap.c: In function 'ObjTypeSink_remove_objformat':
/usr/src/packages/BUILD/libopensync1-0.36_SVN3431/build/wrapper/opensyncPYTHON_wrap.c:4502: warning: implicit declaration of function 'osync_objtype_sink_remove_objformat'
make[2]: *** [wrapper/CMakeFiles/_opensync.dir/opensyncPYTHON_wrap.o] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/libopensync1-0.36_SVN3431/build'
make[1]: *** [wrapper/CMakeFiles/_opensync.dir/all] Error 2
make[1]: Leaving directory `/usr/src/packages/BUILD/libopensync1-0.36_SVN3431/build'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.98201 (%build)

Change History

07/10/08 14:15:12 changed by bricks

  • owner changed from dgollub to bricks.
  • status changed from new to assigned.

Should be fixed in r3432. Please test my patch because I am not familiar with swig or python.

07/10/08 14:38:59 changed by cstender

  • status changed from assigned to closed.
  • resolution set to fixed.

Yes, the python wrapper is building again. Thanks.