[13:14:01.606] time ./configure \ [13:14:01.606] --host=x86_64-w64-mingw32 \ [13:14:01.606] --enable-cassert \ [13:14:01.606] --without-icu \ [13:14:01.606] CC="ccache x86_64-w64-mingw32-gcc" \ [13:14:01.606] CXX="ccache x86_64-w64-mingw32-g++" [13:14:01.753] checking build system type... x86_64-pc-linux-gnu [13:14:01.953] checking host system type... x86_64-w64-mingw32 [13:14:01.960] checking which template to use... win32 [13:14:01.960] checking whether NLS is wanted... no [13:14:01.960] checking for default port number... 5432 [13:14:01.969] checking for block size... 8kB [13:14:01.970] checking for segment size... 1GB [13:14:01.973] checking for WAL block size... 8kB [13:14:01.974] checking for x86_64-w64-mingw32-gcc... ccache x86_64-w64-mingw32-gcc [13:14:02.013] checking whether the C compiler works... yes [13:14:02.151] checking for C compiler default output file name... a.exe [13:14:02.153] checking for suffix of executables... .exe [13:14:02.197] checking whether we are cross compiling... yes [13:14:02.275] checking for suffix of object files... o [13:14:02.283] checking whether we are using the GNU C compiler... yes [13:14:02.317] checking whether ccache x86_64-w64-mingw32-gcc accepts -g... yes [13:14:02.335] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C89... none needed [13:14:02.422] checking for ccache x86_64-w64-mingw32-gcc option to accept ISO C99... none needed [13:14:02.483] checking whether we are using the GNU C++ compiler... yes [13:14:02.490] checking whether ccache x86_64-w64-mingw32-g++ accepts -g... yes [13:14:02.756] checking for gawk... no [13:14:02.756] checking for mawk... mawk [13:14:02.759] checking whether ccache x86_64-w64-mingw32-gcc supports -Wdeclaration-after-statement, for CFLAGS... yes [13:14:02.793] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=vla, for CFLAGS... yes [13:14:02.811] checking whether ccache x86_64-w64-mingw32-gcc supports -Werror=unguarded-availability-new, for CFLAGS... no [13:14:02.864] checking whether ccache x86_64-w64-mingw32-g++ supports -Werror=unguarded-availability-new, for CXXFLAGS... no [13:14:02.913] checking whether ccache x86_64-w64-mingw32-gcc supports -Wendif-labels, for CFLAGS... yes [13:14:02.921] checking whether ccache x86_64-w64-mingw32-g++ supports -Wendif-labels, for CXXFLAGS... yes [13:14:02.930] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-format-attribute, for CFLAGS... yes [13:14:02.969] checking whether ccache x86_64-w64-mingw32-g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes [13:14:02.988] checking whether ccache x86_64-w64-mingw32-gcc supports -Wimplicit-fallthrough=3, for CFLAGS... yes [13:14:03.007] checking whether ccache x86_64-w64-mingw32-g++ supports -Wimplicit-fallthrough=3, for CXXFLAGS... yes [13:14:03.016] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type, for CFLAGS... yes [13:14:03.053] checking whether ccache x86_64-w64-mingw32-g++ supports -Wcast-function-type, for CXXFLAGS... yes [13:14:03.073] checking whether ccache x86_64-w64-mingw32-gcc supports -Wshadow=compatible-local, for CFLAGS... yes [13:14:03.082] checking whether ccache x86_64-w64-mingw32-g++ supports -Wshadow=compatible-local, for CXXFLAGS... yes [13:14:03.102] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-security, for CFLAGS... yes [13:14:03.142] checking whether ccache x86_64-w64-mingw32-g++ supports -Wformat-security, for CXXFLAGS... yes [13:14:03.181] checking whether ccache x86_64-w64-mingw32-gcc supports -Wmissing-variable-declarations, for CFLAGS... no [13:14:03.221] checking whether ccache x86_64-w64-mingw32-gcc supports -fno-strict-aliasing, for CFLAGS... yes [13:14:03.229] checking whether ccache x86_64-w64-mingw32-g++ supports -fno-strict-aliasing, for CXXFLAGS... yes [13:14:03.267] checking whether ccache x86_64-w64-mingw32-gcc supports -fwrapv, for CFLAGS... yes [13:14:03.275] checking whether ccache x86_64-w64-mingw32-g++ supports -fwrapv, for CXXFLAGS... yes [13:14:03.312] checking whether ccache x86_64-w64-mingw32-gcc supports -fexcess-precision=standard, for CFLAGS... yes [13:14:03.348] checking whether ccache x86_64-w64-mingw32-g++ supports -fexcess-precision=standard, for CXXFLAGS... no [13:14:03.374] checking whether ccache x86_64-w64-mingw32-gcc supports -funroll-loops, for CFLAGS_UNROLL_LOOPS... yes [13:14:03.392] checking whether ccache x86_64-w64-mingw32-gcc supports -ftree-vectorize, for CFLAGS_VECTORIZE... yes [13:14:03.400] checking whether ccache x86_64-w64-mingw32-gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no [13:14:03.440] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcompound-token-split-by-macro, for NOT_THE_CFLAGS... no [13:14:03.479] checking whether ccache x86_64-w64-mingw32-gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes [13:14:03.514] checking whether ccache x86_64-w64-mingw32-gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes [13:14:03.550] checking whether ccache x86_64-w64-mingw32-gcc supports -Wcast-function-type-strict, for NOT_THE_CFLAGS... no [13:14:03.587] checking whether ccache x86_64-w64-mingw32-gcc supports -fvisibility=hidden, for CFLAGS_SL_MODULE... yes [13:14:03.595] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility=hidden, for CXXFLAGS_SL_MODULE... yes [13:14:03.602] checking whether ccache x86_64-w64-mingw32-g++ supports -fvisibility-inlines-hidden, for CXXFLAGS_SL_MODULE... yes [13:14:03.623] checking whether the C compiler still works... yes [13:14:03.675] checking how to run the C preprocessor... ccache x86_64-w64-mingw32-gcc -E [13:14:03.754] checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config [13:14:03.754] checking pkg-config is at least version 0.9.0... yes [13:14:03.771] checking whether to build with ICU support... no [13:14:03.771] checking whether to build with Tcl... no [13:14:03.771] checking whether to build Perl modules... no [13:14:03.771] checking whether to build Python modules... no [13:14:03.771] checking whether to build with GSSAPI support... no [13:14:03.772] checking whether to build with PAM support... no [13:14:03.772] checking whether to build with BSD Authentication support... no [13:14:03.773] checking whether to build with LDAP support... no [13:14:03.773] checking whether to build with Bonjour support... no [13:14:03.773] checking whether to build with SELinux support... no [13:14:03.773] checking whether to build with systemd support... no [13:14:03.773] configure: WARNING: *** Readline does not work on MinGW --- disabling [13:14:03.773] checking whether to build with libcurl support... no [13:14:03.773] checking whether to build with XML support... no [13:14:03.774] checking whether to build with LZ4 support... no [13:14:03.774] checking whether to build with ZSTD support... no [13:14:03.774] checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip [13:14:03.774] checking whether it is possible to strip libraries... yes [13:14:03.782] checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar [13:14:03.782] checking for x86_64-w64-mingw32-windres... x86_64-w64-mingw32-windres [13:14:03.782] checking for a BSD-compatible install... /usr/bin/install -c [13:14:03.792] checking for tar... /usr/bin/tar [13:14:03.792] checking whether ln -s works... yes [13:14:03.792] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [13:14:03.795] checking for bison... /usr/bin/bison [13:14:03.798] configure: using bison (GNU Bison) 3.8.2 [13:14:03.801] checking for flex... /usr/bin/flex [13:14:03.803] configure: using flex 2.6.4 [13:14:03.804] checking for perl... /usr/bin/perl [13:14:03.807] configure: using perl 5.36.0 [13:14:03.809] checking for zic... /usr/sbin/zic [13:14:03.809] checking for a sed that does not truncate output... /usr/bin/sed [13:14:03.815] checking for grep that handles long lines and -e... /usr/bin/grep [13:14:03.817] checking for egrep... /usr/bin/grep -E [13:14:03.819] checking for ANSI C header files... yes [13:14:03.871] checking for sys/types.h... yes [13:14:03.889] checking for sys/stat.h... yes [13:14:03.953] checking for stdlib.h... yes [13:14:03.969] checking for string.h... yes [13:14:04.029] checking for memory.h... yes [13:14:04.044] checking for strings.h... yes [13:14:04.103] checking for inttypes.h... yes [13:14:04.139] checking for stdint.h... yes [13:14:04.175] checking for unistd.h... yes [13:14:04.190] checking for main in -lm... yes [13:14:04.236] checking for library containing setproctitle... no [13:14:04.328] checking for library containing dlsym... no [13:14:04.421] checking for library containing socket... -lws2_32 [13:14:04.560] checking for library containing getopt_long... none required [13:14:04.610] checking for library containing shm_open... no [13:14:04.704] checking for library containing shm_unlink... no [13:14:04.797] checking for library containing clock_gettime... no [13:14:04.890] checking for library containing shmget... no [13:14:04.982] checking for library containing backtrace_symbols... no [13:14:05.072] checking for library containing pthread_barrier_wait... -lpthread [13:14:05.159] checking for inflate in -lz... yes [13:14:05.206] checking atomic.h usability... no [13:14:05.265] checking atomic.h presence... no [13:14:05.285] checking for atomic.h... no [13:14:05.289] checking copyfile.h usability... no [13:14:05.349] checking copyfile.h presence... no [13:14:05.369] checking for copyfile.h... no [13:14:05.372] checking execinfo.h usability... no [13:14:05.427] checking execinfo.h presence... no [13:14:05.446] checking for execinfo.h... no [13:14:05.449] checking getopt.h usability... yes [13:14:05.502] checking getopt.h presence... yes [13:14:05.516] checking for getopt.h... yes [13:14:05.523] checking ifaddrs.h usability... no [13:14:05.580] checking ifaddrs.h presence... no [13:14:05.599] checking for ifaddrs.h... no [13:14:05.603] checking mbarrier.h usability... no [13:14:05.660] checking mbarrier.h presence... no [13:14:05.681] checking for mbarrier.h... no [13:14:05.684] checking sys/epoll.h usability... no [13:14:05.745] checking sys/epoll.h presence... no [13:14:05.766] checking for sys/epoll.h... no [13:14:05.770] checking sys/event.h usability... no [13:14:05.831] checking sys/event.h presence... no [13:14:05.852] checking for sys/event.h... no [13:14:05.856] checking sys/personality.h usability... no [13:14:05.914] checking sys/personality.h presence... no [13:14:05.934] checking for sys/personality.h... no [13:14:05.938] checking sys/prctl.h usability... no [13:14:05.994] checking sys/prctl.h presence... no [13:14:06.014] checking for sys/prctl.h... no [13:14:06.017] checking sys/procctl.h usability... no [13:14:06.072] checking sys/procctl.h presence... no [13:14:06.092] checking for sys/procctl.h... no [13:14:06.096] checking sys/signalfd.h usability... no [13:14:06.152] checking sys/signalfd.h presence... no [13:14:06.170] checking for sys/signalfd.h... no [13:14:06.174] checking sys/ucred.h usability... no [13:14:06.229] checking sys/ucred.h presence... no [13:14:06.249] checking for sys/ucred.h... no [13:14:06.253] checking termios.h usability... no [13:14:06.310] checking termios.h presence... no [13:14:06.330] checking for termios.h... no [13:14:06.334] checking ucred.h usability... no [13:14:06.391] checking ucred.h presence... no [13:14:06.411] checking for ucred.h... no [13:14:06.415] checking xlocale.h usability... no [13:14:06.473] checking xlocale.h presence... no [13:14:06.493] checking for xlocale.h... no [13:14:06.496] checking zlib.h usability... yes [13:14:06.506] checking zlib.h presence... yes [13:14:06.527] checking for zlib.h... yes [13:14:06.527] checking for lz4... /usr/bin/lz4 [13:14:06.527] checking for zstd... /usr/bin/zstd [13:14:06.528] checking for openssl... /usr/bin/openssl [13:14:06.533] configure: using openssl: OpenSSL 3.0.15 3 Sep 2024 (Library: OpenSSL 3.0.15 3 Sep 2024) [13:14:06.533] checking crtdefs.h usability... yes [13:14:06.593] checking crtdefs.h presence... yes [13:14:06.610] checking for crtdefs.h... yes [13:14:06.611] checking whether byte ordering is bigendian... no [13:14:06.724] checking for inline... inline [13:14:06.742] checking for printf format archetype... gnu_printf [13:14:06.779] checking for _Static_assert... yes [13:14:06.822] checking for typeof... typeof [13:14:06.857] checking for __builtin_types_compatible_p... yes [13:14:06.868] checking for __builtin_constant_p... yes [13:14:06.880] checking for __builtin_mul_overflow... yes [13:14:06.928] checking for __builtin_unreachable... yes [13:14:06.969] checking for computed goto support... yes [13:14:06.976] checking for struct tm.tm_zone... no [13:14:07.058] checking for union semun... no [13:14:07.095] checking for socklen_t... yes [13:14:08.606] checking for struct sockaddr.sa_len... no [13:14:10.680] checking for C/C++ restrict keyword... __restrict [13:14:10.702] checking for struct option... yes [13:14:10.776] checking whether assembler supports x86_64 popcntq... yes [13:14:10.795] checking size of off_t... 4 [13:14:11.129] 0 [13:14:11.129] checking for int timezone... yes [13:14:11.187] checking for backtrace_symbols... no [13:14:11.245] checking for copyfile... no [13:14:11.306] checking for copy_file_range... no [13:14:11.369] checking for elf_aux_info... no [13:14:11.428] checking for getauxval... no [13:14:11.489] checking for getifaddrs... no [13:14:11.549] checking for getpeerucred... no [13:14:11.610] checking for inet_pton... yes [13:14:11.674] checking for kqueue... no [13:14:11.739] checking for mbstowcs_l... no [13:14:11.801] checking for memset_s... no [13:14:11.862] checking for posix_fallocate... no [13:14:11.925] checking for ppoll... no [13:14:11.986] checking for pthread_is_threaded_np... no [13:14:12.047] checking for setproctitle... no [13:14:12.106] checking for setproctitle_fast... no [13:14:12.165] checking for strchrnul... no [13:14:12.222] checking for strsignal... no [13:14:12.276] checking for syncfs... no [13:14:12.328] checking for sync_file_range... no [13:14:12.381] checking for uselocale... no [13:14:12.434] checking for wcstombs_l... no [13:14:12.485] checking for __builtin_bswap16... yes [13:14:12.534] checking for __builtin_bswap32... yes [13:14:12.583] checking for __builtin_bswap64... yes [13:14:12.630] checking for __builtin_clz... yes [13:14:12.678] checking for __builtin_ctz... yes [13:14:12.728] checking for __builtin_popcount... yes [13:14:12.775] checking for __builtin_frame_address... yes [13:14:12.823] checking for _LARGEFILE_SOURCE value needed for large files... no [13:14:12.875] checking how ccache x86_64-w64-mingw32-gcc reports undeclared, standard C functions... error [13:14:12.905] checking for posix_fadvise... no [13:14:12.955] checking whether posix_fadvise is declared... no [13:14:13.000] checking whether fdatasync is declared... no [13:14:13.049] checking whether strlcat is declared... no [13:14:13.112] checking whether strlcpy is declared... no [13:14:13.177] checking whether strnlen is declared... yes [13:14:13.190] checking whether strsep is declared... no [13:14:13.254] checking whether preadv is declared... no [13:14:13.292] checking whether pwritev is declared... no [13:14:13.330] checking whether F_FULLFSYNC is declared... no [13:14:13.370] checking for explicit_bzero... no [13:14:13.419] checking for getopt... yes [13:14:13.465] checking for getpeereid... no [13:14:13.515] checking for inet_aton... no [13:14:13.566] checking for mkdtemp... no [13:14:13.616] checking for strlcat... no [13:14:13.666] checking for strlcpy... no [13:14:13.714] checking for strnlen... yes [13:14:13.764] checking for strsep... no [13:14:13.813] checking for pthread_barrier_wait... yes [13:14:13.861] configure: On mingw32 we will use our strtof wrapper. [13:14:13.861] checking for getopt_long... yes [13:14:13.910] checking for syslog... no [13:14:13.962] checking for opterr... yes [13:14:14.014] checking for optreset... no [13:14:14.071] checking test program... cross-compiling [13:14:14.071] checking size of void *... 8 [13:14:14.496] checking size of size_t... 8 [13:14:14.937] checking size of long... 4 [13:14:15.338] checking size of long long... 8 [13:14:15.780] checking alignment of short... 2 [13:14:16.036] checking alignment of int... 4 [13:14:16.309] checking alignment of long... 4 [13:14:16.792] checking alignment of int64_t... 8 [13:14:17.284] checking alignment of double... 8 [13:14:17.672] checking for __int128... yes [13:14:17.725] checking for __int128 alignment bug... assuming ok [13:14:17.725] checking alignment of PG_INT128_TYPE... 16 [13:14:18.305] checking for builtin __sync char locking functions... yes [13:14:18.356] checking for builtin __sync int32 locking functions... yes [13:14:18.409] checking for builtin __sync int32 atomic operations... yes [13:14:18.464] checking for builtin __sync int64 atomic operations... yes [13:14:18.520] checking for builtin __atomic int32 atomic operations... yes [13:14:18.575] checking for builtin __atomic int64 atomic operations... yes [13:14:18.631] checking for __get_cpuid... yes [13:14:18.685] checking for __get_cpuid_count... yes [13:14:18.736] checking for __cpuid... no [13:14:19.152] checking for __cpuidex... no [13:14:19.574] checking for _xgetbv... yes [13:14:19.981] checking for _mm512_popcnt_epi64... yes [13:14:20.400] checking for _mm_crc32_u8 and _mm_crc32_u32... yes [13:14:20.502] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no [13:14:20.524] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc+simd... no [13:14:20.542] checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no [13:14:20.561] 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:14:20.617] checking which CRC-32C implementation to use... SSE 4.2 with runtime check [13:14:20.617] checking which random number source to use... Windows native [13:14:20.619] checking for xmllint... /usr/bin/xmllint [13:14:20.619] checking for xsltproc... /usr/bin/xsltproc [13:14:20.619] checking for fop... /usr/bin/fop [13:14:20.620] checking for dbtoepub... no [13:14:20.620] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no [13:14:20.620] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no [13:14:20.621] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no [13:14:20.632] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32 [13:14:20.632] 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:14:20.632] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32 [13:14:20.632] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import [13:14:20.722] configure: creating ./config.status [13:14:20.817] config.status: creating GNUmakefile [13:14:20.830] config.status: creating src/Makefile.global [13:14:20.846] config.status: creating src/include/pg_config.h [13:14:20.860] config.status: creating src/interfaces/ecpg/include/ecpg_config.h [13:14:20.877] config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s [13:14:20.885] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c [13:14:20.892] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c [13:14:20.900] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h [13:14:20.908] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port [13:14:20.911] config.status: executing check_win32_symlinks commands [13:14:20.948] [13:14:20.948] real 0m19.342s [13:14:20.948] user 0m12.727s [13:14:20.948] sys 0m6.280s [13:14:20.948] make -s -j${BUILD_JOBS} clean [13:14:21.497] time make -s -j${BUILD_JOBS} world-bin [13:18:36.614] pg_restore.c: In function ‘get_dbname_oid_list_from_mfile’: [13:18:36.614] pg_restore.c:1045:35: error: format ‘%u’ expects argument of type ‘unsigned int *’, but argument 4 has type ‘size_t *’ {aka ‘long long unsigned int *’} [-Werror=format=] [13:18:36.614] 1045 | sscanf(line, "%u %u" , &db_oid, &db_name_size); [13:18:36.614] | ~^ ~~~~~~~~~~~~~ [13:18:36.614] | | | [13:18:36.614] | | size_t * {aka long long unsigned int *} [13:18:36.614] | unsigned int * [13:18:36.614] | %llu [13:18:36.614] cc1: all warnings being treated as errors [13:18:36.615] make[3]: *** [: pg_restore.o] Error 1 [13:18:36.615] make[2]: *** [Makefile:45: all-pg_dump-recurse] Error 2 [13:18:36.615] make[2]: *** Waiting for unfinished jobs.... [13:18:41.266] make[1]: *** [Makefile:42: all-bin-recurse] Error 2 [13:18:41.266] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2 [13:18:41.266] [13:18:41.266] real 4m19.770s [13:18:41.266] user 13m58.373s [13:18:41.266] sys 2m39.766s [13:18:41.267] [13:18:41.267] Exit status: 2