Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2024 08:37:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281604] databases/rocksdb version facebook-rocksdb-v9.6.1_GH0 fails to build
Message-ID:  <bug-281604-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281604

            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
=3D=3D=3D> The following configuration options are available for rocksdb-9.=
6.1:
     DEBUG=3Doff: Build with debugging support
     LZ4=3Don: LZ4 compression support
     ZSTD=3Don: Zstandard compression support
=3D=3D=3D> Use 'make config' to modify these settings
Option MAKE_JOBS_UNSAFE=3Dyes is set.
the result:
/usr/ports/databases/rocksdb # make
=3D=3D=3D>  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=20
 -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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281604-7788>