From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by sourceware.org (Postfix) with ESMTPS id CFB473858C3A for ; Mon, 14 Aug 2023 19:42:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CFB473858C3A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-x32d.google.com with SMTP id 46e09a7af769-6bd0afbd616so4252867a34.0 for ; Mon, 14 Aug 2023 12:42:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692042131; x=1692646931; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Q6wYcFbn8Fr1KvacSQRe/3Y5lyg21jtv3JWjJjgmjvI=; b=f8jN4C29ZL1wbogyqug/D328XzkY2J3FWNxfPh+zUqHqf/GxQMy5SRUuzioBysWMK9 czI4cg7RqZJ711gaF4H8AnV9NRd9lMRqnQpSalC2aXQrTPVMggilnNwEanLyQU2hmMrN bYOczWMbx2eQf4XkokJx1yNV0443a8JaFQ5GXhJh6BmNmyV8zS0Om52Ju4h2BEA/bntI 03vrU3gKFD2bBAfySFAOGTH3MgZXKHU26NZZJS0Jq0hUsoGKLDzhk0/FhnGlk9AqWz+J XNcYspq1y51BTDE+qNAlMoTSqvqpo/ozUAQgZrJnmGqSYNbXbw6P445ukLmMoxZTcXiV XNMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692042131; x=1692646931; 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=Q6wYcFbn8Fr1KvacSQRe/3Y5lyg21jtv3JWjJjgmjvI=; b=QUsMquW/OWOLXK13nWTzVNBrgKrHROUX8gyFx6D6XrXtY82mrUAr5JTVVCeZq26IZc WdSDID+KFr4UY7ahI5Heen+FpIX9uhMYdFAduImckb6+5j55F0aKBqbHwhlBQ9wpLsHK tkdb+8LBTUzCYSCwU1v/eON60oVN7aiBEkb9UvoA/hwndTRM5EZ/92z5aDNWqsUG8NuP 2mSJ1wATbzzTTgXfLnh6qO36BR/7Y7bfQPFIEOq5bRwfbiP3WM1o/fNHD/UOk2f0yJAa koyP5NYt7Hm4uddjGAP+yMTEvAIXvxo8lQ5pCa9pTULwsUIgnvxUYOpPqLlbgyJhYdOQ 1avg== X-Gm-Message-State: AOJu0YxK9Z9vapGRWubMZ21WzG58+Vb+RGOmlCyf635zPScqjo34LbrZ 68HGKytVlFlqL8EdphVSnroxwMM9g/z9AUq8gZvLzOy/0Sw= X-Google-Smtp-Source: AGHT+IHvkZoKHRBFk37PNp7bKOzPCSkdEHKFFUbcCkV/ea8Ztg8bXI6SChWyWh9wUfOuaVARJ7ksFELge8uSYQa0Egk= X-Received: by 2002:a05:6870:b493:b0:1bb:8483:a805 with SMTP id y19-20020a056870b49300b001bb8483a805mr11398878oap.32.1692042130868; Mon, 14 Aug 2023 12:42:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Martin Wege Date: Mon, 14 Aug 2023 21:42:00 +0200 Message-ID: Subject: Re: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ... To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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 List-Id: On Mon, Aug 14, 2023 at 7:30=E2=80=AFPM Roland Mainz via Cygwin wrote: > > On Mon, Aug 14, 2023 at 6:25=E2=80=AFPM Roland Mainz wrote: > > On Mon, Aug 14, 2023 at 12:21=E2=80=AFPM Corinna Vinschen via Cygwin > > wrote: > > > On Aug 11 13:36, Mainz, Roland via Cygwin wrote: > [snip] > > > > 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_windo= ws4/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: > > > > Is 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=3D1616, gid=3D1616) on a Linux NFS-Server (RHEL, Debian etc.) > > > > 3. Mount NFSv3 filesystem in Windows 10 in a Cygwin terminal, with > > default user uid=3D1616, gid=3D1616 like this: > > ---- snip ---- > > $ regtool -i -s set > > '/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/ClientForNFS/CurrentVersion/Def= ault/AnonymousUID' > > 1616 > > $ regtool -i -s set > > '/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/ClientForNFS/CurrentVersion/Def= ault/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 > > It seems the issue can be reduced to this on Cygwin > 3.5.0-0.388.g1a646ad7970a.x86_64 - c++ with H:/path/.../x.cpp works, > c++ with /home/rmainz/path/.../x.cpp does not. > > This definitely *WORKED* in Cygwin 3.4.7: > > Example: > ---- snip ---- > $ uname -a > CYGWIN_NT-10.0-19045 WINGRENDEL01 3.5.0-0.388.g1a646ad7970a.x86_64 > 2023-08-11 14:14 UTC x86_64 Cygwin > > $ cat /etc/fstab > # /etc/fstab > # > # This file is read once by the first process in a Cygwin process tree= . > # To pick up changes, restart all Cygwin processes. For a description > # see https://cygwin.com/cygwin-ug-net/using.html#mount-table > > # This is default anyway: > none /cygdrive cygdrive binary,posix=3D0,user 0 0 > H: /home/rmainz none binary,posix=3D0,user 0 0 > > > $ mount -a > > $ /home/rmainz/tmp/winnfstest/hummingbirdnfstest1/try10_rde_new_rds/Depen= dencies/win/qt/qt_5_15_2/Tools/mingw810_64/bin/c++ > /home/rmainz/tmp/winnfstest/hummingbirdnfstest1/try10_rde_new_rds/RDE-Dev= elopment/build_windows5/tmp/x.cpp > c++.exe: error: > /home/rmainz/tmp/winnfstest/hummingbirdnfstest1/try10_rde_new_rds/RDE-Dev= elopment/build_windows5/tmp/x.cpp: > No such file or directory > c++.exe: fatal error: no input files > compilation terminated. > > $ /home/rmainz/tmp/winnfstest/hummingbirdnfstest1/try10_rde_new_rds/Depen= dencies/win/qt/qt_5_15_2/Tools/mingw810_64/bin/c++ > H:/tmp/winnfstest/hummingbirdnfstest1/try10_rde_new_rds/RDE-Development/b= uild_windows5/tmp/x.cpp > > $ ./a > Hello World! > ---- snip ---- > > /proc/cygwin/h/path/... does not work either... > > Does anyone have any idea what changed between Cygwin 3.4.7 and Cygwin > 3.5.0-0.388.g1a646ad7970a.x86_64 in this case ? > Maybe MinGW compat is broken in 3.5.0-0.388.g1a646ad7970a? Thanks, Martin