databases/rocksdb9: Fix build on 16-CURRENT (Clang 21)
mkdir -p port && clang++ -O2 -pipe -DOS_FREEBSD -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wno-unused-parameter -Wno-unused-variable -Wno-sync-alignment -isystem /usr/local/include -std=c++17 -fPIC -DROCKSDB_DLL -DROCKSDB_USE_RTTI -g -W -Wextra -Wall -Wsign-compare -Wshadow -Wunused-parameter -Werror -I. -I./include -std=c++17 -O2 -pipe -DOS_FREEBSD -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wno-unused-parameter -Wno-unused-variable -Wno-sync-alignment -isystem /usr/local/include -std=c++17 -faligned-new -DHAVE_ALIGNED_NEW -DROCKSDB_PLATFORM_POSIX -DROCKSDB_LIB_IO_POSIX -O2 -pipe -DOS_FREEBSD -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -D_REENTRANT -DOS_FREEBSD -DSNAPPY -DGFLAGS=1 -DZLIB -DBZIP2 -DLZ4 -DZSTD -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_BACKTRACE -DROCKSDB_SCHED_GETCPU_PRESENT -Wshorten-64-to-32 -DHAVE_UINT128_EXTENSION -isystem third-party/gtest-1.8.1/fused-src -O2 -fno-omit-frame-pointer -momit-leaf-frame-pointer -DNDEBUG -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-invalid-offsetof -c port/mmap.cc -o port/mmap.o
port/mmap.cc:46:15: error: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'rocksdb::MemMapping' [-Werror,-Wnontrivial-memcall]
46 | std::memcpy(this, &other, sizeof(*this));
| ^
port/mmap.cc:46:15: note: explicitly cast the pointer to silence this warning
46 | std::memcpy(this, &other, sizeof(*this));
| ^
| (void*)
1 error generated.
Reference: https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/p69f57ea536e0_s2ff705f32a2/logs/rocksdb9-9.11.2_1.log
Obtained from: https://github.com/facebook/rocksdb/commit/496eebaee891c5f132d1ec1d9293a9c7f59b1e46e693a26237Port details
databases/rocksdb9 9.11.2_1
Persistent key-value store for fast storage environments
Port info
- Maintainer
- sunpoet@FreeBSD.org
- Packages
- latest: 9.11.2_1
- Upstream
- up to date
- Last update
- to 9.11.2_1 · e693a26237
- Quarterly
- 2026Q4: 9.11.2_1
- WWW
- https://rocksdb.org/
- Links
- cgit · VuXML
Install
- Package
# pkg install rocksdb9installs 9.11.2_1 fromlatest; fromquarterly(2026Q4) 9.11.2_1- Port
# cd /usr/ports/databases/rocksdb9 && make install clean# make -C /usr/ports/databases/rocksdb9 config # change options first
- Size
- 161 MiB download · 1.3 GiB installed
- Depends on
- archivers/liblz4 1.10.0_2,1, archivers/snappy 1.3.1, archivers/zstd 1.5.7_2, devel/gflags 2.3.1
- License
- APACHE20 or GPLv2
- Options
- 2 of 3 on in the package: LZ4 ZSTD
Show the 1 options that are off
DEBUG
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 9.11.2_1 | 9.11.2_1 | – |
| FreeBSD 15 | 9.11.2_1 | 9.11.2_1 | – |
| FreeBSD 14 | 9.11.2_1 | 9.11.2_1 | 9.11.2_1 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 9.11.2_1 | 9.11.2_1 | – |
| FreeBSD 14 | 9.11.2_1 | 9.11.2_1 | 9.11.2_1 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 9.11.2_1.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (3)
devel/gflags: Update to 2.3.0 - Bump PORTREVISION of dependent ports for shlib change Changes: https://github.com/gflags/gflags/releases9d1ed2172a
databases/rocksdb9: Add rocksdb9 9.11.2 (copied from rocksdb) - Add PORTSCOUT97687d8c88