[11:38:32.973] time ./configure \ [11:38:32.973] --host=x86_64-w64-mingw32 \ [11:38:32.973] --enable-cassert \ [11:38:32.973] --without-icu \ [11:38:32.973] CC="ccache x86_64-w64-mingw32-gcc" \ [11:38:32.973] CXX="ccache x86_64-w64-mingw32-g++" [11:38:33.079] checking build system type... x86_64-pc-linux-gnu [11:38:33.261] checking host system type... x86_64-w64-mingw32 [11:38:33.266] checking which template to use... win32 [11:38:33.266] checking whether NLS is wanted... no [11:38:33.267] checking for default port number... 5432 [11:38:33.273] checking for block size... 8kB [11:38:33.274] checking for segment size... 1GB [11:38:33.276] checking for WAL block size... 8kB [11:38:33.277] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [11:38:33.309] checking whether the C compiler works... yes [11:38:33.457] checking for C compiler default output file name... a.exe [11:38:33.459] checking for suffix of executables... .exe [11:38:33.500] checking whether we are cross compiling... yes [11:38:33.575] checking for suffix of object files... o [11:38:33.584] checking whether we are using the GNU C compiler... yes [11:38:33.590] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [11:38:33.597] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [11:38:33.607] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [11:38:33.668] checking whether we are using the GNU C++ compiler... yes [11:38:33.675] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [11:38:33.745] checking for gawk... no [11:38:33.745] checking for mawk... mawk [11:38:33.748] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [11:38:33.755] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [11:38:33.762] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [11:38:33.811] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [11:38:33.982] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [11:38:33.989] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [11:38:33.996] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [11:38:34.003] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [11:38:34.010] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [11:38:34.016] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [11:38:34.023] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [11:38:34.029] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [11:38:34.036] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [11:38:34.042] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [11:38:34.048] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [11:38:34.055] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [11:38:34.062] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [11:38:34.098] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [11:38:34.104] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [11:38:34.111] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [11:38:34.117] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [11:38:34.124] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [11:38:34.131] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [11:38:34.155] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [11:38:34.161] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [11:38:34.168] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [11:38:34.204] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [11:38:34.242] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [11:38:34.249] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [11:38:34.256] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [11:38:34.289] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [11:38:34.296] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [11:38:34.303] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [11:38:34.310] checking whether the C compiler still works... yes [11:38:34.374] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [11:38:34.447] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [11:38:34.448] checking pkg-config is at least version 0.9.0... yes [11:38:34.465] checking whether to build with ICU support... no [11:38:34.465] checking whether to build with Tcl... no [11:38:34.465] checking whether to build Perl modules... no [11:38:34.465] checking whether to build Python modules... no [11:38:34.465] checking whether to build with GSSAPI support... no [11:38:34.466] checking whether to build with PAM support... no [11:38:34.467] checking whether to build with BSD Authentication support... no [11:38:34.467] checking whether to build with LDAP support... no [11:38:34.467] checking whether to build with Bonjour support... no [11:38:34.467] checking whether to build with SELinux support... no [11:38:34.467] checking whether to build with systemd support... no [11:38:34.467] configure: WARNING: *** Readline does not work on MinGW --- disabling [11:38:34.467] checking whether to build with XML support... no [11:38:34.467] checking whether to build with LZ4 support... no [11:38:34.468] checking whether to build with ZSTD support... no [11:38:34.468] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [11:38:34.468] checking whether it is possible to strip libraries... yes [11:38:34.475] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [11:38:34.475] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [11:38:34.475] checking for a BSD-compatible install... /usr/bin/install -c [11:38:34.484] checking for tar... /usr/bin/tar [11:38:34.484] checking whether ln -s works... yes [11:38:34.484] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [11:38:34.487] checking for bison... /usr/bin/bison [11:38:34.489] configure: using bison (GNU Bison) 3.8.2 [11:38:34.491] checking for flex... /usr/bin/flex [11:38:34.503] configure: using flex 2.6.4 [11:38:34.503] checking for perl... /usr/bin/perl [11:38:34.506] configure: using perl 5.36.0 [11:38:34.508] checking for zic... /usr/sbin/zic [11:38:34.508] checking for a sed that does not truncate output... /usr/bin/sed [11:38:34.513] checking for grep that handles long lines and -e... /usr/bin/grep [11:38:34.515] checking for egrep... /usr/bin/grep -E [11:38:34.516] checking for ANSI C header files... yes [11:38:34.561] checking for sys/types.h... yes [11:38:34.577] checking for sys/stat.h... yes [11:38:34.592] checking for stdlib.h... yes [11:38:34.606] checking for string.h... yes [11:38:34.621] checking for memory.h... yes [11:38:34.636] checking for strings.h... yes [11:38:34.651] checking for inttypes.h... yes [11:38:34.668] checking for stdint.h... yes [11:38:34.683] checking for unistd.h... yes [11:38:34.697] checking for main in -lm... yes [11:38:34.745] checking for library containing setproctitle... no [11:38:34.835] checking for library containing dlsym... no [11:38:34.923] checking for library containing socket... -lws2_32 [11:38:35.049] checking for library containing getopt_long... none required [11:38:35.095] checking for library containing shm_open... no [11:38:35.183] checking for library containing shm_unlink... no [11:38:35.272] checking for library containing clock_gettime... no [11:38:35.360] checking for library containing shmget... no [11:38:35.449] checking for library containing backtrace_symbols... no [11:38:35.540] checking for library containing pthread_barrier_wait... -lpthread [11:38:35.630] checking for inflate in -lz... yes [11:38:35.677] checking for stdbool.h that conforms to C99... yes [11:38:35.689] checking for _Bool... yes [11:38:35.765] checking atomic.h usability... no [11:38:35.822] checking atomic.h presence... no [11:38:35.841] checking for atomic.h... no [11:38:35.844] checking copyfile.h usability... no [11:38:35.901] checking copyfile.h presence... no [11:38:35.920] checking for copyfile.h... no [11:38:35.923] checking execinfo.h usability... no [11:38:35.977] checking execinfo.h presence... no [11:38:35.996] checking for execinfo.h... no [11:38:35.999] checking getopt.h usability... yes [11:38:36.007] checking getopt.h presence... yes [11:38:36.022] checking for getopt.h... yes [11:38:36.030] checking ifaddrs.h usability... no [11:38:36.086] checking ifaddrs.h presence... no [11:38:36.106] checking for ifaddrs.h... no [11:38:36.109] checking mbarrier.h usability... no [11:38:36.165] checking mbarrier.h presence... no [11:38:36.185] checking for mbarrier.h... no [11:38:36.188] checking sys/epoll.h usability... no [11:38:36.245] checking sys/epoll.h presence... no [11:38:36.264] checking for sys/epoll.h... no [11:38:36.268] checking sys/event.h usability... no [11:38:36.325] checking sys/event.h presence... no [11:38:36.344] checking for sys/event.h... no [11:38:36.347] checking sys/personality.h usability... no [11:38:36.403] checking sys/personality.h presence... no [11:38:36.421] checking for sys/personality.h... no [11:38:36.425] checking sys/prctl.h usability... no [11:38:36.479] checking sys/prctl.h presence... no [11:38:36.499] checking for sys/prctl.h... no [11:38:36.502] checking sys/procctl.h usability... no [11:38:36.558] checking sys/procctl.h presence... no [11:38:36.577] checking for sys/procctl.h... no [11:38:36.580] checking sys/signalfd.h usability... no [11:38:36.636] checking sys/signalfd.h presence... no [11:38:36.655] checking for sys/signalfd.h... no [11:38:36.658] checking sys/ucred.h usability... no [11:38:36.714] checking sys/ucred.h presence... no [11:38:36.733] checking for sys/ucred.h... no [11:38:36.736] checking termios.h usability... no [11:38:36.793] checking termios.h presence... no [11:38:36.812] checking for termios.h... no [11:38:36.816] checking ucred.h usability... no [11:38:36.874] checking ucred.h presence... no [11:38:36.893] checking for ucred.h... no [11:38:36.897] checking xlocale.h usability... no [11:38:36.953] checking xlocale.h presence... no [11:38:36.972] checking for xlocale.h... no [11:38:36.975] checking zlib.h usability... yes [11:38:36.986] checking zlib.h presence... yes [11:38:37.005] checking for zlib.h... yes [11:38:37.006] checking for lz4... /usr/bin/lz4 [11:38:37.006] checking for zstd... /usr/bin/zstd [11:38:37.006] checking for openssl... /usr/bin/openssl [11:38:37.010] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [11:38:37.011] checking crtdefs.h usability... yes [11:38:37.019] checking crtdefs.h presence... yes [11:38:37.034] checking for crtdefs.h... yes [11:38:37.036] checking whether byte ordering is bigendian... no [11:38:37.111] checking for inline... inline [11:38:37.118] checking for printf format archetype... gnu_printf [11:38:37.127] checking for _Static_assert... yes [11:38:37.168] checking for typeof... typeof [11:38:37.176] checking for __builtin_types_compatible_p... yes [11:38:37.186] checking for __builtin_constant_p... yes [11:38:37.197] checking for __builtin_unreachable... yes [11:38:37.239] checking for computed goto support... yes [11:38:37.247] checking for struct tm.tm_zone... no [11:38:37.326] checking for union semun... no [11:38:37.362] checking for socklen_t... yes [11:38:38.567] checking for struct sockaddr.sa_len... no [11:38:40.594] checking for C/C++ restrict keyword... __restrict [11:38:40.607] checking for struct option... yes [11:38:40.647] checking whether assembler supports x86_64 popcntq... yes [11:38:40.654] checking size of off_t... 4 [11:38:40.855] 0 [11:38:40.855] checking size of bool... 1 [11:38:40.902] checking for int timezone... yes [11:38:40.957] checking for backtrace_symbols... no [11:38:41.007] checking for copyfile... no [11:38:41.058] checking for copy_file_range... no [11:38:41.109] checking for getifaddrs... no [11:38:41.158] checking for getpeerucred... no [11:38:41.209] checking for inet_pton... yes [11:38:41.259] checking for kqueue... no [11:38:41.309] checking for mbstowcs_l... no [11:38:41.359] checking for memset_s... no [11:38:41.410] checking for posix_fallocate... no [11:38:41.462] checking for ppoll... no [11:38:41.512] checking for pthread_is_threaded_np... no [11:38:41.564] checking for setproctitle... no [11:38:41.615] checking for setproctitle_fast... no [11:38:41.665] checking for strchrnul... no [11:38:41.717] checking for strsignal... no [11:38:41.768] checking for syncfs... no [11:38:41.817] checking for sync_file_range... no [11:38:41.866] checking for uselocale... no [11:38:41.916] checking for wcstombs_l... no [11:38:41.963] checking for __builtin_bswap16... yes [11:38:42.011] checking for __builtin_bswap32... yes [11:38:42.057] checking for __builtin_bswap64... yes [11:38:42.103] checking for __builtin_clz... yes [11:38:42.151] checking for __builtin_ctz... yes [11:38:42.199] checking for __builtin_popcount... yes [11:38:42.246] checking for __builtin_frame_address... yes [11:38:42.294] checking for _LARGEFILE_SOURCE value needed for large files... no [11:38:42.348] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [11:38:42.380] checking for posix_fadvise... no [11:38:42.433] checking whether posix_fadvise is declared... no [11:38:42.480] checking whether fdatasync is declared... no [11:38:42.528] checking whether strlcat is declared... no [11:38:42.592] checking whether strlcpy is declared... no [11:38:42.654] checking whether strnlen is declared... yes [11:38:42.670] checking whether strsep is declared... no [11:38:42.734] checking whether preadv is declared... no [11:38:42.772] checking whether pwritev is declared... no [11:38:42.810] checking whether F_FULLFSYNC is declared... no [11:38:42.850] checking for explicit_bzero... no [11:38:42.897] checking for getopt... yes [11:38:42.940] checking for getpeereid... no [11:38:42.989] checking for inet_aton... no [11:38:43.036] checking for mkdtemp... no [11:38:43.083] checking for strlcat... no [11:38:43.130] checking for strlcpy... no [11:38:43.178] checking for strnlen... yes [11:38:43.225] checking for strsep... no [11:38:43.273] checking for pthread_barrier_wait... yes [11:38:43.316] configure: On mingw32 we will use our strtof wrapper. [11:38:43.316] checking for getopt_long... yes [11:38:43.361] checking for _configthreadlocale... yes [11:38:43.406] checking for syslog... no [11:38:43.453] checking for opterr... yes [11:38:43.503] checking for optreset... no [11:38:43.553] checking test program... cross-compiling [11:38:43.553] checking whether long int is 64 bits... no [11:38:43.586] checking whether long long int is 64 bits... yes [11:38:43.596] checking for __builtin_mul_overflow... yes [11:38:43.638] checking size of void *... 8 [11:38:43.909] checking size of size_t... 8 [11:38:44.185] checking size of long... 4 [11:38:44.396] checking alignment of short... 2 [11:38:44.539] checking alignment of int... 4 [11:38:44.743] checking alignment of long... 4 [11:38:44.947] checking alignment of long long int... 8 [11:38:45.216] checking alignment of double... 8 [11:38:45.491] checking for __int128... yes [11:38:45.541] checking for __int128 alignment bug... assuming ok [11:38:45.541] checking alignment of PG_INT128_TYPE... 16 [11:38:45.863] checking for builtin __sync char locking functions... yes [11:38:45.904] checking for builtin __sync int32 locking functions... yes [11:38:45.945] checking for builtin __sync int32 atomic operations... yes [11:38:45.986] checking for builtin __sync int64 atomic operations... yes [11:38:46.027] checking for builtin __atomic int32 atomic operations... yes [11:38:46.068] checking for builtin __atomic int64 atomic operations... yes [11:38:46.109] checking for __get_cpuid... yes [11:38:46.155] checking for __get_cpuid_count... yes [11:38:46.198] checking for __cpuid... no [11:38:46.597] checking for __cpuidex... no [11:38:47.015] checking for _xgetbv... yes [11:38:47.411] checking for _mm512_popcnt_epi64... yes [11:38:47.841] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [11:38:47.890] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [11:38:47.981] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [11:38:48.005] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [11:38:48.025] 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 [11:38:48.082] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [11:38:48.082] checking which random number source to use... Windows native [11:38:48.084] checking for xmllint... /usr/bin/xmllint [11:38:48.085] checking for xsltproc... /usr/bin/xsltproc [11:38:48.085] checking for fop... /usr/bin/fop [11:38:48.085] checking for dbtoepub... no [11:38:48.085] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [11:38:48.086] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [11:38:48.086] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [11:38:48.097] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [11:38:48.097] 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 [11:38:48.097] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [11:38:48.097] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [11:38:48.186] configure: creating ./config.status [11:38:48.275] config.status: creating GNUmakefile [11:38:48.287] config.status: creating src/Makefile.global [11:38:48.304] config.status: creating src/include/pg_config.h [11:38:48.317] config.status: creating src/include/pg_config_ext.h [11:38:48.330] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [11:38:48.345] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [11:38:48.352] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [11:38:48.360] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [11:38:48.367] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [11:38:48.374] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [11:38:48.377] config.status: executing check_win32_symlinks commands [11:38:48.412] [11:38:48.412] real 0m15.438s [11:38:48.412] user 0m10.282s [11:38:48.412] sys 0m4.813s [11:38:48.412] make -s -j${BUILD_JOBS} clean [11:38:48.894] time make -s -j${BUILD_JOBS} world-bin [11:38:53.776] In file included from ../../../src/include/postgres.h:46, [11:38:53.776] from copyfrom.c:21: [11:38:53.776] copyfrom.c: In function ‘CopyFrom’: [11:38:53.776] copyfrom.c:1036:64: error: too many arguments for format [-Werror=format-extra-args] [11:38:53.776] 1036 | errmsg("failed to replace column containing erroneous data with null", [11:38:53.776] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [11:38:53.776] ../../../src/include/utils/elog.h:147:25: note: in definition of macro ‘ereport_domain’ [11:38:53.776] 147 | __VA_ARGS__, errfinish(__FILE__, __LINE__, __func__); \ [11:38:53.776] | ^~~~~~~~~~~ [11:38:53.776] copyfrom.c:1034:41: note: in expansion of macro ‘ereport’ [11:38:53.776] 1034 | ereport(ERROR, [11:38:53.776] | ^~~~~~~ [11:38:53.776] cc1: all warnings being treated as errors [11:38:53.777] make[3]: *** [: copyfrom.o] Error 1 [11:38:53.777] make[2]: *** [common.mk:37: commands-recursive] Error 2 [11:38:53.777] make[2]: *** Waiting for unfinished jobs.... [11:38:55.023] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [11:38:55.023] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [11:38:55.023] [11:38:55.023] real 0m6.129s [11:38:55.023] user 0m12.077s [11:38:55.023] sys 0m5.696s [11:38:55.024] [11:38:55.024] Exit status: 2