[Bug 1300367] Re: rsync 3.1.0 and 3.0.9 incompatibility

Charles Peters II cp at LinuxTech.com
Mon Oct 20 18:57:46 UTC 2014


Attached is a patch which seems to fix the bug for Ubuntu Trusty or
14.04.

Please test the package from my PPA and confirm it works OK.
https://launchpad.net/~cp/+archive/ubuntu/bug-fixes/+packages

The easy way to install it:
sudo add-apt-repository ppa:cp/bug-fixes
sudo apt-get update
sudo apt-get upgrade


Changelog

rsync (3.1.0-2ubuntu0.2) trusty; urgency=medium

  * Use included zlib as transfers failed when using -z with the separate zlib.
    (LP: #11300367)
    - debian/rules: Add -Izlib to CPPFLAGS and change .configure to use
      -with-included-zlib=yes
    - debian/control: Remove Build-Depends zlib1g-dev


My testing shows transfers with the -z option are working, but the real test will be when my backups run late tonight. ;)

** Patch added: "Use rsync's internal zlib"
   https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/1300367/+attachment/4240742/+files/rsync-trusty-zlib-internal.diff

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsync in Ubuntu.
https://bugs.launchpad.net/bugs/1300367

Title:
  rsync 3.1.0 and 3.0.9 incompatibility

Status in rsync:
  In Progress
Status in “rsync” package in Ubuntu:
  Triaged

Bug description:
  When running rsync on a directory of a few hundred files from rsync
  3.0.9-4 on Ubuntu 13.04 Raring to rsync 3.1.0-2 on Ubuntu 14.04 Trusty
  rsync errors with:

  rsync error: error in rsync protocol data stream (code 12) at
  io.c(441) [sender=3.0.9]

  Here is the full command I'm trying to run:

  rsync --delay-updates -FF --compress --timeout=10 --archive --rsh 'ssh
  -o StrictHostKeyChecking=no' --out-format='<<CHANGED>>%i %n%L'
  templates/dotfiles/ wirehive at 172.2.0.1.128:/home/wirehive/

  If I repeatedly run this after maybe 4 times it will succeed.

  The same sounding bug is reported here:
  https://bugzilla.redhat.com/show_bug.cgi?id=1014769
  and here:
  https://bugzilla.samba.org/show_bug.cgi?id=10332

To manage notifications about this bug go to:
https://bugs.launchpad.net/rsync/+bug/1300367/+subscriptions



More information about the foundations-bugs mailing list