[16:28:57.502] time ./configure \ [16:28:57.502] --host=x86_64-w64-mingw32ucrt \ [16:28:57.502] --enable-cassert \ [16:28:57.502] --without-icu \ [16:28:57.502] CC="ccache x86_64-w64-mingw32ucrt-gcc" \ [16:28:57.502] CXX="ccache x86_64-w64-mingw32ucrt-g++" [16:28:57.626] checking build system type... x86_64-pc-linux-gnu [16:28:57.822] checking host system type... x86_64-w64-mingw32ucrt [16:28:57.828] checking which template to use... win32 [16:28:57.829] checking whether NLS is wanted... no [16:28:57.829] checking for default port number... 5432 [16:28:57.836] checking for block size... 8kB [16:28:57.838] checking for segment size... 1GB [16:28:57.841] checking for WAL block size... 8kB [16:28:57.842] checking for x86_64-w64-mingw32ucrt-gcc... ccache x86_64-w64-mingw32ucrt-gcc [16:28:57.878] checking whether the C compiler works... yes [16:28:58.020] checking for C compiler default output file name... a.exe [16:28:58.022] checking for suffix of executables... .exe [16:28:58.068] checking whether we are cross compiling... yes [16:28:58.151] checking for suffix of object files... o [16:28:58.168] checking whether we are using the GNU C compiler... yes [16:28:58.201] checking whether ccache x86_64-w64-mingw32ucrt-gcc accepts -g... yes [16:28:58.219] checking for ccache x86_64-w64-mingw32ucrt-gcc option to accept ISO C89... none needed [16:28:58.312] checking for ccache x86_64-w64-mingw32ucrt-gcc option to accept ISO C11... none needed [16:28:58.367] checking whether we are using the GNU C++ compiler... yes [16:28:58.374] checking whether ccache x86_64-w64-mingw32ucrt-g++ accepts -g... yes [16:28:58.564] checking for gawk... no [16:28:58.564] checking for mawk... mawk [16:28:58.566] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [16:28:58.574] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Werror=vla, for CFLAGS... yes [16:28:58.582] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [16:28:58.637] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [16:28:58.695] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wendif-labels, for CFLAGS... yes [16:28:58.711] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wendif-labels, for CXXFLAGS... yes [16:28:58.729] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [16:28:58.737] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [16:28:58.755] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [16:28:58.763] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [16:28:58.832] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcast-function-type, for CFLAGS... yes [16:28:58.866] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wcast-function-type, for CXXFLAGS... yes [16:28:58.900] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [16:28:58.909] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [16:28:58.917] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wformat-security, for CFLAGS... yes [16:28:58.925] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -Wformat-security, for CXXFLAGS... yes [16:28:58.933] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wmissing-variable-declarations, for CFLAGS... yes [16:28:58.967] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fno-strict-aliasing, for CFLAGS... yes [16:28:58.976] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [16:28:58.984] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fwrapv, for CFLAGS... yes [16:28:58.992] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fwrapv, for CXXFLAGS... yes [16:28:59.001] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fexcess-precision=standard, for CFLAGS... yes [16:28:59.009] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fexcess-precision=standard, for CXXFLAGS... yes [16:28:59.028] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [16:28:59.037] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [16:28:59.045] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [16:28:59.093] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [16:28:59.142] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [16:28:59.150] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [16:28:59.157] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [16:28:59.199] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [16:28:59.207] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [16:28:59.215] checking whether ccache x86_64-w64-mingw32ucrt-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [16:28:59.249] checking whether the C compiler still works... yes [16:28:59.314] checking how to run the C preprocessor... ccache x86_64-w64-mingw32ucrt-gcc -E [16:28:59.392] checking for x86_64-w64-mingw32ucrt-pkg-config... /usr/bin/x86_64-w64-mingw32ucrt-pkg-config [16:28:59.392] checking pkg-config is at least version 0.9.0... yes [16:28:59.408] checking whether to build with ICU support... no [16:28:59.408] checking whether to build with Tcl... no [16:28:59.408] checking whether to build Perl modules... no [16:28:59.408] checking whether to build Python modules... no [16:28:59.408] checking whether to build with GSSAPI support... no [16:28:59.410] checking whether to build with PAM support... no [16:28:59.410] checking whether to build with BSD Authentication support... no [16:28:59.410] checking whether to build with LDAP support... no [16:28:59.410] checking whether to build with Bonjour support... no [16:28:59.410] checking whether to build with SELinux support... no [16:28:59.410] checking whether to build with systemd support... no [16:28:59.410] configure: WARNING: *** Readline does not work on MinGW --- disabling [16:28:59.410] checking whether to build with liburing support... no [16:28:59.410] checking whether to build with libcurl support... no [16:28:59.411] checking whether to build with libnuma support... no [16:28:59.411] checking whether to build with XML support... no [16:28:59.411] checking whether to build with LZ4 support... no [16:28:59.411] checking whether to build with ZSTD support... no [16:28:59.412] checking for x86_64-w64-mingw32ucrt-strip... x86_64-w64-mingw32ucrt-strip [16:28:59.412] checking whether it is possible to strip libraries... yes [16:28:59.419] checking for x86_64-w64-mingw32ucrt-ar... x86_64-w64-mingw32ucrt-ar [16:28:59.419] checking for x86_64-w64-mingw32ucrt-windres... x86_64-w64-mingw32ucrt-windres [16:28:59.419] checking for a BSD-compatible install... /usr/bin/install -c [16:28:59.428] checking for tar... /usr/bin/tar [16:28:59.428] checking whether ln -s works... yes [16:28:59.428] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [16:28:59.431] checking for bison... /usr/bin/bison [16:28:59.433] configure: using bison (GNU Bison) 3.8.2 [16:28:59.436] checking for flex... /usr/bin/flex [16:28:59.438] configure: using flex 2.6.4 [16:28:59.438] checking for perl... /usr/bin/perl [16:28:59.441] configure: using perl 5.40.1 [16:28:59.444] checking for zic... /usr/sbin/zic [16:28:59.444] checking for a sed that does not truncate output... /usr/bin/sed [16:28:59.450] checking for grep that handles long lines and -e... /usr/bin/grep [16:28:59.452] checking for egrep... /usr/bin/grep -E [16:28:59.454] checking for ANSI C header files... yes [16:28:59.503] checking for sys/types.h... yes [16:28:59.520] checking for sys/stat.h... yes [16:28:59.536] checking for stdlib.h... yes [16:28:59.603] checking for string.h... yes [16:28:59.619] checking for memory.h... yes [16:28:59.635] checking for strings.h... yes [16:28:59.695] checking for inttypes.h... yes [16:28:59.711] checking for stdint.h... yes [16:28:59.775] checking for unistd.h... yes [16:28:59.841] checking for main in -lm... yes [16:28:59.894] checking for library containing setproctitle... no [16:28:59.991] checking for library containing dlsym... no [16:29:00.088] checking for library containing socket... -lws2_32 [16:29:00.229] checking for library containing getopt_long... none required [16:29:00.281] checking for library containing shm_open... no [16:29:00.378] checking for library containing shm_unlink... no [16:29:00.477] checking for library containing clock_gettime... none required [16:29:00.523] checking for library containing shmget... no [16:29:00.619] checking for library containing backtrace_symbols... no [16:29:00.715] checking for library containing pthread_barrier_wait... none required [16:29:00.763] checking for inflate in -lz... yes [16:29:00.817] checking atomic.h usability... no [16:29:00.874] checking atomic.h presence... no [16:29:00.893] checking for atomic.h... no [16:29:00.897] checking copyfile.h usability... no [16:29:00.953] checking copyfile.h presence... no [16:29:00.973] checking for copyfile.h... no [16:29:00.977] checking execinfo.h usability... no [16:29:01.034] checking execinfo.h presence... no [16:29:01.053] checking for execinfo.h... no [16:29:01.057] checking getopt.h usability... yes [16:29:01.114] checking getopt.h presence... yes [16:29:01.130] checking for getopt.h... yes [16:29:01.138] checking ifaddrs.h usability... no [16:29:01.196] checking ifaddrs.h presence... no [16:29:01.216] checking for ifaddrs.h... no [16:29:01.220] checking mbarrier.h usability... no [16:29:01.275] checking mbarrier.h presence... no [16:29:01.295] checking for mbarrier.h... no [16:29:01.298] checking sys/epoll.h usability... no [16:29:01.354] checking sys/epoll.h presence... no [16:29:01.373] checking for sys/epoll.h... no [16:29:01.377] checking sys/event.h usability... no [16:29:01.433] checking sys/event.h presence... no [16:29:01.452] checking for sys/event.h... no [16:29:01.456] checking sys/personality.h usability... no [16:29:01.511] checking sys/personality.h presence... no [16:29:01.530] checking for sys/personality.h... no [16:29:01.534] checking sys/prctl.h usability... no [16:29:01.591] checking sys/prctl.h presence... no [16:29:01.611] checking for sys/prctl.h... no [16:29:01.615] checking sys/procctl.h usability... no [16:29:01.670] checking sys/procctl.h presence... no [16:29:01.689] checking for sys/procctl.h... no [16:29:01.692] checking sys/signalfd.h usability... no [16:29:01.747] checking sys/signalfd.h presence... no [16:29:01.765] checking for sys/signalfd.h... no [16:29:01.769] checking sys/ucred.h usability... no [16:29:01.823] checking sys/ucred.h presence... no [16:29:01.842] checking for sys/ucred.h... no [16:29:01.846] checking termios.h usability... no [16:29:01.899] checking termios.h presence... no [16:29:01.917] checking for termios.h... no [16:29:01.921] checking uchar.h usability... yes [16:29:01.930] checking uchar.h presence... yes [16:29:01.950] checking for uchar.h... yes [16:29:01.958] checking ucred.h usability... no [16:29:02.016] checking ucred.h presence... no [16:29:02.036] checking for ucred.h... no [16:29:02.040] checking xlocale.h usability... no [16:29:02.097] checking xlocale.h presence... no [16:29:02.117] checking for xlocale.h... no [16:29:02.120] checking zlib.h usability... yes [16:29:02.129] checking zlib.h presence... yes [16:29:02.150] checking for zlib.h... yes [16:29:02.150] checking for lz4... /usr/bin/lz4 [16:29:02.150] checking for zstd... /usr/bin/zstd [16:29:02.151] checking for openssl... /usr/bin/openssl [16:29:02.156] configure: using openssl: OpenSSL 3.5.4 30 Sep 2025 (Library: OpenSSL 3.5.4 30 Sep 2025) [16:29:02.156] checking crtdefs.h usability... yes [16:29:02.214] checking crtdefs.h presence... yes [16:29:02.230] checking for crtdefs.h... yes [16:29:02.231] checking whether byte ordering is bigendian... no [16:29:02.308] checking for inline... inline [16:29:02.325] checking for printf format archetype... gnu_printf [16:29:02.335] checking for _Static_assert... yes [16:29:02.379] checking for typeof... typeof [16:29:02.414] checking for __builtin_types_compatible_p... yes [16:29:02.427] checking for __builtin_constant_p... yes [16:29:02.449] checking for __builtin_mul_overflow... yes [16:29:02.506] checking for __builtin_unreachable... yes [16:29:02.552] checking for computed goto support... yes [16:29:02.560] checking for struct tm.tm_zone... no [16:29:02.635] checking for union semun... no [16:29:02.668] checking for socklen_t... yes [16:29:05.158] checking for struct sockaddr.sa_len... no [16:29:07.442] checking for C/C++ restrict keyword... __restrict [16:29:07.455] checking for struct option... yes [16:29:07.498] checking whether assembler supports x86_64 popcntq... yes [16:29:07.533] checking size of off_t... 4 [16:29:07.916] checking for int timezone... yes [16:29:07.980] checking for backtrace_symbols... no [16:29:08.037] checking for copyfile... no [16:29:08.093] checking for copy_file_range... no [16:29:08.149] checking for elf_aux_info... no [16:29:08.205] checking for getauxval... no [16:29:08.262] checking for getifaddrs... no [16:29:08.319] checking for getpeerucred... no [16:29:08.376] checking for inet_pton... yes [16:29:08.432] checking for kqueue... no [16:29:08.490] checking for localeconv_l... no [16:29:08.547] checking for mbstowcs_l... no [16:29:08.605] checking for posix_fallocate... no [16:29:08.662] checking for ppoll... no [16:29:08.718] checking for pthread_is_threaded_np... no [16:29:08.775] checking for setproctitle... no [16:29:08.831] checking for setproctitle_fast... no [16:29:08.888] checking for strsignal... no [16:29:08.946] checking for syncfs... no [16:29:09.004] checking for sync_file_range... no [16:29:09.059] checking for uselocale... no [16:29:09.114] checking for wcstombs_l... no [16:29:09.167] checking for __builtin_bswap16... yes [16:29:09.220] checking for __builtin_bswap32... yes [16:29:09.271] checking for __builtin_bswap64... yes [16:29:09.323] checking for __builtin_clz... yes [16:29:09.374] checking for __builtin_ctz... yes [16:29:09.426] checking for __builtin_popcount... yes [16:29:09.478] checking for __builtin_frame_address... yes [16:29:09.528] checking for _LARGEFILE_SOURCE value needed for large files... no [16:29:09.583] checking how ccache x86_64-w64-mingw32ucrt-gcc reports undeclared, standard C functions... error [16:29:09.613] checking for posix_fadvise... no [16:29:09.671] checking whether posix_fadvise is declared... no [16:29:09.718] checking whether fdatasync is declared... no [16:29:09.764] checking whether strlcat is declared... no [16:29:09.831] checking whether strlcpy is declared... no [16:29:09.896] checking whether strnlen is declared... yes [16:29:09.933] checking whether strsep is declared... no [16:29:10.001] checking whether timingsafe_bcmp is declared... no [16:29:10.070] checking whether preadv is declared... no [16:29:10.107] checking whether pwritev is declared... no [16:29:10.143] checking whether strchrnul is declared... no [16:29:10.187] checking whether memset_s is declared... no [16:29:10.232] checking whether F_FULLFSYNC is declared... no [16:29:10.275] checking for explicit_bzero... no [16:29:10.330] checking for getopt... yes [16:29:10.380] checking for getpeereid... no [16:29:10.435] checking for inet_aton... no [16:29:10.488] checking for mkdtemp... no [16:29:10.542] checking for strlcat... no [16:29:10.594] checking for strlcpy... no [16:29:10.646] checking for strnlen... yes [16:29:10.698] checking for strsep... no [16:29:10.751] checking for timingsafe_bcmp... no [16:29:10.804] checking for pthread_barrier_wait... yes [16:29:10.850] configure: On mingw32ucrt we will use our strtof wrapper. [16:29:10.850] checking for getopt_long... yes [16:29:10.897] checking for syslog... no [16:29:10.949] checking for opterr... yes [16:29:11.000] checking for optreset... no [16:29:11.056] checking test program... cross-compiling [16:29:11.056] checking size of void *... 8 [16:29:11.341] checking size of size_t... 8 [16:29:11.739] checking size of long... 4 [16:29:12.069] checking size of long long... 8 [16:29:12.518] checking alignment of short... 2 [16:29:12.664] checking alignment of int... 4 [16:29:12.968] checking alignment of long... 4 [16:29:13.200] checking alignment of int64_t... 8 [16:29:13.566] checking alignment of double... 8 [16:29:13.899] checking for __int128... yes [16:29:13.961] checking for __int128 alignment bug... assuming ok [16:29:13.961] checking alignment of PG_INT128_TYPE... 16 [16:29:14.485] checking for builtin __sync char locking functions... yes [16:29:14.531] checking for builtin __sync int32 locking functions... yes [16:29:14.575] checking for builtin __sync int32 atomic operations... yes [16:29:14.617] checking for builtin __sync int64 atomic operations... yes [16:29:14.663] checking for builtin __atomic int32 atomic operations... yes [16:29:14.710] checking for builtin __atomic int64 atomic operations... yes [16:29:14.758] checking for __get_cpuid... yes [16:29:14.808] checking for __get_cpuid_count... yes [16:29:14.857] checking for _xgetbv... yes [16:29:15.305] checking for _mm512_popcnt_epi64... yes [16:29:15.768] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [16:29:15.880] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [16:29:15.904] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [16:29:15.924] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [16:29:15.944] 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 [16:29:15.981] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [16:29:15.981] checking for _mm512_clmulepi64_epi128... yes [16:29:16.433] checking for vectorized CRC-32C... AVX-512 with runtime check [16:29:16.433] checking which random number source to use... Windows native [16:29:16.435] checking for xmllint... /usr/bin/xmllint [16:29:16.435] checking for xsltproc... /usr/bin/xsltproc [16:29:16.435] checking for fop... /usr/bin/fop [16:29:16.436] checking for dbtoepub... no [16:29:16.436] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [16:29:16.436] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [16:29:16.436] checking whether ccache x86_64-w64-mingw32ucrt-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [16:29:16.448] configure: using compiler=x86_64-w64-mingw32ucrt-gcc (GCC) 14 [16:29:16.448] 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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 [16:29:16.448] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [16:29:16.448] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [16:29:16.547] configure: creating ./config.status [16:29:16.639] config.status: creating GNUmakefile [16:29:16.652] config.status: creating src/Makefile.global [16:29:16.669] config.status: creating src/include/pg_config.h [16:29:16.682] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [16:29:16.700] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [16:29:16.708] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [16:29:16.716] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [16:29:16.725] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [16:29:16.728] config.status: executing check_win32_symlinks commands [16:29:16.764] [16:29:16.764] real 0m19.262s [16:29:16.764] user 0m13.625s [16:29:16.764] sys 0m5.325s [16:29:16.764] make -s -j${BUILD_JOBS} clean [16:29:17.279] time make -s -j${BUILD_JOBS} world-bin [16:32:10.914] pg_createsubscriber.c: In function ‘cleanup_objects_atexit’: [16:32:10.914] pg_createsubscriber.c:207:36: error: implicit declaration of function ‘truncate’; did you mean ‘ftruncate’? [-Wimplicit-function-declaration] [16:32:10.914] 207 | if ((err = truncate(filename, recovery_conf_size)) != 0) [16:32:10.914] | ^~~~~~~~ [16:32:10.914] | ftruncate [16:32:10.915] make[3]: *** [: pg_createsubscriber.o] Error 1 [16:32:10.915] make[2]: *** [Makefile:45: all-pg_basebackup-recurse] Error 2 [16:32:10.920] make[2]: *** Waiting for unfinished jobs.... [16:32:15.208] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [16:32:15.208] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [16:32:15.209] [16:32:15.209] real 2m57.930s [16:32:15.209] user 9m44.985s [16:32:15.209] sys 1m25.863s [16:32:15.209] [16:32:15.209] Exit status: 2