delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/08/14/12:26:10

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3330F3858020
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1692030367;
bh=aWvAb1e1TeTP3/RQwXdw20W9WKoYAfxsnwjj+FHScq4=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=V67ubHNzcjaLH2HYiLpvmrKRbAWK+CrXkO1d+W9FXBIGUkWjwKgnlKkDS2nNFLKXD
sRPg5AT8P1+myFwK0VHlML+mYhephq9lmwusmPWxtT8q/rWrKrluJeVk+F3pjx03cN
QHvcWfUQE33zmtMwoAP74JcavdGAPuZuNPmtRDMM=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 871FD3858C20
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20221208; t=1692030329; x=1692635129;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=ftV1chHF9WL/GoY3YomkA3/lYWXxEL9B79fuvJ5ti/U=;
b=bqCNzWSQrTnEluPwxw3/rMQWmH0suye02XrzQjOPyLYHExWXBR8d3xYA1V+uvw4GmJ
/LgZd0dmIdl8rtBhCqEsvc32EktYF4q/habK2s9eCeBUWud7iJ3wHx40yR0qpoMeYrRi
qM/OykFCk7yYXvj+7ucfOyrVt2TRPAJL36JzUqX4hOU7bK1kz3yMwalwAyfrvsIHGm7n
b8JIXElwoY1anL9ej3i767qWMr+fsTTydtzytbFILEnGggBRySM/Jf2MKT0TCevxf/33
0v4XODsYfO2OBstp5J6nMcoydOvwqnJ7S6F8IVkXX3EqvqLGDmFIH0OBcInNbQwiJ1rI
bjGQ==
X-Gm-Message-State: AOJu0Yz3Gjdya/G02QO29gu8+OtDHUoEsRGWl1MO16Updcay9NzmdD2I
GqcGOXNVBe9/fJ+Vs3F9ZNIRdAFuHH/k2SazB/T7otjfzcs=
X-Google-Smtp-Source: AGHT+IHLYQDkYCzrhLzTGOiLHVgMAQ60YMmLdeUv+jWiq592zn0QL7LWJmXR87Cxr2LVc1UEwydhdzjEw8oVbCbnwrI=
X-Received: by 2002:a05:6e02:1bc6:b0:348:f28d:d06 with SMTP id
x6-20020a056e021bc600b00348f28d0d06mr13309133ilv.31.1692030329536; Mon, 14
Aug 2023 09:25:29 -0700 (PDT)
MIME-Version: 1.0
References: <a0f1e420-ae48-49a3-9300-c56f1948ad9b DOT 8d485f54-9f47-42b0-bdcb-9635fbf663c3 DOT 6697971f-86bc-49dc-8072-c37095eed858 AT emailsignatures365 DOT codetwo DOT com>
<a0f1e420-ae48-49a3-9300-c56f1948ad9b DOT 93e247b8-206a-49dd-b71c-9240681180cb DOT 7748cdc6-d053-4197-9372-3b4751ae3949 AT emailsignatures365 DOT codetwo DOT com>
<a0f1e420-ae48-49a3-9300-c56f1948ad9b DOT e52b7f5f-5a09-4346-99f8-a6591191169c DOT 10af45d3-4cfc-48f7-a293-b6d9fa78cdd1 AT emailsignatures365 DOT codetwo DOT com>
<AM5PR0502MB30752878C878948E660A73179210A AT AM5PR0502MB3075 DOT eurprd05 DOT prod DOT outlook DOT com>
<ZNoAR4fBMXknsn5z AT calimero DOT vinschen DOT de>
In-Reply-To: <ZNoAR4fBMXknsn5z@calimero.vinschen.de>
Date: Mon, 14 Aug 2023 18:25:03 +0200
Message-ID: <CAKAoaQn47pu510onZDwh4baES-bhxtuSy3SxDCv7sXw5T94pzA@mail.gmail.com>
Subject: Re: Weird (path) problems with cygwin test release
3.5.0-0.384.g9939aa7d0945.x86_64 ...
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,
FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,
KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=no 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-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>
From: Roland Mainz via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Roland Mainz <roland DOT mainz AT nrubsig DOT org>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 37EGQA8m022968

On Mon, Aug 14, 2023 at 12:21 PM Corinna Vinschen via Cygwin
<cygwin AT cygwin DOT com> wrote:
>
> On Aug 11 13:36, Mainz, Roland via Cygwin wrote:
> > Hi!
> >
> > ----
> >
> > Cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 has some weird
> > path problems with network filesystems on Windows 10. Previous stable
> > version of Cygwin (4.7.x ?) worked fine.
>
> 3.4.7

Autsch. My mistake... ;-/

> > In our case we have a project with both custom binaries and sources
> > both hosted on the filesystem as /home/rmainz/ (i.e. filesystem
> > mounted on H:, and then bind mount to /home/rmainz).
> >
> > After updating Cygwin to 3.5.0-0.384.g9939aa7d0945.x86_64 the build
> > now fails *IF* I access the binaries with their full absolute path AND
> > the sources with their absolute path:
> > ---- snip ----
> > $ cd /home/rmainz/tmp/try10_rde_new_rds/RDE-Development/build_windows4/tmp
> > $ ls -l x.cpp
> > -rw-r--r-- 1 rmainz rovdevel 110 Aug 11 15:32 x.cpp
> > $ /home/rmainz/tmp/try10_rde_new_rds/Dependencies/win/qt/qt_5_15_2/Tools/mingw810_64/bin/c++ $PWD/x.cpp
> > c++.exe: error: /home/rmainz/tmp/try10_rde_new_rds/RDE-Development/build_windows4/tmp/x.cpp: No such file or directory
> > c++.exe: fatal error: no input files
> > compilation terminated.
> > ---- snip ----
>
> I can't reproduce this:
>
> $ net use H: <blah>

Is <blah> Samba, CIFS or NFS ?

> $ mount -o exec H: /home/rmainz
> $ cd /home/rmainz/tmp
> $ cp /bin/cat.exe .
> $ mkdir baz
> $ echo foo > baz/bar
> $ /home/rmainz/tmp/cat $PWD/baz/bar
> foo

Grumpf... ;-(

... I'm still seeing this problem.
The sources we are building are proprietary (sorry), but I can
reproduce this with both CITI's NFSv4.1 and Windows 10 builtin NFSv3
clients.

Setup for Windows's NFSv3 client on Cygwin is simple:
1. Install Windows 10 builtin NFSv3 client via "Programs&Features" (I
think there is a way to do that in a scripted way, but I still didn't
had time to figure that out)

2. Export NFSv3 directory 10.49.20.131:/export/home/rmainz (rmainz has
uid=1616, gid=1616) on a Linux NFS-Server (RHEL, Debian etc.)

3. Mount NFSv3 filesystem in Windows 10 in a Cygwin terminal, with
default user uid=1616, gid=1616 like this:
---- snip ----
$ regtool -i -s set
'/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/ClientForNFS/CurrentVersion/Default/AnonymousUID'
1616
$ regtool -i -s set
'/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/ClientForNFS/CurrentVersion/Default/AnonymousGID'
1616
$ /cygdrive/c/Windows/system32/mount -o anon
'\\10.49.20.131\export\home\rmainz' H:
---- snip ----

4. After that I started building our sources with Cygwin 3.4.7
(works), then closed all Cygwin windows etc., and installed Cygwin
3.5.0-0.388.g1a646ad7970a.x86_64 (reboot or not reboot - doesn't
matter). After that the build fails.

- See https://rovema.kpaste.net/e5774d8077 build log on Cygwin 3.4.7,
which works without problems
- See https://rovema.kpaste.net/1a3b98e0b for the build failure on
Cygwin 3.5.0-0.388.g1a646ad7970a.x86_64
- The horrifying abdomination ("buildrdecygwin.bash") used to build
the mess can be found at https://rovema.kpaste.net/e98be

----

Bye,
Roland
-- 
  __ .  . __
 (o.\ \/ /.o) roland DOT mainz AT nrubsig DOT org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

-- 
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

- Raw text -


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