Search Criteria
Package Details: rocksdb-ldb 7.8.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/rocksdb-ldb.git (read-only, click to copy) |
---|---|
Package Base: | rocksdb-ldb |
Description: | The ldb from the RocksDB storage |
Upstream URL: | http://rocksdb.org |
Keywords: | ldb rocksdb |
Licenses: | Apache, leveldb |
Provides: | rocksdb-ldb |
Submitter: | kostyarin |
Maintainer: | kostyarin |
Last Packager: | kostyarin |
Votes: | 1 |
Popularity: | 0.000000 |
First Submitted: | 2020-02-17 11:27 (UTC) |
Last Updated: | 2022-12-16 06:38 (UTC) |
Dependencies (9)
- bzip2 (bzip2-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- gflags (gflags-gitAUR)
- lz4 (lz4-gitAUR)
- snappy (snappy-gitAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- diffutils (make)
- gcc (gcc-gitAUR, gccrs-gitAUR, gcc11AUR, gcc-snapshotAUR) (make)
- make (make-gitAUR) (make)
Latest Comments
Zentropivity commented on 2024-09-10 10:35 (UTC) (edited on 2024-09-10 13:28 (UTC) by Zentropivity)
7.8.3-1 fails to build for me using
paru -S --chroot rocksdb-ldb
on latest archlinux. (fails without chroot too)Full log on this link
Probably the relevant part of the log
... CC table/block_based/data_block_footer.o In file included from table/block_based/data_block_hash_index.cc:9: ./table/block_based/data_block_hash_index.h:65:7: error: ‘uint8_t’ does not name a type 65 | const uint8_t kNoEntry = 255; | ^~~~~~~ ./table/block_based/data_block_hash_index.h:1:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ +++ |+#include <cstdint> 1 | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved. ./table/block_based/data_block_hash_index.h:66:7: error: ‘uint8_t’ does not name a type 66 | const uint8_t kCollision = 254; | ^~~~~~~ ./table/block_based/data_block_hash_index.h:66:7: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ ./table/block_based/data_block_hash_index.h:67:7: error: ‘uint8_t’ does not name a type 67 | const uint8_t kMaxRestartSupportedByHashIndex = 253; | ^~~~~~~ ./table/block_based/data_block_hash_index.h:67:7: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ ./table/block_based/data_block_hash_index.h:112:25: error: ‘uint32_t’ was not declared in this scope 112 | std::vector<std::pair<uint32_t, uint8_t>> hash_and_restart_pairs_; | ^~~~~~~~ ./table/block_based/data_block_hash_index.h:112:25: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ ./table/block_based/data_block_hash_index.h:112:35: error: ‘uint8_t’ was not declared in this scope 112 | std::vector<std::pair<uint32_t, uint8_t>> hash_and_restart_pairs_; | ^~~~~~~ ./table/block_based/data_block_hash_index.h:112:35: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ ./table/block_based/data_block_hash_index.h:112:35: error: template argument 1 is invalid ./table/block_based/data_block_hash_index.h:112:35: error: template argument 2 is invalid ./table/block_based/data_block_hash_index.h:112:42: error: template argument 1 is invalid 112 | std::vector<std::pair<uint32_t, uint8_t>> hash_and_restart_pairs_; | ^~ ./table/block_based/data_block_hash_index.h:112:42: error: template argument 2 is invalid ./table/block_based/data_block_hash_index.h: In member function ‘size_t rocksdb::DataBlockHashIndexBuilder::EstimateSize() const’: ./table/block_based/data_block_hash_index.h:93:5: error: ‘uint16_t’ was not declared in this scope 93 | uint16_t estimated_num_buckets = | ^~~~~~~~ ./table/block_based/data_block_hash_index.h:93:5: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ ./table/block_based/data_block_hash_index.h:97:5: error: ‘estimated_num_buckets’ was not declared in this scope; did you mean ‘estimated_num_buckets_’? 97 | estimated_num_buckets |= 1; | ^~~~~~~~~~~~~~~~~~~~~ | estimated_num_buckets_ ./table/block_based/data_block_hash_index.h:100:63: error: ‘uint8_t’ was not declared in this scope 100 | static_cast<size_t>(estimated_num_buckets * sizeof(uint8_t)); | ^~~~~~~ ./table/block_based/data_block_hash_index.h:100:63: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ ./table/block_based/data_block_hash_index.h: At global scope: ./table/block_based/data_block_hash_index.h:120:37: error: ‘uint16_t’ has not been declared 120 | void Initialize(const char* data, uint16_t size, uint16_t* map_offset); | ^~~~~~~~ ./table/block_based/data_block_hash_index.h:120:52: error: ‘uint16_t’ has not been declared 120 | void Initialize(const char* data, uint16_t size, uint16_t* map_offset); | ^~~~~~~~ ./table/block_based/data_block_hash_index.h:122:3: error: ‘uint8_t’ does not name a type 122 | uint8_t Lookup(const char* data, uint32_t map_offset, const Slice& key) const; | ^~~~~~~ ./table/block_based/data_block_hash_index.h:122:3: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ ...
EDIT: I hoped code would keep the endlines in the details xP
EDIT2: cloning from
git@github.com:facebook/rocksdb.git
and runningDEBUG_LEVEL=0 LIB_MODE=static make ldb
produces the ldb binary as it shouldkostyarin commented on 2022-05-31 02:51 (UTC)
Updated to v7.2.2/ Thanks to a81
kostyarin commented on 2020-08-28 20:04 (UTC)
Updated to v6.11.4. Thanks to PhCl.