Ticket #544 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

build of python wrapper fails against current head (rev2482)

Reported by: cstender Owned by: andrewb
Priority: normal Milestone: OpenSync 0.40
Component: OpenSync Version: 0.32
Severity: normal Keywords:
Cc:

Description

The python wrapper doesn't build against current head:

Build errors: gcc -o wrapper/opensync_wrap.os -c -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -O2 -DHAVE_CONFIG_H -I. -Wall -Werror -O2 -g3 -I/usr/include/python2.5 -fno-strict-aliasing -Wno-uninitialized -fPIC -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Iwrapper -Iwrapper wrapper/opensync_wrap.c cc1: warnings being treated as errors wrapper/opensync_wrap.c: In function 'Engine_get_use_merger': wrapper/opensync_wrap.c:3220: warning: implicit declaration of function 'osync_engine_get_use_merger' wrapper/opensync_wrap.c: In function 'Engine_set_use_merger': wrapper/opensync_wrap.c:3241: warning: implicit declaration of function 'osync_engine_set_use_merger' wrapper/opensync_wrap.c: In function 'Group_get_use_merger': wrapper/opensync_wrap.c:3753: warning: implicit declaration of function 'osync_group_get_use_merger' wrapper/opensync_wrap.c: In function 'Group_set_use_merger': wrapper/opensync_wrap.c:3756: warning: implicit declaration of function 'osync_group_set_use_merger' wrapper/opensync_wrap.c: In function 'Group_get_use_converter': wrapper/opensync_wrap.c:3759: warning: implicit declaration of function 'osync_group_get_use_converter' wrapper/opensync_wrap.c: In function 'Group_set_use_converter': wrapper/opensync_wrap.c:3762: warning: implicit declaration of function 'osync_group_set_use_converter' scons: * [wrapper/opensync_wrap.os] Error 1 scons: building terminated because of errors. error: Bad exit status from /var/tmp/rpm-tmp.72444 (%build)

Change History

comment:1 Changed 4 years ago by andrewb

  • Status changed from new to closed
  • Resolution set to fixed

Fixed by r2484.

It would be nice if people updated the wrapper when they changed the API...

Note: See TracTickets for help on using tickets.