Took me a second. Found the issue was much earlier
FAILED: CMakeFiles/rocksdb.dir/db/blob/blob_file_meta.cc.o
/usr/bin/c++ -DHAVE_PCLMUL -DHAVE_SSE42 -DLZ4 -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_IOURING_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USA
BLE_SIZE -DROCKSDB_NO_DYNAMIC_EXTENSION -DROCKSDB_PLATFORM_POSIX -DROCKSDB_PORTABLE -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_RANGESYNC_PRESENT -DROCKSDB
_SCHED_GETCPU_PRESENT -DSNAPPY -DZLIB -I/build/ceph/src/ceph-19.2.2/src/rocksdb -I/build/ceph/src/ceph-19.2.2/src/rocksdb/include -isystem /build/ceph/src
/ceph-19.2.2/src/rocksdb/third-party/gtest-1.8.1/fused-src -isystem /build/ceph/src/ceph-19.2.2/src/liburing/src/include -march=x86-64 -mtune=generic -O2
-pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-fr
ame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/ceph/src=/usr/src/debug/ceph -Wno-deprecated-copy -Wno-pess
imizing-move -W -Wextra -Wall -pthread -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-mis
sing-field-initializers -Wno-strict-aliasing -Wno-invalid-offsetof -fno-omit-frame-pointer -momit-leaf-frame-pointer -fno-builtin-memcmp -O2 -g -DNDEBUG -
std=gnu++17 -fPIC -MD -MT CMakeFiles/rocksdb.dir/db/blob/blob_file_meta.cc.o -MF CMakeFiles/rocksdb.dir/db/blob/blob_file_meta.cc.o.d -o CMakeFiles/rocksd
b.dir/db/blob/blob_file_meta.cc.o -c /build/ceph/src/ceph-19.2.2/src/rocksdb/db/blob/blob_file_meta.cc
In file included from /build/ceph/src/ceph-19.2.2/src/rocksdb/db/blob/blob_file_meta.cc:6:
/build/ceph/src/ceph-19.2.2/src/rocksdb/db/blob/blob_file_meta.h:28:7: error: ‘uint64_t’ has not been declared
28 | uint64_t blob_file_number, uint64_t total_blob_count,
Pinned Comments
pbazaah commented on 2022-10-05 13:03 (UTC) (edited on 2022-10-05 13:03 (UTC) by pbazaah)
For future commenters:
TLDR:
https://aur.archlinux.org/pkgbase/ceph | From source build (slow)
https://aur.archlinux.org/pkgbase/ceph-bin | Pre-built binaries (fast)
Unlike the original community version, this repo builds ceph from source. Ceph is a large, complicated project so this takes several hours on a good build server.
To get a similar experience to how community/ceph worked (pre-built binaries) use ceph-bin instead.