Comments (4)
@jaesoo-fb Thank you for the help.
I met the same issue before.
At this time, ./contrib/build.sh -j -T
fails to build fbthrift
:
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: filesystem
-- Found gflags from package config /CacheLib/opt/cachelib/lib/cmake/gflags/gflags-config.cmake
-- Found gflags as a dependency of glog::glog, include=/CacheLib/opt/cachelib/include, libs=gflags_shared
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.51.0") found components: context filesystem program_options regex system thread
-- Found folly: /CacheLib/opt/cachelib
-- Found folly: /CacheLib/opt/cachelib
-- Found fizz: /CacheLib/opt/cachelib
-- Found wangle: /CacheLib/opt/cachelib
-- ZSTD: /CacheLib/opt/cachelib/include
-- Found folly: /CacheLib/opt/cachelib
-- Found folly: /CacheLib/opt/cachelib
-- Found fizz: /CacheLib/opt/cachelib
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: iostreams system thread filesystem regex context
-- Found mvfst: /CacheLib/opt/cachelib
CMake Warning at CMakeLists.txt:122 (find_package):
By not providing "Findpython-six.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"python-six", but CMake did not find one.
Could not find a package configuration file provided by "python-six" with
any of the following names:
python-sixConfig.cmake
python-six-config.cmake
Add the installation prefix of "python-six" to CMAKE_PREFIX_PATH or set
"python-six_DIR" to a directory containing one of the above files. If
"python-six" provides a separate development package or SDK, be sure it has
been installed.
-- Python dependencies not found, will not build thrift/lib/py
-- Configuring done
CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
"async" of type SHARED_LIBRARY
depends on "transport" (weak)
depends on "rpcmetadata" (weak)
depends on "thriftprotocol" (weak)
"transport" of type SHARED_LIBRARY
depends on "rpcmetadata" (weak)
depends on "thriftprotocol" (weak)
depends on "async" (weak)
depends on "rpcmetadata" (strong)
"rpcmetadata" of type SHARED_LIBRARY
depends on "thriftprotocol" (weak)
depends on "async" (weak)
depends on "transport" (weak)
"thriftprotocol" of type SHARED_LIBRARY
depends on "async" (weak)
depends on "transport" (weak)
depends on "rpcmetadata" (weak)
At least one of these targets is not a STATIC_LIBRARY. Cyclic dependencies are allowed only among static libraries.
CMake Generate step failed. Build files cannot be regenerated correctly.
build-package.sh: error: cmake failed on cachelib/external/fbthrift
build.sh: error: failed to build dependency 'fbthrift'
from cachelib.
Same error here on Ubuntu 20.04 when running:
./opt/cachelib/bin/cachebench --help
after:
git clone https://github.com/facebook/CacheLib
cd CacheLib
./contrib/build.sh -T -j
from cachelib.
@wangyuyue @siphonelee Thanks for the report. We are working on the fix. Thanks
from cachelib.
Fixed by fbthrift change 0f3b4bf922b7 (Remove gflag in JSONProtocolCommon)
from cachelib.
Related Issues (20)
- Fail to persist nvm cache due to "exceeding metadata limit" HOT 1
- Build failure - cannot find python-six HOT 2
- build.sh: error: failed to build cachelib HOT 2
- build.sh: error: No build recipe for detected operating system 'fedora38' HOT 3
- New runtime error HOT 5
- cachelib fails to build HOT 3
- allocator-test-AllocationClassTest Failed On ARM
- Where is `cachelib/facebook/admin/CacheAdmin.h`? HOT 1
- cachelib fails to build HOT 3
- refCount alignment issue HOT 4
- The method config.enableChainedItems() cannot be found. HOT 1
- Some questions in resizing the cachelib pool size HOT 2
- Is there any plan to provide an Java SDK for this cachelib ? HOT 2
- Fail to build dependency fbthrift (with errors reported in fmt) HOT 4
- make clean option for contrib/build.sh HOT 1
- build error about fizz on ubuntu22.04 HOT 2
- CDN trace expected behavior HOT 2
- Enable FDP for CacheBench HOT 12
- qDepth Support for NVM Cache HOT 6
- Questions about trace files when running cachebench HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cachelib.