You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to install Watchman on my laptop (on Ubuntu 22.04.3 LTS), using the "Building from Source" procedure described here (I was initially planning to use the Prebuilt Debs but it seems they are not included on the releases anymore).
I had no problem installing cargo (version 1.70.0) and the required packages (using sudo ./install-system-packages.sh).
Then, when running the ./autogen.sh script, I have the following error:
As far as I understand it, it comes from this fail:
FAILED: CMakeFiles/wangle.dir/acceptor/FizzConfigUtil.cpp.o
/usr/bin/c++ -DBOOST_ALL_NO_LIB -DGFLAGS_IS_A_DLL=0 -DWANGLE_HAVE_SSL_SESSION_DUP -I/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/.. -isystem /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/fizz/include -isystem /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include -isystem /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/fmt-0OsqWr9WlgnMtY9ox7a01xiCebaS7tyP8wfT0ATUdns/include -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT CMakeFiles/wangle.dir/acceptor/FizzConfigUtil.cpp.o -MF CMakeFiles/wangle.dir/acceptor/FizzConfigUtil.cpp.o.d -o CMakeFiles/wangle.dir/acceptor/FizzConfigUtil.cpp.o -c /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/acceptor/FizzConfigUtil.cpp
/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/acceptor/FizzConfigUtil.cpp:23:13: error: ‘CertUtils’ has not been declared in ‘fizz’
I tried running it with sudo sudo ./autogen.sh instead, and restarting my computer, but I ended up with the same result. Does anybody have any idea why it might fail?
Full log
+ PREFIX=/usr/local
+ python3 build/fbcode_builder/getdeps.py build --allow-system-packages --src-dir=. --project-install-prefix=watchman:/usr/local watchman
Building on {distro=ubuntu, distro_vers=22.04, fb=off, fbsource=off, os=linux, shared_libs=off, test=on}
Testing ENV[BOOST_ROOT_1_69_0]: None
Assessing cpptoml...
Assessing fmt...
Assessing googletest...
Assessing python-six...
Using pinned rev f601d244aac60d591228cfd41a566d0039d4deef for https://github.com/facebook/folly.git
Assessing folly...
Using pinned rev f601d244aac60d591228cfd41a566d0039d4deef for https://github.com/facebook/folly.git
Testing ENV[BOOST_ROOT_1_69_0]: None
Assessing fizz...
Assessing mvfst...
Using pinned rev 0f6bdb225f0eb2a363d9171425966977c2b035d8 for https://github.com/facebook/wangle.git
Assessing wangle...
Using pinned rev 0f6bdb225f0eb2a363d9171425966977c2b035d8 for https://github.com/facebook/wangle.git
Building wangle...
---
+ CMAKE_PREFIX_PATH=\
+ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/mvfst:\
+ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/fizz:\
+ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly:\
+ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/python-six-bDHnmfeK7u_C8fPEPr_qdaZcEO7qk3rIMnb4AURH4PM:\
+ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/googletest-I6iiULGW2x9jG0ewpeSrrFLkFysc7xySjD4HpNZFmYQ:\
+ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/fmt-0OsqWr9WlgnMtY9ox7a01xiCebaS7tyP8wfT0ATUdns:\
+ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/cpptoml-Q7sVd-KywyhaOKZdlvJqlv4CxqSn1vPsQ0oGVflGe3c:\
+ GETDEPS_BUILD_DIR=/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/build \
+ GETDEPS_INSTALL_DIR=/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed \
+ LD_LIBRARY_PATH=\
+ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/mvfst/lib:\
+ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/fizz/lib:\
+ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/lib:\
+ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/python-six-bDHnmfeK7u_C8fPEPr_qdaZcEO7qk3rIMnb4AURH4PM/lib:\
+ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/googletest-I6iiULGW2x9jG0ewpeSrrFLkFysc7xySjD4HpNZFmYQ/lib:\
+ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/fmt-0OsqWr9WlgnMtY9ox7a01xiCebaS7tyP8wfT0ATUdns/lib:\
+ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/cpptoml-Q7sVd-KywyhaOKZdlvJqlv4CxqSn1vPsQ0oGVflGe3c/lib:\
+ PKG_CONFIG_PATH=\
+ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/lib/pkgconfig:\
+ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/googletest-I6iiULGW2x9jG0ewpeSrrFLkFysc7xySjD4HpNZFmYQ/lib/pkgconfig:\
+ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/fmt-0OsqWr9WlgnMtY9ox7a01xiCebaS7tyP8wfT0ATUdns/lib/pkgconfig:\
+ PYTHONPATH=/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/python-six-bDHnmfeK7u_C8fPEPr_qdaZcEO7qk3rIMnb4AURH4PM/lib/fb-py-libs/python-six \
+ SSL_CERT_DIR=/etc/ssl/certs \
+ cd /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/build/wangle && \
+ /usr/bin/cmake \
+ --build \
+ /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/build/wangle \
+ --target \
+ install \
+ --config \
+ RelWithDebInfo \
+ -j \
+ 8
[9/21] Building CXX object CMakeFiles/wangle.dir/acceptor/FizzConfigUtil.cpp.o
FAILED: CMakeFiles/wangle.dir/acceptor/FizzConfigUtil.cpp.o
/usr/bin/c++ -DBOOST_ALL_NO_LIB -DGFLAGS_IS_A_DLL=0 -DWANGLE_HAVE_SSL_SESSION_DUP -I/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/.. -isystem /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/fizz/include -isystem /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include -isystem /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/fmt-0OsqWr9WlgnMtY9ox7a01xiCebaS7tyP8wfT0ATUdns/include -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT CMakeFiles/wangle.dir/acceptor/FizzConfigUtil.cpp.o -MF CMakeFiles/wangle.dir/acceptor/FizzConfigUtil.cpp.o.d -o CMakeFiles/wangle.dir/acceptor/FizzConfigUtil.cpp.o -c /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/acceptor/FizzConfigUtil.cpp
/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/acceptor/FizzConfigUtil.cpp:23:13: error: ‘CertUtils’ has not been declared in ‘fizz’
23 | using fizz::CertUtils;| ^~~~~~~~~
/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/acceptor/FizzConfigUtil.cpp: In static member function‘static std::unique_ptr<fizz::server::CertManager> wangle::FizzConfigUtil::createCertManager(const wangle::ServerSocketConfig&, const std::shared_ptr<wangle::PasswordInFileFactory>&)’:
/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/acceptor/FizzConfigUtil.cpp:42:22: error: ‘CertUtils’ has not been declared
42 | selfCert = CertUtils::makeSelfCert(cert.certPath, cert.keyPath);| ^~~~~~~~~
/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/acceptor/FizzConfigUtil.cpp:54:15: error: ‘CertUtils’ has not been declared
54 | CertUtils::makeSelfCert(std::move(x509Chain), std::move(pkey));| ^~~~~~~~~
[16/21] Building CXX object CMakeFiles/wangle.dir/ssl/SSLContextManager.cpp.o
/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/ssl/SSLContextManager.cpp: In function‘void wangle::{anonymous}::set_key_from_curve(SSL_CTX*, const string&)’:
/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/ssl/SSLContextManager.cpp:101:34: warning: ‘EC_KEY* EC_KEY_new_by_curve_name(int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
101 | ecdh = EC_KEY_new_by_curve_name(nid);|~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/ssl.h:31,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/portability/OpenSSL.h:43,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/io/async/ssl/OpenSSLUtils.h:22,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/io/async/SSLContext.h:34,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/io/async/PasswordInFile.h:19,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/ssl/SSLContextManager.cpp:17:
/usr/include/openssl/ec.h:998:31: note: declared here
998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);| ^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/ssl/SSLContextManager.cpp:107:14: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
107 | EC_KEY_free(ecdh);|~~~~~~~~~~~^~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/ssl.h:31,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/portability/OpenSSL.h:43,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/io/async/ssl/OpenSSLUtils.h:22,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/io/async/SSLContext.h:34,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/io/async/PasswordInFile.h:19,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/ssl/SSLContextManager.cpp:17:
/usr/include/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);| ^~~~~~~~~~~
/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/ssl/SSLContextManager.cpp: In function‘DH*wangle::{anonymous}::get_dh2048()’:
/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/ssl/SSLContextManager.cpp:141:18: warning: ‘DH*DH_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
141 | DH* dh = DH_new();
|~~~~~~^~
In file included from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/portability/OpenSSL.h:36,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/io/async/ssl/OpenSSLUtils.h:22,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/io/async/SSLContext.h:34,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/io/async/PasswordInFile.h:19,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/ssl/SSLContextManager.cpp:17:
/usr/include/openssl/dh.h:203:27: note: declared here
203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);| ^~~~~~
/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/ssl/SSLContextManager.cpp:153:19: warning: ‘int DH_set0_pqg(DH*, BIGNUM*, BIGNUM*, BIGNUM*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
153 |!DH_set0_pqg(dh, dhp_bn, nullptr, dhg_bn)) {
|~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/portability/OpenSSL.h:36,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/io/async/ssl/OpenSSLUtils.h:22,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/io/async/SSLContext.h:34,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/io/async/PasswordInFile.h:19,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/ssl/SSLContextManager.cpp:17:
/usr/include/openssl/dh.h:259:27: note: declared here
259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);| ^~~~~~~~~~~
/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/ssl/SSLContextManager.cpp:154:12: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
154 | DH_free(dh);|~~~~~~~^~~~
In file included from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/portability/OpenSSL.h:36,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/io/async/ssl/OpenSSLUtils.h:22,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/io/async/SSLContext.h:34,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/io/async/PasswordInFile.h:19,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/ssl/SSLContextManager.cpp:17:
/usr/include/openssl/dh.h:204:28: note: declared here
204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);| ^~~~~~~
/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/ssl/SSLContextManager.cpp: In member function‘std::shared_ptr<wangle::ServerSSLContext> wangle::SSLContextManager::SslContexts::buildServerSSLContext(const std::vector<std::__cxx11::basic_string<char>>&, const wangle::SSLContextConfig&, const wangle::SSLCacheOptions&, const wangle::TLSTicketKeySeeds*, const folly::SocketAddress&, const std::shared_ptr<wangle::SSLCacheProvider>&, const wangle::SSLContextManager*, std::shared_ptr<wangle::ServerSSLContext>&)’:
/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/ssl/SSLContextManager.cpp:689:10: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
689 | DH_free(dh);|~~~~~~~^~~~
In file included from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/portability/OpenSSL.h:36,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/io/async/ssl/OpenSSLUtils.h:22,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/io/async/SSLContext.h:34,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include/folly/io/async/PasswordInFile.h:19,
from /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/ssl/SSLContextManager.cpp:17:
/usr/include/openssl/dh.h:204:28: note: declared here
204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);| ^~~~~~~
ninja: build stopped: subcommand failed.
Command '['/usr/bin/cmake', '--build', '/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/build/wangle', '--target', 'install', '--config', 'RelWithDebInfo', '-j', '8']' returned non-zero exit status 1.
!! Failed
The text was updated successfully, but these errors were encountered:
I was also facing a similar issue, but this error I received was pkg-config appears to be missing (not available to autoconf tools) please install the pkg-config package for your system.. I honestly just installed homebrew and used that to install watchman
Hello everyone,
I am trying to install Watchman on my laptop (on Ubuntu 22.04.3 LTS), using the "Building from Source" procedure described here (I was initially planning to use the Prebuilt Debs but it seems they are not included on the releases anymore).
I had no problem installing cargo (version 1.70.0) and the required packages (using
sudo ./install-system-packages.sh
).Then, when running the
./autogen.sh
script, I have the following error:As far as I understand it, it comes from this fail:
FAILED: CMakeFiles/wangle.dir/acceptor/FizzConfigUtil.cpp.o /usr/bin/c++ -DBOOST_ALL_NO_LIB -DGFLAGS_IS_A_DLL=0 -DWANGLE_HAVE_SSL_SESSION_DUP -I/tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/.. -isystem /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/fizz/include -isystem /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/folly/include -isystem /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/installed/fmt-0OsqWr9WlgnMtY9ox7a01xiCebaS7tyP8wfT0ATUdns/include -O2 -g -DNDEBUG -fPIC -std=c++17 -MD -MT CMakeFiles/wangle.dir/acceptor/FizzConfigUtil.cpp.o -MF CMakeFiles/wangle.dir/acceptor/FizzConfigUtil.cpp.o.d -o CMakeFiles/wangle.dir/acceptor/FizzConfigUtil.cpp.o -c /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/acceptor/FizzConfigUtil.cpp /tmp/fbcode_builder_getdeps-ZhomeZtimiZDownloadsZwatchman-2024.01.08.00ZbuildZfbcode_builder/repos/github.com-facebook-wangle.git/wangle/acceptor/FizzConfigUtil.cpp:23:13: error: ‘CertUtils’ has not been declared in ‘fizz’
I tried running it with sudo
sudo ./autogen.sh
instead, and restarting my computer, but I ended up with the same result. Does anybody have any idea why it might fail?Full log
The text was updated successfully, but these errors were encountered: