facebook / facebook/watchman

Unable to build watchman from source for ubuntu in the latest versions of releases

Open
#1,195 8 comments 7 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
13.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

I am unable to build watchman from source for ubuntu 23.10 and neither does the latest release have a debs file. Can someone help.

I get error while executing `./autogen.sh`

```
328.9 [66/81] Building CXX object CMakeFiles/fizz.dir/experimental/ktls/AsyncFizzBaseKTLS.cpp.o
328.9 [67/81] Building CXX object CMakeFiles/fizz.dir/client/FizzClientContext.cpp.o
328.9 [68/81] Building CXX object CMakeFiles/fizz.dir/client/State.cpp.o
339.9 Command '['/usr/bin/cmake', '--build', '/tmp/fbcode_builder_getdeps-ZwatchmanZbuildZfbcode_builder-root/build/fizz', '--target', 'install', '--config', 'RelWithDebInfo', '-j', '4']' returned non-zero exit status 1.
339.9 !! Failed
339.9 [69/81] Building CXX object CMakeFiles/fizz.dir/client/PskSerializationUtils.cpp.o
339.9 [70/81] Building CXX object CMakeFiles/fizz.dir/tool/FizzCommandCommon.cpp.o
339.9 FAILED: CMakeFiles/fizz.dir/tool/FizzCommandCommon.cpp.o
339.9 /usr/bin/c++ -DBOOST_ALL_NO_LIB -DGFLAGS_IS_A_DLL=0 -I/tmp/fbcode_builder_getdeps-ZwatchmanZbuildZfbcode_builder-root/repos/github.com-facebookincubator-fizz.git -I/tmp/fbcode_builder_getdeps-ZwatchmanZbuildZfbcode_builder-root/build/fizz/generated -isystem /tmp/fbcode_builder_getdeps-ZwatchmanZbuildZfbcode_builder-root/installed/folly/include -isystem /tmp/fbcode_builder_getdeps-ZwatchmanZbuildZfbcode_builder-root/installed/fmt-rKIOTtsl9aiwFkmA3-MnEgW_-G5XM1x79LDGCXRTa-A/include -O2 -g -DNDEBUG -std=c++17 -fPIC -MD -MT CMakeFiles/fizz.dir/tool/FizzCommandCommon.cpp.o -MF CMakeFiles/fizz.dir/tool/FizzCommandCommon.cpp.o.d -o CMakeFiles/fizz.dir/tool/FizzCommandCommon.cpp.o -c /tmp/fbcode_builder_getdeps-ZwatchmanZbuildZfbcode_builder-root/repos/github.com-facebookincubator-fizz.git/fizz/tool/FizzCommandCommon.cpp
339.9 In file included from /tmp/fbcode_builder_getdeps-ZwatchmanZbuildZfbcode_builder-root/repos/github.com-facebookincubator-fizz.git/fizz/tool/FizzCommandCommon.cpp:14:
339.9 /tmp/fbcode_builder_getdeps-ZwatchmanZbuildZfbcode_builder-root/repos/github.com-facebookincubator-fizz.git/fizz/tool/FizzCommandCommon.h:19:10: fatal error: folly/json/json.h: No such file or directory
339.9 19 | #include
339.9 | ^~~~~~~~~~~~~~~~~~~
339.9 compilation terminated.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.