[14:31:08.447] time ./configure \ [14:31:08.447] --host=x86_64-w64-mingw32 \ [14:31:08.447] --enable-cassert \ [14:31:08.447] --without-icu \ [14:31:08.447] CC="ccache x86_64-w64-mingw32-gcc" \ [14:31:08.447] CXX="ccache x86_64-w64-mingw32-g++" [14:31:08.594] checking build system type... x86_64-pc-linux-gnu [14:31:08.798] checking host system type... x86_64-w64-mingw32 [14:31:08.804] checking which template to use... win32 [14:31:08.804] checking whether NLS is wanted... no [14:31:08.804] checking for default port number... 5432 [14:31:08.812] checking for block size... 8kB [14:31:08.814] checking for segment size... 1GB [14:31:08.817] checking for WAL block size... 8kB [14:31:08.819] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [14:31:08.859] checking whether the C compiler works... yes [14:31:09.019] checking for C compiler default output file name... a.exe [14:31:09.021] checking for suffix of executables... .exe [14:31:09.068] checking whether we are cross compiling... yes [14:31:09.160] checking for suffix of object files... o [14:31:09.170] checking whether we are using the GNU C compiler... yes [14:31:09.178] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [14:31:09.186] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [14:31:09.198] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [14:31:09.268] checking whether we are using the GNU C++ compiler... yes [14:31:09.276] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [14:31:09.358] checking for gawk... no [14:31:09.359] checking for mawk... mawk [14:31:09.361] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [14:31:09.370] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [14:31:09.378] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [14:31:09.431] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [14:31:09.636] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [14:31:09.645] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [14:31:09.654] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [14:31:09.663] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [14:31:09.671] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [14:31:09.680] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [14:31:09.690] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [14:31:09.699] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [14:31:09.708] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [14:31:09.718] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [14:31:09.727] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [14:31:09.736] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [14:31:09.747] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [14:31:09.790] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [14:31:09.798] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [14:31:09.808] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [14:31:09.817] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [14:31:09.826] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [14:31:09.835] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [14:31:09.867] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [14:31:09.875] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [14:31:09.884] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [14:31:09.929] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [14:31:09.972] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [14:31:09.981] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [14:31:09.990] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [14:31:10.032] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [14:31:10.041] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [14:31:10.050] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [14:31:10.059] checking whether the C compiler still works... yes [14:31:10.139] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [14:31:10.230] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [14:31:10.231] checking pkg-config is at least version 0.9.0... yes [14:31:10.249] checking whether to build with ICU support... no [14:31:10.249] checking whether to build with Tcl... no [14:31:10.250] checking whether to build Perl modules... no [14:31:10.250] checking whether to build Python modules... no [14:31:10.250] checking whether to build with GSSAPI support... no [14:31:10.251] checking whether to build with PAM support... no [14:31:10.251] checking whether to build with BSD Authentication support... no [14:31:10.251] checking whether to build with LDAP support... no [14:31:10.251] checking whether to build with Bonjour support... no [14:31:10.251] checking whether to build with SELinux support... no [14:31:10.251] checking whether to build with systemd support... no [14:31:10.252] configure: WARNING: *** Readline does not work on MinGW --- disabling [14:31:10.252] checking whether to build with XML support... no [14:31:10.252] checking whether to build with LZ4 support... no [14:31:10.252] checking whether to build with ZSTD support... no [14:31:10.253] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [14:31:10.253] checking whether it is possible to strip libraries... yes [14:31:10.262] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [14:31:10.262] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [14:31:10.263] checking for a BSD-compatible install... /usr/bin/install -c [14:31:10.274] checking for tar... /usr/bin/tar [14:31:10.274] checking whether ln -s works... yes [14:31:10.274] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [14:31:10.277] checking for bison... /usr/bin/bison [14:31:10.280] configure: using bison (GNU Bison) 3.8.2 [14:31:10.283] checking for flex... /usr/bin/flex [14:31:10.300] configure: using flex 2.6.4 [14:31:10.300] checking for perl... /usr/bin/perl [14:31:10.304] configure: using perl 5.36.0 [14:31:10.307] checking for zic... /usr/sbin/zic [14:31:10.307] checking for a sed that does not truncate output... /usr/bin/sed [14:31:10.314] checking for grep that handles long lines and -e... /usr/bin/grep [14:31:10.317] checking for egrep... /usr/bin/grep -E [14:31:10.319] checking for ANSI C header files... yes [14:31:10.379] checking for sys/types.h... yes [14:31:10.402] checking for sys/stat.h... yes [14:31:10.422] checking for stdlib.h... yes [14:31:10.441] checking for string.h... yes [14:31:10.460] checking for memory.h... yes [14:31:10.481] checking for strings.h... yes [14:31:10.500] checking for inttypes.h... yes [14:31:10.522] checking for stdint.h... yes [14:31:10.541] checking for unistd.h... yes [14:31:10.564] checking for main in -lm... yes [14:31:10.621] checking for library containing setproctitle... no [14:31:10.729] checking for library containing dlsym... no [14:31:10.833] checking for library containing socket... -lws2_32 [14:31:10.987] checking for library containing getopt_long... none required [14:31:11.040] checking for library containing shm_open... no [14:31:11.147] checking for library containing shm_unlink... no [14:31:11.251] checking for library containing clock_gettime... no [14:31:11.358] checking for library containing shmget... no [14:31:11.464] checking for library containing backtrace_symbols... no [14:31:11.569] checking for library containing pthread_barrier_wait... -lpthread [14:31:11.676] checking for inflate in -lz... yes [14:31:11.729] checking for stdbool.h that conforms to C99... yes [14:31:11.742] checking for _Bool... yes [14:31:11.829] checking atomic.h usability... no [14:31:11.894] checking atomic.h presence... no [14:31:11.918] checking for atomic.h... no [14:31:11.922] checking copyfile.h usability... no [14:31:11.987] checking copyfile.h presence... no [14:31:12.011] checking for copyfile.h... no [14:31:12.015] checking execinfo.h usability... no [14:31:12.080] checking execinfo.h presence... no [14:31:12.104] checking for execinfo.h... no [14:31:12.108] checking getopt.h usability... yes [14:31:12.118] checking getopt.h presence... yes [14:31:12.136] checking for getopt.h... yes [14:31:12.144] checking ifaddrs.h usability... no [14:31:12.210] checking ifaddrs.h presence... no [14:31:12.234] checking for ifaddrs.h... no [14:31:12.239] checking mbarrier.h usability... no [14:31:12.306] checking mbarrier.h presence... no [14:31:12.330] checking for mbarrier.h... no [14:31:12.334] checking sys/epoll.h usability... no [14:31:12.405] checking sys/epoll.h presence... no [14:31:12.428] checking for sys/epoll.h... no [14:31:12.433] checking sys/event.h usability... no [14:31:12.497] checking sys/event.h presence... no [14:31:12.521] checking for sys/event.h... no [14:31:12.525] checking sys/personality.h usability... no [14:31:12.593] checking sys/personality.h presence... no [14:31:12.618] checking for sys/personality.h... no [14:31:12.622] checking sys/prctl.h usability... no [14:31:12.691] checking sys/prctl.h presence... no [14:31:12.714] checking for sys/prctl.h... no [14:31:12.718] checking sys/procctl.h usability... no [14:31:12.784] checking sys/procctl.h presence... no [14:31:12.805] checking for sys/procctl.h... no [14:31:12.809] checking sys/signalfd.h usability... no [14:31:12.873] checking sys/signalfd.h presence... no [14:31:12.895] checking for sys/signalfd.h... no [14:31:12.899] checking sys/ucred.h usability... no [14:31:12.964] checking sys/ucred.h presence... no [14:31:12.987] checking for sys/ucred.h... no [14:31:12.991] checking termios.h usability... no [14:31:13.055] checking termios.h presence... no [14:31:13.080] checking for termios.h... no [14:31:13.083] checking ucred.h usability... no [14:31:13.149] checking ucred.h presence... no [14:31:13.172] checking for ucred.h... no [14:31:13.176] checking xlocale.h usability... no [14:31:13.239] checking xlocale.h presence... no [14:31:13.263] checking for xlocale.h... no [14:31:13.266] checking zlib.h usability... yes [14:31:13.277] checking zlib.h presence... yes [14:31:13.300] checking for zlib.h... yes [14:31:13.300] checking for lz4... /usr/bin/lz4 [14:31:13.301] checking for zstd... /usr/bin/zstd [14:31:13.301] checking for openssl... /usr/bin/openssl [14:31:13.306] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [14:31:13.307] checking crtdefs.h usability... yes [14:31:13.316] checking crtdefs.h presence... yes [14:31:13.334] checking for crtdefs.h... yes [14:31:13.336] checking whether byte ordering is bigendian... no [14:31:13.427] checking for inline... inline [14:31:13.436] checking for printf format archetype... gnu_printf [14:31:13.447] checking for _Static_assert... yes [14:31:13.496] checking for typeof... typeof [14:31:13.505] checking for __builtin_types_compatible_p... yes [14:31:13.519] checking for __builtin_constant_p... yes [14:31:13.534] checking for __builtin_unreachable... yes [14:31:13.582] checking for computed goto support... yes [14:31:13.591] checking for struct tm.tm_zone... no [14:31:13.683] checking for union semun... no [14:31:13.723] checking for socklen_t... yes [14:31:15.019] checking for struct sockaddr.sa_len... no [14:31:17.295] checking for C/C++ restrict keyword... __restrict [14:31:17.311] checking for struct option... yes [14:31:17.363] checking whether assembler supports x86_64 popcntq... yes [14:31:17.373] checking size of off_t... 4 [14:31:17.619] 0 [14:31:17.619] checking size of bool... 1 [14:31:17.675] checking for int timezone... yes [14:31:17.738] checking for backtrace_symbols... no [14:31:17.795] checking for copyfile... no [14:31:17.856] checking for copy_file_range... no [14:31:17.913] checking for getifaddrs... no [14:31:17.974] checking for getpeerucred... no [14:31:18.035] checking for inet_pton... yes [14:31:18.097] checking for kqueue... no [14:31:18.158] checking for mbstowcs_l... no [14:31:18.217] checking for memset_s... no [14:31:18.275] checking for posix_fallocate... no [14:31:18.334] checking for ppoll... no [14:31:18.396] checking for pthread_is_threaded_np... no [14:31:18.456] checking for setproctitle... no [14:31:18.516] checking for setproctitle_fast... no [14:31:18.575] checking for strchrnul... no [14:31:18.635] checking for strsignal... no [14:31:18.696] checking for syncfs... no [14:31:18.759] checking for sync_file_range... no [14:31:18.822] checking for uselocale... no [14:31:18.881] checking for wcstombs_l... no [14:31:18.936] checking for __builtin_bswap16... yes [14:31:18.994] checking for __builtin_bswap32... yes [14:31:19.048] checking for __builtin_bswap64... yes [14:31:19.104] checking for __builtin_clz... yes [14:31:19.161] checking for __builtin_ctz... yes [14:31:19.217] checking for __builtin_popcount... yes [14:31:19.275] checking for __builtin_frame_address... yes [14:31:19.330] checking for _LARGEFILE_SOURCE value needed for large files... no [14:31:19.390] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [14:31:19.429] checking for posix_fadvise... no [14:31:19.491] checking whether posix_fadvise is declared... no [14:31:19.546] checking whether fdatasync is declared... no [14:31:19.601] checking whether strlcat is declared... no [14:31:19.678] checking whether strlcpy is declared... no [14:31:19.754] checking whether strnlen is declared... yes [14:31:19.770] checking whether strsep is declared... no [14:31:19.847] checking whether preadv is declared... no [14:31:19.892] checking whether pwritev is declared... no [14:31:19.937] checking whether F_FULLFSYNC is declared... no [14:31:19.985] checking for explicit_bzero... no [14:31:20.044] checking for getopt... yes [14:31:20.097] checking for getpeereid... no [14:31:20.153] checking for inet_aton... no [14:31:20.208] checking for mkdtemp... no [14:31:20.263] checking for strlcat... no [14:31:20.318] checking for strlcpy... no [14:31:20.372] checking for strnlen... yes [14:31:20.428] checking for strsep... no [14:31:20.487] checking for pthread_barrier_wait... yes [14:31:20.538] configure: On mingw32 we will use our strtof wrapper. [14:31:20.538] checking for getopt_long... yes [14:31:20.588] checking for _configthreadlocale... yes [14:31:20.640] checking for syslog... no [14:31:20.695] checking for opterr... yes [14:31:20.750] checking for optreset... no [14:31:20.808] checking test program... cross-compiling [14:31:20.808] checking whether long int is 64 bits... no [14:31:20.848] checking whether long long int is 64 bits... yes [14:31:20.860] checking for __builtin_mul_overflow... yes [14:31:20.912] checking size of void *... 8 [14:31:21.226] checking size of size_t... 8 [14:31:21.546] checking size of long... 4 [14:31:21.781] checking alignment of short... 2 [14:31:21.945] checking alignment of int... 4 [14:31:22.187] checking alignment of long... 4 [14:31:22.429] checking alignment of long long int... 8 [14:31:22.753] checking alignment of double... 8 [14:31:23.062] checking for __int128... yes [14:31:23.121] checking for __int128 alignment bug... assuming ok [14:31:23.121] checking alignment of PG_INT128_TYPE... 16 [14:31:23.512] checking for builtin __sync char locking functions... yes [14:31:23.563] checking for builtin __sync int32 locking functions... yes [14:31:23.613] checking for builtin __sync int32 atomic operations... yes [14:31:23.663] checking for builtin __sync int64 atomic operations... yes [14:31:23.712] checking for builtin __atomic int32 atomic operations... yes [14:31:23.761] checking for builtin __atomic int64 atomic operations... yes [14:31:23.813] checking for __get_cpuid... yes [14:31:23.868] checking for __get_cpuid_count... yes [14:31:23.917] checking for __cpuid... no [14:31:24.335] checking for __cpuidex... no [14:31:24.790] checking for _xgetbv... yes [14:31:25.219] checking for _mm512_popcnt_epi64... yes [14:31:25.664] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [14:31:25.717] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [14:31:25.820] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [14:31:25.848] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [14:31:25.871] 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 [14:31:25.935] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [14:31:25.936] checking which random number source to use... Windows native [14:31:25.938] checking for xmllint... /usr/bin/xmllint [14:31:25.939] checking for xsltproc... /usr/bin/xsltproc [14:31:25.939] checking for fop... /usr/bin/fop [14:31:25.939] checking for dbtoepub... no [14:31:25.940] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [14:31:25.940] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [14:31:25.940] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [14:31:25.953] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [14:31:25.954] 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 [14:31:25.954] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [14:31:25.954] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [14:31:26.060] configure: creating ./config.status [14:31:26.166] config.status: creating GNUmakefile [14:31:26.182] config.status: creating src/Makefile.global [14:31:26.202] config.status: creating src/include/pg_config.h [14:31:26.218] config.status: creating src/include/pg_config_ext.h [14:31:26.233] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [14:31:26.253] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [14:31:26.262] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [14:31:26.271] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [14:31:26.280] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [14:31:26.289] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [14:31:26.293] config.status: executing check_win32_symlinks commands [14:31:26.335] [14:31:26.335] real 0m17.888s [14:31:26.335] user 0m11.703s [14:31:26.335] sys 0m5.808s [14:31:26.335] make -s -j${BUILD_JOBS} clean [14:31:26.875] time make -s -j${BUILD_JOBS} world-bin [14:31:43.360] In file included from ../../../src/include/postgres.h:46, [14:31:43.360] from copyfrom.c:21: [14:31:43.360] copyfrom.c: In function ‘CopyFrom’: [14:31:43.360] copyfrom.c:1035:64: error: too many arguments for format [-Werror=format-extra-args] [14:31:43.360] 1035 | errmsg("failed to replace column containing erroneous data with null", [14:31:43.360] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [14:31:43.360] ../../../src/include/utils/elog.h:147:25: note: in definition of macro ‘ereport_domain’ [14:31:43.360] 147 | __VA_ARGS__, errfinish(__FILE__, __LINE__, __func__); \ [14:31:43.360] | ^~~~~~~~~~~ [14:31:43.360] copyfrom.c:1033:41: note: in expansion of macro ‘ereport’ [14:31:43.360] 1033 | ereport(ERROR, [14:31:43.360] | ^~~~~~~ [14:31:43.360] cc1: all warnings being treated as errors [14:31:43.361] make[3]: *** [: copyfrom.o] Error 1 [14:31:43.361] make[3]: *** Waiting for unfinished jobs.... [14:31:43.928] make[2]: *** [common.mk:37: commands-recursive] Error 2 [14:31:43.928] make[2]: *** Waiting for unfinished jobs.... [14:31:45.910] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [14:31:45.910] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [14:31:45.910] [14:31:45.910] real 0m19.036s [14:31:45.910] user 0m55.855s [14:31:45.910] sys 0m13.324s [14:31:45.911] [14:31:45.911] Exit status: 2