pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Please someone fix libopensync



On Tue, 11 Dec 2007 05:36:35 pm you wrote:
> On Tue, 11 Dec 2007 12:49:07 +1100 (EST), 
> elekktretterr%exemail.com.au@localhost 
wrote:
> > comms/libopensync has been broken for ages on DragonFly with following
> > error:
> >
> > cc1: warnings being treated as errors
> > osengine_client.c: In function 'osync_client_spawn':
> > osengine_client.c:768: warning: missing sentinel in function call
> > osengine_client.c:771: warning: missing sentinel in function call
> > *** Error code 1
>
> Could you try this patch?
>

Hi and thanks,
This patch fixed the error. Now theres a new error later on in the build.


cc -Wall -Werror -O -pipe 
-I/usr/obj/pkgsrc/comms/libopensync/work/.buildlink/include -Wl,-R/usr/pkg/lib 
-o .libs/osyncplugin -Wl,--export-dynamic -pthread 
osyncplugin.o  -L/usr/obj/pkgsrc/comms/libopensync/work/.buildlink/lib 
../opensync/.libs/libopensync.so 
/usr/obj/pkgsrc/comms/libopensync/work/.buildlink/lib/libgmodule-2.0.so 
/usr/obj/pkgsrc/comms/libopensync/work/.buildlink/lib/libgobject-2.0.so 
/usr/obj/pkgsrc/comms/libopensync/work/.buildlink/lib/libgthread-2.0.so 
-pthread -lpthread 
/usr/obj/pkgsrc/comms/libopensync/work/.buildlink/lib/libglib-2.0.so 
/usr/obj/pkgsrc/comms/libopensync/work/.buildlink/lib/libintl.so 
/usr/obj/pkgsrc/comms/libopensync/work/.buildlink/lib/libsqlite3.so 
/usr/obj/pkgsrc/comms/libopensync/work/.buildlink/lib/libxml2.so -lz -lm  
-Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath 
-Wl,/usr/obj/pkgsrc/comms/libopensync/work/.buildlink/lib
osyncplugin.o: In function `main':
osyncplugin.c:(.text+0x91c): warning: warning: mktemp() possibly used 
unsafely; consider using mkstemp()
creating osyncplugin
if 
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pthread -I/usr/pkg/include/glib/glib-2.0 
-I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include   -I/usr/pkg/include/libxml2 
  -I../osengine   -I/usr/pkg/include -I/usr/include -Wall -Werror -O -pipe 
-I/usr/pkg/include -I/usr/include -MT 
osynctest.o -MD -MP -MF ".deps/osynctest.Tpo" -c -o osynctest.o osynctest.c;  
then mv -f ".deps/osynctest.Tpo" ".deps/osynctest.Po"; else 
rm -f ".deps/osynctest.Tpo"; exit 1; fi
cc1: warnings being treated as errors
osynctest.c: In function 'modify_data':
osynctest.c:215: warning: missing sentinel in function call
*** Error code 1

Stop.
bmake: stopped 
in /usr/obj/pkgsrc/comms/libopensync/work/libopensync-0.22/tools
*** Error code 1


Petr



Home | Main Index | Thread Index | Old Index