bob
bob copied to clipboard
Windows Server (?): `Mtime_clock: clock_gettime () failed`
I'm running latest bob.com in a Cygwin shell on Windows, and got this error:
Fatal error: exception Sys_error("Mtime_clock: clock_gettime () failed")
The cygwin shell probably misleads Cosmopolitan about the host system. In this way, CLOCK_MONOTONIC becomes probably wrong and EINVAL
is probably returned by clock_gettime
so. I'm not sure that we have an easy way to fix that and probably Cosmopolitan 2.0 fixes the issue. I will try to experiment a bit about that.
Sorry, I've investigated a bit more and I've found out that the error isn't linked to running bob in Cygwin or powershell or whatever, but rather to Windows Server. It doesn't happen if I run bob in a regular Windows.
but rather to Windows Server.
Hmmmhmm, interesting indeed. I'm not sure about Windows Server and if Cosmopolitan is able to recognize such system.
I think this PR fixes the initial issue: https://github.com/dinosaure/bob/pull/48. Can you retry bob.com
into your system?