delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/07/31/20:24:34

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org ED5CF3857C5C
Authentication-Results: sourceware.org;
dmarc=fail (p=none dis=none) header.from=nifty.ne.jp
Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 2710NmR0021173
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp;
s=dec2015msa; t=1659313428;
bh=5i62JZQR1g3PnvUrcXP0SoFDCZmCXua3YTrazr1Em6Q=;
h=Date:From:To:Subject:In-Reply-To:References:From;
b=fILAxSX+WI1hTh8V3tMECwWsQRNpxsjyXNxXBRZqsuuzguSXt7/e/0XEz6J0dBf+B
r5fsz2/DTwd8NB6o4wBw8UcyQ9hzv+8euTcKVwFxnjvZeqBVHuDoUAHgjms6dnPABx
eltMWLkcMShyOChICK3Chl+ooNCi/+Y5Iu0AVnuHVmXzY+fdC/0BQwCdgJpLYLtV6n
PNn+uy9xeMxHnIGRSNiqxiSBTWCf0caVsNJDDK06UB4g27ZmBhMxTfZ6p7cYoOBZMz
hw4JDrXRgsnh9S0GMICNBkE36Yn/q9isZ+0vfgkL7TTRB2VRBOVcUsYeB9zoWI0Q8y
V0vf+vLEHvmtA==
X-Nifty-SrcIP: [119.150.44.95]
Date: Mon, 1 Aug 2022 09:23:49 +0900
From: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
To: cygwin AT cygwin DOT com
Subject: Re: Issues with Cygwin64 on Windows11
Message-Id: <20220801092349.860472b4da6f3a781eb3ffc4@nifty.ne.jp>
In-Reply-To: <20220731172132.cf4d0a2d6acf2f6af96bb1c2@nifty.ne.jp>
References: <CAF9kqNEufMLALpfp-HwYaApoy=Y8ce2LBnD_YCY06YwEc_6guw AT mail DOT gmail DOT com>
<20220731172132 DOT cf4d0a2d6acf2f6af96bb1c2 AT nifty DOT ne DOT jp>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-10.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT,
NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

This is a multi-part message in MIME format.

--Multipart=_Mon__1_Aug_2022_09_23_49_+0900_C=s0=BeJerP8L3Tu
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Sun, 31 Jul 2022 17:21:32 +0900
Takashi Yano wrote:
> On Sun, 31 Jul 2022 09:11:17 +0300
> Dimax wrote:
> > Hello.
> > I've never had much luck with Cygwin64 and used the 32 bit version before.
> > Today I have no choice and I've installed Cyg64 on my new Win11 PC.
> > 
> > Here is the first major issue I faced. I can not create symbolic links:
> > 
> > Alex AT Alexo ~
> > $ ls /cygdrive/C/XOL/
> > 
> > Alex AT Alexo ~
> > $ ln -s /cygdrive/C/XOL/ work
> > 
> > Alex AT Alexo ~
> > $ ls -all work
> > lrwxrwxrwx 1 Alex None 11 Jul 31 09:09 work -> /mnt/C/XOL/
> > 
> > Alex AT Alexo ~
> > $ cd ~/work/
> > -bash: cd: /home/Alex/work/: No such file or directory
> > 
> > The link is created but I can not use it.
> > The only thing that I did not standard was to call installation folder
> > C:\Cygwin instead of default C:\Cygwin64
> > 
> > Any help would be highly appreciated.
> 
> Thanks for the report. This seems to happen only when
> the drive letter is uppercase.
> 
> ln -s /cygdrive/c/XOL/ work
> works.
> 
> Anyway, I think this is a problem of cygwin1.dll.
> 
> This
> work -> /mnt/C/XOL/
> should be
> work -> /cygdrive/C/XOL/
> shouldn't it?
> 
> It guess this is a bug in the code added for WSL
> compatibility.

I found the patch attached solves the issue.

Corinna, WDYT?

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

--Multipart=_Mon__1_Aug_2022_09_23_49_+0900_C=s0=BeJerP8L3Tu
Content-Type: text/plain;
 name="0001-Cygwin-path-Make-some-symlinks-to-cygdrive-work.patch"
Content-Disposition: attachment;
 filename="0001-Cygwin-path-Make-some-symlinks-to-cygdrive-work.patch"
Content-Transfer-Encoding: base64

RnJvbSBiYjIwZGI2YTQ5OTVmNWNhZWIyNjlhODJhYjY0ZTVjZjQ3NGZhYjY4IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQ0KRnJvbTogVGFrYXNoaSBZYW5vIDx0YWthc2hpLnlhbm9AbmlmdHkubmUu
anA+DQpEYXRlOiBNb24sIDEgQXVnIDIwMjIgMDk6MDI6MjMgKzA5MDANClN1YmplY3Q6IFtQQVRD
SF0gQ3lnd2luOiBwYXRoOiBNYWtlIHNvbWUgc3ltbGlua3MgdG8gL2N5Z2RyaXZlLyogd29yay4N
Cg0KLSBQcmV2aW91c2x5LCB0aGUgc29tZSBzeW1ib2xpY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P8L3Tu
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


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

--Multipart=_Mon__1_Aug_2022_09_23_49_+0900_C=s0=BeJerP8L3Tu--

- Raw text -


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