delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/29/09:25:07

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AtMAAB6nwUp5LETK/2dsb2JhbAAIkT61R5E3hB4FgVg
Message-ID: <4AC20AA0.7080109@gmail.com>
Date: Tue, 29 Sep 2009 23:24:48 +1000
From: Chris Cormie <cjcormie AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: SOLVED Subversion svn fails silently after updating Cygwin
References: <4ABDAB79 DOT 9050502 AT gmail DOT com> <4AC0F4AC DOT 2020506 AT acm DOT org> <4AC1DB73 DOT 1080702 AT gmail DOT com>
In-Reply-To: <4AC1DB73.1080702@gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,

I managed to get back into my bad install of Cygwin and ran
$strace svn

As you suspected a missing dependency popped up: /usr/bin/cygz.dll

cygz.dll is the only file in the libz0 package:
$ cyg-apt filelist zlib
usr/share/doc/
usr/share/doc/Cygwin/
usr/share/doc/Cygwin/zlib.README
usr/share/doc/zlib/
usr/share/doc/zlib/ChangeLog
usr/share/doc/zlib/FAQ
usr/share/doc/zlib/README

chrisc AT hamster ~
$ cyg-apt filelist zlib0
usr/bin/cygz.dll

In 1.5 setup.ini
@ subversion
requires: cygwin libapr1 libaprutil1 libdb4.2 libexpat1 libintl8 
libneon27 libsasl2 libserf0_0 libsqlite3_0 zlib

In 1.7 setup.ini
@ subversion
requires: libapr1 libaprutil1 libdb4.2 libexpat1 libgcc1 libintl8 
libneon27 libsasl2 libserf0_0 libsqlite3_0 zlib0 cygwin

I added zlib0 to the @ subversion requires and reinstalled subversion. 
To my surprise this didn't fix the problem: I found that my install of 
zlib0 was corrupt: the installed.db said it was installed when it was 
not ie cygz.dll not present. Reinstalling zlib0 == fixed!

So I'd suggest the 1.5 @ subversion requires are incomplete (maybe the 
1.7 ones too, but they are only lacking zlib, not zlib0 and zlib doesn't 
look critical).

The other people who are suffering the sudden svn failures could also try

$strace svn


and if cygz.dll is the problem, reinstall zlib0 to fix the problem.
Cheers,
Chris



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019