librsync 1.0.0 incompatible with rdiff-backup

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

librsync 1.0.0 incompatible with rdiff-backup

Leszek Matok
Hi,

librsync 1.0.0 just landed on my Fedora 21 which:
- breaks my existing rdiff-backup (it's librsync.so.2 now)
- breaks building of rdiff-backup.

Build errors are:
_librsyncmodule.c: In function ‘_librsync_new_sigmaker’:
_librsyncmodule.c:63:17: error: ‘RS_DEFAULT_STRONG_LEN’ undeclared (first use
in this function)
          (size_t)RS_DEFAULT_STRONG_LEN);
                  ^
_librsyncmodule.c:63:17: note: each undeclared identifier is reported only
once for each function it appears in
_librsyncmodule.c:62:17: error: too few arguments to function ‘rs_sig_begin’
    sm->sig_job = rs_sig_begin((size_t)blocklen,
                  ^
In file included from _librsyncmodule.c:25:0:
/usr/include/librsync.h:370:11: note: declared here
  rs_job_t *rs_sig_begin(size_t new_block_len,
            ^

So far `yum downgrade librsync` helped me, but I probably won't be able to
have it at 0.9.7 forever?

Any patches floating around? Needless to say, rdiff-backup's site is not the
friendliest to the user :)

Many thanks in advance,

Lam
_______________________________________________
rdiff-backup-users mailing list at [hidden email]
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: librsync 1.0.0 incompatible with rdiff-backup

Robert Nichols-2
On 03/28/2015 11:43 AM, Leszek Matok wrote:
> Hi,
>
> librsync 1.0.0 just landed on my Fedora 21 which:
> - breaks my existing rdiff-backup (it's librsync.so.2 now)
> - breaks building of rdiff-backup.

The EPEL repo has released an updated rdiff-backup for that. You
could grab the SRPM from there and extract the source files.

<http://download.fedoraproject.org/pub/fedora-epel/6/SRPMS/rdiff-backup-1.2.8-6.el6.src.rpm>

--
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.


_______________________________________________
rdiff-backup-users mailing list at [hidden email]
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: librsync 1.0.0 incompatible with rdiff-backup

Adrian Klaver-2
In reply to this post by Leszek Matok
On 03/28/2015 09:43 AM, Leszek Matok wrote:

> Hi,
>
> librsync 1.0.0 just landed on my Fedora 21 which:
> - breaks my existing rdiff-backup (it's librsync.so.2 now)
> - breaks building of rdiff-backup.
>
> Build errors are:
> _librsyncmodule.c: In function ‘_librsync_new_sigmaker’:
> _librsyncmodule.c:63:17: error: ‘RS_DEFAULT_STRONG_LEN’ undeclared
> (first use in this function)
>           (size_t)RS_DEFAULT_STRONG_LEN);
>                   ^
> _librsyncmodule.c:63:17: note: each undeclared identifier is reported
> only once for each function it appears in
> _librsyncmodule.c:62:17: error: too few arguments to function
> ‘rs_sig_begin’
>     sm->sig_job = rs_sig_begin((size_t)blocklen,
>                   ^
> In file included from _librsyncmodule.c:25:0:
> /usr/include/librsync.h:370:11: note: declared here
>   rs_job_t *rs_sig_begin(size_t new_block_len,
>             ^

Am assuming this is with librsync_1.0.0-dev or equivalent?


>
> So far `yum downgrade librsync` helped me, but I probably won't be able
> to have it at 0.9.7 forever?
>
> Any patches floating around? Needless to say, rdiff-backup's site is not
> the friendliest to the user :)

Might want to ask here:

https://groups.google.com/forum/#!forum/librsync

>
> Many thanks in advance,
>
> Lam
>
>
> _______________________________________________
> rdiff-backup-users mailing list at [hidden email]
> https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
> Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
>


--
Adrian Klaver
[hidden email]

_______________________________________________
rdiff-backup-users mailing list at [hidden email]
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: librsync 1.0.0 incompatible with rdiff-backup

Kevin Fenzi-4
In reply to this post by Leszek Matok
On Sat, 28 Mar 2015 17:43:46 +0100 (CET)
Leszek Matok <[hidden email]> wrote:

> Hi,
>
> librsync 1.0.0 just landed on my Fedora 21 which:
> - breaks my existing rdiff-backup (it's librsync.so.2 now)
> - breaks building of rdiff-backup.

I assume then you aren't using the fedora provided rdiff-backup which
was pushed out in that same update? :)

...snip...

> Any patches floating around? Needless to say, rdiff-backup's site is
> not the friendliest to the user :)

The Fedora patches are available at:

http://pkgs.fedoraproject.org/cgit/rdiff-backup.git/tree/rdiff-backup-1.2.8-librsync-1.0.0.patch

kevin

_______________________________________________
rdiff-backup-users mailing list at [hidden email]
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

attachment0 (836 bytes) Download Attachment