X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,WEIRD_PORT X-Spam-Check-By: sourceware.org X-VirusChecked: Checked X-Env-Sender: hkehoe AT budcat DOT com X-Msg-Ref: server-6.tower-143.messagelabs.com!1264702854!80241614!1 X-StarScan-Version: 6.2.4; banners=budcat.com,-,- Message-ID: <4B61D588.7090709@budcat.com> Date: Thu, 28 Jan 2010 12:20:56 -0600 From: Heath Kehoe User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: "mbox note: Can't open file://L:\ods\rtoy\Cygnus/ for reading: Unrecognisable file format" errors whilst executing setup.exe References: <373c64181001110212l1e57f457t954e597f9f34bfc1 AT mail DOT gmail DOT com> <4B60AF16 DOT 4060507 AT budcat DOT com> <20100127222134 DOT GA16920 AT ednor DOT casa DOT cgf DOT cx> <4B60D0BE DOT 4060705 AT budcat DOT com> In-Reply-To: <4B60D0BE.4060705@budcat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Heath Kehoe wrote: > - Using setup.exe version 2.677 > - We have a local mirror which is updated using rsync (daily) > - The local mirror is accessed as a network share on the Windows > machines, which is mapped to a drive letter. > - In setup.exe, select 'Install from Local Directory' > - The root directory is: C:\cygwin > - Install for: All users > - Local package directory for us is: M:\apps\cygwin (the network share) > - Select all packages to install (if it's a new installation. For an > upgrade we take the default selections) > - During the installation, we get pop-ups that say "can't open > M:\apps\cygwin for reading: Unrecognisable file format". Those pop-ups > must be dismissed for the installation to finish, and they happen many > times (52 times for a new, full installation) > - Once setup is complete, Cygwin appears to work OK. > - We've observed this on both fresh new installations as well as with > upgrades from 1.5 > - We've observed this on Win7 64bit and on XP 32bit. > > These lines appear throughout setup.log.full and correspond to the > popups: > 2010/01/27 17:27:12 mbox note: Can't open > file://M:\apps\cygwin\Current/ for reading: Unrecognisable file format > > Hopefully this is enough detail :) > -heath > I have some more information on this. The errors correspond to packages which are in setup.ini without install: or source: lines, for example: ORBit cogito libIDL libxml-devel libxml1 (etc) These packages wind up in install_q in do_install_thread(); and so get passed to Installer::installOne(). As there's no 'install:' field in setup.ini, the packagesource 'filename' and 'canonical' members are NULL; and the 'cached' member ends up containing 'local_dir' with nothing else; hence the mbox message that we see. I'm not sure why this only seems to manifest when using a network drive as the package source (or cache). Anyway, for now I'm going to just comment out the call to note() at install.cc:295 so that my users can do installations without having to dismiss that popup 52 times. -heath ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -- 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