[MacPorts] #69079: rocksdb: test_util/mock_time_env.h:72:16: error: 'TimedWait' marked 'override' but does not override any member functions; test_util/secondary_cache_test_util.cc:41:23: error: unknown type name 'CacheTier'

MacPorts noreply at macports.org
Tue Jan 9 18:24:26 UTC 2024


#69079: rocksdb: test_util/mock_time_env.h:72:16: error: 'TimedWait' marked
'override' but does not override any member functions;
test_util/secondary_cache_test_util.cc:41:23: error: unknown type name
'CacheTier'
-------------------------+----------------------
  Reporter:  neverpanic  |      Owner:  stromnov
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  rocksdb     |
-------------------------+----------------------

Comment (by neverpanic):

 This happens because rocksdb picks up its own installed headers (from the
 previous version) before the ones in its source directory, so `#include
 "rocksdb/system_clock.h"` resolves to
 `/opt/local/include/rocksdb/system_clock.h`, which does not contain a
 declaration of `virtual bool TimedWait(port::CondVar*,
 std::chrono::microseconds)`. rocksdb's build system should put its own
 include paths in front of any externally specified source paths, such as
 `/opt/local/include`.

-- 
Ticket URL: <https://trac.macports.org/ticket/69079#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list