on macos (26.1) I compile with:
# Homebrew environment setup
run('brew', 'update')
run('brew', 'install', 'bash', 'binutils', 'bison', 'flex', 'gnu-sed', 'lz4', 'pkg-config', 'xz')
run('brew', 'install', 'double-conversion', 'fmt', 'gdbm', 'glog', 'jemalloc', 'libevent', 'libffi', 'libsodium', 'libyaml', 'ncurses', 'openssl@3', 'zlib')
run('brew', 'install', 'boost@1.85')
run('brew', 'link', '--force', 'boost@1.85')
# Enforce flex and bison paths, but remove binutils to force macOS ar
ENV['PATH'] = [
File.join(%x(brew --prefix flex), 'bin'),
File.join(%x(brew --prefix bison), 'bin'),
ENV['PATH'].split(':').reject{ |p| p.include?('binutils')}
].join(':')
run('gem', 'install', "tebako:#{tebako_version}")
and get this error:
-- Looking for statfs - found
[ 87%] Building CXX object CMakeFiles/thrift_light.dir/thrift/lib/thrift/gen-cpp2/frozen_data.cpp.o
[ 88%] Building CXX object CMakeFiles/thrift_light.dir/thrift/lib/thrift/gen-cpp2/frozen_types.cpp.o
-- Looking for statvfs
-- Looking for statvfs - found
-- Looking for strchr
In file included from /Users/laurent/workspace/aspera/aspera-cli/tmp/tebako/env/deps/src/_dwarfs_wr/deps/src/_dwarfs/fbthrift/thrift/lib/cpp2/gen/module_types_cpp.cpp:17:
In file included from /Users/laurent/workspace/aspera/aspera-cli/tmp/tebako/env/deps/src/_dwarfs_wr/deps/src/_dwarfs/fbthrift/thrift/lib/cpp2/gen/module_types_cpp.h:38:
In file included from /Users/laurent/workspace/aspera/aspera-cli/tmp/tebako/env/deps/src/_dwarfs_wr/deps/src/_dwarfs/fbthrift/thrift/lib/cpp2/protocol/detail/protocol_methods.h:36:
/Users/laurent/workspace/aspera/aspera-cli/tmp/tebako/env/deps/src/_dwarfs_wr/deps/src/_dwarfs/folly/folly/memory/UninitializedMemoryHacks.h:312:8: error: no template named '__compressed_pair' in namespace 'std'
312 | std::__compressed_pair<pointer, allocator_type> __end_cap_;
| ~~~~~^
1 error generated.
gmake[10]: *** [CMakeFiles/thrift_light.dir/build.make:250: CMakeFiles/thrift_light.dir/fbthrift/thrift/lib/cpp2/gen/module_types_cpp.cpp.o] Error 1
anyone idea ?
It would be better if dependencies (dwarfs) compiles with CMake dependencies, instead of OS...
on macos (26.1) I compile with:
and get this error:
anyone idea ?
It would be better if dependencies (dwarfs) compiles with CMake dependencies, instead of OS...