From a clean checkout, running:
mkdir build cd build cmake -DHAVE_DIAGNOSTIC=1 -DENABLE_STRICT=1 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON . -G Ninja ../. ninja cd ../dist ./s_export
It complains:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= unexpected external symbols in the WiredTiger library ../build/libwiredtiger.so =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= __ut_block_first_srch __ut_block_off_srch __ut_block_off_srch_last __ut_block_size_srch __ut_ckpt_add_blkmod_entry __ut_ovfl_discard_verbose __ut_ovfl_discard_wrapup
This seems to be fallout from building the unit tests by default (s_export shouldn't find anything).