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

compilation error #259

Closed
wangyuyue opened this issue Sep 26, 2023 · 3 comments
Closed

compilation error #259

wangyuyue opened this issue Sep 26, 2023 · 3 comments

Comments

@wangyuyue
Copy link

wangyuyue commented Sep 26, 2023

  • Cachelib runs into errors when building dependencies:
    OS: Ubuntu 20.04
Cloning into 'cachelib/external/mvfst'...
remote: Enumerating objects: 59847, done.
remote: Counting objects: 100% (5915/5915), done.
remote: Compressing objects: 100% (1652/1652), done.
remote: Total 59847 (delta 3879), reused 5755 (delta 3733), pack-reused 53932
Receiving objects: 100% (59847/59847), 15.87 MiB | 14.81 MiB/s, done.
Resolving deltas: 100% (27279/27279), done.
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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.62") found components: iostreams system thread filesystem regex context date_time program_options 
-- 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: /users/glacier/CacheLib/opt/cachelib
-- Found Sodium: /usr/lib/x86_64-linux-gnu/libsodium.so  
-- Found folly: /users/glacier/CacheLib/opt/cachelib
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") 
-- Found fizz: /users/glacier/CacheLib/opt/cachelib
-- Found glog: /usr/lib/x86_64-linux-gnu/libglog.so  
-- Found Threads: TRUE  
-- Found gflags from package config
CMake Error at quic/dsr/CMakeLists.txt:10 (set_property):
  INTERFACE_LIBRARY targets may only have whitelisted properties.  The
  property "VERSION" is not allowed.


-- Configuring incomplete, errors occurred!
See also "/users/glacier/CacheLib/build-mvfst/CMakeFiles/CMakeOutput.log".
See also "/users/glacier/CacheLib/build-mvfst/CMakeFiles/CMakeError.log".
build-package.sh: error: cmake failed on cachelib/external/mvfst
build.sh: error: failed to build dependency 'mvfst'
@ahmed-k-aly
Copy link

Hi,
This is not really a solution, but a quick fix: have you tried building the dependencies manually rather than using the script. I ran into those same errors with mvfst and folly, but manually building the package from their respective source solved them. I hope that works!

@wangyuyue
Copy link
Author

Hi, This is not really a solution, but a quick fix: have you tried building the dependencies manually rather than using the script. I ran into those same errors with mvfst and folly, but manually building the package from their respective source solved them. I hope that works!

Thanks for your advice. Yet it still fails even when building separately. Now I just switched to Ubuntu 22.04. This is the only workable solution for me now.

@jaesoo-fb
Copy link
Contributor

Hi. Thanks for reporting the issue. All of the builds should have been healthy now. Going forward, we will publish the stable version here https://github.com/facebook/CacheLib/releases

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

3 participants