basho / riak

Riak is a decentralized datastore from Basho Technologies.
http://docs.basho.com
Apache License 2.0
3.92k stars 534 forks source link

Strange error on building Riak on Manjaro on Erlang OTP-25 #1131

Closed gvsafronov closed 1 year ago

gvsafronov commented 1 year ago

Hi!

I'm compiled the application in Manjaro (kernel 6.1.19-1-MANJARO) twice and each time I got a different result. The first time the Riak compiled successfully, but the second time the compilation process ended with thee same error:

Siriys@$ /home/greg > tar xvzf riak-riak-3.2.0.tar.gz Siriys@$ /home/greg > cd riak-riak-3.2.0 Siriys@$ /home/greg/riak-riak-3.2.0> make rel

/home/greg/riak/rebar3 compile ===> Fetching rebar3_cuttlefish (from {git,"https://github.com/basho/rebar3_cuttlefish", {tag,"0.3.0"}}) ===> Fetching cuttlefish (from {git,"https://github.com/basho/cuttlefish.git", {branch,"develop"}}) ===> Fetching getopt (from {git,"https://github.com/martinsumner/getopt.git", {branch,"develop-3.0-otp24"}}) ===> Analyzing applications... ===> Compiling getopt ===> Compiling cuttlefish ===> Compiling rebar3_cuttlefish ===> Building escript for cuttlefish... ===> Verifying dependencies... ===> Fetching cluster_info (from {git,"https://github.com/basho/cluster_info", {ref,"55b12ebb60883766fd0077dac43b266fb5eb6c69"}}) ===> Fetching riak_auth_mods (from {git,"https://github.com/basho/riak_auth_mods", {ref,"c9b88ea685e3fe7f327aaeeda207ea3fed7883cd"}}) ===> Fetching riak_kv (from {git,"https://github.com/basho/riak_kv", {ref,"1d4ee4700f9070a39260010e369f46754df7c850"}}) ===> Fetching rebar3_gpb_plugin (from {git,"https://github.com/basho/rebar3_gpb_plugin", {tag,"2.15.1+riak.3.0.4"}}) ===> Fetching gpb v4.13.0 ===> Analyzing applications... ===> Compiling gpb ===> Compiling rebar3_gpb_plugin Compiling descriptor.proto... Compiling gpb_descriptor.erl... Compiling gpb_compile_descr.proto... ===> Fetching eqc_rebar (from {git,"https://github.com/Quviq/eqc-rebar",{branch,"master"}}) ===> Analyzing applications... ===> Compiling eqc_rebar ===> Fetching riak_repl (from {git,"https://github.com/basho/riak_repl", {ref,"f27f74ed88465ba440c7118b2e8f8d10e460a4f9"}}) ===> Fetching bitcask (from {git,"https://github.com/basho/bitcask.git", {ref,"d84c8d913713da8f02403431217405f84ee1ba22"}}) ===> Fetching pc v1.14.0 ===> Analyzing applications... ===> Compiling pc ===> Fetching canola (from {git,"https://github.com/basho/canola", {ref,"2507f698b4dc1156b07dbf568fc651730942fe73"}}) ===> Fetching ebloom (from {git,"https://github.com/basho/ebloom.git", {ref,"3c25f9ef61a73d5f1d2c2601da464dd03975721d"}}) ===> Fetching hyper (from {git,"https://github.com/basho/hyper", {ref,"d0bf3d67fd17b8ed2610b266aebd54b1027ea916"}}) ===> Fetching kv_index_tictactree (from {git,"https://github.com/martinsumner/kv_index_tictactree.git", {ref,"493f94ba24028d823772665c244d33728eca2a6e"}}) ===> Fetching ranch (from {git,"https://github.com/ninenines/ranch.git", {ref,"a692f44567034dacf5efcaa24a24183788594eb7"}}) ===> Fetching recon (from {git,"https://github.com/ferd/recon", {ref,"34194da6d9f8ed25f274e0ebb098dc9e95bcf547"}}) ===> Fetching redbug (from {git,"https://github.com/massemanet/redbug", {ref,"09ee7142f0fcab99151efb1fc405a067f1b15b56"}}) ===> Fetching rebar3_hex v7.0.2 ===> Fetching hex_core v0.8.4 ===> Fetching verl v1.1.1 ===> Analyzing applications... ===> Compiling hex_core ===> Compiling verl ===> Compiling rebar3_hex ===> Fetching rhc (from {git,"https://github.com/basho/riak-erlang-http-client", {ref,"889785140621a02e2cd206b701f59341ad48eb46"}}) ===> Fetching riak_api (from {git,"https://github.com/basho/riak_api.git", {ref,"d69bcdbc37801a1e9d3a6a1c59ec08e19b9b1485"}}) ===> Fetching riak_core (from {git,"https://github.com/basho/riak_core.git", {ref,"dfcc27ad86e3f28a01e6653d1e7fd2e02cd35591"}}) ===> Fetching riak_dt (from {git,"https://github.com/basho/riak_dt.git", {ref,"10855112980da92632c4604430dc707b79af3e42"}}) ===> Fetching riak_pipe (from {git,"https://github.com/basho/riak_pipe.git", {ref,"63b866011859bc3f774c9a0d477b5faa34de41d9"}}) ===> Fetching sext (from {git,"https://github.com/uwiger/sext.git", {ref,"c1d93beae5a2d9448a520c31adcb0053c76ef4df"}}) ===> Fetching sidejob (from {git,"https://github.com/basho/sidejob.git", {ref,"10abce4fc76054c8aad230943b5c1a31b67efc6f"}}) ===> Fetching basho_stats (from {git,"https://github.com/basho/basho_stats.git", {ref,"3b33ac15e11cc88e2fc676a1e2d31b80bd02bea6"}}) ===> Fetching clique (from {git,"https://github.com/basho/clique.git", {ref,"3929fa5aeed341b407e16479626ff6b9dddf2ea3"}}) ===> Fetching eleveldb (from {git,"https://github.com/basho/eleveldb.git", {ref,"6c0d5bf16b84d06609e272dd6803d4537c24cf42"}}) ===> Fetching exometer_core (from {git,"https://github.com/Feuerlabs/exometer_core.git", {ref,"66c287e24ceff337f622e3f58e0b4a3ab9ced0f0"}}) ===> Fetching ibrowse (from {git,"https://github.com/basho/ibrowse.git", {ref,"076be16d0dcff768aa885d98a23bb3e980e79060"}}) ===> Fetching leveled (from {git,"https://github.com/martinsumner/leveled", {ref,"e06d2a538fac9669145f1d226ff049d1ab1f9294"}}) ===> Fetching mochiweb (from {git,"https://github.com/basho/mochiweb.git", {ref,"adb632e96d0256fdb9e4c22c3523dbd7d98c4ec1"}}) ===> Fetching pbkdf2 (from {git,"https://github.com/basho/erlang-pbkdf2.git", {ref,"7e9bd5fcd3cc3062159e4c9214bb628aa6feb5ca"}}) ===> Fetching poolboy (from {git,"https://github.com/basho/poolboy.git", {ref,"d775915c446c9dd251af5bf70e6cfc4beb83d557"}}) ===> Fetching riak_ensemble (from {git,"https://github.com/basho/riak_ensemble", {ref,"d57c457ee738a60153d9307a12f4bc86d10c85bd"}}) ===> Fetching riak_pb (from {git,"https://github.com/basho/riak_pb.git", {ref,"7a5e535217c13a32f3041888b0d46e9b4476065c"}}) ===> Fetching riak_pb_msgcodegen (from {git,"https://github.com/basho/riak_pb_msgcodegen", {tag,"1.0.0"}}) ===> Analyzing applications... ===> Compiling riak_pb_msgcodegen ===> Fetching riak_sysmon (from {git,"https://github.com/basho/riak_sysmon.git", {ref,"c9640bedc7bc011a10e177922b431b63be661512"}}) ===> Fetching riakc (from {git,"https://github.com/basho/riak-erlang-client", {ref,"a48bc7252918b87ee1b52355c319fc51dfbc0c4b"}}) ===> Fetching webmachine (from {git,"https://github.com/webmachine/webmachine.git", {ref,"9e07e439cbbe95c0e0bed137b183a4fb70fd3e0c"}}) ===> Fetching cuttlefish (from {git,"https://github.com/basho/cuttlefish.git", {ref,"cb3df6a917ee93374de2b881e138e3dc6e9bf5cf"}}) ===> Fetching folsom v1.0.0 ===> Fetching hut v1.3.0 ===> Fetching lz4 (from {git,"https://github.com/martinsumner/erlang-lz4", {ref,"d407af5de71303b8e381df718d2e5d05eb775c59"}}) ===> Fetching parse_trans v3.4.1 ===> Fetching setup v2.1.0 ===> Fetching bear v1.0.0 ===> Fetching getopt (from {git,"https://github.com/martinsumner/getopt.git", {ref,"5d2b27dab5d31669764dc759e44c2d96cac01a4e"}}) ===> Generated /home/grigoriy/riak/_build/default/lib/riak_pb/src/riak_pb_messages.erl

make[1]: вход в каталог «/home/grigoriy/riak/_build/default/lib/eleveldb/c_src» git config --global --add safe.directory /__w/eleveldb/eleveldb echo "ubuntu-latest image with otp-22, are you happy now?" ubuntu-latest image with otp-22, are you happy now? if [ ! -r snappy-"1.1.9".tar.gz ]; then \ wget -O snappy-"1.1.9".tar.gz https://github.com/google/snappy/archive/refs/tags/"1.1.9".tar.gz; \ fi --2023-03-29 22:25:27-- https://github.com/google/snappy/archive/refs/tags/1.1.9.tar.gz Загружен сертификат CA «/etc/ssl/certs/ca-certificates.crt» Распознаётся github.com (github.com)… 140.82.121.4 Подключение к github.com (github.com)|140.82.121.4|:443... соединение установлено. HTTP-запрос отправлен. Ожидание ответа… 302 Found Адрес: https://codeload.github.com/google/snappy/tar.gz/refs/tags/1.1.9 [переход] --2023-03-29 22:25:27-- https://codeload.github.com/google/snappy/tar.gz/refs/tags/1.1.9 Распознаётся codeload.github.com (codeload.github.com)… 140.82.121.10 Подключение к codeload.github.com (codeload.github.com)|140.82.121.10|:443... соединение установлено. HTTP-запрос отправлен. Ожидание ответа… 200 OK Длина: 1102382 (1,1M) [application/x-gzip] Сохранение в: «snappy-1.1.9.tar.gz»

 0K .......... .......... .......... .......... ..........  4%  732K 1s
50K .......... .......... .......... .......... ..........  9% 1,39M 1s

100K .......... .......... .......... .......... .......... 13% 10,6M 1s 150K .......... .......... .......... .......... .......... 18% 652K 1s 200K .......... .......... .......... .......... .......... 23% 30,9M 1s 250K .......... .......... .......... .......... .......... 27% 2,80M 1s 300K .......... .......... .......... .......... .......... 32% 7,81M 0s 350K .......... .......... .......... .......... .......... 37% 3,83M 0s 400K .......... .......... .......... .......... .......... 41% 2,65M 0s 450K .......... .......... .......... .......... .......... 46% 2,54M 0s 500K .......... .......... .......... .......... .......... 51% 2,84M 0s 550K .......... .......... .......... .......... .......... 55% 2,60M 0s 600K .......... .......... .......... .......... .......... 60% 2,78M 0s 650K .......... .......... .......... .......... .......... 65% 2,73M 0s 700K .......... .......... .......... .......... .......... 69% 2,90M 0s 750K .......... .......... .......... .......... .......... 74% 1,70M 0s 800K .......... .......... .......... .......... .......... 78% 3,87M 0s 850K .......... .......... .......... .......... .......... 83% 2,15M 0s 900K .......... .......... .......... .......... .......... 88% 4,25M 0s 950K .......... .......... .......... .......... .......... 92% 2,20M 0s 1000K .......... .......... .......... .......... .......... 97% 4,64M 0s 1050K .......... .......... ...... 100% 1,94M=0,5s

2023-03-29 22:25:28 (2,24 MB/s) - «snappy-1.1.9.tar.gz» сохранён [1102382/1102382]

if [ ! -d leveldb ]; then \ git clone https://github.com/basho/leveldb && \ (cd leveldb && git checkout "2.0.38") && \ (cd leveldb && git submodule update --init); \ fi Клонирование в «leveldb»... Примечание: переключение на «2.0.38».

Вы сейчас в состоянии «отсоединённого указателя HEAD». Можете осмотреться, внести экспериментальные изменения и зафиксировать их, также можете отменить любые коммиты, созданные в этом состоянии, не затрагивая другие ветки, переключившись обратно на любую ветку.

Если хотите создать новую ветку для сохранения созданных коммитов, можете сделать это (сейчас или позже), используя команду switch с параметром -c. Например:

git switch -c <новая-ветка>

Или отмените эту операцию с помощью:

git switch -

Отключите этот совет, установив переменную конфигурации advice.detachedHead в значение false

HEAD сейчас на 6fb8242 Merge pull request #242 from TI-Tokyo/develop-3.0 Подмодуль «leveldb_ee» (https://github.com/basho/leveldb_ee) зарегистрирован по пути «leveldb_ee» Клонирование в «/home/grigoriy/riak/_build/default/lib/eleveldb/c_src/leveldb/leveldb_ee»... Submodule path 'leveldb_ee': checked out '1d13c28cb198770e03f805c7dd32d6a58260c1e2' tar -xzf snappy-"1.1.9".tar.gz && \ (cd snappy-"1.1.9" && \ git submodule update --init && \ if [ -r autogen.sh ]; then \ ./autogen.sh && ./configure --prefix=/home/grigoriy/riak/_build/default/lib/eleveldb/c_src/system && make && make install; \ else \ mkdir build && cd build && \ mkdir -p /home/grigoriy/riak/_build/default/lib/eleveldb/c_src/system && \ cmake -D SNAPPY_BUILD_TESTS=0 -D SNAPPY_BUILD_BENCHMARKS=0 \ -D CMAKE_INSTALL_PREFIX=/home/grigoriy/riak/_build/default/lib/eleveldb/c_src/system \ ..; \ fi && \ make && make install) -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/uio.h -- Looking for sys/uio.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for zlibVersion in z -- Looking for zlibVersion in z - found -- Looking for lzo1x_1_15_compress in lzo2 -- Looking for lzo1x_1_15_compress in lzo2 - found -- Looking for LZ4_compress_default in lz4 -- Looking for LZ4_compress_default in lz4 - found -- Performing Test HAVE_VISUAL_STUDIO_ARCH_AVX -- Performing Test HAVE_VISUAL_STUDIO_ARCH_AVX - Failed -- Performing Test HAVE_VISUAL_STUDIO_ARCH_AVX2 -- Performing Test HAVE_VISUAL_STUDIO_ARCH_AVX2 - Failed -- Performing Test HAVE_CLANG_MAVX -- Performing Test HAVE_CLANG_MAVX - Success -- Performing Test HAVE_CLANG_MBMI2 -- Performing Test HAVE_CLANG_MBMI2 - Success -- Performing Test SNAPPY_HAVE_NO_MISSING_FIELD_INITIALIZERS -- Performing Test SNAPPY_HAVE_NO_MISSING_FIELD_INITIALIZERS - Success -- Performing Test HAVE_BUILTIN_EXPECT -- Performing Test HAVE_BUILTIN_EXPECT - Success -- Performing Test HAVE_BUILTIN_CTZ -- Performing Test HAVE_BUILTIN_CTZ - Success -- Performing Test HAVE_ATTRIBUTE_ALWAYS_INLINE -- Performing Test HAVE_ATTRIBUTE_ALWAYS_INLINE - Success -- Performing Test SNAPPY_HAVE_SSSE3 -- Performing Test SNAPPY_HAVE_SSSE3 - Failed -- Performing Test SNAPPY_HAVE_BMI2 -- Performing Test SNAPPY_HAVE_BMI2 - Failed -- Looking for mmap -- Looking for mmap - found -- Looking for sysconf -- Looking for sysconf - found -- Configuring done -- Generating done -- Build files have been written to: /home/greg/riak/_build/default/lib/eleveldb/c_src/snappy-1.1.9/build make[2]: вход в каталог «/home/grigoriy/riak/_build/default/lib/eleveldb/c_src/snappy-1.1.9/build» [ 20%] Building CXX object CMakeFiles/snappy.dir/snappy-c.cc.o [ 40%] Building CXX object CMakeFiles/snappy.dir/snappy-sinksource.cc.o [ 60%] Building CXX object CMakeFiles/snappy.dir/snappy-stubs-internal.cc.o [ 80%] Building CXX object CMakeFiles/snappy.dir/snappy.cc.o /home/grigoriy/riak/_build/default/lib/eleveldb/c_src/snappy-1.1.9/snappy.cc:1017:8: предупреждение: «always_inline» function might not be inlinable [-Wattributes] 1017 | size_t AdvanceToNextTag(const uint8_t ip_p, size_t* tag) { | ^~~~ [100%] Linking CXX static library libsnappy.a [100%] Built target snappy make[2]: выход из каталога «/home/greg/riak/_build/default/lib/eleveldb/c_src/snappy-1.1.9/build» make[2]: вход в каталог «/home/greg/riak/_build/default/lib/eleveldb/c_src/snappy-1.1.9/build» [100%] Built target snappy Install the project... -- Install configuration: "" -- Installing: /home/grigoriy/riak/_build/default/lib/eleveldb/c_src/system/lib/libsnappy.a -- Installing: /home/grigoriy/riak/_build/default/lib/eleveldb/c_src/system/include/snappy-c.h -- Installing: /home/grigoriy/riak/_build/default/lib/eleveldb/c_src/system/include/snappy-sinksource.h -- Installing: /home/grigoriy/riak/_build/default/lib/eleveldb/c_src/system/include/snappy.h -- Installing: /home/grigoriy/riak/_build/default/lib/eleveldb/c_src/system/include/snappy-stubs-public.h -- Installing: /home/grigoriy/riak/_build/default/lib/eleveldb/c_src/system/lib/cmake/Snappy/SnappyTargets.cmake -- Installing: /home/grigoriy/riak/_build/default/lib/eleveldb/c_src/system/lib/cmake/Snappy/SnappyTargets-noconfig.cmake -- Installing: /home/grigoriy/riak/_build/default/lib/eleveldb/c_src/system/lib/cmake/Snappy/SnappyConfig.cmake -- Installing: /home/grigoriy/riak/_build/default/lib/eleveldb/c_src/system/lib/cmake/Snappy/SnappyConfigVersion.cmake make[2]: выход из каталога «/home/grigoriy/riak/_build/default/lib/eleveldb/c_src/snappy-1.1.9/build» mv system/lib64 system/lib || true mv: не удалось выполнить stat для 'system/lib64': Нет такого файла или каталога make LDFLAGS=" -L/home/grigoriy/riak/_build/default/lib/eleveldb/c_src/system/lib -lsnappy -lpthread" LD_LIBRARY_PATH="/home/grigoriy/riak/_build/default/lib/eleveldb/c_src/system/lib:" -C leveldb all make[2]: вход в каталог «/home/grigoriy/riak/_build/default/lib/eleveldb/c_src/leveldb» cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT db/builder.d -MT db/builder.o -MF db/builder.d db/builder.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT db/c.d -MT db/c.o -MF db/c.d db/c.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT db/dbformat.d -MT db/dbformat.o -MF db/dbformat.d db/dbformat.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT db/db_impl.d -MT db/db_impl.o -MF db/db_impl.d db/db_impl.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT db/db_iter.d -MT db/db_iter.o -MF db/db_iter.d db/db_iter.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT db/filename.d -MT db/filename.o -MF db/filename.d db/filename.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT db/log_reader.d -MT db/log_reader.o -MF db/log_reader.d db/log_reader.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT db/log_writer.d -MT db/log_writer.o -MF db/log_writer.d db/log_writer.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT db/memtable.d -MT db/memtable.o -MF db/memtable.d db/memtable.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT db/repair.d -MT db/repair.o -MF db/repair.d db/repair.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT db/table_cache.d -MT db/table_cache.o -MF db/table_cache.d db/table_cache.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT db/version_edit.d -MT db/version_edit.o -MF db/version_edit.d db/version_edit.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT db/version_set.d -MT db/version_set.o -MF db/version_set.d db/version_set.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT db/write_batch.d -MT db/write_batch.o -MF db/write_batch.d db/write_batch.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT leveldb_ee/cache_warm.d -MT leveldb_ee/cache_warm.o -MF leveldb_ee/cache_warm.d leveldb_ee/cache_warm.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT leveldb_ee/compile_opt.d -MT leveldb_ee/compile_opt.o -MF leveldb_ee/compile_opt.d leveldb_ee/compile_opt.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT leveldb_ee/expiry_ee.d -MT leveldb_ee/expiry_ee.o -MF leveldb_ee/expiry_ee.d leveldb_ee/expiry_ee.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT leveldb_ee/hot_backup.d -MT leveldb_ee/hot_backup.o -MF leveldb_ee/hot_backup.d leveldb_ee/hot_backup.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT leveldb_ee/riak_object.d -MT leveldb_ee/riak_object.o -MF leveldb_ee/riak_object.d leveldb_ee/riak_object.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT table/block_builder.d -MT table/block_builder.o -MF table/block_builder.d table/block_builder.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT table/block.d -MT table/block.o -MF table/block.d table/block.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT table/filter_block.d -MT table/filter_block.o -MF table/filter_block.d table/filter_block.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT table/format.d -MT table/format.o -MF table/format.d table/format.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT table/iterator.d -MT table/iterator.o -MF table/iterator.d table/iterator.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT table/merger.d -MT table/merger.o -MF table/merger.d table/merger.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT table/table_builder.d -MT table/table_builder.o -MF table/table_builder.d table/table_builder.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT table/table.d -MT table/table.o -MF table/table.d table/table.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT table/two_level_iterator.d -MT table/two_level_iterator.o -MF table/two_level_iterator.d table/two_level_iterator.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/arena.d -MT util/arena.o -MF util/arena.d util/arena.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/bloom2.d -MT util/bloom2.o -MF util/bloom2.d util/bloom2.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/bloom.d -MT util/bloom.o -MF util/bloom.d util/bloom.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/cache2.d -MT util/cache2.o -MF util/cache2.d util/cache2.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/cache.d -MT util/cache.o -MF util/cache.d util/cache.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/coding.d -MT util/coding.o -MF util/coding.d util/coding.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/comparator.d -MT util/comparator.o -MF util/comparator.d util/comparator.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/crc32c.d -MT util/crc32c.o -MF util/crc32c.d util/crc32c.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/db_list.d -MT util/db_list.o -MF util/db_list.d util/db_list.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/env.d -MT util/env.o -MF util/env.d util/env.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/env_posix.d -MT util/env_posix.o -MF util/env_posix.d util/env_posix.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/expiry_os.d -MT util/expiry_os.o -MF util/expiry_os.d util/expiry_os.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/filter_policy.d -MT util/filter_policy.o -MF util/filter_policy.d util/filter_policy.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/flexcache.d -MT util/flexcache.o -MF util/flexcache.d util/flexcache.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/hash.d -MT util/hash.o -MF util/hash.d util/hash.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/histogram.d -MT util/histogram.o -MF util/histogram.d util/histogram.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/hot_threads.d -MT util/hot_threads.o -MF util/hot_threads.d util/hot_threads.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/logging.d -MT util/logging.o -MF util/logging.d util/logging.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/murmurhash.d -MT util/murmurhash.o -MF util/murmurhash.d util/murmurhash.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/options.d -MT util/options.o -MF util/options.d util/options.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/perf_count.d -MT util/perf_count.o -MF util/perf_count.d util/perf_count.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/status.d -MT util/status.o -MF util/status.d util/status.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/thread_tasks.d -MT util/thread_tasks.o -MF util/thread_tasks.d util/thread_tasks.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT util/throttle.d -MT util/throttle.o -MF util/throttle.d util/throttle.cc cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -MM -E -MT port/port_posix.d -MT port/port_posix.o -MF port/port_posix.d port/port_posix.cc g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/builder.cc -o db/builder.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/c.cc -o db/c.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/dbformat.cc -o db/dbformat.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/db_impl.cc -o db/db_impl.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/db_iter.cc -o db/db_iter.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/filename.cc -o db/filename.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/log_reader.cc -o db/log_reader.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/log_writer.cc -o db/log_writer.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/memtable.cc -o db/memtable.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/repair.cc -o db/repair.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/table_cache.cc -o db/table_cache.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/version_edit.cc -o db/version_edit.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/version_set.cc -o db/version_set.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c db/write_batch.cc -o db/write_batch.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c leveldb_ee/cache_warm.cc -o leveldb_ee/cache_warm.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c leveldb_ee/compile_opt.cc -o leveldb_ee/compile_opt.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c leveldb_ee/expiry_ee.cc -o leveldb_ee/expiry_ee.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c leveldb_ee/hot_backup.cc -o leveldb_ee/hot_backup.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c leveldb_ee/riak_object.cc -o leveldb_ee/riak_object.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c table/block_builder.cc -o table/block_builder.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c table/block.cc -o table/block.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c table/filter_block.cc -o table/filter_block.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c table/format.cc -o table/format.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c table/iterator.cc -o table/iterator.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c table/merger.cc -o table/merger.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c table/table_builder.cc -o table/table_builder.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c table/table.cc -o table/table.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c table/two_level_iterator.cc -o table/two_level_iterator.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/arena.cc -o util/arena.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/bloom2.cc -o util/bloom2.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/bloom.cc -o util/bloom.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/cache2.cc -o util/cache2.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/cache.cc -o util/cache.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/coding.cc -o util/coding.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/comparator.cc -o util/comparator.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/crc32c.cc -o util/crc32c.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/db_list.cc -o util/db_list.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/env.cc -o util/env.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/env_posix.cc -o util/env_posix.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/expiry_os.cc -o util/expiry_os.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/filter_policy.cc -o util/filter_policy.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/flexcache.cc -o util/flexcache.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/hash.cc -o util/hash.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/histogram.cc -o util/histogram.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/hot_threads.cc -o util/hot_threads.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/logging.cc -o util/logging.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/murmurhash.cc -o util/murmurhash.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/options.cc -o util/options.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/perf_count.cc -o util/perf_count.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/status.cc -o util/status.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/thread_tasks.cc -o util/thread_tasks.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c util/throttle.cc -o util/throttle.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -c port/port_posix.cc -o port/port_posix.o cc -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC -O3 -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -pedantic -DLZ4_VERSION=\"r130\" -c util/lz4.c -o util/lz4.o rm -f libleveldb.a ar -rs libleveldb.a db/builder.o db/c.o db/dbformat.o db/db_impl.o db/db_iter.o db/filename.o db/log_reader.o db/log_writer.o db/memtable.o db/repair.o db/table_cache.o db/version_edit.o db/version_set.o db/write_batch.o leveldb_ee/cache_warm.o leveldb_ee/compile_opt.o leveldb_ee/expiry_ee.o leveldb_ee/hot_backup.o leveldb_ee/riak_object.o table/block_builder.o table/block.o table/filter_block.o table/format.o table/iterator.o table/merger.o table/table_builder.o table/table.o table/two_level_iterator.o util/arena.o util/bloom2.o util/bloom.o util/cache2.o util/cache.o util/coding.o util/comparator.o util/crc32c.o util/db_list.o util/env.o util/env_posix.o util/expiry_os.o util/filter_policy.o util/flexcache.o util/hash.o util/histogram.o util/hot_threads.o util/logging.o util/murmurhash.o util/options.o util/perf_count.o util/status.o util/thread_tasks.o util/throttle.o port/port_posix.o util/lz4.o ar: создаётся libleveldb.a make[2]: выход из каталога «/home/greg/riak/_build/default/lib/eleveldb/c_src/leveldb» make LDFLAGS=" -L/home/greg/riak/_build/default/lib/eleveldb/c_src/system/lib -lsnappy -lpthread" LD_LIBRARY_PATH="/home/greg/riak/_build/default/lib/eleveldb/c_src/system/lib:" -C leveldb tools make[2]: вход в каталог «/home/greg/riak/_build/default/lib/eleveldb/c_src/leveldb» g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC tools/leveldb_repair.cc -o leveldb_repair -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -L/home/grigoriy/riak/_build/default/lib/eleveldb/c_src/system/lib -lsnappy -lpthread g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC tools/perf_dump.cc -o perf_dump -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -L/home/grigoriy/riak/_build/default/lib/eleveldb/c_src/system/lib -lsnappy -lpthread g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC tools/sst_rewrite.cc -o sst_rewrite -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -L/home/grigoriy/riak/_build/default/lib/eleveldb/c_src/system/lib -lsnappy -lpthread g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -DSNAPPY -O2 -g -DNDEBUG -fPIC tools/sst_scan.cc -o sst_scan -L . -Wl,-non_shared -lleveldb -Wl,-call_shared -L/home/grigoriy/riak/_build/default/lib/eleveldb/c_src/system/lib -lsnappy -lpthread make[2]: выход из каталога «/home/greg/riak/_build/default/lib/eleveldb/c_src/leveldb» cp leveldb/perf_dump leveldb/sst_rewrite leveldb/sst_scan leveldb/leveldb_repair ../priv make[1]: выход из каталога «/home/greg/riak/_build/default/lib/eleveldb/c_src» ===> Compiling c_src/riak_ensemble_clock.c ===> Linking /home/grigoriy/riak/_build/default/lib/riak_ensemble/priv/riak_ensemble.so ===> Compiling c_src/lz4.c ===> Compiling c_src/lz4_nif.c ===> Compiling c_src/lz4hc.c ===> Linking /home/grigoriy/riak/_build/default/lib/lz4/priv/lz4.so ===> Compiling c_src/bitcask_nifs.c ===> Compiling c_src/erl_nif_util.c ===> Compiling c_src/murmurhash.c ===> Linking /home/grigoriy/riak/_build/default/lib/bitcask/priv/bitcask.so ===> Compiling c_src/ebloom_nifs.cpp ===> Linking /home/grigoriy/riak/_build/default/lib/ebloom/priv/ebloom_nifs.so ===> Compiling c_src/canola-port.c ===> Linking /home/grigoriy/riak/_build/default/lib/canola/priv/canola-port ===> Analyzing applications... ===> Compiling mochiweb ===> Compiling webmachine ===> Compiling riak_pb ===> Compiling riak_sysmon ===> Compiling eleveldb ===> Compiling riak_ensemble ===> Compiling poolboy ===> Compiling pbkdf2 ===> Compiling setup ===> Compiling parse_trans ===> Compiling hut ===> Compiling bear ===> Compiling folsom ===> Compiling exometer_core ===> Compiling cluster_info ===> Compiling getopt ===> Compiling cuttlefish ===> Compiling clique ===> Compiling basho_stats ===> Compiling riak_core ===> Compiling riak_api ===> Compiling recon ===> Compiling redbug ===> Compiling sext ===> Compiling sidejob ===> Compiling riakc ===> Compiling riak_pipe ===> Compiling riak_dt ===> Compiling ibrowse ===> Compiling rhc ===> Compiling lz4 ===> Compiling leveled ===> Compiling kv_index_tictactree ===> Compiling hyper ===> Compiling bitcask ===> Compiling riak_kv ===> Compiling ranch ===> Compiling ebloom ===> Compiling riak_repl ===> Compiling canola ===> Compiling riak_auth_mods ===> Compiling c_src/eleveldb.cc ===> Compiling c_src/refobjects.cc ===> Compiling c_src/workitems.cc ===> Linking priv/eleveldb.so make: * [Makefile:29: compile] Error 1

martinsumner commented 1 year ago

Looks like your building from develop. This branch now includes this PR - https://github.com/basho/eleveldb/pull/272 - which requires snappy to be pre-installed on your OS before making Riak.

The 3.2.1 release will be the first to include this update, and that is maybe 2-3 weeks away from release. I will add a reminder to the release notes about this dependency, when this is ready to be launched.

gvsafronov commented 1 year ago

Thank you very much, Martin! But, in both cases I used the source code from here: https://github.com/basho/riak/releases/tag/riak-3.2.0

martinsumner commented 1 year ago

I had assumed you'd used develop because of the tag on the eleveldb fetch.

In riak-3.2.0 the commit in rebar.lock for eleveldb is:

https://github.com/basho/riak/blob/riak-3.2.0/rebar.lock#L31-L34

This is also what it says in the source code files attached to the release for download.

In your logs it said:

===> Fetching eleveldb (from {git,"https://github.com/basho/eleveldb.git",
{ref,"6c0d5bf16b84d06609e272dd6803d4537c24cf42"}})

.. and this is the tag from develop - https://github.com/basho/riak/blob/develop/rebar.lock#L31-L34.

I'm not sure what might have happened to cause this. Was The riak-riak-3.2.0 folder definitely empty before you started?

gvsafronov commented 1 year ago

I understand you, thanks. The folder "riak-riak-3.2.0" was empty before I started. I checked it.

martinsumner commented 1 year ago

Just in case, I've double-checked a fresh install from the downloaded source myself - and the correct, expected commit of eleveldb is fetched, and the release builds as expected. I can't explain what happened in your case.

gvsafronov commented 1 year ago

It may not be the best solution, but it helped me to solve my problem. I rebuilt linux-kernel on my laptop and the compilation was successful! From the bottom of my heart, thank you, Martin!

sinban04 commented 10 months ago

@gvsafronov @martinsumner Hi guys, I'm going through the exact same issue as gvsafronov. My env: Ubuntu 22.04, i'm using tag riak-riak-3.2.0 (https://github.com/basho/riak/releases/tag/riak-3.2.0) I'm using OTP25 (thanks to https://github.com/basho/riak/issues/1136)

During compile, there's an error without any error message in the middle of compiling eleveldb: No shared library output (Full logs are at the bottom)

===> Compiling riak_auth_mods
===> Compiling c_src/eleveldb.cc
===> Compiling c_src/refobjects.cc
===> Compiling c_src/workitems.cc
===> Linking priv/eleveldb.so
make: *** [Makefile:29: compile] Error 1

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. ... ===> Compiling eleveldb ===> Compiling c_src/eleveldb.cc ===> Compiling c_src/refobjects.cc ===> Compiling c_src/workitems.cc ===> Linking /home/user/injung/eleveldb/priv/eleveldb.so


- I have no idea why it makes an error only during compiling eleveldb as dependency of Riak
sinban04 commented 10 months ago

d