Automatic Cygwin installation for CI ?

2023-12-15 Thread Mainz, Roland via Cygwin
Hi! Is there any documentation how Cygwin 3.5.0 can be automatically (without GUI and user intervention, e.g. via *.bat script) be installed as part of a CI (Continuous integration) build environment ? Bye, Roland i. A. Roland Mainz Entwickler Steuerungssoftware TEE ROVEMA GmbH

setup-x86_64.exe (bug ?): Cannot write to /usr/bin/cygwin1.dll - cyserver squatting it...

2023-11-15 Thread Mainz, Roland via Cygwin
Hi! The Cygwin installer "setup-x86_64.exe" has problems updating cygwin1.dll when cygserver is running: snip Unable to extract /usr/bin/cygwin1.dll -- error writing file snip The fix is to do a $ sc stop cygserver # as Administrator, then "setup-x86_64.exe" can writ

/usr/bin/realpath cannot handle UNC paths ?

2023-09-28 Thread Mainz, Roland via Cygwin
Hi! We're trying to use UNC paths (e.g. //server/home/xyz/), but some of our scripts fail when /usr/bin/realpath is used. Example: snip $ uname -a CYGWIN_NT-10.0-19045 WINGRENDEL01 3.4.9-1.x86_64 2023-09-06 11:19 UTC x86_64 Cygwin $ realpath "$PWD" realpath: //crawlinghorror

Cygwin/Win32 utility function to convert "raw" IPv6 address string into *.ipv6-literal.net string ?

2023-09-27 Thread Mainz, Roland via Cygwin
Hi! Does Cygwin (or Win32) have a function to convert "raw" ASCII IPv6 addresses into *.ipv6-literal.net per https://en.wikipedia.org/wiki/IPv6_address#Literal_IPv6_addresses_in_UNC_path_names ? Example: [fe80::219:99ff:feae:73ce] should be turned into fe80--219-99ff-feae-73ce.ipv6-lit

RFE: Cygwin installer should offer option "Add Cygwin /usr/bin to system path" ...

2023-09-16 Thread Mainz, Roland via Cygwin
Hi! Small RFE, inspired by another Windows installer: RFE: Cygwin installer should offer option (boolean checkbox) "Add Cygwin /usr/bin to system path" , i.e. add "C:\cygwin64\bin\" at the end of the System variable PATH. That would make it MUCH easier for beginners just to launch a she

Weird (path) problems with cygwin test release 3.5.0-0.384.g9939aa7d0945.x86_64 ...

2023-08-11 Thread Mainz, Roland via Cygwin
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 /hom