Subject: pkg/15501: rsync development branch causes corruption with alpha server
To: None <gnats-bugs@gnats.netbsd.org>
From: None <gendalia@iastate.edu>
List: netbsd-bugs
Date: 02/05/2002 21:24:26
>Number:         15501
>Category:       pkg
>Synopsis:       rsync development branch causes corruption with alpha server
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 05 13:25:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tracy Di Marco White
>Release:        1.5, 1.5.3_ALPHA, assorted others
>Organization:
>Environment:
NetBSD/alpha 1.5.3_ALPHA, rsync 2.5.2 server to non-64 bit platforms (various)
also using 2.5.2.

rsync dies like this:
rsync: connection unexpectedly closed (165085 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(140)
rsync: connection unexpectedly closed (920 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(140)

or:
Warning: unexpected read size of 0 in map_ptr
Warning: unexpected read size of 0 in map_ptr
>Description:
Corrupts files in transfer.  anoncvs was upgraded to 2.5.2, and three of
the mirrors using rsync 2.5.2 were unable to get uncorrupted rsyncs
completed.
>How-To-Repeat:
rsync 2.5.2 server on alpha, mirroring to non-64 bit arch, watch for 
corruption.
>Fix:
2.5.x is the development branch of rsync.  2.4.8 is the patched stable
branch version of rsync.  The 2.4.6 IPv6 patch from Kame applies cleanly
to 2.4.8.

--- pkgsrc/net/rsync/Makefile.orig	Tue Feb  5 11:51:38 2002
+++ pkgsrc/net/rsync/Makefile	Tue Feb  5 11:57:00 2002
@@ -1,10 +1,9 @@
 # $NetBSD: Makefile,v 1.33 2001/01/28 13:44:16 tron Exp $
 
-DISTNAME=	rsync-2.4.6
+DISTNAME=	rsync-2.4.8
 CATEGORIES=	net
-MASTER_SITES=	ftp://rsync.samba.org/pub/rsync/ \
-		ftp://sunsite.auc.dk/pub/unix/rsync/  \
-		ftp://ftp0.sunet.se/pub/unix/admin/rsync/  \
+MASTER_SITES=	ftp://rsync.samba.org/pub/rsync/old-versions/ \
+		ftp://ftp0.sunet.se/pub/unix/admin/rsync/old-versions  \
 		ftp://ftp.fu-berlin.de/unix/network/rsync/
 
 MAINTAINER=     tron@netbsd.org
>Release-Note:
>Audit-Trail:
>Unformatted: