[13:17:19.778] time ./configure \ [13:17:19.778] --host=x86_64-w64-mingw32 \ [13:17:19.778] --enable-cassert \ [13:17:19.778] --without-icu \ [13:17:19.778] CC="ccache x86_64-w64-mingw32-gcc" \ [13:17:19.778] CXX="ccache x86_64-w64-mingw32-g++" [13:17:19.888] checking build system type... x86_64-pc-linux-gnu [13:17:20.083] checking host system type... x86_64-w64-mingw32 [13:17:20.088] checking which template to use... win32 [13:17:20.088] checking whether NLS is wanted... no [13:17:20.088] checking for default port number... 5432 [13:17:20.095] checking for block size... 8kB [13:17:20.096] checking for segment size... 1GB [13:17:20.098] checking for WAL block size... 8kB [13:17:20.099] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:17:20.132] checking whether the C compiler works... yes [13:17:20.275] checking for C compiler default output file name... a.exe [13:17:20.276] checking for suffix of executables... .exe [13:17:20.316] checking whether we are cross compiling... yes [13:17:20.395] checking for suffix of object files... o [13:17:20.404] checking whether we are using the GNU C compiler... yes [13:17:20.411] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:17:20.417] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:17:20.427] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:17:20.484] checking whether we are using the GNU C++ compiler... yes [13:17:20.491] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:17:20.558] checking for gawk... no [13:17:20.558] checking for mawk... mawk [13:17:20.560] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:17:20.567] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:17:20.574] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:17:20.620] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:17:20.790] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:17:20.797] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:17:20.803] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:17:20.810] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:17:20.816] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:17:20.822] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:17:20.829] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:17:20.835] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:17:20.841] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:17:20.848] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:17:20.854] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:17:20.861] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:17:20.867] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:17:20.903] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:17:20.910] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:17:20.916] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:17:20.923] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:17:20.929] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:17:20.935] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:17:20.958] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:17:20.965] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:17:20.971] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:17:21.007] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:17:21.044] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:17:21.050] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:17:21.057] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:17:21.091] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:17:21.097] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:17:21.104] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:17:21.111] checking whether the C compiler still works... yes [13:17:21.173] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:17:21.241] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:17:21.241] checking pkg-config is at least version 0.9.0... yes [13:17:21.260] checking whether to build with ICU support... no [13:17:21.260] checking whether to build with Tcl... no [13:17:21.260] checking whether to build Perl modules... no [13:17:21.260] checking whether to build Python modules... no [13:17:21.260] checking whether to build with GSSAPI support... no [13:17:21.262] checking whether to build with PAM support... no [13:17:21.262] checking whether to build with BSD Authentication support... no [13:17:21.262] checking whether to build with LDAP support... no [13:17:21.262] checking whether to build with Bonjour support... no [13:17:21.262] checking whether to build with SELinux support... no [13:17:21.262] checking whether to build with systemd support... no [13:17:21.262] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:17:21.262] checking whether to build with XML support... no [13:17:21.263] checking whether to build with LZ4 support... no [13:17:21.263] checking whether to build with ZSTD support... no [13:17:21.263] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:17:21.263] checking whether it is possible to strip libraries... yes [13:17:21.270] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:17:21.270] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:17:21.271] checking for a BSD-compatible install... /usr/bin/install -c [13:17:21.279] checking for tar... /usr/bin/tar [13:17:21.279] checking whether ln -s works... yes [13:17:21.279] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:17:21.281] checking for bison... /usr/bin/bison [13:17:21.283] configure: using bison (GNU Bison) 3.8.2 [13:17:21.286] checking for flex... /usr/bin/flex [13:17:21.297] configure: using flex 2.6.4 [13:17:21.298] checking for perl... /usr/bin/perl [13:17:21.301] configure: using perl 5.36.0 [13:17:21.303] checking for zic... /usr/sbin/zic [13:17:21.303] checking for a sed that does not truncate output... /usr/bin/sed [13:17:21.308] checking for grep that handles long lines and -e... /usr/bin/grep [13:17:21.310] checking for egrep... /usr/bin/grep -E [13:17:21.311] checking for ANSI C header files... yes [13:17:21.360] checking for sys/types.h... yes [13:17:21.377] checking for sys/stat.h... yes [13:17:21.392] checking for stdlib.h... yes [13:17:21.405] checking for string.h... yes [13:17:21.419] checking for memory.h... yes [13:17:21.432] checking for strings.h... yes [13:17:21.446] checking for inttypes.h... yes [13:17:21.462] checking for stdint.h... yes [13:17:21.475] checking for unistd.h... yes [13:17:21.490] checking for main in -lm... yes [13:17:21.535] checking for library containing setproctitle... no [13:17:21.621] checking for library containing dlsym... no [13:17:21.705] checking for library containing socket... -lws2_32 [13:17:21.831] checking for library containing getopt_long... none required [13:17:21.877] checking for library containing shm_open... no [13:17:21.961] checking for library containing shm_unlink... no [13:17:22.045] checking for library containing clock_gettime... no [13:17:22.129] checking for library containing shmget... no [13:17:22.214] checking for library containing backtrace_symbols... no [13:17:22.301] checking for library containing pthread_barrier_wait... -lpthread [13:17:22.389] checking for inflate in -lz... yes [13:17:22.433] checking for stdbool.h that conforms to C99... yes [13:17:22.444] checking for _Bool... yes [13:17:22.518] checking atomic.h usability... no [13:17:22.573] checking atomic.h presence... no [13:17:22.592] checking for atomic.h... no [13:17:22.595] checking copyfile.h usability... no [13:17:22.650] checking copyfile.h presence... no [13:17:22.669] checking for copyfile.h... no [13:17:22.673] checking execinfo.h usability... no [13:17:22.729] checking execinfo.h presence... no [13:17:22.748] checking for execinfo.h... no [13:17:22.751] checking getopt.h usability... yes [13:17:22.759] checking getopt.h presence... yes [13:17:22.773] checking for getopt.h... yes [13:17:22.781] checking ifaddrs.h usability... no [13:17:22.836] checking ifaddrs.h presence... no [13:17:22.855] checking for ifaddrs.h... no [13:17:22.858] checking mbarrier.h usability... no [13:17:22.913] checking mbarrier.h presence... no [13:17:22.931] checking for mbarrier.h... no [13:17:22.934] checking sys/epoll.h usability... no [13:17:22.989] checking sys/epoll.h presence... no [13:17:23.007] checking for sys/epoll.h... no [13:17:23.010] checking sys/event.h usability... no [13:17:23.063] checking sys/event.h presence... no [13:17:23.081] checking for sys/event.h... no [13:17:23.084] checking sys/personality.h usability... no [13:17:23.138] checking sys/personality.h presence... no [13:17:23.156] checking for sys/personality.h... no [13:17:23.159] checking sys/prctl.h usability... no [13:17:23.212] checking sys/prctl.h presence... no [13:17:23.230] checking for sys/prctl.h... no [13:17:23.233] checking sys/procctl.h usability... no [13:17:23.288] checking sys/procctl.h presence... no [13:17:23.306] checking for sys/procctl.h... no [13:17:23.309] checking sys/signalfd.h usability... no [13:17:23.360] checking sys/signalfd.h presence... no [13:17:23.377] checking for sys/signalfd.h... no [13:17:23.380] checking sys/ucred.h usability... no [13:17:23.430] checking sys/ucred.h presence... no [13:17:23.447] checking for sys/ucred.h... no [13:17:23.450] checking termios.h usability... no [13:17:23.501] checking termios.h presence... no [13:17:23.517] checking for termios.h... no [13:17:23.520] checking ucred.h usability... no [13:17:23.570] checking ucred.h presence... no [13:17:23.587] checking for ucred.h... no [13:17:23.590] checking xlocale.h usability... no [13:17:23.640] checking xlocale.h presence... no [13:17:23.657] checking for xlocale.h... no [13:17:23.659] checking zlib.h usability... yes [13:17:23.668] checking zlib.h presence... yes [13:17:23.685] checking for zlib.h... yes [13:17:23.685] checking for lz4... /usr/bin/lz4 [13:17:23.685] checking for zstd... /usr/bin/zstd [13:17:23.685] checking for openssl... /usr/bin/openssl [13:17:23.689] configure: using openssl: OpenSSL 3.0.14 4 Jun 2024 (Library: OpenSSL 3.0.14 4 Jun 2024) [13:17:23.690] checking crtdefs.h usability... yes [13:17:23.696] checking crtdefs.h presence... yes [13:17:23.710] checking for crtdefs.h... yes [13:17:23.711] checking whether byte ordering is bigendian... no [13:17:23.775] checking for inline... inline [13:17:23.781] checking for printf format archetype... gnu_printf [13:17:23.789] checking for _Static_assert... yes [13:17:23.827] checking for typeof... typeof [13:17:23.834] checking for __builtin_types_compatible_p... yes [13:17:23.844] checking for __builtin_constant_p... yes [13:17:23.854] checking for __builtin_unreachable... yes [13:17:23.891] checking for computed goto support... yes [13:17:23.898] checking for struct tm.tm_zone... no [13:17:23.976] checking for union semun... no [13:17:24.010] checking for socklen_t... yes [13:17:25.117] checking for struct sockaddr.sa_len... no [13:17:27.118] checking for C/C++ restrict keyword... __restrict [13:17:27.131] checking for struct option... yes [13:17:27.174] checking whether assembler supports x86_64 popcntq... yes [13:17:27.182] checking size of off_t... 4 [13:17:27.384] 0 [13:17:27.385] checking size of bool... 1 [13:17:27.430] checking for int timezone... yes [13:17:27.483] checking for backtrace_symbols... no [13:17:27.531] checking for copyfile... no [13:17:27.579] checking for copy_file_range... no [13:17:27.627] checking for getifaddrs... no [13:17:27.675] checking for getpeerucred... no [13:17:27.723] checking for inet_pton... yes [13:17:27.771] checking for kqueue... no [13:17:27.818] checking for mbstowcs_l... no [13:17:27.865] checking for memset_s... no [13:17:27.912] checking for posix_fallocate... no [13:17:27.959] checking for ppoll... no [13:17:28.006] checking for pthread_is_threaded_np... no [13:17:28.053] checking for setproctitle... no [13:17:28.100] checking for setproctitle_fast... no [13:17:28.148] checking for strchrnul... no [13:17:28.196] checking for strsignal... no [13:17:28.244] checking for syncfs... no [13:17:28.292] checking for sync_file_range... no [13:17:28.340] checking for uselocale... no [13:17:28.387] checking for wcstombs_l... no [13:17:28.432] checking for __builtin_bswap16... yes [13:17:28.478] checking for __builtin_bswap32... yes [13:17:28.524] checking for __builtin_bswap64... yes [13:17:28.569] checking for __builtin_clz... yes [13:17:28.615] checking for __builtin_ctz... yes [13:17:28.659] checking for __builtin_popcount... yes [13:17:28.704] checking for __builtin_frame_address... yes [13:17:28.748] checking for _LARGEFILE_SOURCE value needed for large files... no [13:17:28.798] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:17:28.827] checking for posix_fadvise... no [13:17:28.875] checking whether posix_fadvise is declared... no [13:17:28.916] checking whether fdatasync is declared... no [13:17:28.958] checking whether strlcat is declared... no [13:17:29.018] checking whether strlcpy is declared... no [13:17:29.079] checking whether strnlen is declared... yes [13:17:29.091] checking whether strsep is declared... no [13:17:29.153] checking whether preadv is declared... no [13:17:29.187] checking whether pwritev is declared... no [13:17:29.220] checking whether F_FULLFSYNC is declared... no [13:17:29.259] checking for explicit_bzero... no [13:17:29.304] checking for getopt... yes [13:17:29.347] checking for getpeereid... no [13:17:29.394] checking for inet_aton... no [13:17:29.441] checking for mkdtemp... no [13:17:29.486] checking for strlcat... no [13:17:29.532] checking for strlcpy... no [13:17:29.578] checking for strnlen... yes [13:17:29.624] checking for strsep... no [13:17:29.671] checking for pthread_barrier_wait... yes [13:17:29.713] configure: On mingw32 we will use our strtof wrapper. [13:17:29.713] checking for getopt_long... yes [13:17:29.756] checking for _configthreadlocale... yes [13:17:29.799] checking for syslog... no [13:17:29.844] checking for opterr... yes [13:17:29.890] checking for optreset... no [13:17:29.938] checking test program... cross-compiling [13:17:29.939] checking whether long int is 64 bits... no [13:17:29.967] checking whether long long int is 64 bits... yes [13:17:29.976] checking for __builtin_mul_overflow... yes [13:17:30.016] checking size of void *... 8 [13:17:30.274] checking size of size_t... 8 [13:17:30.526] checking size of long... 4 [13:17:30.718] checking alignment of short... 2 [13:17:30.847] checking alignment of int... 4 [13:17:31.039] checking alignment of long... 4 [13:17:31.233] checking alignment of long long int... 8 [13:17:31.488] checking alignment of double... 8 [13:17:31.744] checking for __int128... yes [13:17:31.791] checking for __int128 alignment bug... assuming ok [13:17:31.791] checking alignment of PG_INT128_TYPE... 16 [13:17:32.105] checking for builtin __sync char locking functions... yes [13:17:32.145] checking for builtin __sync int32 locking functions... yes [13:17:32.185] checking for builtin __sync int32 atomic operations... yes [13:17:32.226] checking for builtin __sync int64 atomic operations... yes [13:17:32.266] checking for builtin __atomic int32 atomic operations... yes [13:17:32.307] checking for builtin __atomic int64 atomic operations... yes [13:17:32.346] checking for __get_cpuid... yes [13:17:32.389] checking for __get_cpuid_count... yes [13:17:32.430] checking for __cpuid... no [13:17:32.820] checking for __cpuidex... no [13:17:33.232] checking for _xgetbv... yes [13:17:33.624] checking for _mm512_popcnt_epi64... yes [13:17:34.033] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [13:17:34.077] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [13:17:34.163] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:17:34.183] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:17:34.201] 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 [13:17:34.255] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:17:34.255] checking which random number source to use... Windows native [13:17:34.257] checking for xmllint... /usr/bin/xmllint [13:17:34.257] checking for xsltproc... /usr/bin/xsltproc [13:17:34.257] checking for fop... /usr/bin/fop [13:17:34.258] checking for dbtoepub... no [13:17:34.258] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:17:34.258] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:17:34.258] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:17:34.268] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:17:34.268] 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 [13:17:34.269] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:17:34.269] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:17:34.352] configure: creating ./config.status [13:17:34.434] config.status: creating GNUmakefile [13:17:34.446] config.status: creating src/Makefile.global [13:17:34.460] config.status: creating src/include/pg_config.h [13:17:34.473] config.status: creating src/include/pg_config_ext.h [13:17:34.484] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:17:34.499] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:17:34.506] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:17:34.513] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:17:34.520] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:17:34.527] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:17:34.530] config.status: executing check_win32_symlinks commands [13:17:34.562] [13:17:34.562] real 0m14.783s [13:17:34.562] user 0m9.688s [13:17:34.562] sys 0m4.731s [13:17:34.562] make -s -j${BUILD_JOBS} clean [13:17:35.036] time make -s -j${BUILD_JOBS} world-bin [13:17:48.403] In file included from ../../../src/include/postgres.h:46, [13:17:48.403] from copyfrom.c:21: [13:17:48.403] copyfrom.c: In function ‘CopyFrom’: [13:17:48.403] copyfrom.c:1035:64: error: too many arguments for format [-Werror=format-extra-args] [13:17:48.403] 1035 | errmsg("failed to replace column containing erroneous data with null", [13:17:48.403] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [13:17:48.403] ../../../src/include/utils/elog.h:147:25: note: in definition of macro ‘ereport_domain’ [13:17:48.403] 147 | __VA_ARGS__, errfinish(__FILE__, __LINE__, __func__); \ [13:17:48.403] | ^~~~~~~~~~~ [13:17:48.403] copyfrom.c:1033:41: note: in expansion of macro ‘ereport’ [13:17:48.403] 1033 | ereport(ERROR, [13:17:48.403] | ^~~~~~~ [13:17:48.403] cc1: all warnings being treated as errors [13:17:48.404] make[3]: *** [: copyfrom.o] Error 1 [13:17:48.404] make[2]: *** [common.mk:37: commands-recursive] Error 2 [13:17:48.405] make[2]: *** Waiting for unfinished jobs.... [13:17:59.439] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [13:17:59.439] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:17:59.440] [13:17:59.440] real 0m24.404s [13:17:59.440] user 1m15.209s [13:17:59.440] sys 0m15.238s [13:17:59.440] [13:17:59.440] Exit status: 2