[16:41:41.339] time ./configure \ [16:41:41.339] --host=x86_64-w64-mingw32 \ [16:41:41.339] --enable-cassert \ [16:41:41.339] --without-icu \ [16:41:41.339] CC="ccache x86_64-w64-mingw32-gcc" \ [16:41:41.339] CXX="ccache x86_64-w64-mingw32-g++" [16:41:41.469] checking build system type... x86_64-pc-linux-gnu [16:41:41.678] checking host system type... x86_64-w64-mingw32 [16:41:41.684] checking which template to use... win32 [16:41:41.684] checking whether NLS is wanted... no [16:41:41.684] checking for default port number... 5432 [16:41:41.691] checking for block size... 8kB [16:41:41.692] checking for segment size... 1GB [16:41:41.695] checking for WAL block size... 8kB [16:41:41.696] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [16:41:41.731] checking whether the C compiler works... yes [16:41:41.872] checking for C compiler default output file name... a.exe [16:41:41.873] checking for suffix of executables... .exe [16:41:41.914] checking whether we are cross compiling... yes [16:41:41.992] checking for suffix of object files... o [16:41:42.001] checking whether we are using the GNU C compiler... yes [16:41:42.007] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [16:41:42.014] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [16:41:42.024] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [16:41:42.084] checking whether we are using the GNU C++ compiler... yes [16:41:42.091] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [16:41:42.155] checking for gawk... no [16:41:42.155] checking for mawk... mawk [16:41:42.157] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [16:41:42.164] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [16:41:42.170] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [16:41:42.215] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [16:41:42.394] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [16:41:42.401] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [16:41:42.408] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [16:41:42.415] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [16:41:42.421] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [16:41:42.427] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [16:41:42.434] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [16:41:42.440] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [16:41:42.446] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [16:41:42.453] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [16:41:42.459] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [16:41:42.465] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [16:41:42.472] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [16:41:42.507] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [16:41:42.514] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [16:41:42.521] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [16:41:42.527] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [16:41:42.534] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [16:41:42.540] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [16:41:42.562] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [16:41:42.569] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [16:41:42.575] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [16:41:42.612] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [16:41:42.649] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [16:41:42.655] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [16:41:42.662] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [16:41:42.696] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [16:41:42.703] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [16:41:42.710] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [16:41:42.717] checking whether the C compiler still works... yes [16:41:42.782] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [16:41:42.851] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [16:41:42.851] checking pkg-config is at least version 0.9.0... yes [16:41:42.868] checking whether to build with ICU support... no [16:41:42.868] checking whether to build with Tcl... no [16:41:42.868] checking whether to build Perl modules... no [16:41:42.868] checking whether to build Python modules... no [16:41:42.868] checking whether to build with GSSAPI support... no [16:41:42.869] checking whether to build with PAM support... no [16:41:42.869] checking whether to build with BSD Authentication support... no [16:41:42.869] checking whether to build with LDAP support... no [16:41:42.870] checking whether to build with Bonjour support... no [16:41:42.870] checking whether to build with SELinux support... no [16:41:42.870] checking whether to build with systemd support... no [16:41:42.870] configure: WARNING: *** Readline does not work on MinGW --- disabling [16:41:42.870] checking whether to build with XML support... no [16:41:42.870] checking whether to build with LZ4 support... no [16:41:42.870] checking whether to build with ZSTD support... no [16:41:42.871] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [16:41:42.871] checking whether it is possible to strip libraries... yes [16:41:42.879] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [16:41:42.879] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [16:41:42.880] checking for a BSD-compatible install... /usr/bin/install -c [16:41:42.888] checking for tar... /usr/bin/tar [16:41:42.889] checking whether ln -s works... yes [16:41:42.889] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [16:41:42.891] checking for bison... /usr/bin/bison [16:41:42.894] configure: using bison (GNU Bison) 3.8.2 [16:41:42.897] checking for flex... /usr/bin/flex [16:41:42.910] configure: using flex 2.6.4 [16:41:42.910] checking for perl... /usr/bin/perl [16:41:42.913] configure: using perl 5.36.0 [16:41:42.915] checking for zic... /usr/sbin/zic [16:41:42.916] checking for a sed that does not truncate output... /usr/bin/sed [16:41:42.921] checking for grep that handles long lines and -e... /usr/bin/grep [16:41:42.923] checking for egrep... /usr/bin/grep -E [16:41:42.925] checking for ANSI C header files... yes [16:41:42.975] checking for sys/types.h... yes [16:41:42.993] checking for sys/stat.h... yes [16:41:43.008] checking for stdlib.h... yes [16:41:43.023] checking for string.h... yes [16:41:43.037] checking for memory.h... yes [16:41:43.051] checking for strings.h... yes [16:41:43.065] checking for inttypes.h... yes [16:41:43.082] checking for stdint.h... yes [16:41:43.097] checking for unistd.h... yes [16:41:43.114] checking for main in -lm... yes [16:41:43.161] checking for library containing setproctitle... no [16:41:43.250] checking for library containing dlsym... no [16:41:43.336] checking for library containing socket... -lws2_32 [16:41:43.462] checking for library containing getopt_long... none required [16:41:43.508] checking for library containing shm_open... no [16:41:43.593] checking for library containing shm_unlink... no [16:41:43.679] checking for library containing clock_gettime... no [16:41:43.764] checking for library containing shmget... no [16:41:43.849] checking for library containing backtrace_symbols... no [16:41:43.936] checking for library containing pthread_barrier_wait... -lpthread [16:41:44.029] checking for inflate in -lz... yes [16:41:44.075] checking for stdbool.h that conforms to C99... yes [16:41:44.086] checking for _Bool... yes [16:41:44.160] checking atomic.h usability... no [16:41:44.216] checking atomic.h presence... no [16:41:44.236] checking for atomic.h... no [16:41:44.239] checking copyfile.h usability... no [16:41:44.296] checking copyfile.h presence... no [16:41:44.315] checking for copyfile.h... no [16:41:44.318] checking execinfo.h usability... no [16:41:44.374] checking execinfo.h presence... no [16:41:44.394] checking for execinfo.h... no [16:41:44.397] checking getopt.h usability... yes [16:41:44.405] checking getopt.h presence... yes [16:41:44.421] checking for getopt.h... yes [16:41:44.428] checking ifaddrs.h usability... no [16:41:44.487] checking ifaddrs.h presence... no [16:41:44.506] checking for ifaddrs.h... no [16:41:44.509] checking mbarrier.h usability... no [16:41:44.566] checking mbarrier.h presence... no [16:41:44.587] checking for mbarrier.h... no [16:41:44.590] checking sys/epoll.h usability... no [16:41:44.647] checking sys/epoll.h presence... no [16:41:44.667] checking for sys/epoll.h... no [16:41:44.670] checking sys/event.h usability... no [16:41:44.727] checking sys/event.h presence... no [16:41:44.746] checking for sys/event.h... no [16:41:44.749] checking sys/personality.h usability... no [16:41:44.806] checking sys/personality.h presence... no [16:41:44.825] checking for sys/personality.h... no [16:41:44.829] checking sys/prctl.h usability... no [16:41:44.887] checking sys/prctl.h presence... no [16:41:44.908] checking for sys/prctl.h... no [16:41:44.911] checking sys/procctl.h usability... no [16:41:44.969] checking sys/procctl.h presence... no [16:41:44.988] checking for sys/procctl.h... no [16:41:44.992] checking sys/signalfd.h usability... no [16:41:45.048] checking sys/signalfd.h presence... no [16:41:45.067] checking for sys/signalfd.h... no [16:41:45.070] checking sys/ucred.h usability... no [16:41:45.125] checking sys/ucred.h presence... no [16:41:45.144] checking for sys/ucred.h... no [16:41:45.147] checking termios.h usability... no [16:41:45.202] checking termios.h presence... no [16:41:45.221] checking for termios.h... no [16:41:45.225] checking ucred.h usability... no [16:41:45.283] checking ucred.h presence... no [16:41:45.303] checking for ucred.h... no [16:41:45.306] checking xlocale.h usability... no [16:41:45.363] checking xlocale.h presence... no [16:41:45.382] checking for xlocale.h... no [16:41:45.385] checking zlib.h usability... yes [16:41:45.395] checking zlib.h presence... yes [16:41:45.414] checking for zlib.h... yes [16:41:45.415] checking for lz4... /usr/bin/lz4 [16:41:45.415] checking for zstd... /usr/bin/zstd [16:41:45.415] checking for openssl... /usr/bin/openssl [16:41:45.420] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [16:41:45.421] checking crtdefs.h usability... yes [16:41:45.429] checking crtdefs.h presence... yes [16:41:45.445] checking for crtdefs.h... yes [16:41:45.446] checking whether byte ordering is bigendian... no [16:41:45.523] checking for inline... inline [16:41:45.531] checking for printf format archetype... gnu_printf [16:41:45.539] checking for _Static_assert... yes [16:41:45.583] checking for typeof... typeof [16:41:45.591] checking for __builtin_types_compatible_p... yes [16:41:45.602] checking for __builtin_constant_p... yes [16:41:45.613] checking for __builtin_unreachable... yes [16:41:45.656] checking for computed goto support... yes [16:41:45.664] checking for struct tm.tm_zone... no [16:41:45.746] checking for union semun... no [16:41:45.781] checking for socklen_t... yes [16:41:46.974] checking for struct sockaddr.sa_len... no [16:41:49.042] checking for C/C++ restrict keyword... __restrict [16:41:49.055] checking for struct option... yes [16:41:49.095] checking whether assembler supports x86_64 popcntq... yes [16:41:49.102] checking size of off_t... 4 [16:41:49.304] 0 [16:41:49.305] checking size of bool... 1 [16:41:49.352] checking for int timezone... yes [16:41:49.407] checking for backtrace_symbols... no [16:41:49.460] checking for copyfile... no [16:41:49.510] checking for copy_file_range... no [16:41:49.559] checking for elf_aux_info... no [16:41:49.608] checking for getauxval... no [16:41:49.657] checking for getifaddrs... no [16:41:49.707] checking for getpeerucred... no [16:41:49.758] checking for inet_pton... yes [16:41:49.808] checking for kqueue... no [16:41:49.860] checking for mbstowcs_l... no [16:41:49.913] checking for memset_s... no [16:41:49.962] checking for posix_fallocate... no [16:41:50.012] checking for ppoll... no [16:41:50.061] checking for pthread_is_threaded_np... no [16:41:50.110] checking for setproctitle... no [16:41:50.159] checking for setproctitle_fast... no [16:41:50.208] checking for strchrnul... no [16:41:50.258] checking for strsignal... no [16:41:50.307] checking for syncfs... no [16:41:50.355] checking for sync_file_range... no [16:41:50.404] checking for uselocale... no [16:41:50.452] checking for wcstombs_l... no [16:41:50.497] checking for __builtin_bswap16... yes [16:41:50.545] checking for __builtin_bswap32... yes [16:41:50.591] checking for __builtin_bswap64... yes [16:41:50.640] checking for __builtin_clz... yes [16:41:50.688] checking for __builtin_ctz... yes [16:41:50.734] checking for __builtin_popcount... yes [16:41:50.783] checking for __builtin_frame_address... yes [16:41:50.828] checking for _LARGEFILE_SOURCE value needed for large files... no [16:41:50.881] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [16:41:50.913] checking for posix_fadvise... no [16:41:50.964] checking whether posix_fadvise is declared... no [16:41:51.010] checking whether fdatasync is declared... no [16:41:51.058] checking whether strlcat is declared... no [16:41:51.122] checking whether strlcpy is declared... no [16:41:51.187] checking whether strnlen is declared... yes [16:41:51.202] checking whether strsep is declared... no [16:41:51.264] checking whether preadv is declared... no [16:41:51.302] checking whether pwritev is declared... no [16:41:51.338] checking whether F_FULLFSYNC is declared... no [16:41:51.378] checking for explicit_bzero... no [16:41:51.426] checking for getopt... yes [16:41:51.471] checking for getpeereid... no [16:41:51.518] checking for inet_aton... no [16:41:51.566] checking for mkdtemp... no [16:41:51.613] checking for strlcat... no [16:41:51.661] checking for strlcpy... no [16:41:51.710] checking for strnlen... yes [16:41:51.760] checking for strsep... no [16:41:51.807] checking for pthread_barrier_wait... yes [16:41:51.850] configure: On mingw32 we will use our strtof wrapper. [16:41:51.851] checking for getopt_long... yes [16:41:51.896] checking for _configthreadlocale... yes [16:41:51.942] checking for syslog... no [16:41:51.989] checking for opterr... yes [16:41:52.037] checking for optreset... no [16:41:52.088] checking test program... cross-compiling [16:41:52.088] checking whether long int is 64 bits... no [16:41:52.118] checking whether long long int is 64 bits... yes [16:41:52.126] checking for __builtin_mul_overflow... yes [16:41:52.168] checking size of void *... 8 [16:41:52.429] checking size of size_t... 8 [16:41:52.686] checking size of long... 4 [16:41:52.892] checking alignment of short... 2 [16:41:53.030] checking alignment of int... 4 [16:41:53.235] checking alignment of long... 4 [16:41:53.441] checking alignment of long long int... 8 [16:41:53.720] checking alignment of double... 8 [16:41:53.998] checking for __int128... yes [16:41:54.048] checking for __int128 alignment bug... assuming ok [16:41:54.048] checking alignment of PG_INT128_TYPE... 16 [16:41:54.376] checking for builtin __sync char locking functions... yes [16:41:54.419] checking for builtin __sync int32 locking functions... yes [16:41:54.462] checking for builtin __sync int32 atomic operations... yes [16:41:54.505] checking for builtin __sync int64 atomic operations... yes [16:41:54.548] checking for builtin __atomic int32 atomic operations... yes [16:41:54.591] checking for builtin __atomic int64 atomic operations... yes [16:41:54.635] checking for __get_cpuid... yes [16:41:54.686] checking for __get_cpuid_count... yes [16:41:54.732] checking for __cpuid... no [16:41:55.141] checking for __cpuidex... no [16:41:55.577] checking for _xgetbv... yes [16:41:55.992] checking for _mm512_popcnt_epi64... yes [16:41:56.430] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [16:41:56.480] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [16:41:56.575] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [16:41:56.599] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [16:41:56.619] 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:41:56.677] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [16:41:56.678] checking which random number source to use... Windows native [16:41:56.680] checking for xmllint... /usr/bin/xmllint [16:41:56.680] checking for xsltproc... /usr/bin/xsltproc [16:41:56.680] checking for fop... /usr/bin/fop [16:41:56.680] checking for dbtoepub... no [16:41:56.681] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [16:41:56.681] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [16:41:56.681] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [16:41:56.693] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [16:41:56.693] 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 [16:41:56.693] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [16:41:56.693] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [16:41:56.788] configure: creating ./config.status [16:41:56.882] config.status: creating GNUmakefile [16:41:56.896] config.status: creating src/Makefile.global [16:41:56.913] config.status: creating src/include/pg_config.h [16:41:56.927] config.status: creating src/include/pg_config_ext.h [16:41:56.941] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [16:41:56.959] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [16:41:56.968] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [16:41:56.977] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [16:41:56.985] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [16:41:56.994] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [16:41:56.997] config.status: executing check_win32_symlinks commands [16:41:57.036] [16:41:57.036] real 0m15.696s [16:41:57.036] user 0m10.427s [16:41:57.036] sys 0m4.900s [16:41:57.036] make -s -j${BUILD_JOBS} clean [16:41:57.560] time make -s -j${BUILD_JOBS} world-bin [16:42:02.646] In file included from ../../../src/include/postgres.h:46, [16:42:02.646] from copyfrom.c:21: [16:42:02.646] copyfrom.c: In function ‘CopyFrom’: [16:42:02.646] copyfrom.c:1036:64: error: too many arguments for format [-Werror=format-extra-args] [16:42:02.646] 1036 | errmsg("failed to replace column containing erroneous data with null", [16:42:02.646] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [16:42:02.646] ../../../src/include/utils/elog.h:147:25: note: in definition of macro ‘ereport_domain’ [16:42:02.646] 147 | __VA_ARGS__, errfinish(__FILE__, __LINE__, __func__); \ [16:42:02.646] | ^~~~~~~~~~~ [16:42:02.646] copyfrom.c:1034:41: note: in expansion of macro ‘ereport’ [16:42:02.646] 1034 | ereport(ERROR, [16:42:02.646] | ^~~~~~~ [16:42:02.646] cc1: all warnings being treated as errors [16:42:02.647] make[3]: *** [: copyfrom.o] Error 1 [16:42:02.647] make[2]: *** [common.mk:37: commands-recursive] Error 2 [16:42:02.647] make[2]: *** Waiting for unfinished jobs.... [16:42:03.741] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [16:42:03.741] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [16:42:03.742] [16:42:03.742] real 0m6.182s [16:42:03.742] user 0m10.956s [16:42:03.742] sys 0m5.724s [16:42:03.742] [16:42:03.742] Exit status: 2