Can no longer build mirall 1.3 (non-master) branch

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Can no longer build mirall 1.3 (non-master) branch

shadowq
I'm having trouble building the 1.3 branch of mirall. I don't want to build the master (beta) version, so I checkout the 1.3 branch (git checkout 1.3) and build that. It used to work, but when trying it now, I get the following error:

/root/test/mirall/src/mirall/csyncthread.cpp: In member function 'void Mirall::CSyncThread::startSync()':
/root/test/mirall/src/mirall/csyncthread.cpp:322:55: error: invalid conversion from 'void (*)(const char*, csync_notify_type_e, long long int, long long int, void*)' to 'csync_progress_callback {aka void (*)(csync_progress_s*, void*)}' [-fpermissive]
     csync_set_progress_callback( _csync_ctx, progress );
                                                       ^
In file included from /root/test/mirall/src/mirall/csyncthread.h:26:0,
                 from /root/test/mirall/src/mirall/csyncthread.cpp:16:
/root/test/ocsync/src/csync.h:561:5: error:   initializing argument 2 of 'int csync_set_progress_callback(CSYNC*, csync_progress_callback)' [-fpermissive]
 int csync_set_progress_callback( CSYNC *ctx, csync_progress_callback cb);
     ^
make[2]: *** [src/CMakeFiles/owncloudsync.dir/mirall/csyncthread.cpp.obj] Error 1
make[1]: *** [src/CMakeFiles/owncloudsync.dir/all] Error 2
make: *** [all] Error 2

I've tried this on virtual machines, physical machines, fresh installs, etc. All have the same error. I'd be happy to use 1.3.8 (master), but I'm getting some funny-things happening (folders not being removed when permissions change, etc). I tried to look through the git change history, but couldn't see anything relevant. Any ideas would be muchly appreciated!

Thanks,
Jarrod.
Reply | Threaded
Open this post in threaded view
|

Re: Can no longer build mirall 1.3 (non-master) branch

Denis Fondras
Hi,

Le 03/08/2013 08:50, shadowq a écrit :

> I'm having trouble building the 1.3 branch of mirall. I don't want to build
> the master (beta) version, so I checkout the 1.3 branch (git checkout 1.3)
> and build that. It used to work, but when trying it now, I get the following
> error:
>
> /root/test/mirall/src/mirall/csyncthread.cpp: In member function 'void
> Mirall::CSyncThread::startSync()':
> /root/test/mirall/src/mirall/csyncthread.cpp:322:55: error: invalid
> conversion from 'void (*)(const char*, csync_notify_type_e, long long int,
> long long int, void*)' to 'csync_progress_callback {aka void
> (*)(csync_progress_s*, void*)}' [-fpermissive]
>       csync_set_progress_callback( _csync_ctx, progress );
>                                                         ^
> In file included from /root/test/mirall/src/mirall/csyncthread.h:26:0,
>                   from /root/test/mirall/src/mirall/csyncthread.cpp:16:
> /root/test/ocsync/src/csync.h:561:5: error:   initializing argument 2 of
> 'int csync_set_progress_callback(CSYNC*, csync_progress_callback)'
> [-fpermissive]
>   int csync_set_progress_callback( CSYNC *ctx, csync_progress_callback cb);
>       ^
> make[2]: *** [src/CMakeFiles/owncloudsync.dir/mirall/csyncthread.cpp.obj]
> Error 1
> make[1]: *** [src/CMakeFiles/owncloudsync.dir/all] Error 2
> make: *** [all] Error 2
>
> I've tried this on virtual machines, physical machines, fresh installs, etc.
> All have the same error. I'd be happy to use 1.3.8 (master), but I'm getting
> some funny-things happening (folders not being removed when permissions
> change, etc). I tried to look through the git change history, but couldn't
> see anything relevant. Any ideas would be muchly appreciated!
>

Is OCSync up to date ?

Denis

_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Can no longer build mirall 1.3 (non-master) branch

shadowq
Yep, I've cloned a fresh copy from git.csync.org/users/freitag/csync.git, and checked out "dav". I even tried checking out "master" instead, but it errored out even earlier.

Thanks for the suggestion though! Any more? :)


On Sat, Aug 3, 2013 at 7:08 PM, Denis Fondras [via ownCloud] <[hidden email]> wrote:
Hi,

Le 03/08/2013 08:50, shadowq a écrit :

> I'm having trouble building the 1.3 branch of mirall. I don't want to build

> the master (beta) version, so I checkout the 1.3 branch (git checkout 1.3)
> and build that. It used to work, but when trying it now, I get the following
> error:
>
> /root/test/mirall/src/mirall/csyncthread.cpp: In member function 'void
> Mirall::CSyncThread::startSync()':
> /root/test/mirall/src/mirall/csyncthread.cpp:322:55: error: invalid
> conversion from 'void (*)(const char*, csync_notify_type_e, long long int,
> long long int, void*)' to 'csync_progress_callback {aka void
> (*)(csync_progress_s*, void*)}' [-fpermissive]
>       csync_set_progress_callback( _csync_ctx, progress );
>                                                         ^
> In file included from /root/test/mirall/src/mirall/csyncthread.h:26:0,
>                   from /root/test/mirall/src/mirall/csyncthread.cpp:16:
> /root/test/ocsync/src/csync.h:561:5: error:   initializing argument 2 of
> 'int csync_set_progress_callback(CSYNC*, csync_progress_callback)'
> [-fpermissive]
>   int csync_set_progress_callback( CSYNC *ctx, csync_progress_callback cb);
>       ^
> make[2]: *** [src/CMakeFiles/owncloudsync.dir/mirall/csyncthread.cpp.obj]
> Error 1
> make[1]: *** [src/CMakeFiles/owncloudsync.dir/all] Error 2
> make: *** [all] Error 2
>
> I've tried this on virtual machines, physical machines, fresh installs, etc.
> All have the same error. I'd be happy to use 1.3.8 (master), but I'm getting
> some funny-things happening (folders not being removed when permissions
> change, etc). I tried to look through the git change history, but couldn't
> see anything relevant. Any ideas would be muchly appreciated!
>
Is OCSync up to date ?

Denis

_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud



If you reply to this email, your message will be added to the discussion below:
http://owncloud.10557.n7.nabble.com/Can-no-longer-build-mirall-1-3-non-master-branch-tp10290p10292.html
To unsubscribe from Can no longer build mirall 1.3 (non-master) branch, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Can no longer build mirall 1.3 (non-master) branch

kwillems
This post was updated on .
As far as I can see you get this error because you are using the wrong version of ocsync.
You need version v0.80.0. That's this one: http://git.csync.org/users/freitag/csync.git/commit/?h=dav&id=1a25644d60e5ac1d70b23b8e91acddca22cbcc51
Reply | Threaded
Open this post in threaded view
|

Re: Can no longer build mirall 1.3 (non-master) branch

kwillems
Reply | Threaded
Open this post in threaded view
|

Re: Can no longer build mirall 1.3 (non-master) branch

Klaas Freitag-3
In reply to this post by kwillems
On 03.08.2013 21:49, kwillems wrote:
> As far as I can see you get this error because you are using the wrong
> version of ocsync.
> You need version v0.80.0. That's this one:

http://git.csync.org/users/freitag/csync.git/commit/?h=dav&id=1a25644d60e5ac1d70b23b8e91acddca22cbcc51

That's true. I have overseen that we are talking about 1.3.0 branch.
Yes, obviously quite some stuff has changed in csync's master since than
and it's not playing with 1.3 any more.

Try master - that's fun :)

Klaas


_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Can no longer build mirall 1.3 (non-master) branch

shadowq
Thanks everyone! I checked out the v0.80.0 version of csync and it built correctly with mirall 1.30.