[17:52:50.493] time ./configure \ [17:52:50.493] --host=x86_64-w64-mingw32 \ [17:52:50.493] --enable-cassert \ [17:52:50.493] --without-icu \ [17:52:50.493] CC="ccache x86_64-w64-mingw32-gcc" \ [17:52:50.493] CXX="ccache x86_64-w64-mingw32-g++" [17:52:50.598] checking build system type... x86_64-pc-linux-gnu [17:52:50.783] checking host system type... x86_64-w64-mingw32 [17:52:50.788] checking which template to use... win32 [17:52:50.788] checking whether NLS is wanted... no [17:52:50.788] checking for default port number... 5432 [17:52:50.794] checking for block size... 8kB [17:52:50.795] checking for segment size... 1GB [17:52:50.798] checking for WAL block size... 8kB [17:52:50.799] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [17:52:50.829] checking whether the C compiler works... yes [17:52:50.966] checking for C compiler default output file name... a.exe [17:52:50.967] checking for suffix of executables... .exe [17:52:51.005] checking whether we are cross compiling... yes [17:52:51.078] checking for suffix of object files... o [17:52:51.085] checking whether we are using the GNU C compiler... yes [17:52:51.091] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [17:52:51.097] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [17:52:51.176] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [17:52:51.231] checking whether we are using the GNU C++ compiler... yes [17:52:51.237] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [17:52:51.296] checking for gawk... no [17:52:51.296] checking for mawk... mawk [17:52:51.298] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [17:52:51.305] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [17:52:51.311] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [17:52:51.353] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [17:52:51.526] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [17:52:51.532] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [17:52:51.539] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [17:52:51.545] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [17:52:51.551] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [17:52:51.557] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [17:52:51.563] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [17:52:51.569] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [17:52:51.575] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [17:52:51.581] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [17:52:51.615] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [17:52:51.621] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [17:52:51.627] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [17:52:51.662] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [17:52:51.668] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [17:52:51.675] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [17:52:51.681] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [17:52:51.687] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [17:52:51.693] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [17:52:51.714] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [17:52:51.721] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [17:52:51.736] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [17:52:51.771] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [17:52:51.807] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [17:52:51.813] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [17:52:51.820] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [17:52:51.853] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [17:52:51.859] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [17:52:51.865] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [17:52:51.872] checking whether the C compiler still works... yes [17:52:51.917] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [17:52:51.980] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [17:52:51.981] checking pkg-config is at least version 0.9.0... yes [17:52:51.998] checking whether to build with ICU support... no [17:52:51.998] checking whether to build with Tcl... no [17:52:51.998] checking whether to build Perl modules... no [17:52:51.998] checking whether to build Python modules... no [17:52:51.999] checking whether to build with GSSAPI support... no [17:52:52.000] checking whether to build with PAM support... no [17:52:52.000] checking whether to build with BSD Authentication support... no [17:52:52.000] checking whether to build with LDAP support... no [17:52:52.000] checking whether to build with Bonjour support... no [17:52:52.000] checking whether to build with SELinux support... no [17:52:52.000] checking whether to build with systemd support... no [17:52:52.000] configure: WARNING: *** Readline does not work on MinGW --- disabling [17:52:52.000] checking whether to build with XML support... no [17:52:52.001] checking whether to build with LZ4 support... no [17:52:52.001] checking whether to build with ZSTD support... no [17:52:52.001] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [17:52:52.001] checking whether it is possible to strip libraries... yes [17:52:52.008] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [17:52:52.009] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [17:52:52.009] checking for a BSD-compatible install... /usr/bin/install -c [17:52:52.017] checking for tar... /usr/bin/tar [17:52:52.017] checking whether ln -s works... yes [17:52:52.017] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [17:52:52.019] checking for bison... /usr/bin/bison [17:52:52.021] configure: using bison (GNU Bison) 3.8.2 [17:52:52.024] checking for flex... /usr/bin/flex [17:52:52.035] configure: using flex 2.6.4 [17:52:52.035] checking for perl... /usr/bin/perl [17:52:52.037] configure: using perl 5.36.0 [17:52:52.039] checking for zic... /usr/sbin/zic [17:52:52.040] checking for a sed that does not truncate output... /usr/bin/sed [17:52:52.044] checking for grep that handles long lines and -e... /usr/bin/grep [17:52:52.046] checking for egrep... /usr/bin/grep -E [17:52:52.047] checking for ANSI C header files... yes [17:52:52.090] checking for sys/types.h... yes [17:52:52.107] checking for sys/stat.h... yes [17:52:52.164] checking for stdlib.h... yes [17:52:52.177] checking for string.h... yes [17:52:52.190] checking for memory.h... yes [17:52:52.203] checking for strings.h... yes [17:52:52.236] checking for inttypes.h... yes [17:52:52.251] checking for stdint.h... yes [17:52:52.284] checking for unistd.h... yes [17:52:52.300] checking for main in -lm... yes [17:52:52.345] checking for library containing setproctitle... no [17:52:52.429] checking for library containing dlsym... no [17:52:52.510] checking for library containing socket... -lws2_32 [17:52:52.631] checking for library containing getopt_long... none required [17:52:52.675] checking for library containing shm_open... no [17:52:52.759] checking for library containing shm_unlink... no [17:52:52.841] checking for library containing clock_gettime... no [17:52:52.924] checking for library containing shmget... no [17:52:53.006] checking for library containing backtrace_symbols... no [17:52:53.091] checking for library containing pthread_barrier_wait... -lpthread [17:52:53.176] checking for inflate in -lz... yes [17:52:53.219] checking for stdbool.h that conforms to C99... yes [17:52:53.229] checking for _Bool... yes [17:52:53.295] checking atomic.h usability... no [17:52:53.346] checking atomic.h presence... no [17:52:53.364] checking for atomic.h... no [17:52:53.367] checking copyfile.h usability... no [17:52:53.417] checking copyfile.h presence... no [17:52:53.433] checking for copyfile.h... no [17:52:53.436] checking execinfo.h usability... no [17:52:53.487] checking execinfo.h presence... no [17:52:53.504] checking for execinfo.h... no [17:52:53.507] checking getopt.h usability... yes [17:52:53.514] checking getopt.h presence... yes [17:52:53.527] checking for getopt.h... yes [17:52:53.533] checking ifaddrs.h usability... no [17:52:53.583] checking ifaddrs.h presence... no [17:52:53.600] checking for ifaddrs.h... no [17:52:53.603] checking mbarrier.h usability... no [17:52:53.653] checking mbarrier.h presence... no [17:52:53.670] checking for mbarrier.h... no [17:52:53.673] checking sys/epoll.h usability... no [17:52:53.722] checking sys/epoll.h presence... no [17:52:53.739] checking for sys/epoll.h... no [17:52:53.742] checking sys/event.h usability... no [17:52:53.792] checking sys/event.h presence... no [17:52:53.808] checking for sys/event.h... no [17:52:53.811] checking sys/personality.h usability... no [17:52:53.861] checking sys/personality.h presence... no [17:52:53.879] checking for sys/personality.h... no [17:52:53.882] checking sys/prctl.h usability... no [17:52:53.934] checking sys/prctl.h presence... no [17:52:53.952] checking for sys/prctl.h... no [17:52:53.955] checking sys/procctl.h usability... no [17:52:54.005] checking sys/procctl.h presence... no [17:52:54.022] checking for sys/procctl.h... no [17:52:54.025] checking sys/signalfd.h usability... no [17:52:54.075] checking sys/signalfd.h presence... no [17:52:54.092] checking for sys/signalfd.h... no [17:52:54.095] checking sys/ucred.h usability... no [17:52:54.145] checking sys/ucred.h presence... no [17:52:54.161] checking for sys/ucred.h... no [17:52:54.164] checking termios.h usability... no [17:52:54.215] checking termios.h presence... no [17:52:54.231] checking for termios.h... no [17:52:54.234] checking ucred.h usability... no [17:52:54.285] checking ucred.h presence... no [17:52:54.302] checking for ucred.h... no [17:52:54.305] checking xlocale.h usability... no [17:52:54.355] checking xlocale.h presence... no [17:52:54.372] checking for xlocale.h... no [17:52:54.375] checking zlib.h usability... yes [17:52:54.385] checking zlib.h presence... yes [17:52:54.402] checking for zlib.h... yes [17:52:54.402] checking for lz4... /usr/bin/lz4 [17:52:54.402] checking for zstd... /usr/bin/zstd [17:52:54.402] checking for openssl... /usr/bin/openssl [17:52:54.406] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [17:52:54.407] checking crtdefs.h usability... yes [17:52:54.413] checking crtdefs.h presence... yes [17:52:54.427] checking for crtdefs.h... yes [17:52:54.428] checking whether byte ordering is bigendian... no [17:52:54.493] checking for inline... inline [17:52:54.500] checking for printf format archetype... gnu_printf [17:52:54.507] checking for _Static_assert... yes [17:52:54.546] checking for typeof... typeof [17:52:54.553] checking for __builtin_types_compatible_p... yes [17:52:54.563] checking for __builtin_constant_p... yes [17:52:54.572] checking for __builtin_unreachable... yes [17:52:54.611] checking for computed goto support... yes [17:52:54.617] checking for struct tm.tm_zone... no [17:52:54.688] checking for union semun... no [17:52:54.718] checking for socklen_t... yes [17:52:56.764] checking for struct sockaddr.sa_len... no [17:52:58.672] checking for C/C++ restrict keyword... __restrict [17:52:58.685] checking for struct option... yes [17:52:58.724] checking whether assembler supports x86_64 popcntq... yes [17:52:58.730] checking size of off_t... 4 [17:52:58.921] 0 [17:52:58.921] checking size of bool... 1 [17:52:58.962] checking for int timezone... yes [17:52:59.010] checking for backtrace_symbols... no [17:52:59.057] checking for copyfile... no [17:52:59.103] checking for copy_file_range... no [17:52:59.149] checking for getifaddrs... no [17:52:59.196] checking for getpeerucred... no [17:52:59.242] checking for inet_pton... yes [17:52:59.292] checking for kqueue... no [17:52:59.340] checking for mbstowcs_l... no [17:52:59.389] checking for memset_s... no [17:52:59.436] checking for posix_fallocate... no [17:52:59.484] checking for ppoll... no [17:52:59.532] checking for pthread_is_threaded_np... no [17:52:59.579] checking for setproctitle... no [17:52:59.625] checking for setproctitle_fast... no [17:52:59.671] checking for strchrnul... no [17:52:59.718] checking for strsignal... no [17:52:59.764] checking for syncfs... no [17:52:59.810] checking for sync_file_range... no [17:52:59.857] checking for uselocale... no [17:52:59.903] checking for wcstombs_l... no [17:52:59.947] checking for __builtin_bswap16... yes [17:52:59.992] checking for __builtin_bswap32... yes [17:53:00.036] checking for __builtin_bswap64... yes [17:53:00.080] checking for __builtin_clz... yes [17:53:00.124] checking for __builtin_ctz... yes [17:53:00.169] checking for __builtin_popcount... yes [17:53:00.214] checking for __builtin_frame_address... yes [17:53:00.257] checking for _LARGEFILE_SOURCE value needed for large files... no [17:53:00.306] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [17:53:00.335] checking for posix_fadvise... no [17:53:00.384] checking whether posix_fadvise is declared... no [17:53:00.425] checking whether fdatasync is declared... no [17:53:00.468] checking whether strlcat is declared... no [17:53:00.528] checking whether strlcpy is declared... no [17:53:00.587] checking whether strnlen is declared... yes [17:53:00.599] checking whether strsep is declared... no [17:53:00.658] checking whether preadv is declared... no [17:53:00.691] checking whether pwritev is declared... no [17:53:00.724] checking whether F_FULLFSYNC is declared... no [17:53:00.760] checking for explicit_bzero... no [17:53:00.804] checking for getopt... yes [17:53:00.845] checking for getpeereid... no [17:53:00.889] checking for inet_aton... no [17:53:00.933] checking for mkdtemp... no [17:53:00.977] checking for strlcat... no [17:53:01.021] checking for strlcpy... no [17:53:01.066] checking for strnlen... yes [17:53:01.110] checking for strsep... no [17:53:01.155] checking for pthread_barrier_wait... yes [17:53:01.195] configure: On mingw32 we will use our strtof wrapper. [17:53:01.195] checking for getopt_long... yes [17:53:01.236] checking for _configthreadlocale... yes [17:53:01.277] checking for syslog... no [17:53:01.320] checking for opterr... yes [17:53:01.365] checking for optreset... no [17:53:01.412] checking test program... cross-compiling [17:53:01.412] checking whether long int is 64 bits... no [17:53:01.441] checking whether long long int is 64 bits... yes [17:53:01.450] checking for __builtin_mul_overflow... yes [17:53:01.491] checking size of void *... 8 [17:53:01.754] checking size of size_t... 8 [17:53:02.033] checking size of long... 4 [17:53:02.228] checking alignment of short... 2 [17:53:02.359] checking alignment of int... 4 [17:53:02.548] checking alignment of long... 4 [17:53:02.740] checking alignment of long long int... 8 [17:53:02.995] checking alignment of double... 8 [17:53:03.252] checking for __int128... yes [17:53:03.300] checking for __int128 alignment bug... assuming ok [17:53:03.300] checking alignment of PG_INT128_TYPE... 16 [17:53:03.609] checking for builtin __sync char locking functions... yes [17:53:03.648] checking for builtin __sync int32 locking functions... yes [17:53:03.687] checking for builtin __sync int32 atomic operations... yes [17:53:03.727] checking for builtin __sync int64 atomic operations... yes [17:53:03.765] checking for builtin __atomic int32 atomic operations... yes [17:53:03.805] checking for builtin __atomic int64 atomic operations... yes [17:53:03.844] checking for __get_cpuid... yes [17:53:03.887] checking for __get_cpuid_count... yes [17:53:03.928] checking for __cpuid... no [17:53:04.322] checking for __cpuidex... no [17:53:04.738] checking for _xgetbv... yes [17:53:05.131] checking for _mm512_popcnt_epi64... yes [17:53:05.542] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no [17:53:05.587] checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes [17:53:05.671] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [17:53:05.692] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [17:53:05.711] 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 [17:53:05.763] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [17:53:05.763] checking which random number source to use... Windows native [17:53:05.765] checking for xmllint... /usr/bin/xmllint [17:53:05.765] checking for xsltproc... /usr/bin/xsltproc [17:53:05.765] checking for fop... /usr/bin/fop [17:53:05.766] checking for dbtoepub... no [17:53:05.766] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [17:53:05.766] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [17:53:05.766] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [17:53:05.776] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [17:53:05.776] 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 [17:53:05.776] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [17:53:05.776] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [17:53:05.859] configure: creating ./config.status [17:53:05.943] config.status: creating GNUmakefile [17:53:05.955] config.status: creating src/Makefile.global [17:53:05.970] config.status: creating src/include/pg_config.h [17:53:05.981] config.status: creating src/include/pg_config_ext.h [17:53:05.992] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [17:53:06.006] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [17:53:06.013] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [17:53:06.020] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [17:53:06.026] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [17:53:06.033] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [17:53:06.036] config.status: executing check_win32_symlinks commands [17:53:06.067] [17:53:06.067] real 0m15.575s [17:53:06.067] user 0m10.525s [17:53:06.067] sys 0m4.654s [17:53:06.067] make -s -j${BUILD_JOBS} clean [17:53:06.563] time make -s -j${BUILD_JOBS} world-bin [17:53:22.513] In file included from ../../../src/include/postgres.h:46, [17:53:22.513] from copyfrom.c:21: [17:53:22.513] copyfrom.c: In function ‘CopyFrom’: [17:53:22.513] copyfrom.c:1035:64: error: too many arguments for format [-Werror=format-extra-args] [17:53:22.513] 1035 | errmsg("failed to replace column containing erroneous data with null", [17:53:22.513] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [17:53:22.513] ../../../src/include/utils/elog.h:147:25: note: in definition of macro ‘ereport_domain’ [17:53:22.513] 147 | __VA_ARGS__, errfinish(__FILE__, __LINE__, __func__); \ [17:53:22.513] | ^~~~~~~~~~~ [17:53:22.513] copyfrom.c:1033:41: note: in expansion of macro ‘ereport’ [17:53:22.513] 1033 | ereport(ERROR, [17:53:22.513] | ^~~~~~~ [17:53:22.513] cc1: all warnings being treated as errors [17:53:22.514] make[3]: *** [: copyfrom.o] Error 1 [17:53:22.514] make[2]: *** [common.mk:37: commands-recursive] Error 2 [17:53:22.514] make[2]: *** Waiting for unfinished jobs.... [17:53:35.362] make[1]: *** [Makefile:42: all-backend-recurse] Error 2 [17:53:35.362] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [17:53:35.363] [17:53:35.363] real 0m28.799s [17:53:35.363] user 1m26.377s [17:53:35.363] sys 0m18.035s [17:53:35.363] [17:53:35.363] Exit status: 2