[Bug 281604] databases/rocksdb version facebook-rocksdb-v9.6.1_GH0 fails to build

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 20 Sep 2024 08:37:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281604

            Bug ID: 281604
           Summary: databases/rocksdb version facebook-rocksdb-v9.6.1_GH0
                    fails to build
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: jordan@ostreff.info
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

The RocksDB doesn't build for me:
# make showconfig
===> The following configuration options are available for rocksdb-9.6.1:
     DEBUG=off: Build with debugging support
     LZ4=on: LZ4 compression support
     ZSTD=on: Zstandard compression support
===> Use 'make config' to modify these settings
Option MAKE_JOBS_UNSAFE=yes is set.
the result:
/usr/ports/databases/rocksdb # make
===>  Building for rocksdb-9.6.1
$DEBUG_LEVEL is 0, $LIB_MODE is shared
FreeBSD classic.classic-bg.net 14.1-STABLE FreeBSD 14.1-STABLE
stable/14-n268739-056c50c48be GENERIC amd64
FreeBSD clang version 18.1.6 (https://github.com/llvm/llvm-project.git
llvmorg-18.1.6-0-g1118c2e05e67) Target: x86_64-unknown-freebsd14.1 Thread
model: posix InstalledDir: /usr/bin
FreeBSD clang version 18.1.6 (https://github.com/llvm/llvm-project.git
llvmorg-18.1.6-0-g1118c2e05e67) Target: x86_64-unknown-freebsd14.1 Thread
model: posix InstalledDir: /usr/bin
gmake: Nothing to be done for 'shared_lib'.
gmake: Nothing to be done for 'static_lib'.
clang++ -L. table/table_reader_bench.o -lrocksdb_test -lrocksdb  -Wl,-rpath
-Wl,'$ORIGIN' -o table_reader_bench  -fstack-protector-strong -L/usr/local/lib 
 -lpthread -lsnappy -lgflags -lz -lbz2 -llz4 -lzstd -lexecinfo   -pg
ld: error: undefined reference due to --no-allow-shlib-undefined:
testing::internal::PrintBytesInObjectTo(unsigned char const*, unsigned long,
std::__1::basic_ostream<char, std::__1::char_traits<char>>*)
>>> referenced by ./librocksdb_test.so
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
gmake: *** [Makefile:1604: table_reader_bench] Error 1
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/rocksdb
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/rocksdb

-- 
You are receiving this mail because:
You are the assignee for the bug.