X-Spam-Check-By: sourceware.org
From: "Iain Alexander" <ia@stryx.demon.co.uk>
To: <cygwin@cygwin.com>
Date: Sat, 14 Jan 2006 01:37:28 -0000
MIME-Version: 1.0
Subject: RE: setup crashes trying to install xorg-x11-fnts: Solved
Message-ID: <43C855D8.25368.F2FC48@ia.stryx.demon.co.uk>
In-reply-to: <43C5A080.25179.7C02F2@ia.stryx.demon.co.uk>
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

I had a setup.ini from ftp://ftp.kr.freebsd.org/pub/cygwin dated 15 Oct 2004 which for some 
reason has a bogus size and md5 for xorg-x11-fenc-6.8.1.0-2.tar.bz2 and xorg-x11-fnts-
6.8.1.0-3.tar.bz2.  At that time I didn't attempt to install any X11.

I have recently been using ftp://ftp.mirror.ac.uk/sites/sources.redhat.com/ftp/cygwin, and 
attempted to download X11 from there and install it.  This fails with size-check-failure-
causes-uncaught-exception.

I downloaded setup-2.523.tar.bz2 - I couldn't find a source tarball for 2.510.2.2 - don't you 
issue source for the current stable version, or was it removed when you put up the 
subsequent experimental versions?

I attempted to build it, which failed because tree-{plus,minus}.bmp were missing.  I 
cannibalised suitable bitmaps from elsewhere - perhaps you would like to add them to the 
source tarball.

Presumably setup.exe makes the reasonable assumption that all versions of setup.ini it can 
find will have the same size and md5 for the same version of the same file.  So it attempts to 
match the characteristics of the file with the first corresponding setup.ini it finds, which in 
this case unfortunately failed, even though the setup.ini from the mirror I was actually using 
matched.

Some of this is reading between the lines, but renaming the setup.ini from ftp.kr.freebsd.org 
fixed the problem.

I'm not sure what the best solution to this is.  I guess it's a sufficiently rare problem that we 
don't want to complicate setup.exe to diagnose it.  But perhaps a separate program or shell 
script would be useful.
-- 
Iain Alexander      ia@stryx.demon.co.uk



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

