delorie.com/archives/browse.cgi | search |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=tKTsfKYm915qh5M30dRwYhFKDusFII8sdX09lQJwcS3A62zoZyY03 | |
m9UJLiYbda8FBVNkV3dIESJsh3IMR4JDizu1ewYSzDsJ7UNiI9nkfsLsGVpm99RV | |
PDnQFc4sNR7GVWcChWfJgQrMHZp/pq9xFqIen7YQB9/RQ0Wuq/lXik= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=hyANF0FSUy5AZHzMouMFuvE/aLY=; b=kkDWrly/h7bCv2pIvH1rQVtQ28pb | |
20jkNOUile1vKIkXDgK3U0iBDkF9jbQtjca6h8Yh1agQbjbKLfg++2/vkZLH/g5d | |
r0ybGMBvOhXflRx9C6l4yvREwz+cZgbZDnBAE/AO+NFrIshLFEhVBTJdKnvVmfuW | |
CLKIXF9y1cJO2CE= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=1.2 required=5.0 tests=AWL,BAYES_50,RDNS_NONE autolearn=no version=3.3.2 |
X-HELO: | mho-01-ewr.mailhop.org |
X-Mail-Handler: | Dyn Standard SMTP by Dyn |
X-Report-Abuse-To: | abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) |
X-MHO-User: | U2FsdGVkX19uPtFK+OXKm5BwyvHrNkv4 |
Date: | Thu, 14 Nov 2013 14:38:04 -0500 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: updating TeXLive packages exceeds Windows path length limit |
Message-ID: | <20131114193804.GC4875@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <e02e38d1fca612013bb497d760ec0513 AT mhoenicka DOT de> <20131114100654 DOT GE526 AT calimero DOT vinschen DOT de> |
MIME-Version: | 1.0 |
In-Reply-To: | <20131114100654.GE526@calimero.vinschen.de> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
On Thu, Nov 14, 2013 at 11:06:54AM +0100, Corinna Vinschen wrote: >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. I started down the path of removing the #(&# encoded mirror path names in the download directory a while ago. I will try to get that rolled out again. That won't solve the problem but it should help a bit. In the meantime, I'd suggest at least renaming the [url_of_mirror] to something like "A". I think that should still work with setup. cgf -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |