RocksDB is an embeddable persistent key-value store for fast storage. RocksDB
can also be the foundation for a client-server database but our current focus is
on embedded workloads.
RocksDB builds on LevelDB to be scalable to run on servers with many CPU cores,
to efficiently use fast storage, to support IO-bound, in-memory and write-once
workloads, and to be flexible to allow for innovation.
===> The following configuration options are available for rocksdb-11.1.2_1:
DEBUG=off: Build with debugging support
LZ4=on: LZ4 compression support
ZSTD=on: Zstandard compression support
===> Use 'make config' to modify these settings
databases/rocksdb: add cmake config files
Also add dependencies on googletest and onetbb: when built outside
poudriere they are detected and compilation fails.
PR: 296732
Approved by: maintainer’s time-out
databases/rocksdb: Fix build with PIE
RocksDB's build_detect_platform sets PROFILING_FLAGS=-pg when the compiler
supports it. The two benchmark targets table_reader_bench and log_write_bench
are then linked with -pg, which causes the linker to pull in FreeBSD's gcrt1.o
(the profiling CRT). gcrt1.o contains R_X86_64_64 absolute relocations that are
incompatible with -pie, resulting in a link failure when WITH_PIE=yes is set.
PR: 295260
Approved by: sunpoet (maintainer)
Sponsored by: Netflix
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
Also move conditional flags for non sparc64/arm ARCH to fixed flags.
Reviewed by: brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
databases/rocksdb: Clean up Makefile
These lines are added in d7ec4632b50c4102ae08342d8b53ec9881e73f76 to find out
why it is broken on our package building clusters. It seems the problem was
fixed in b5c33f2db3696971ee290078164828d589062f2c.
databases/rocksdb: Fix build on i386
utilities/transactions/pessimistic_transaction.cc:691:25: error: implicit
conversion from 'type' (aka 'unsigned long long') to 'size_t' (aka 'unsigned
int') changes value from 18446744073709551615 to 4294967295
[-Werror,-Wconstant-conversion]
: std::numeric_limits<uint64_t>::max();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utilities/transactions/pessimistic_transaction.cc:766:23: error: implicit
conversion from 'type' (aka 'unsigned long long') to 'size_t' (aka 'unsigned
int') changes value from 18446744073709551615 to 4294967295
[-Werror,-Wconstant-conversion]
: std::numeric_limits<uint64_t>::max();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
databases/rocksdb: Update to 8.5.3
- Install librocksdb_test.so: it is required by table_reader_bench
(rocksdb-8.5.3)
/wrkdirs/usr/ports/databases/rocksdb/work/stage//usr/local/bin/table_reader_bench
- required shared library librocksdb_test.so not found
Changes: https://github.com/facebook/rocksdb/releases
databases/rocksdb: mark BROKEN
strip: open
/wrkdirs/usr/ports/databases/rocksdb/work/stage/usr/local/lib/librocksdb.so
failed: No such file or directory
Reported by: pkg-fallout
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
databases/rocksdb: Try to find the reason why it is broken on our package
building clusters
- Locate all shared libraries before running strip
- Clean up Makefile:
- Use INSTALL_LIB to install librocksdb_tools.so
- Remove PKGNAMESUFFIX: it is no-op after decouple rocksdb-lite from rocksdb
(09bd0656bb445fed1675360acc33460e6d6fde44 and
e4bc1f63b9dbdbde2463e8e4e33687aceb51bf1e)
from poudriere log [1]:
...
CCLD librocksdb.so.7.3.1
ln -fs librocksdb.so.7.3.1 librocksdb.so.7.3
ln -fs librocksdb.so.7.3.1 librocksdb.so.7
ln -fs librocksdb.so.7.3.1 librocksdb.so
...
[ -e librocksdb.so.7.3.1 ] && gmake install-shared || :
...
/usr/bin/strip
/wrkdirs/usr/ports/databases/rocksdb/work/stage/usr/local/lib/librocksdb.so
/wrkdirs/usr/ports/databases/rocksdb/work/stage/usr/local/lib/librocksdb_tools.so
strip: open
/wrkdirs/usr/ports/databases/rocksdb/work/stage/usr/local/lib/librocksdb.so
failed: No such file or directory
*** Error code 1
Stop.
make: stopped in /usr/ports/databases/rocksdb
Reference: http://beefy2.nyi.freebsd.org/data/123amd64-quarterly/3dc475798ba8/logs/rocksdb-7.3.1.log
[1]
databases/rocksdb: fix build on powerpc64*
Merge upstream commit that fixes build with LLVM on ppc64* (also affects other
systems) and add patch which fixes build specifically on FreeBSD (PR currently
waiting for acceptance).