This started happening after WT-7420 was merged.
libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../../../ext/storage_sources/local_store -I../../.. -I../../.. -I../../../../src/include -std=c11 -Weverything -Werror -Wno-cast-align -Wno-documentation-unknown-command -Wno-format-nonliteral -Wno-packed -Wno-padded -Wno-reserved-id-macro -Wno-zero-length-array -Wno-cast-qual -Wno-thread-safety-analysis -Wno-disabled-macro-expansion -Wno-extra-semi-stmt -Wno-unknown-warning-option -Wno-poison-system-directories -MT local_store.lo -MD -MP -MF .deps/local_store.Tpo -c ../../../../ext/storage_sources/local_store/local_store.c -fno-common -DPIC -o .libs/local_store.o ../../../../ext/storage_sources/local_store/local_store.c:648:64: error: incompatible pointer types passing 'ssize_t *' (aka 'long *') to parameter of type 'wt_off_t *' (aka 'long long *') [-Werror,-Wincompatible-pointer-types] if ((ret = wt_fs->fs_size(wt_fs, session, flush->src_path, &file_size)) != 0) { ^~~~~~~~~~ 1 error generated. make[2]: *** [local_store.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2