X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:date:from:to:subject:in-reply-to :references:message-id; q=dns; s=default; b=qbQ3sXLz58PWQrNBPyyZ KrLK7uJRaiHexcdFdFEAZLFfIgisyccCZ4FifBOAjp0S4xodBPSj5JtLlF89HKFX j7NqzfJhPd9gvycb2nJhuqp0cpLM7dPDyjlSw960SD4djDinBnnFOrpmor1CHYV5 hKVE8I/RN85sImJIcag4lCI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:date:from:to:subject:in-reply-to :references:message-id; s=default; bh=h+tIEs3i9I+cWc0YeDFkubEfRA 0=; b=QuPhEOqcMCGcvA5mNUgxTHCmAz+0Hqa55JjEJIfZF5HYUAafAyKqR/NwDY RirRWQV5AqK9R0O7nu/p03sIDuY1L7vAh/R4+1YQKtqqzOOl+rL76g/Qfeegte10 fqwjJwq1YU+zx0z3BRvjuZUPMEnibHzZa4n0w5W/PpnWnsDWk= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: smtprelay04.ispgateway.de MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 14 Nov 2013 14:31:22 +0100 From: Markus Hoenicka To: cygwin AT cygwin DOT com Subject: Re: updating TeXLive packages exceeds Windows path length limit In-Reply-To: <20131114100654.GE526@calimero.vinschen.de> References: <20131114100654 DOT GE526 AT calimero DOT vinschen DOT de> Message-ID: X-Sender: markus DOT hoenicka AT mhoenicka DOT de User-Agent: Roundcube Webmail X-Df-Sender: bWFya3VzLmhvZW5pY2thQG1ob2VuaWNrYS5kZQ== X-IsSubscribed: yes Am 2013-11-14 11:06, schrieb Corinna Vinschen: > On Nov 14 10:25, Markus Hoenicka wrote: >> Hi, >> >> I've just downloaded the latest setup-x86.exe to update my Cygwin >> installation on a Windows XP box. While setup downloads the required >> packages, it stops with a message saying: >> >> Can't open >> \\servername\path\to\Downloads\[url_of_mirror]\path\to\texlive-collection-documentation-base-20130529-1.tar.bz2.tmp >> for writing: No such file or directory >> >> Problem is, if I try to create a file with the same name manually in >> Windows Explorer, I apparently hit the maximum allowed path length >> just after the 't' in 'tmp'. In other words, the package filename is >> exactly two characters too long on my system and using my closest >> mirror. Setup exits without updating the system. >> >> Is there a way to fix this? I know that I can try and find a mirror >> with a shorter URL, but I expect others to bump into the same >> problem sooner or later. > > You could create a symlink in \\servername\path pointing to > \\servername\path\to\Downloads\[url_of_mirror] to workaround this > I guess. > > The only other way to fix this is to fix setup. A long time ago I > tweaked setup to get rid of the MAX_PATH path length restriction, but > apparently this only worked for the files to install, not for the > archive files. I'm just looking through the setup code for downloading > files, and it still calls the OS ANSI file API exclusively, rather then > the UNICODE API, which is the culprit for this problem. > > Sigh. This is a lot of work still to do. > > > Corinna Just to close this issue gracefully: I received a patched setup from Corinna off-list which no longer caused this problem. The problem may thus be fixed in the next setup version. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 -- 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