Advertisement
Guest User

rocksdb-ldb 7.8.3-1 build failure

a guest
Sep 10th, 2024
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.68 KB | Software | 0 0
  1. ❯ paru -S --chroot rocksdb-ldb
  2. :: Resolving dependencies...
  3. :: Calculating conflicts...
  4. :: Calculating inner conflicts...
  5.  
  6. Aur (1) rocksdb-ldb-7.8.3-1
  7.  
  8. :: Proceed to review? [Y/n]:
  9.  
  10. :: Downloading PKGBUILDs...
  11. PKGBUILDs up to date
  12. nothing new to review
  13. fetching devel info...
  14. :: Synchronizing package databases...
  15. core is up to date
  16. extra is up to date
  17. multilib is up to date
  18. :: Starting full system upgrade...
  19. there is nothing to do
  20. ==> Synchronizing chroot copy [/var/lib/aurbuild/x86_64/root] -> [zen]...done
  21. :: Synchronizing package databases...
  22. core is up to date
  23. extra is up to date
  24. multilib is up to date
  25. :: Starting full system upgrade...
  26. there is nothing to do
  27. ==> Making package: rocksdb-ldb 7.8.3-1 (2024. szept. 10., kedd, 12:22:39 CEST)
  28. ==> Retrieving sources...
  29. -> Found v7.8.3.tar.gz
  30. ==> Validating source files with sha256sums...
  31. v7.8.3.tar.gz ... Passed
  32. ==> Making package: rocksdb-ldb 7.8.3-1 (Tue Sep 10 12:22:41 2024)
  33. ==> Checking runtime dependencies...
  34. ==> Installing missing dependencies...
  35. resolving dependencies...
  36. looking for conflicting packages...
  37.  
  38. Packages (2) gflags-2.2.2-5 snappy-1.1.10-1
  39.  
  40. Total Installed Size: 1.11 MiB
  41.  
  42. :: Proceed with installation? [Y/n]
  43. (2/2) checking keys in keyring [######################] 100%
  44. (2/2) checking package integrity [######################] 100%
  45. (2/2) loading package files [######################] 100%
  46. (2/2) checking for file conflicts [######################] 100%
  47. (2/2) checking available disk space [######################] 100%
  48. :: Processing package changes...
  49. (1/2) installing snappy [######################] 100%
  50. (2/2) installing gflags [######################] 100%
  51. ==> Checking buildtime dependencies...
  52. ==> Retrieving sources...
  53. -> Found v7.8.3.tar.gz
  54. ==> WARNING: Skipping all source file integrity checks.
  55. ==> Extracting sources...
  56. -> Extracting v7.8.3.tar.gz with bsdtar
  57. ==> Sources are ready.
  58. rocksdb-ldb-7.8.3-1: parsing pkg list...
  59. ==> Making package: rocksdb-ldb 7.8.3-1 (2024. szept. 10., kedd, 12:22:43 CEST)
  60. ==> Retrieving sources...
  61. -> Found v7.8.3.tar.gz
  62. ==> Validating source files with sha256sums...
  63. v7.8.3.tar.gz ... Passed
  64. ==> Making package: rocksdb-ldb 7.8.3-1 (Tue Sep 10 12:22:46 2024)
  65. ==> Checking runtime dependencies...
  66. ==> Checking buildtime dependencies...
  67. ==> WARNING: Using existing $srcdir/ tree
  68. ==> Starting build()...
  69. which: no python3 in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
  70. which: no python in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
  71. $DEBUG_LEVEL is 0
  72. Makefile:318: Warning: /build/rocksdb-ldb/src=/usr/src/debug/rocksdb-ldb does not exist
  73. rm -rf bzip2* snappy* zlib* lz4* zstd*
  74. echo shared=librocksdb.so librocksdb.so.7 librocksdb.so.7.8 librocksdb.so.7.8.3 librocksdb_test.so librocksdb_tools.so librocksdb_stress.so
  75. shared=librocksdb.so librocksdb.so.7 librocksdb.so.7.8 librocksdb.so.7.8.3 librocksdb_test.so librocksdb_tools.so librocksdb_stress.so
  76. echo static=librocksdb.a librocksdb_test.a librocksdb_tools.a librocksdb_stress.a
  77. static=librocksdb.a librocksdb_test.a librocksdb_tools.a librocksdb_stress.a
  78. rm -f cache_bench range_del_aggregator_bench memtablerep_bench table_reader_bench db_bench filter_bench persistent_cache_bench db_stress blob_dump block_cache_trace_analyzer db_repl_stress db_sanity_test ldb io_tracer_parser sst_dump write_stress rocksdb_dump rocksdb_undump trace_analyzer io_tracer_parser cache_test cache_reservation_manager_test lru_cache_test compressed_secondary_cache_test blob_counting_iterator_test blob_file_addition_test blob_file_builder_test blob_file_cache_test blob_file_garbage_test blob_file_reader_test blob_garbage_meter_test blob_source_test db_blob_basic_test db_blob_compaction_test db_blob_corruption_test db_blob_index_test column_family_test compact_files_test clipping_iterator_test compaction_iterator_test compaction_job_test compaction_job_stats_test compaction_picker_test compaction_service_test tiered_compaction_test comparator_db_test corruption_test cuckoo_table_db_test db_basic_test db_block_cache_test db_bloom_filter_test db_compaction_filter_test db_compaction_test db_dynamic_level_test db_encryption_test db_flush_test db_readonly_with_timestamp_test db_with_timestamp_basic_test import_column_family_test db_inplace_update_test db_io_failure_test db_iter_test db_iter_stress_test db_iterator_test db_kv_checksum_test db_log_iter_test db_memtable_test db_merge_operator_test db_merge_operand_test db_options_test db_properties_test db_range_del_test db_rate_limiter_test db_secondary_test db_sst_test db_statistics_test db_table_properties_test db_tailing_iter_test db_test db_test2 db_logical_block_size_cache_test db_universal_compaction_test db_wal_test db_with_timestamp_compaction_test db_write_buffer_manager_test db_write_test dbformat_test deletefile_test error_handler_fs_test external_sst_file_basic_test external_sst_file_test fault_injection_test file_indexer_test filename_test flush_job_test listener_test log_test manual_compaction_test memtable_list_test merge_helper_test merge_test obsolete_files_test options_file_test perf_context_test periodic_task_scheduler_test plain_table_db_test prefix_test repair_test range_del_aggregator_test range_tombstone_fragmenter_test seqno_time_test table_properties_collector_test version_builder_test version_edit_test version_set_test wal_manager_test db_wide_basic_test wide_column_serialization_test write_batch_test write_callback_test write_controller_test env_basic_test env_test io_posix_test mock_env_test delete_scheduler_test prefetch_test random_access_file_reader_test auto_roll_logger_test env_logger_test event_logger_test arena_test memory_allocator_test inlineskiplist_test skiplist_test write_buffer_manager_test histogram_test iostats_context_test statistics_test stats_history_test configurable_test customizable_test options_settable_test options_test block_based_table_reader_test block_test data_block_hash_index_test full_filter_block_test partitioned_filter_block_test cleanable_test cuckoo_table_builder_test cuckoo_table_reader_test merger_test sst_file_reader_test table_test block_fetcher_test testutil_test block_cache_trace_analyzer_test io_tracer_parser_test ldb_cmd_test reduce_levels_test sst_dump_test trace_analyzer_test block_cache_tracer_test io_tracer_test autovector_test bloom_test coding_test crc32c_test defer_test dynamic_bloom_test filelock_test file_reader_writer_test hash_test heap_test random_test rate_limiter_test repeatable_thread_test ribbon_test slice_test slice_transform_test timer_queue_test timer_test thread_list_test thread_local_test work_queue_test agg_merge_test backup_engine_test blob_db_test cassandra_format_test cassandra_functional_test cassandra_row_merge_test cassandra_serialize_test checkpoint_test env_timed_test memory_test stringappend_test object_registry_test option_change_migration_test options_util_test hash_table_test persistent_cache_test cache_simulator_test sim_cache_test compact_on_deletion_collector_test optimistic_transaction_test range_locking_test transaction_test point_lock_manager_test write_prepared_transaction_test write_unprepared_transaction_test write_committed_transaction_ts_test timestamped_snapshot_test ttl_test util_merge_operators_test write_batch_with_index_test c_test cache_test cache_reservation_manager_test lru_cache_test compressed_secondary_cache_test blob_counting_iterator_test blob_file_addition_test blob_file_builder_test blob_file_cache_test blob_file_garbage_test blob_file_reader_test blob_garbage_meter_test blob_source_test db_blob_basic_test db_blob_compaction_test db_blob_corruption_test db_blob_index_test column_family_test compact_files_test clipping_iterator_test compaction_iterator_test compaction_job_test compaction_job_stats_test compaction_picker_test compaction_service_test tiered_compaction_test comparator_db_test corruption_test cuckoo_table_db_test db_basic_test db_block_cache_test db_compaction_filter_test db_compaction_test db_dynamic_level_test db_encryption_test db_flush_test db_readonly_with_timestamp_test db_with_timestamp_basic_test import_column_family_test db_inplace_update_test db_io_failure_test db_iter_test db_iter_stress_test db_iterator_test db_kv_checksum_test db_log_iter_test db_memtable_test db_merge_operator_test db_merge_operand_test db_options_test db_properties_test db_range_del_test db_rate_limiter_test db_secondary_test db_sst_test db_statistics_test db_table_properties_test db_tailing_iter_test db_test db_test2 db_logical_block_size_cache_test db_universal_compaction_test db_wal_test db_with_timestamp_compaction_test db_write_buffer_manager_test db_write_test dbformat_test error_handler_fs_test external_sst_file_basic_test external_sst_file_test fault_injection_test file_indexer_test filename_test flush_job_test listener_test log_test manual_compaction_test memtable_list_test merge_helper_test merge_test obsolete_files_test options_file_test perf_context_test periodic_task_scheduler_test plain_table_db_test prefix_test repair_test range_del_aggregator_test range_tombstone_fragmenter_test seqno_time_test table_properties_collector_test version_builder_test version_edit_test version_set_test wal_manager_test db_wide_basic_test wide_column_serialization_test write_batch_test write_callback_test write_controller_test env_basic_test io_posix_test mock_env_test delete_scheduler_test prefetch_test random_access_file_reader_test auto_roll_logger_test env_logger_test event_logger_test arena_test memory_allocator_test inlineskiplist_test skiplist_test write_buffer_manager_test histogram_test iostats_context_test statistics_test stats_history_test configurable_test customizable_test options_settable_test options_test block_based_table_reader_test block_test data_block_hash_index_test full_filter_block_test partitioned_filter_block_test cleanable_test cuckoo_table_builder_test cuckoo_table_reader_test merger_test sst_file_reader_test table_test block_fetcher_test testutil_test block_cache_trace_analyzer_test io_tracer_parser_test ldb_cmd_test reduce_levels_test sst_dump_test trace_analyzer_test block_cache_tracer_test io_tracer_test autovector_test bloom_test coding_test crc32c_test defer_test dynamic_bloom_test filelock_test file_reader_writer_test hash_test heap_test random_test rate_limiter_test repeatable_thread_test ribbon_test slice_test slice_transform_test timer_queue_test timer_test thread_list_test thread_local_test work_queue_test agg_merge_test backup_engine_test blob_db_test cassandra_format_test cassandra_functional_test cassandra_row_merge_test cassandra_serialize_test checkpoint_test env_timed_test memory_test stringappend_test object_registry_test option_change_migration_test options_util_test hash_table_test persistent_cache_test cache_simulator_test sim_cache_test compact_on_deletion_collector_test optimistic_transaction_test range_locking_test transaction_test point_lock_manager_test write_prepared_transaction_test write_unprepared_transaction_test write_committed_transaction_ts_test timestamped_snapshot_test ttl_test util_merge_operators_test write_batch_with_index_test librocksdb.a librocksdb_test.a librocksdb_tools.a librocksdb_stress.a librocksdb.so librocksdb.so.7 librocksdb.so.7.8 librocksdb.so.7.8.3 librocksdb_test.so librocksdb_tools.so librocksdb_stress.so ribbon_bench db_basic_bench
  79. rm -rf make_config.mk rocksdb.pc util/build_version.cc t LOG /dev/shm/rocksdb.UUN7 unity.cc ios-x86 ios-arm scan_build_report
  80. find . -name "*.[oda]" -exec rm -f {} \;
  81. find . -type f \( -name "*.gcda" -o -name "*.gcno" \) -exec rm -f {} \;
  82. rm -rf jl jls
  83. cd java && make clean
  84. make[1]: Entering directory '/build/rocksdb-ldb/src/rocksdb-7.8.3/java'
  85. rm -rf ./include
  86. rm -rf target
  87. rm -rf benchmark/target
  88. rm -rf samples/target
  89. rm -rf test-libs
  90. make[1]: Leaving directory '/build/rocksdb-ldb/src/rocksdb-7.8.3/java'
  91. which: no python3 in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
  92. which: no python in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
  93. $DEBUG_LEVEL is 0
  94. Makefile:318: Warning: /build/rocksdb-ldb/src=/usr/src/debug/rocksdb-ldb does not exist
  95. which: no python3 in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
  96. which: no python in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
  97. $DEBUG_LEVEL is 0
  98. Makefile:318: Warning: /build/rocksdb-ldb/src=/usr/src/debug/rocksdb-ldb does not exist
  99. CC tools/ldb.o
  100. CC tools/io_tracer_parser_tool.o
  101. CC tools/ldb_cmd.o
  102. CC tools/ldb_tool.o
  103. CC tools/sst_dump_tool.o
  104. CC utilities/blob_db/blob_dump_tool.o
  105. CC cache/cache.o
  106. CC cache/cache_entry_roles.o
  107. CC cache/cache_key.o
  108. CC cache/cache_reservation_manager.o
  109. CC cache/charged_cache.o
  110. CC cache/clock_cache.o
  111. CC cache/fast_lru_cache.o
  112. CC cache/lru_cache.o
  113. CC cache/compressed_secondary_cache.o
  114. CC cache/sharded_cache.o
  115. CC db/arena_wrapped_db_iter.o
  116. CC db/blob/blob_contents.o
  117. CC db/blob/blob_fetcher.o
  118. CC db/blob/blob_file_addition.o
  119. CC db/blob/blob_file_builder.o
  120. CC db/blob/blob_file_cache.o
  121. CC db/blob/blob_file_garbage.o
  122. CC db/blob/blob_file_meta.o
  123. CC db/blob/blob_file_reader.o
  124. CC db/blob/blob_garbage_meter.o
  125. CC db/blob/blob_log_format.o
  126. CC db/blob/blob_log_sequential_reader.o
  127. CC db/blob/blob_log_writer.o
  128. CC db/blob/blob_source.o
  129. CC db/blob/prefetch_buffer_collection.o
  130. CC db/builder.o
  131. CC db/c.o
  132. CC db/column_family.o
  133. CC db/compaction/compaction.o
  134. CC db/compaction/compaction_iterator.o
  135. CC db/compaction/compaction_job.o
  136. CC db/compaction/compaction_picker.o
  137. CC db/compaction/compaction_picker_fifo.o
  138. CC db/compaction/compaction_picker_level.o
  139. CC db/compaction/compaction_picker_universal.o
  140. CC db/compaction/compaction_service_job.o
  141. CC db/compaction/compaction_state.o
  142. CC db/compaction/compaction_outputs.o
  143. CC db/compaction/sst_partitioner.o
  144. CC db/compaction/subcompaction_state.o
  145. CC db/convenience.o
  146. CC db/db_filesnapshot.o
  147. CC db/db_impl/compacted_db_impl.o
  148. CC db/db_impl/db_impl.o
  149. CC db/db_impl/db_impl_compaction_flush.o
  150. CC db/db_impl/db_impl_debug.o
  151. CC db/db_impl/db_impl_experimental.o
  152. CC db/db_impl/db_impl_files.o
  153. CC db/db_impl/db_impl_open.o
  154. CC db/db_impl/db_impl_readonly.o
  155. CC db/db_impl/db_impl_secondary.o
  156. CC db/db_impl/db_impl_write.o
  157. CC db/db_info_dumper.o
  158. CC db/db_iter.o
  159. CC db/dbformat.o
  160. CC db/error_handler.o
  161. CC db/event_helpers.o
  162. CC db/experimental.o
  163. CC db/external_sst_file_ingestion_job.o
  164. CC db/file_indexer.o
  165. CC db/flush_job.o
  166. CC db/flush_scheduler.o
  167. CC db/forward_iterator.o
  168. CC db/import_column_family_job.o
  169. CC db/internal_stats.o
  170. CC db/logs_with_prep_tracker.o
  171. CC db/log_reader.o
  172. CC db/log_writer.o
  173. CC db/malloc_stats.o
  174. CC db/memtable.o
  175. CC db/memtable_list.o
  176. CC db/merge_helper.o
  177. CC db/merge_operator.o
  178. CC db/output_validator.o
  179. CC db/periodic_task_scheduler.o
  180. CC db/range_del_aggregator.o
  181. CC db/range_tombstone_fragmenter.o
  182. CC db/repair.o
  183. CC db/seqno_to_time_mapping.o
  184. CC db/snapshot_impl.o
  185. CC db/table_cache.o
  186. CC db/table_properties_collector.o
  187. CC db/transaction_log_impl.o
  188. CC db/trim_history_scheduler.o
  189. CC db/version_builder.o
  190. CC db/version_edit.o
  191. CC db/version_edit_handler.o
  192. CC db/version_set.o
  193. CC db/wal_edit.o
  194. CC db/wal_manager.o
  195. CC db/wide/wide_column_serialization.o
  196. CC db/wide/wide_columns.o
  197. CC db/write_batch.o
  198. CC db/write_batch_base.o
  199. CC db/write_controller.o
  200. CC db/write_thread.o
  201. CC env/composite_env.o
  202. CC env/env.o
  203. CC env/env_chroot.o
  204. CC env/env_encryption.o
  205. CC env/env_posix.o
  206. CC env/file_system.o
  207. CC env/fs_posix.o
  208. CC env/fs_remap.o
  209. CC env/file_system_tracer.o
  210. CC env/io_posix.o
  211. CC env/mock_env.o
  212. CC env/unique_id_gen.o
  213. CC file/delete_scheduler.o
  214. CC file/file_prefetch_buffer.o
  215. CC file/file_util.o
  216. CC file/filename.o
  217. CC file/line_file_reader.o
  218. CC file/random_access_file_reader.o
  219. CC file/read_write_util.o
  220. CC file/readahead_raf.o
  221. CC file/sequence_file_reader.o
  222. CC file/sst_file_manager_impl.o
  223. CC file/writable_file_writer.o
  224. CC logging/auto_roll_logger.o
  225. CC logging/event_logger.o
  226. CC logging/log_buffer.o
  227. CC memory/arena.o
  228. CC memory/concurrent_arena.o
  229. CC memory/jemalloc_nodump_allocator.o
  230. CC memory/memkind_kmem_allocator.o
  231. CC memory/memory_allocator.o
  232. CC memtable/alloc_tracker.o
  233. CC memtable/hash_linklist_rep.o
  234. CC memtable/hash_skiplist_rep.o
  235. CC memtable/skiplistrep.o
  236. CC memtable/vectorrep.o
  237. CC memtable/write_buffer_manager.o
  238. CC monitoring/histogram.o
  239. CC monitoring/histogram_windowing.o
  240. CC monitoring/in_memory_stats_history.o
  241. CC monitoring/instrumented_mutex.o
  242. CC monitoring/iostats_context.o
  243. CC monitoring/perf_context.o
  244. CC monitoring/perf_level.o
  245. CC monitoring/persistent_stats_history.o
  246. CC monitoring/statistics.o
  247. CC monitoring/thread_status_impl.o
  248. CC monitoring/thread_status_updater.o
  249. CC monitoring/thread_status_updater_debug.o
  250. CC monitoring/thread_status_util.o
  251. CC monitoring/thread_status_util_debug.o
  252. CC options/cf_options.o
  253. CC options/configurable.o
  254. CC options/customizable.o
  255. CC options/db_options.o
  256. CC options/options.o
  257. CC options/options_helper.o
  258. CC options/options_parser.o
  259. CC port/port_posix.o
  260. CC port/win/env_default.o
  261. CC port/win/env_win.o
  262. CC port/win/io_win.o
  263. CC port/win/port_win.o
  264. CC port/win/win_logger.o
  265. CC port/win/win_thread.o
  266. CC port/stack_trace.o
  267. CC table/adaptive/adaptive_table_factory.o
  268. CC table/block_based/binary_search_index_reader.o
  269. CC table/block_based/block.o
  270. CC table/block_based/block_based_table_builder.o
  271. CC table/block_based/block_based_table_factory.o
  272. CC table/block_based/block_based_table_iterator.o
  273. CC table/block_based/block_based_table_reader.o
  274. CC table/block_based/block_builder.o
  275. CC table/block_based/block_prefetcher.o
  276. CC table/block_based/block_prefix_index.o
  277. CC table/block_based/data_block_hash_index.o
  278. CC table/block_based/data_block_footer.o
  279. In file included from table/block_based/data_block_hash_index.cc:9:
  280. ./table/block_based/data_block_hash_index.h:65:7: error: ‘uint8_t’ does not name a type
  281. 65 | const uint8_t kNoEntry = 255;
  282. | ^~~~~~~
  283. ./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>’
  284. +++ |+#include <cstdint>
  285. 1 | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
  286. ./table/block_based/data_block_hash_index.h:66:7: error: ‘uint8_t’ does not name a type
  287. 66 | const uint8_t kCollision = 254;
  288. | ^~~~~~~
  289. ./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>’
  290. ./table/block_based/data_block_hash_index.h:67:7: error: ‘uint8_t’ does not name a type
  291. 67 | const uint8_t kMaxRestartSupportedByHashIndex = 253;
  292. | ^~~~~~~
  293. ./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>’
  294. ./table/block_based/data_block_hash_index.h:112:25: error: ‘uint32_t’ was not declared in this scope
  295. 112 | std::vector<std::pair<uint32_t, uint8_t>> hash_and_restart_pairs_;
  296. | ^~~~~~~~
  297. ./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>’
  298. ./table/block_based/data_block_hash_index.h:112:35: error: ‘uint8_t’ was not declared in this scope
  299. 112 | std::vector<std::pair<uint32_t, uint8_t>> hash_and_restart_pairs_;
  300. | ^~~~~~~
  301. ./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>’
  302. ./table/block_based/data_block_hash_index.h:112:35: error: template argument 1 is invalid
  303. ./table/block_based/data_block_hash_index.h:112:35: error: template argument 2 is invalid
  304. ./table/block_based/data_block_hash_index.h:112:42: error: template argument 1 is invalid
  305. 112 | std::vector<std::pair<uint32_t, uint8_t>> hash_and_restart_pairs_;
  306. | ^~
  307. ./table/block_based/data_block_hash_index.h:112:42: error: template argument 2 is invalid
  308. ./table/block_based/data_block_hash_index.h: In member function ‘size_t rocksdb::DataBlockHashIndexBuilder::EstimateSize() const’:
  309. ./table/block_based/data_block_hash_index.h:93:5: error: ‘uint16_t’ was not declared in this scope
  310. 93 | uint16_t estimated_num_buckets =
  311. | ^~~~~~~~
  312. ./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>’
  313. ./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_’?
  314. 97 | estimated_num_buckets |= 1;
  315. | ^~~~~~~~~~~~~~~~~~~~~
  316. | estimated_num_buckets_
  317. ./table/block_based/data_block_hash_index.h:100:63: error: ‘uint8_t’ was not declared in this scope
  318. 100 | static_cast<size_t>(estimated_num_buckets * sizeof(uint8_t));
  319. | ^~~~~~~
  320. ./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>’
  321. ./table/block_based/data_block_hash_index.h: At global scope:
  322. ./table/block_based/data_block_hash_index.h:120:37: error: ‘uint16_t’ has not been declared
  323. 120 | void Initialize(const char* data, uint16_t size, uint16_t* map_offset);
  324. | ^~~~~~~~
  325. ./table/block_based/data_block_hash_index.h:120:52: error: ‘uint16_t’ has not been declared
  326. 120 | void Initialize(const char* data, uint16_t size, uint16_t* map_offset);
  327. | ^~~~~~~~
  328. ./table/block_based/data_block_hash_index.h:122:3: error: ‘uint8_t’ does not name a type
  329. 122 | uint8_t Lookup(const char* data, uint32_t map_offset, const Slice& key) const;
  330. | ^~~~~~~
  331. ./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>’
  332. ./table/block_based/data_block_hash_index.h:133:3: error: ‘uint16_t’ does not name a type
  333. 133 | uint16_t num_buckets_;
  334. | ^~~~~~~~
  335. ./table/block_based/data_block_hash_index.h:133:3: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
  336. ./table/block_based/data_block_hash_index.h: In constructor ‘rocksdb::DataBlockHashIndex::DataBlockHashIndex()’:
  337. ./table/block_based/data_block_hash_index.h:118:26: error: class ‘rocksdb::DataBlockHashIndex’ does not have any field named ‘num_buckets_’
  338. 118 | DataBlockHashIndex() : num_buckets_(0) {}
  339. | ^~~~~~~~~~~~
  340. ./table/block_based/data_block_hash_index.h: In member function ‘bool rocksdb::DataBlockHashIndex::Valid()’:
  341. ./table/block_based/data_block_hash_index.h:124:32: error: ‘num_buckets_’ was not declared in this scope
  342. 124 | inline bool Valid() { return num_buckets_ != 0; }
  343. | ^~~~~~~~~~~~
  344. table/block_based/data_block_hash_index.cc: In member function ‘void rocksdb::DataBlockHashIndexBuilder::Add(const rocksdb::Slice&, size_t)’:
  345. table/block_based/data_block_hash_index.cc:18:23: error: ‘kMaxRestartSupportedByHashIndex’ was not declared in this scope; did you mean ‘kMaxBlockSizeSupportedByHashIndex’?
  346. 18 | if (restart_index > kMaxRestartSupportedByHashIndex) {
  347. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  348. | kMaxBlockSizeSupportedByHashIndex
  349. table/block_based/data_block_hash_index.cc:24:27: error: request for member ‘emplace_back’ in ‘((rocksdb::DataBlockHashIndexBuilder*)this)->rocksdb::DataBlockHashIndexBuilder::hash_and_restart_pairs_’, which is of non-class type ‘int’
  350. 24 | hash_and_restart_pairs_.emplace_back(hash_value,
  351. | ^~~~~~~~~~~~
  352. table/block_based/data_block_hash_index.cc: In member function ‘void rocksdb::DataBlockHashIndexBuilder::Finish(std::string&)’:
  353. table/block_based/data_block_hash_index.cc:43:45: error: ‘kNoEntry’ was not declared in this scope
  354. 43 | std::vector<uint8_t> buckets(num_buckets, kNoEntry);
  355. | ^~~~~~~~
  356. table/block_based/data_block_hash_index.cc:45:22: error: ‘begin’ was not declared in this scope; did you mean ‘std::begin’?
  357. 45 | for (auto& entry : hash_and_restart_pairs_) {
  358. | ^~~~~~~~~~~~~~~~~~~~~~~
  359. | std::begin
  360. In file included from /usr/include/c++/14.2.1/string:53,
  361. from table/block_based/data_block_hash_index.cc:5:
  362. /usr/include/c++/14.2.1/bits/range_access.h:114:37: note: ‘std::begin’ declared here
  363. 114 | template<typename _Tp> const _Tp* begin(const valarray<_Tp>&) noexcept;
  364. | ^~~~~
  365. table/block_based/data_block_hash_index.cc:45:22: error: ‘end’ was not declared in this scope; did you mean ‘std::end’?
  366. 45 | for (auto& entry : hash_and_restart_pairs_) {
  367. | ^~~~~~~~~~~~~~~~~~~~~~~
  368. | std::end
  369. /usr/include/c++/14.2.1/bits/range_access.h:116:37: note: ‘std::end’ declared here
  370. 116 | template<typename _Tp> const _Tp* end(const valarray<_Tp>&) noexcept;
  371. | ^~~
  372. table/block_based/data_block_hash_index.cc:53:27: error: ‘kCollision’ was not declared in this scope
  373. 53 | buckets[buck_idx] = kCollision;
  374. | ^~~~~~~~~~
  375. table/block_based/data_block_hash_index.cc: In member function ‘void rocksdb::DataBlockHashIndexBuilder::Reset()’:
  376. table/block_based/data_block_hash_index.cc:72:27: error: request for member ‘clear’ in ‘((rocksdb::DataBlockHashIndexBuilder*)this)->rocksdb::DataBlockHashIndexBuilder::hash_and_restart_pairs_’, which is of non-class type ‘int’
  377. 72 | hash_and_restart_pairs_.clear();
  378. | ^~~~~
  379. table/block_based/data_block_hash_index.cc: At global scope:
  380. table/block_based/data_block_hash_index.cc:75:6: error: no declaration matches ‘void rocksdb::DataBlockHashIndex::Initialize(const char*, uint16_t, uint16_t*)’
  381. 75 | void DataBlockHashIndex::Initialize(const char* data, uint16_t size,
  382. | ^~~~~~~~~~~~~~~~~~
  383. ./table/block_based/data_block_hash_index.h:120:8: note: candidate is: ‘void rocksdb::DataBlockHashIndex::Initialize(const char*, int, int*)’
  384. 120 | void Initialize(const char* data, uint16_t size, uint16_t* map_offset);
  385. | ^~~~~~~~~~
  386. ./table/block_based/data_block_hash_index.h:116:7: note: ‘class rocksdb::DataBlockHashIndex’ defined here
  387. 116 | class DataBlockHashIndex {
  388. | ^~~~~~~~~~~~~~~~~~
  389. table/block_based/data_block_hash_index.cc:85:9: error: no declaration matches ‘uint8_t rocksdb::DataBlockHashIndex::Lookup(const char*, uint32_t, const rocksdb::Slice&) const’
  390. 85 | uint8_t DataBlockHashIndex::Lookup(const char* data, uint32_t map_offset,
  391. | ^~~~~~~~~~~~~~~~~~
  392. table/block_based/data_block_hash_index.cc:85:9: note: no functions named ‘uint8_t rocksdb::DataBlockHashIndex::Lookup(const char*, uint32_t, const rocksdb::Slice&) const’
  393. ./table/block_based/data_block_hash_index.h:116:7: note: ‘class rocksdb::DataBlockHashIndex’ defined here
  394. 116 | class DataBlockHashIndex {
  395. | ^~~~~~~~~~~~~~~~~~
  396. make: *** [Makefile:2529: table/block_based/data_block_hash_index.o] Error 1
  397. make: *** Waiting for unfinished jobs....
  398. ==> ERROR: A failure occurred in build().
  399. Aborting...
  400. ==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/zen/build
  401. error: failed to build 'rocksdb-ldb-7.8.3-1': failed to run: makechrootpkg -r /var/lib/aurbuild/x86_64 -d /var/cache/pacman/pkg/ -- -feA --noconfirm --noprepare --holdver:
  402. error: packages failed to build: rocksdb-ldb-7.8.3-1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement