Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...
Mainz, Roland
Roland.Mainz@rovema.de
Fri Aug 11 13:36:35 GMT 2023
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
More information about the Cygwin
mailing list