From: "Mainz, Roland" <Roland.Mainz@rovema.de>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...
Date: Fri, 11 Aug 2023 13:36:35 +0000 [thread overview]
Message-ID: <AM5PR0502MB30752878C878948E660A73179210A@AM5PR0502MB3075.eurprd05.prod.outlook.com> (raw)
In-Reply-To: <a0f1e420-ae48-49a3-9300-c56f1948ad9b.e52b7f5f-5a09-4346-99f8-a6591191169c.10af45d3-4cfc-48f7-a293-b6d9fa78cdd1@emailsignatures365.codetwo.com>
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.
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 ----
Even more weird is that if I try to debug this via strace I get this:
---- snip ----
$ strace -o mylog.log /home/rmainz/tmp/try10_rde_new_rds/Dependencies/win/qt/qt_5_15_2/Tools/mingw810_64/bin/c++ $PWD/x.cpp
strace.exe: error creating process C:\cygwin64\home\rmainz\tmp\try10_rde_new_rds\Dependencies\win\qt\qt_5_15_2\Tools\mingw810_64\bin\c++, (error 2)
---- snip ----
Note that the Windows-style path doesn't start with H:\tmp as I would expect - it starts with C:\cygwin64\, followed by the bind mount name (\home\rmainz).
----
Bye,
Roland
i. A. Roland Mainz
Entwickler Steuerungssoftware
TEE
ROVEMA GmbH
Industriestr. 1, 35463
Fernwald, Germany
T +49 641 409 528
@ Roland.Mainz@rovema.de
www.rovema.com
Rovema
It's about your products.
https://www.rovema-experience.com/
ROVEMA GmbH
Industriestrasse 1, 35463 Fernwald, Germany
Geschäftsführer:
Christoph Gusenleitner
Dr. Dirk Panhans
Handelsregister-Eintrag/Commercial Register: Amtsgericht Gießen, HRB 8551
USt.-Ident./VAT ID No.: DE 301 430 123
next parent reply other threads:[~2023-08-11 13:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <a0f1e420-ae48-49a3-9300-c56f1948ad9b.8d485f54-9f47-42b0-bdcb-9635fbf663c3.6697971f-86bc-49dc-8072-c37095eed858@emailsignatures365.codetwo.com>
[not found] ` <a0f1e420-ae48-49a3-9300-c56f1948ad9b.93e247b8-206a-49dd-b71c-9240681180cb.7748cdc6-d053-4197-9372-3b4751ae3949@emailsignatures365.codetwo.com>
[not found] ` <a0f1e420-ae48-49a3-9300-c56f1948ad9b.e52b7f5f-5a09-4346-99f8-a6591191169c.10af45d3-4cfc-48f7-a293-b6d9fa78cdd1@emailsignatures365.codetwo.com>
2023-08-11 13:36 ` Mainz, Roland [this message]
2023-08-14 10:21 ` Corinna Vinschen
2023-08-14 16:25 ` Roland Mainz
2023-08-14 17:29 ` Roland Mainz
2023-08-14 19:42 ` Martin Wege
2023-08-14 20:57 ` Corinna Vinschen
2023-08-14 20:56 ` Corinna Vinschen
2023-08-17 18:49 ` How does Cygwin detect MSFT NFSv3 file system? " Martin Wege
2023-08-18 8:44 ` Corinna Vinschen
2023-08-18 13:09 ` Cygwin pathconf() query filesystem kernel data? " Martin Wege
2023-08-19 17:50 ` Brian Inglis
2023-08-21 12:03 ` Martin Wege
2023-08-21 22:07 ` Brian Inglis
2023-08-24 16:27 ` Martin Wege
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AM5PR0502MB30752878C878948E660A73179210A@AM5PR0502MB3075.eurprd05.prod.outlook.com \
--to=roland.mainz@rovema.de \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).