[15:43:48.643] time ./configure \ [15:43:48.643] --host=x86_64-w64-mingw32 \ [15:43:48.643] --enable-cassert \ [15:43:48.643] --without-icu \ [15:43:48.643] CC="ccache x86_64-w64-mingw32-gcc" \ [15:43:48.643] CXX="ccache x86_64-w64-mingw32-g++" [15:43:48.737] checking build system type... x86_64-pc-linux-gnu [15:43:48.954] checking host system type... x86_64-w64-mingw32 [15:43:48.959] checking which template to use... win32 [15:43:48.960] checking whether NLS is wanted... no [15:43:48.960] checking for default port number... 5432 [15:43:48.966] checking for block size... 8kB [15:43:48.967] checking for segment size... 1GB [15:43:48.969] checking for WAL block size... 8kB [15:43:48.970] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [15:43:48.999] checking whether the C compiler works... yes [15:43:49.171] checking for C compiler default output file name... a.exe [15:43:49.172] checking for suffix of executables... .exe [15:43:49.212] checking whether we are cross compiling... yes [15:43:49.286] checking for suffix of object files... o [15:43:49.293] checking whether we are using the GNU C compiler... yes [15:43:49.298] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [15:43:49.303] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [15:43:49.311] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [15:43:49.364] checking whether we are using the GNU C++ compiler... yes [15:43:49.370] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [15:43:49.428] checking for gawk... no [15:43:49.428] checking for mawk... mawk [15:43:49.431] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [15:43:49.436] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [15:43:49.442] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [15:43:49.479] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [15:43:49.655] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [15:43:49.661] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [15:43:49.666] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [15:43:49.674] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [15:43:49.681] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [15:43:49.688] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [15:43:49.694] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [15:43:49.700] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [15:43:49.706] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [15:43:49.711] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [15:43:49.716] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [15:43:49.721] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [15:43:49.726] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [15:43:49.731] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [15:43:49.736] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [15:43:49.740] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [15:43:49.745] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [15:43:49.750] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [15:43:49.766] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [15:43:49.771] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [15:43:49.776] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [15:43:49.809] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [15:43:49.839] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [15:43:49.844] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [15:43:49.850] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [15:43:49.878] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [15:43:49.884] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [15:43:49.888] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [15:43:49.894] checking whether the C compiler still works... yes [15:43:49.948] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [15:43:50.007] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [15:43:50.007] checking pkg-config is at least version 0.9.0... yes [15:43:50.023] checking whether to build with ICU support... no [15:43:50.023] checking whether to build with Tcl... no [15:43:50.024] checking whether to build Perl modules... no [15:43:50.024] checking whether to build Python modules... no [15:43:50.024] checking whether to build with GSSAPI support... no [15:43:50.025] checking whether to build with PAM support... no [15:43:50.025] checking whether to build with BSD Authentication support... no [15:43:50.025] checking whether to build with LDAP support... no [15:43:50.025] checking whether to build with Bonjour support... no [15:43:50.025] checking whether to build with SELinux support... no [15:43:50.025] checking whether to build with systemd support... no [15:43:50.025] configure: WARNING: *** Readline does not work on MinGW --- disabling [15:43:50.025] checking whether to build with XML support... no [15:43:50.026] checking whether to build with LZ4 support... no [15:43:50.026] checking whether to build with ZSTD support... no [15:43:50.026] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [15:43:50.026] checking whether it is possible to strip libraries... yes [15:43:50.036] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [15:43:50.037] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [15:43:50.037] checking for a BSD-compatible install... /usr/bin/install -c [15:43:50.044] checking for tar... /usr/bin/tar [15:43:50.044] checking whether ln -s works... yes [15:43:50.044] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [15:43:50.046] checking for bison... /usr/bin/bison [15:43:50.048] configure: using bison (GNU Bison) 3.7.5 [15:43:50.050] checking for flex... /usr/bin/flex [15:43:50.060] configure: using flex 2.6.4 [15:43:50.060] checking for perl... /usr/bin/perl [15:43:50.063] configure: using perl 5.32.1 [15:43:50.065] checking for zic... /usr/sbin/zic [15:43:50.065] checking for a sed that does not truncate output... /usr/bin/sed [15:43:50.069] checking for grep that handles long lines and -e... /usr/bin/grep [15:43:50.070] checking for egrep... /usr/bin/grep -E [15:43:50.072] checking for ANSI C header files... yes [15:43:50.111] checking for sys/types.h... yes [15:43:50.126] checking for sys/stat.h... yes [15:43:50.139] checking for stdlib.h... yes [15:43:50.151] checking for string.h... yes [15:43:50.163] checking for memory.h... yes [15:43:50.175] checking for strings.h... yes [15:43:50.188] checking for inttypes.h... yes [15:43:50.201] checking for stdint.h... yes [15:43:50.212] checking for unistd.h... yes [15:43:50.225] checking for main in -lm... yes [15:43:50.264] checking for library containing setproctitle... no [15:43:50.340] checking for library containing dlsym... no [15:43:50.415] checking for library containing socket... -lws2_32 [15:43:50.529] checking for library containing getopt_long... none required [15:43:50.572] checking for library containing shm_open... no [15:43:50.649] checking for library containing shm_unlink... no [15:43:50.723] checking for library containing clock_gettime... no [15:43:50.798] checking for library containing shmget... no [15:43:50.869] checking for library containing backtrace_symbols... no [15:43:50.944] checking for library containing pthread_barrier_wait... -lpthread [15:43:51.018] checking for inflate in -lz... yes [15:43:51.059] checking for stdbool.h that conforms to C99... yes [15:43:51.069] checking for _Bool... yes [15:43:51.134] checking atomic.h usability... no [15:43:51.182] checking atomic.h presence... no [15:43:51.198] checking for atomic.h... no [15:43:51.200] checking copyfile.h usability... no [15:43:51.248] checking copyfile.h presence... no [15:43:51.265] checking for copyfile.h... no [15:43:51.267] checking execinfo.h usability... no [15:43:51.318] checking execinfo.h presence... no [15:43:51.335] checking for execinfo.h... no [15:43:51.337] checking getopt.h usability... yes [15:43:51.344] checking getopt.h presence... yes [15:43:51.357] checking for getopt.h... yes [15:43:51.363] checking ifaddrs.h usability... no [15:43:51.418] checking ifaddrs.h presence... no [15:43:51.434] checking for ifaddrs.h... no [15:43:51.437] checking langinfo.h usability... no [15:43:51.486] checking langinfo.h presence... no [15:43:51.501] checking for langinfo.h... no [15:43:51.504] checking mbarrier.h usability... no [15:43:51.554] checking mbarrier.h presence... no [15:43:51.571] checking for mbarrier.h... no [15:43:51.573] checking sys/epoll.h usability... no [15:43:51.622] checking sys/epoll.h presence... no [15:43:51.638] checking for sys/epoll.h... no [15:43:51.641] checking sys/event.h usability... no [15:43:51.688] checking sys/event.h presence... no [15:43:51.704] checking for sys/event.h... no [15:43:51.707] checking sys/personality.h usability... no [15:43:51.757] checking sys/personality.h presence... no [15:43:51.771] checking for sys/personality.h... no [15:43:51.774] checking sys/prctl.h usability... no [15:43:51.821] checking sys/prctl.h presence... no [15:43:51.837] checking for sys/prctl.h... no [15:43:51.839] checking sys/procctl.h usability... no [15:43:51.886] checking sys/procctl.h presence... no [15:43:51.902] checking for sys/procctl.h... no [15:43:51.905] checking sys/signalfd.h usability... no [15:43:51.953] checking sys/signalfd.h presence... no [15:43:51.970] checking for sys/signalfd.h... no [15:43:51.972] checking sys/ucred.h usability... no [15:43:52.019] checking sys/ucred.h presence... no [15:43:52.035] checking for sys/ucred.h... no [15:43:52.038] checking termios.h usability... no [15:43:52.085] checking termios.h presence... no [15:43:52.101] checking for termios.h... no [15:43:52.104] checking ucred.h usability... no [15:43:52.152] checking ucred.h presence... no [15:43:52.168] checking for ucred.h... no [15:43:52.170] checking zlib.h usability... yes [15:43:52.178] checking zlib.h presence... yes [15:43:52.194] checking for zlib.h... yes [15:43:52.195] checking for lz4... /usr/bin/lz4 [15:43:52.195] checking for zstd... /usr/bin/zstd [15:43:52.195] checking for openssl... /usr/bin/openssl [15:43:52.199] configure: using openssl: OpenSSL 1.1.1w 11 Sep 2023 [15:43:52.200] checking crtdefs.h usability... yes [15:43:52.205] checking crtdefs.h presence... yes [15:43:52.218] checking for crtdefs.h... yes [15:43:52.219] checking whether byte ordering is bigendian... no [15:43:52.276] checking for inline... inline [15:43:52.281] checking for printf format archetype... gnu_printf [15:43:52.287] checking for _Static_assert... yes [15:43:52.322] checking for typeof... typeof [15:43:52.328] checking for __builtin_types_compatible_p... yes [15:43:52.335] checking for __builtin_constant_p... yes [15:43:52.343] checking for __builtin_unreachable... yes [15:43:52.376] checking for computed goto support... yes [15:43:52.381] checking for struct tm.tm_zone... no [15:43:52.441] checking for union semun... no [15:43:52.468] checking for socklen_t... yes [15:43:53.501] checking for struct sockaddr.sa_len... no [15:43:55.194] checking for locale_t... no [15:43:55.252] checking for C/C++ restrict keyword... __restrict [15:43:55.263] checking for struct option... yes [15:43:55.299] checking whether assembler supports x86_64 popcntq... yes [15:43:55.305] checking size of off_t... 4 [15:43:55.485] 0 [15:43:55.485] checking size of bool... 1 [15:43:55.525] checking for int timezone... yes [15:43:55.570] checking for wcstombs_l declaration... no [15:43:55.645] checking for backtrace_symbols... no [15:43:55.690] checking for copyfile... no [15:43:55.731] checking for copy_file_range... no [15:43:55.772] checking for getifaddrs... no [15:43:55.815] checking for getpeerucred... no [15:43:55.858] checking for inet_pton... yes [15:43:55.906] checking for kqueue... no [15:43:55.950] checking for mbstowcs_l... no [15:43:55.994] checking for memset_s... no [15:43:56.037] checking for posix_fallocate... no [15:43:56.081] checking for ppoll... no [15:43:56.122] checking for pthread_is_threaded_np... no [15:43:56.166] checking for setproctitle... no [15:43:56.208] checking for setproctitle_fast... no [15:43:56.251] checking for strchrnul... no [15:43:56.294] checking for strsignal... no [15:43:56.335] checking for syncfs... no [15:43:56.376] checking for sync_file_range... no [15:43:56.420] checking for uselocale... no [15:43:56.466] checking for wcstombs_l... no [15:43:56.507] checking for __builtin_bswap16... yes [15:43:56.548] checking for __builtin_bswap32... yes [15:43:56.586] checking for __builtin_bswap64... yes [15:43:56.625] checking for __builtin_clz... yes [15:43:56.664] checking for __builtin_ctz... yes [15:43:56.703] checking for __builtin_popcount... yes [15:43:56.743] checking for __builtin_frame_address... yes [15:43:56.784] checking for _LARGEFILE_SOURCE value needed for large files... no [15:43:56.836] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [15:43:56.862] checking for posix_fadvise... no [15:43:56.905] checking whether posix_fadvise is declared... no [15:43:56.944] checking whether fdatasync is declared... no [15:43:56.986] checking whether strlcat is declared... no [15:43:57.039] checking whether strlcpy is declared... no [15:43:57.096] checking whether strnlen is declared... yes [15:43:57.108] checking whether preadv is declared... no [15:43:57.139] checking whether pwritev is declared... no [15:43:57.173] checking whether F_FULLFSYNC is declared... no [15:43:57.211] checking for explicit_bzero... no [15:43:57.252] checking for getopt... yes [15:43:57.293] checking for getpeereid... no [15:43:57.335] checking for inet_aton... no [15:43:57.375] checking for mkdtemp... no [15:43:57.414] checking for strlcat... no [15:43:57.460] checking for strlcpy... no [15:43:57.501] checking for strnlen... yes [15:43:57.545] checking for pthread_barrier_wait... yes [15:43:57.585] configure: On mingw32 we will use our strtof wrapper. [15:43:57.585] checking for getopt_long... yes [15:43:57.622] checking for _configthreadlocale... yes [15:43:57.663] checking for syslog... no [15:43:57.705] checking for opterr... yes [15:43:57.748] checking for optreset... no [15:43:57.793] checking test program... cross-compiling [15:43:57.793] checking whether long int is 64 bits... no [15:43:57.821] checking whether long long int is 64 bits... yes [15:43:57.828] checking for __builtin_mul_overflow... yes [15:43:57.865] checking size of void *... 8 [15:43:58.099] checking size of size_t... 8 [15:43:58.332] checking size of long... 4 [15:43:58.499] checking alignment of short... 2 [15:43:58.615] checking alignment of int... 4 [15:43:58.781] checking alignment of long... 4 [15:43:58.963] checking alignment of long long int... 8 [15:43:59.190] checking alignment of double... 8 [15:43:59.410] checking for int8... no [15:43:59.445] checking for uint8... no [15:43:59.481] checking for int64... no [15:43:59.522] checking for uint64... no [15:43:59.563] checking for __int128... yes [15:43:59.604] checking for __int128 alignment bug... assuming ok [15:43:59.605] checking alignment of PG_INT128_TYPE... 16 [15:43:59.892] checking for builtin __sync char locking functions... yes [15:43:59.933] checking for builtin __sync int32 locking functions... yes [15:43:59.975] checking for builtin __sync int32 atomic operations... yes [15:44:00.015] checking for builtin __sync int64 atomic operations... yes [15:44:00.056] checking for builtin __atomic int32 atomic operations... yes [15:44:00.094] checking for builtin __atomic int64 atomic operations... yes [15:44:00.133] checking for __get_cpuid... yes [15:44:00.176] checking for __cpuid... no [15:44:00.425] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [15:44:00.462] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [15:44:00.542] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [15:44:00.559] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [15:44:00.573] checking for __builtin_loongarch_crcc_w_b_w, __builtin_loongarch_crcc_w_h_w, __builtin_loongarch_crcc_w_w_w and __builtin_loongarch_crcc_w_d_w... no [15:44:00.621] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [15:44:00.621] checking which random number source to use... Windows native [15:44:00.623] checking for xmllint... /usr/bin/xmllint [15:44:00.624] checking for xsltproc... /usr/bin/xsltproc [15:44:00.624] checking for fop... /usr/bin/fop [15:44:00.624] checking for dbtoepub... no [15:44:00.625] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [15:44:00.625] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [15:44:00.635] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 10-win32 20210110 [15:44:00.635] configure: using CFLAGS=-Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 [15:44:00.635] configure: using CPPFLAGS= -I./src/include/port/win32 [15:44:00.635] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [15:44:00.718] configure: creating ./config.status [15:44:00.791] config.status: creating GNUmakefile [15:44:00.801] config.status: creating src/Makefile.global [15:44:00.815] config.status: creating src/include/pg_config.h [15:44:00.826] config.status: creating src/include/pg_config_ext.h [15:44:00.835] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [15:44:00.848] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [15:44:00.853] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [15:44:00.860] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [15:44:00.866] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [15:44:00.872] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [15:44:00.875] config.status: executing check_win32_symlinks commands [15:44:00.907] [15:44:00.907] real 0m12.264s [15:44:00.907] user 0m8.881s [15:44:00.907] sys 0m2.978s [15:44:00.907] make -s -j${BUILD_JOBS} clean [15:44:01.332] time make -s -j${BUILD_JOBS} world-bin [15:45:04.282] In file included from copy_file.c:20: [15:45:04.282] copy_file.c: In function ‘pg_copyfile’: [15:45:04.282] copy_file.c:150:12: error: too many arguments for format [-Werror=format-extra-args] [15:45:04.282] 150 | pg_fatal("error while copying%s (\"%s\" to \"%s\"): %s", addon_errmsg, [15:45:04.282] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [15:45:04.282] ../../../src/include/common/logging.h:152:48: note: in definition of macro ‘pg_fatal’ [15:45:04.282] 152 | pg_log_generic(PG_LOG_ERROR, PG_LOG_PRIMARY, __VA_ARGS__); \ [15:45:04.282] | ^~~~~~~~~~~ [15:45:04.282] copy_file.c: In function ‘pg_copyfile_offload’: [15:45:04.282] copy_file.c:174:12: error: too many arguments for format [-Werror=format-extra-args] [15:45:04.282] 174 | pg_fatal("error while copying%s (\"%s\" to \"%s\"): %s", addon_errmsg, [15:45:04.282] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [15:45:04.282] ../../../src/include/common/logging.h:152:48: note: in definition of macro ‘pg_fatal’ [15:45:04.282] 152 | pg_log_generic(PG_LOG_ERROR, PG_LOG_PRIMARY, __VA_ARGS__); \ [15:45:04.282] | ^~~~~~~~~~~ [15:45:04.282] At top level: [15:45:04.282] copy_file.c:245:1: error: ‘copy_file_copyfile’ defined but not used [-Werror=unused-function] [15:45:04.282] 245 | copy_file_copyfile(const char *src, const char *dst) [15:45:04.282] | ^~~~~~~~~~~~~~~~~~ [15:45:04.282] cc1: all warnings being treated as errors [15:45:04.282] make[3]: *** [: copy_file.o] Error 1 [15:45:04.282] make[3]: *** Waiting for unfinished jobs.... [15:45:04.611] make[2]: *** [Makefile:45: all-pg_combinebackup-recurse] Error 2 [15:45:04.611] make[2]: *** Waiting for unfinished jobs.... [15:45:05.167] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [15:45:05.167] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [15:45:05.167] [15:45:05.167] real 1m3.835s [15:45:05.167] user 3m24.858s [15:45:05.167] sys 0m26.598s [15:45:05.167] [15:45:05.167] Exit status: 2