Fixing rsync errors
Apple's recent security update to rsync broke my non-clobber Firefox builds. I would get errors like:
rsync -a ../../dist/bin/ ../../dist/DeerParkDebug.app/Contents/MacOS rsync: delete_file: unlink "/Users/admin/trunk/mozilla/fx-debug-shared-gcc401/dist/DeerParkDebug.app/Contents/MacOS/mangle" failed: Invalid argument (22) rsync: symlink "/Users/admin/trunk/mozilla/fx-debug-shared-gcc401/dist/DeerParkDebug.app/Contents/MacOS/mangle" -> "/Users/admin/trunk/mozilla/fx-debug-shared-gcc401/nss/mangle" failed: File exists (17) rsync: delete_file: unlink "/Users/admin/trunk/mozilla/fx-debug-shared-gcc401/dist/DeerParkDebug.app/Contents/MacOS/shlibsign" failed: Invalid argument (22) rsync: symlink "/Users/admin/trunk/mozilla/fx-debug-shared-gcc401/dist/DeerParkDebug.app/Contents/MacOS/shlibsign" -> "/Users/admin/trunk/mozilla/fx-debug-shared-gcc401/nss/shlibsign" failed: File exists (17) rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-23/rsync/main.c(717)
Phil Ringnalda was having the same problem, and pointed out this Fink news item to me. Since I already had Fink installed, I worked around the problem by installing Fink's rsync:
fink selfupdate-cvs fink update-all fink install rsync
That required doing a sudo gcc_select 4.0, which in turn required blowing away my Firefox dist directory. (I had switched to GCC 3.3 when I first got the PowerBook because Firefox didn't build reliably under GCC 4 at the time.)
Update 2006-01-13: Apple released another security update todayish, which fixed the problem.
March 6th, 2006 at 4:17 am
This was happening to me too; now I finally understand!
I think we need to post this to MDC or something, to get it more widespread.
March 6th, 2006 at 5:12 am
So the minimalistic fix that did it for me was:
fink install rsync
The other commands only apply if you want to update your fink binaries to the latest cvs version.
March 6th, 2006 at 7:52 am
Be aware that Fink’s rsync does not have the HFS+ magic that Apple’s does. That is, Apple’s rsync moves resource forks and extended attributes but Apple’s does not. However, that only matters when syncing Apple to Apple anyway.
March 11th, 2006 at 9:56 am
OT, but how the heck does HTML editor work? I’ve got users that would love this…
March 11th, 2006 at 4:52 pm
Lambert, just look at the source for http://www.squarefree.com/htmledit/ and http://www.squarefree.com/htmledit/editbox.html .
March 13th, 2006 at 3:38 pm
it’s supposed to be fixed by Security Update 2006-002 (March 13th)
March 13th, 2006 at 7:31 pm
http://docs.info.apple.com/article.html?artnum=303453
apple resolved rsync issue in latest security release