source builds broken for windows and macos, no prebuilts
- Dominant language
- C++
- Stars
- 13.7k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Hey! I am having trouble watchman from source for both Windows and Macos, getdeps.py is erroring out. Are there any guides or recommendations on how to build Watchman for those platforms?
I was hoping to use CI for inspiration. They call out to getdeps.py, but it looks like the builds are broken at the moment. The release CI jobs also call out to getdeps.py but skip Windows/Macos
### Building
#### Windows
The last succesfull windows builds was [from 6 months ago](https://github.com/facebook/watchman/actions/workflows/getdeps_windows.yml?query=is%3Asuccess) and the most recent ones are erroring out with [include errors from dependencies](https://github.com/facebook/watchman/actions/runs/16680369597/job/47217304382#step:129:512)
It looks like first breaking commit from ~6 months ago was this logging change to edencommon: https://github.com/facebookexperimental/edencommon/commit/06c66a7c4a68929ea7deba7fb299d9c07f1b6b70 from 2025.03.03. I'm not sure where that included header is supposed to be coming from?
#### Macos
GHA shows [no successful builds in the history](https://github.com/facebook/watchman/actions/workflows/getdeps_mac.yml?query=is%3Asuccess), so I'm not sure when it stopped working. [The recent errors](https://github.com/facebook/watchman/actions/runs/16654768489/job/47136798899#step:130:467) are similar to Windows.
The [Homebrew formula](https://formulae.brew.sh/formula/watchman) works. It looks like it is compiling with cmake on install instead of getdeps.py. Is this the intended way to build macos?
### Prebuilt binaries
####
Linux ✅, latest release
Windows 🔴, missing
Macos 🔴 , missing
### Installing
Macos (latest release) - [Homebrew formula works](https://formulae.brew.sh/formula/watchman, this is compiled locally instead of a prebuilt binary
Windows (2025.02.24) - Chocolatey is [pulling in a stale binary](https://github.com/dgalbraith/chocolatey-packages/blob/master/automatic/watchman/update.ps1#L52), that build is from jsut before that breaking change to edencommon went in
Contributor guide
Assessment
This issue has not been assessed yet.