Skip Menu |
 

This queue is for tickets about the SVN-Mirror CPAN distribution.

Report information
The Basics
Id: 20449
Status: new
Priority: 0/
Queue: SVN-Mirror

People
Owner: Nobody in particular
Requestors: ianburrell [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.68
Fixed in: (no value)



Subject: SVN::Mirorr breaks on subversion perl bindings produced by recent swig releases
Download (untitled) / with headers
text/plain 547b
The SVN::Mirror tests were failing on FC5 with following error: TypeError in method 'svn_ra_reporter2_invoke_set_path', argument 6 of type 'char const *' There is a Debian bug for this problem, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=356894. The cause is that recent versions of swig produce more strict bindings. They were failing because set_path didn't like the '0' as the fourth argument to set_path. The Debian bug produced a patch. I attached the patch I used to fix the bug and get SVN::Mirror included in Fedora Extras.
Subject: SVN-Mirror-0.68-swig.patch
--- SVN-Mirror-0.68.orig/lib/SVN/Mirror/Ra.pm +++ SVN-Mirror-0.68/lib/SVN/Mirror/Ra.pm @@ -521,7 +521,7 @@ my $reporter = $ra->do_update ($rev, $editor->{target} || '', 1, $editor); my @lock = $SVN::Core::VERSION ge '1.2.0' ? (undef) : (); - $reporter->set_path ('', $start, @lock, 0); + $reporter->set_path ('', $start, @lock, undef); $reporter->finish_report (); } else {
From: ianburrell [...] gmail.com
Download (untitled) / with headers
text/plain 162b
This bug seems to be fixed in 0.70. I didn't see anything mentioned in the changelog but the patch no longer applies and the problem does not appear without it.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.