delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/14/05:08:27

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=jXTUc3+c7Fd/fPBIyCRgirSjAeMdfAAdGaHatuew7+HyxsFLnIF4z
2mfIQXJ0UCLL9sRWKKlUp0BZ/J5nZRxuV1UNwtVHuLUHTlCmXdnlnRx5Jxsyd46F
l4OmEWxlgsxXRUiEtuCQYDh9APFy9VpBxPsyYSKQS173vVKxNeoQ/M=
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=56LeWtGk9nD+sM1DSJWgr8zmv30=; b=IRww6TMuH0HpvS+V98PqGvXyb6Pq
WQ4VIuvx8//MqP8mmjt2CEXuYXM6h2WFKw4no3+MBshztU9pa/BUVdAnDmk8BUzv
Ppis9SgvJOEa+2R76e5jZZoQs7rDHyJlEEDTPlKtdr4gukrggs9l6u8/+OYp9HYS
ajABrS6KMwt0Oyc=
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: calimero.vinschen.de
Date: Thu, 14 Nov 2013 11:06:54 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: updating TeXLive packages exceeds Windows path length limit
Message-ID: <20131114100654.GE526@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <e02e38d1fca612013bb497d760ec0513 AT mhoenicka DOT de>
MIME-Version: 1.0
In-Reply-To: <e02e38d1fca612013bb497d760ec0513@mhoenicka.de>
User-Agent: Mutt/1.5.21 (2010-09-15)

--b8GWCKCLzrXbuNet
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Nov 14 10:25, Markus Hoenicka wrote:
> Hi,
>=20
> 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:
>=20
> 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
>=20
> 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.
>=20
> 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

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--b8GWCKCLzrXbuNet
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iQIcBAEBAgAGBQJShKC9AAoJEPU2Bp2uRE+gE20P/jfjLM0+Svzj3rAdPFJPljQS
1MtEGsiiUxUeEDWvX2XrN3+jxaQEDMipt6hLb/RnUsC9JGM6kKeC0gW/ht4dI/Ej
SQplZOu6W41pxVIJgXwduDiSKJ3KQtiRFHGJEiEan/1T7cCwt0jP1ZS5KMhTxsJG
x/V5klcPCvK5kezgaxvQwRKsZ4kUbrGVtUvp6wZ6rRcr/HWI5XGhKeJnPcjqJNo2
lmiKs/Zbv/lxBmCE8N/QqEGri9F4RA+9AP24BXMZ9wXnkgEgirwXJM5hHwddoMhx
WMDIPMEyPzr7EJoXL1Q7HLw4D1iNwXxZHC/aWstU3DgJobP5Uw4J5KgkJLvV92le
EMwy3Ph29SpK/HVyKIeaFyr0WUUYWhI2XQK3Vv+vlk1yuIe3co8q40NSFzvLAyCs
u4/qlIP1wlBUjd31MUZfqbmzJ2dCXxOarzDMxcFvmtTq1oF6dDrZU6MJBheoL0b6
x/VHQB4GERDqWM7q5yYncqBoofBxlmU3OVZrlXBpJRjvTEtqzezwJlp/HHoLxhCC
8Oct4zr4TwWk8+OXSBrkZ+a1f0k72679LP5n9LNL4OkttUi0mf7TTeZCc4XnS5/N
k4SlKMbxbOBh3EDd3Pkw29UsLdzH1O7cGTJW0fdNIzS1QSrNmUL2nKpXv1UXQ5GJ
h9xv+ks8Ud+Nq8UyLTJr
=iJhS
-----END PGP SIGNATURE-----

--b8GWCKCLzrXbuNet--

- Raw text -


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