Open derfsubterfuge opened 8 months ago
You can override by setting WATCHMAN_VERSION_OVERRIDE to the desired version. See https://github.com/facebook/watchman/blob/4744a9d434caec403a651411853cc9d9de5c5a75/CMakeLists.txt#L92-L103.
Similar issue on Fedora
# dnf info watchman
Last metadata expiration check: 0:05:38 ago on Wed 17 Apr 2024 06:21:34 AM UTC.
Installed Packages
Name : watchman
Version : 2021.05.10.00
Release : 24.fc39
Architecture : x86_64
Size : 1.5 M
Source : watchman-2021.05.10.00-24.fc39.src.rpm
Repository : @System
From repo : updates
Summary : File alteration monitoring service
URL : https://facebook.github.io/watchman/
License : Apache-2.0
Description : Watchman exists to watch files and record when they actually change. It can also
: trigger actions (such as rebuilding assets) when matching files change.
# watchman --version
0.0.0
Package info shows that version is 2021.05.10.00, but watchman itself shows 0.0.0.
I'm on Fedora 39. I followed the build from source instructions and augmented them with the final steps of prebuilt binaries. Whenever I run
watchman --version
I get0.0.0
instead of the actual version. How do I correct this? Do I need to add aversion.txt
file somewhere?Commands that I ran: