Tuesday, March 31, 2009

svn failing on cygwin with return code 53

Problem: subversion client fails under cygwin with no output

Solution: run setup.exe. Choose a different download mirror. Click the "Base" package until it says "Reinstall". Continue with the installation, and make sure it finishes cleanly.


Story:
svn was jacked. Running svn with any arguments caused it to exit with error code 53:

$ svn
$ echo $?
53

A coworker suggested rebaseall.

That turned up this tidbit:

ash$ /bin/rebaseall
/usr/bin/cygfreetype-6.dll: skipped because nonexistent
/usr/bin/cygz.dll: skipped because nonexistent

Hmm. cygz.dll. That seems pretty important.

Running svn.exe from ash poped up a dialog that read:

This application has failed to start because cygz.dll was not found. Re-installing the application may fix theis problem.

Heh. Already tried that.

Something about running cygwin apps under the usual bash shell suppresses this (very useful) error message.

I tried reinstalling the "Base" package with no success. Changing mirrors, and doing it again worked. Maybe a tcp connection got reset during the previous upgrade? Who knows.

Happy ending:

$ svn
Type 'svn help' for usage.

1 comment:

punkstar said...

Reinstalling the base package didn't work for me. I did a search for reinstalling cygz.dll and it turns out it's in zlib. Reinstalled all of the zlib related packages and it worked.

 
Add to Technorati Favorites