Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shaw91 opened this issue Feb 28, 2024 · 2 comments

Comments

@shaw91
Copy link

shaw91 commented Feb 28, 2024

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 <folly/json/json.h>
339.9       |          ^~~~~~~~~~~~~~~~~~~
339.9 compilation terminated.
@shaw91 shaw91 changed the title Unable to build watchman from source for ubuntu 23.10 Unable to build watchman from source for ubuntu in the latest versions of releases Feb 28, 2024
@shaw91
Copy link
Author

shaw91 commented Feb 28, 2024

Another similar issue referred here #1185

@tjunghans
Copy link

tjunghans commented May 31, 2024

I had similar issues and the instructions for https://facebook.github.io/watchman/docs/install#ubuntu-prebuilt-debs seem to be outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants