Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/polardb.spec'], chrootPath='/var/lib/mock/dist-an23-loongarch-build-322349-67906/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=988gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4jjiddu0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4jjiddu0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8effff1bb16d43dd8e6b1aa74b41b4ed', '-D', '/var/lib/mock/dist-an23-loongarch-build-322349-67906/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4jjiddu0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/polardb.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1698624000 Wrote: /builddir/build/SRPMS/polardb-11.9.20.0-4.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/polardb.spec'], chrootPath='/var/lib/mock/dist-an23-loongarch-build-322349-67906/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=988gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4jjiddu0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4jjiddu0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9ebd72d3cacd44d09ea96cb7ff51ed17', '-D', '/var/lib/mock/dist-an23-loongarch-build-322349-67906/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4jjiddu0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/polardb.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1698624000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QQbMbS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PolarDB-for-PostgreSQL-11.9.20.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v11.9.20.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd PolarDB-for-PostgreSQL-11.9.20.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-disable-spinlocks-for-loongarch64.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp /usr/lib/rpm/anolis/config.guess /usr/lib/rpm/anolis/config.sub config/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BheD5f + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd PolarDB-for-PostgreSQL-11.9.20.0 + '[' /builddir/build/BUILDROOT/polardb-11.9.20.0-4.an23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/polardb-11.9.20.0-4.an23.loongarch64 + export PG_INSTALL=/opt/polardb + PG_INSTALL=/opt/polardb + mkdir -p /builddir/build/BUILDROOT/polardb-11.9.20.0-4.an23.loongarch64//usr + ./polardb_build.sh -m --withpx --noinit --basedir=/builddir/build/BUILDROOT/polardb-11.9.20.0-4.an23.loongarch64//usr ./polardb_build.sh: line 226: git: command not found ./polardb_build.sh: line 231: git: command not found ./polardb_build.sh: line 232: git: command not found ################################ build with px ################################ ./polardb_build.sh: line 81: /builddir/build/BUILDROOT/polardb-11.9.20.0-4.an23.loongarch64//usr/bin/pg_ctl: No such file or directory ./polardb_build.sh: line 81: /builddir/build/BUILDROOT/polardb-11.9.20.0-4.an23.loongarch64//usr/bin/pg_ctl: No such file or directory ./polardb_build.sh: line 81: /builddir/build/BUILDROOT/polardb-11.9.20.0-4.an23.loongarch64//usr/bin/pg_ctl: No such file or directory You need to run the 'configure' program first. See the file 'INSTALL' for installation instructions. make: *** [Makefile:19: distclean] Error 1 checking build system type... loongarch64-unknown-linux-gnu checking host system type... loongarch64-unknown-linux-gnu checking which template to use... linux checking whether NLS is wanted... no checking for default port number... 5432 checking for block size... 8kB checking for segment size... 1GB checking for WAL block size... 8kB checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for gawk... gawk checking whether to build with PFSD support... no checking whether to build with DMA support... no checking whether gcc supports -Wdeclaration-after-statement, for CFLAGS... yes checking whether gcc supports -Wendif-labels, for CFLAGS... yes checking whether g++ supports -Wendif-labels, for CXXFLAGS... yes checking whether gcc supports -Wmissing-format-attribute, for CFLAGS... yes checking whether g++ supports -Wmissing-format-attribute, for CXXFLAGS... yes checking whether gcc supports -Wformat-security, for CFLAGS... yes checking whether g++ supports -Wformat-security, for CXXFLAGS... yes checking whether gcc supports -fno-strict-aliasing, for CFLAGS... yes checking whether g++ supports -fno-strict-aliasing, for CXXFLAGS... yes checking whether gcc supports -fwrapv, for CFLAGS... yes checking whether g++ supports -fwrapv, for CXXFLAGS... yes checking whether gcc supports -fexcess-precision=standard, for CFLAGS... yes checking whether g++ supports -fexcess-precision=standard, for CXXFLAGS... no checking whether gcc supports -funroll-loops, for CFLAGS_VECTOR... yes checking whether gcc supports -ftree-vectorize, for CFLAGS_VECTOR... yes checking whether gcc supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... no checking whether gcc supports -Wformat-truncation, for NOT_THE_CFLAGS... yes checking whether gcc supports -Wstringop-truncation, for NOT_THE_CFLAGS... yes checking whether the C compiler still works... yes checking how to run the C preprocessor... gcc -E checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether to build with faults injector enable... no checking whether to build with PXOPT... yes checking whether to build with PXOPT debug mode... no checking allow thread-safe client libraries... yes checking whether to build with ICU support... no checking whether to build with Tcl... no checking whether to build Perl modules... no checking whether to build Python modules... no checking whether to build with GSSAPI support... no checking whether to build with PAM support... no checking whether to build with BSD Authentication support... no checking whether to build with LDAP support... no checking whether to build with Bonjour support... no checking whether to build with OpenSSL support... no checking whether to build with SELinux support... no checking whether to build with systemd support... no checking whether to build with XML support... no checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by GCC... egrep: warning: egrep is obsolescent; using grep -E /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... egrep: warning: egrep is obsolescent; using grep -E yes checking for ranlib... ranlib checking for strip... strip checking whether it is possible to strip libraries... yes checking for ar... ar checking for a BSD-compatible install... /usr/bin/install -c checking for tar... /usr/bin/tar checking whether ln -s works... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for bison... /usr/bin/bison configure: using bison (GNU Bison) 3.8.2 checking for flex... /usr/bin/flex configure: using flex 2.6.4 checking for perl... /usr/bin/perl configure: using perl 5.36.1 checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking if compiler needs certain flags to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for strerror_r... yes checking for getpwuid_r... yes checking for gethostbyname_r... yes checking whether strerror_r returns int... no checking for main in -lm... yes checking for library containing setproctitle... no checking for library containing dlopen... none required checking for library containing socket... none required checking for library containing shl_load... no checking for library containing getopt_long... none required checking for library containing crypt... -lcrypt checking for library containing shm_open... none required checking for library containing shm_unlink... none required checking for library containing clock_gettime... none required checking for library containing fdatasync... none required checking for library containing sched_yield... none required checking for library containing gethostbyname_r... none required checking for library containing shmget... none required configure: WARNING: *** Not using spinlocks will cause poor performance. checking for strnicmp in -lxerces-c... yes checking for Xerces-C... checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking atomic.h usability... no checking atomic.h presence... no checking for atomic.h... no checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking dld.h usability... no checking dld.h presence... no checking for dld.h... no checking fp_class.h usability... no checking fp_class.h presence... no checking for fp_class.h... no checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking mbarrier.h usability... no checking mbarrier.h presence... no checking for mbarrier.h... no checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking sys/tas.h usability... no checking sys/tas.h presence... no checking for sys/tas.h... no checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking ucred.h usability... no checking ucred.h presence... no checking for ucred.h... no checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for net/if.h... yes checking for sys/ucred.h... no checking for netinet/tcp.h... yes checking openssl/kdf.h usability... yes checking openssl/kdf.h presence... yes checking for openssl/kdf.h... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for printf format archetype... gnu_printf checking for flexible array members... yes checking for signed types... yes checking for __func__... yes checking for _Static_assert... yes checking for typeof... typeof checking for __builtin_types_compatible_p... yes checking for __builtin_bswap16... yes checking for __builtin_bswap32... yes checking for __builtin_bswap64... yes checking for __builtin_constant_p... yes checking for __builtin_unreachable... yes checking for computed goto support... yes checking for __VA_ARGS__... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for tzname... yes checking for union semun... no checking for struct sockaddr_un... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_storage.ss_family... yes checking for struct sockaddr_storage.__ss_family... no checking for struct sockaddr_storage.ss_len... no checking for struct sockaddr_storage.__ss_len... no checking for struct sockaddr.sa_len... no checking for struct addrinfo... yes checking for intptr_t... yes checking for uintptr_t... yes checking for unsigned long long int... yes checking for long long int... yes checking for locale_t... yes checking for C/C++ restrict keyword... __restrict checking for struct cmsgcred... no checking for struct option... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking size of off_t... 8 checking size of bool... 1 checking for int timezone... yes checking types of arguments for accept()... int, int, struct sockaddr *, socklen_t * checking whether gettimeofday takes only one argument... no checking for wcstombs_l declaration... no checking for cbrt... yes checking for clock_gettime... yes checking for dlopen... yes checking for fdatasync... yes checking for getifaddrs... yes checking for getpeerucred... no checking for getrlimit... yes checking for mbstowcs_l... no checking for memmove... yes checking for poll... yes checking for posix_fallocate... yes checking for pstat... no checking for pthread_is_threaded_np... no checking for readlink... yes checking for setproctitle... no checking for setsid... yes checking for shm_open... yes checking for strsignal... yes checking for symlink... yes checking for sync_file_range... yes checking for uselocale... yes checking for utime... yes checking for utimes... yes checking for wcstombs_l... no checking for fseeko... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking how gcc reports undeclared, standard C functions... error checking for posix_fadvise... yes checking whether posix_fadvise is declared... yes checking whether fdatasync is declared... yes checking whether strlcat is declared... no checking whether strlcpy is declared... no checking whether strnlen is declared... yes checking whether F_FULLFSYNC is declared... no checking for struct sockaddr_in6... yes checking for PS_STRINGS... no checking for snprintf... yes checking for vsnprintf... yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking for isinf... yes checking for crypt... yes checking for fls... no checking for getopt... yes checking for getrusage... yes checking for inet_aton... yes checking for mkdtemp... yes checking for random... yes checking for rint... yes checking for srandom... yes checking for strerror... yes checking for strlcat... no checking for strlcpy... no checking for strnlen... yes checking for unsetenv... yes checking for getpeereid... no checking for getaddrinfo... yes checking for getopt_long... yes checking for syslog... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for opterr... yes checking for optreset... no checking for strtoll... yes checking for strtoull... yes checking whether strtoll is declared... yes checking whether strtoull is declared... yes checking test program... ok checking whether long int is 64 bits... yes checking whether snprintf supports the %z modifier... yes checking for __builtin_mul_overflow... yes checking size of void *... 8 checking size of size_t... 8 checking size of long... 8 checking whether to build with float4 passed by value... yes checking whether to build with float8 passed by value... yes checking alignment of short... 2 checking alignment of int... 4 checking alignment of long... 8 checking alignment of double... 8 checking for int8... no checking for uint8... no checking for int64... no checking for uint64... no checking for __int128... yes checking for __int128 alignment bug... ok checking alignment of PG_INT128_TYPE... 16 checking for builtin __sync char locking functions... yes checking for builtin __sync int32 locking functions... yes checking for builtin __sync int32 atomic operations... yes checking for builtin __sync int64 atomic operations... yes checking for builtin __atomic int32 atomic operations... yes checking for builtin __atomic int64 atomic operations... yes checking for __get_cpuid... no checking for __cpuid... no checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... no checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=... no checking for __crc32cb, __crc32ch, __crc32cw, and __crc32cd with CFLAGS=-march=armv8-a+crc... no checking which CRC-32C implementation to use... slicing-by-8 checking for library containing sem_init... configure: WARNING: *** Not using lse/cas will cause poor performance. none required checking which semaphore API to use... unnamed POSIX checking for /dev/urandom... yes checking which random number source to use... /dev/urandom checking for xmllint... /usr/bin/xmllint checking for DocBook XML V4.2... no checking for dbtoepub... no checking for xsltproc... /usr/bin/xsltproc checking for fop... no checking thread safety of required library functions... yes checking whether gcc supports -Wl,--as-needed... yes configure: using compiler=gcc (GCC) 12.2.1 20221121 (Anolis OS 12.2.1-4) configure: using CFLAGS=-Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -pipe -Wall -grecord-gcc-switches -I/usr/include/et -O3 -Wp,-D_FORTIFY_SOURCE=2 configure: using CPPFLAGS= -D_GNU_SOURCE configure: using LDFLAGS=-Wl,-rpath,'$$ORIGIN/../lib' -Wl,--as-needed configure: creating ./config.status config.status: creating GNUmakefile config.status: creating src/Makefile.global config.status: creating src/include/pg_config.h config.status: creating src/include/pg_config_ext.h config.status: creating src/interfaces/ecpg/include/ecpg_config.h config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s config.status: linking src/backend/port/dynloader/linux.c to src/backend/port/dynloader.c config.status: linking src/backend/port/posix_sema.c to src/backend/port/pg_sema.c config.status: linking src/backend/port/sysv_shmem.c to src/backend/port/pg_shmem.c config.status: linking src/backend/port/dynloader/linux.h to src/include/dynloader.h config.status: linking src/include/port/linux.h to src/include/pg_config_os.h config.status: linking src/makefiles/Makefile.linux to src/Makefile.port perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). In file included from bufmgr.c:4959: polar_bufmgr.c: In function 'polar_bulk_read_buffer_common': polar_bufmgr.c:1343:29: warning: unused variable 'blockNum' [-Wunused-variable] 1343 | BlockNumber blockNum = firstBlockNum + index; | ^~~~~~~~ postgres.c: In function 'set_stack_base': postgres.c:3412:24: warning: storing the address of local variable 'stack_base' in 'stack_base_ptr' [-Wdangling-pointer=] 3412 | stack_base_ptr = &stack_base; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ postgres.c:3401:25: note: 'stack_base' declared here 3401 | char stack_base; | ^~~~~~~~~~ postgres.c:144:13: note: 'stack_base_ptr' declared here 144 | char *stack_base_ptr = NULL; | ^~~~~~~~~~~~~~ syslogger.c: In function 'SysLogger_Start': syslogger.c:849:25: warning: 'SysLoggerMain' accessing 8 bytes in a region of size 4 [-Wstringop-overflow=] 849 | SysLoggerMain(1, (char **)&loggerIndex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ syslogger.c:849:25: note: referencing argument 2 of type 'char *[0]' syslogger.c:217:1: note: in a call to function 'SysLoggerMain' 217 | SysLoggerMain(int argc, char *argv[]) | ^~~~~~~~~~~~~ In file included from dbcommands.c:20: ../../../src/include/postgres.h: In function 'createdb': ../../../src/include/postgres.h:517:35: warning: 'src_minmxid' may be used uninitialized [-Wmaybe-uninitialized] 517 | #define TransactionIdGetDatum(X) ((Datum) (X)) | ^ dbcommands.c:122:21: note: 'src_minmxid' was declared here 122 | MultiXactId src_minmxid; | ^~~~~~~~~~~ ../../../src/include/postgres.h:517:35: warning: 'src_frozenxid' may be used uninitialized [-Wmaybe-uninitialized] 517 | #define TransactionIdGetDatum(X) ((Datum) (X)) | ^ dbcommands.c:121:23: note: 'src_frozenxid' was declared here 121 | TransactionId src_frozenxid; | ^~~~~~~~~~~~~ ../../../src/include/postgres.h:503:30: warning: 'src_lastsysoid' may be used uninitialized [-Wmaybe-uninitialized] 503 | #define ObjectIdGetDatum(X) ((Datum) (X)) | ^ dbcommands.c:120:33: note: 'src_lastsysoid' was declared here 120 | Oid src_lastsysoid; | ^~~~~~~~~~~~~~ In file included from ../../../src/include/postgres.h:53: ../../../src/include/utils/elog.h:107:25: warning: 'src_ctype' may be used uninitialized [-Wmaybe-uninitialized] 107 | errfinish rest; \ | ^~~~~~~~~ dbcommands.c:117:21: note: 'src_ctype' was declared here 117 | char *src_ctype; | ^~~~~~~~~ ../../../src/include/utils/elog.h:107:25: warning: 'src_collate' may be used uninitialized [-Wmaybe-uninitialized] 107 | errfinish rest; \ | ^~~~~~~~~ dbcommands.c:116:21: note: 'src_collate' was declared here 116 | char *src_collate; | ^~~~~~~~~~~ ../../../src/include/utils/elog.h:107:25: warning: 'src_encoding' may be used uninitialized [-Wmaybe-uninitialized] 107 | errfinish rest; \ | ^~~~~~~~~ dbcommands.c:115:33: note: 'src_encoding' was declared here 115 | int src_encoding; | ^~~~~~~~~~~~ syncrep.c: In function 'SyncRepWaitForLSN': syncrep.c:192:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 192 | if (!SyncRepRequested() && !polar_force_wait_apply) | ^~ In file included from ../../../src/include/postgres.h:52, from syncrep.c:73: ../../../src/include/c.h:733:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 733 | #define Assert(condition) ((void)true) | ^ syncrep.c:195:9: note: in expansion of macro 'Assert' 195 | Assert(SHMQueueIsDetached(&(MyProc->syncRepLinks))); | ^~~~~~ walreceiver.c: In function 'polar_dma_get_received_lsn': walreceiver.c:2245:16: warning: 'receivePtr' is used uninitialized [-Wuninitialized] 2245 | return receivePtr; | ^~~~~~~~~~ walreceiver.c:2240:25: note: 'receivePtr' was declared here 2240 | XLogRecPtr receivePtr; | ^~~~~~~~~~ In function 'SearchNamedReplicationSlot', inlined from 'ReplicationSlotAcquireInternal' at slot.c:2109:20, inlined from 'InvalidateObsoleteReplicationSlots' at slot.c:2234:12: slot.c:2319:34: warning: argument 1 null where non-null expected [-Wnonnull] 2319 | if (s->in_use && strcmp(name, NameStr(s->data.name)) == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../src/include/c.h:67, from ../../../src/include/postgres.h:52, from slot.c:37: /usr/include/string.h: In function 'InvalidateObsoleteReplicationSlots': /usr/include/string.h:156:12: note: in a call to function 'strcmp' declared 'nonnull' 156 | extern int strcmp (const char *__s1, const char *__s2) | ^~~~~~ explain.c: In function 'ExplainNode': explain.c:1516:25: warning: 'motion_snd' may be used uninitialized [-Wmaybe-uninitialized] 1516 | ExplainPropertyInteger("Senders", NULL, motion_snd, es); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ explain.c:1126:33: note: 'motion_snd' was declared here 1126 | int motion_snd; | ^~~~~~~~~~ explain.c:1517:25: warning: 'motion_recv' may be used uninitialized [-Wmaybe-uninitialized] 1517 | ExplainPropertyInteger("Receivers", NULL, motion_recv, es); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ explain.c:1125:33: note: 'motion_recv' was declared here 1125 | int motion_recv; | ^~~~~~~~~~~ In file included from /usr/include/string.h:535, from ../../../../src/include/c.h:67, from ../../../../src/include/postgres.h:52, from clauses.c:20: In function 'memset', inlined from 'reorder_function_arguments' at clauses.c:4307:2: /usr/include/bits/string_fortified.h:59:10: warning: '__builtin___memset_chk' specified bound between 18446744073709289472 and 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). In function 'guc_var_compare', inlined from 'bsearch' at /usr/include/bits/stdlib-bsearch.h:33:23, inlined from 'find_option.constprop' at guc.c:8639:35: guc.c:8681:38: warning: array subscript 'const struct config_generic[0]' is partly outside array bounds of 'const char[8]' [-Warray-bounds] 8681 | return guc_name_compare(confa->name, confb->name); | ~~~~~^~~~~~ guc.c: In function 'find_option.constprop': guc.c:8627:25: note: object 'name' of size 8 8627 | find_option(const char *name, bool create_placeholders, int elevel) | ~~~~~~~~~~~~^~~~ md.c: In function 'mdextend': md.c:570:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 570 | if (nbytes < 0) | ^~ In file included from ../../../../src/include/postgres.h:53, from md.c:22: ../../../../src/include/utils/elog.h:105:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 105 | do { \ | ^~ ../../../../src/include/utils/elog.h:123:9: note: in expansion of macro 'ereport_domain' 123 | ereport_domain(elevel, TEXTDOMAIN, rest) | ^~~~~~~~~~~~~~ md.c:577:25: note: in expansion of macro 'ereport' 577 | ereport(ERROR, | ^~~~~~~ In function 'guc_var_compare', inlined from 'bsearch' at /usr/include/bits/stdlib-bsearch.h:33:23, inlined from 'find_option' at guc.c:8639:35: guc.c:8681:38: warning: array subscript 'const struct config_generic[0]' is partly outside array bounds of 'const char[8]' [-Warray-bounds] 8681 | return guc_name_compare(confa->name, confb->name); | ~~~~~^~~~~~ guc.c: In function 'find_option': guc.c:8627:25: note: object 'name' of size 8 8627 | find_option(const char *name, bool create_placeholders, int elevel) | ~~~~~~~~~~~~^~~~ perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). network.c: In function 'internal_inetpl': network.c:1408:34: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1408 | pdst[nb] = (unsigned char) (carry & 0xFF); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from network.c:22: ../../../../src/include/utils/inet.h:27:23: note: at offset -1 into destination object 'ipaddr' of size 16 27 | unsigned char ipaddr[16]; /* up to 128 bits of address */ | ^~~~~~ ../../../../src/include/utils/inet.h:27:23: note: at offset -1 into destination object 'ipaddr' of size 16 network.c: In function 'inetnot': network.c:1317:34: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1317 | pdst[nb] = ~pip[nb]; | ~~~~~~~~~^~~~~~~~~~ ../../../../src/include/utils/inet.h:27:23: note: at offset -1 into destination object 'ipaddr' of size 16 27 | unsigned char ipaddr[16]; /* up to 128 bits of address */ | ^~~~~~ ../../../../src/include/utils/inet.h:27:23: note: at offset -1 into destination object 'ipaddr' of size 16 network.c: In function 'inetand': network.c:1349:34: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1349 | pdst[nb] = pip[nb] & pip2[nb]; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../../../../src/include/utils/inet.h:27:23: note: at offset -1 into destination object 'ipaddr' of size 16 27 | unsigned char ipaddr[16]; /* up to 128 bits of address */ | ^~~~~~ ../../../../src/include/utils/inet.h:27:23: note: at offset -1 into destination object 'ipaddr' of size 16 network.c: In function 'inetor': network.c:1381:34: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1381 | pdst[nb] = pip[nb] | pip2[nb]; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../../../../src/include/utils/inet.h:27:23: note: at offset -1 into destination object 'ipaddr' of size 16 27 | unsigned char ipaddr[16]; /* up to 128 bits of address */ | ^~~~~~ ../../../../src/include/utils/inet.h:27:23: note: at offset -1 into destination object 'ipaddr' of size 16 xlog.c: In function 'polar_dma_get_flush_lsn': xlog.c:16666:32: warning: 'receiveTLI' may be used uninitialized [-Wmaybe-uninitialized] 16666 | ThisTimeLineID = receiveTLI; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ xlog.c:16653:25: note: 'receiveTLI' was declared here 16653 | TimeLineID receiveTLI; | ^~~~~~~~~~ xlog.c:16652:25: warning: 'receivePtr' may be used uninitialized [-Wmaybe-uninitialized] 16652 | XLogRecPtr receivePtr; | ^~~~~~~~~~ perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). informix.c:536:23: warning: argument 2 of type 'short int[3]' with mismatched bound [-Warray-parameter=] 536 | rjulmdy(date d, short mdy[3]) | ~~~~~~^~~~~~ In file included from informix.c:11: ../include/ecpg_informix.h:38:31: note: previously declared as 'short int *' 38 | extern int rjulmdy(date, short *); | ^~~~~~~ informix.c:587:15: warning: argument 1 of type 'short int[3]' with mismatched bound [-Warray-parameter=] 587 | rmdyjul(short mdy[3], date * d) | ~~~~~~^~~~~~ ../include/ecpg_informix.h:41:25: note: previously declared as 'short int *' 41 | extern int rmdyjul(short *, date *); | ^~~~~~~ perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). In file included from pl_exec.c:16: In function 'assign_simple_var', inlined from 'exec_set_found' at pl_exec.c:8121:2: ../../../../src/include/postgres.h:260:36: warning: array subscript 0 is outside array bounds of 'varattrib_1b[0]' [-Warray-bounds] 260 | (((varattrib_1b_e *) (PTR))->va_tag) | ^ ../../../../src/include/postgres.h:126:12: note: in definition of macro 'VARTAG_IS_EXPANDED' 126 | (((tag) & ~1) == VARTAG_EXPANDED_RO) | ^~~ ../../../../src/include/postgres.h:318:57: note: in expansion of macro 'VARTAG_1B_E' 318 | #define VARTAG_EXTERNAL(PTR) VARTAG_1B_E(PTR) | ^~~~~~~~~~~ ../../../../src/include/postgres.h:337:57: note: in expansion of macro 'VARTAG_EXTERNAL' 337 | (VARATT_IS_EXTERNAL(PTR) && !VARTAG_IS_EXPANDED(VARTAG_EXTERNAL(PTR))) | ^~~~~~~~~~~~~~~ pl_exec.c:8289:17: note: in expansion of macro 'VARATT_IS_EXTERNAL_NON_EXPANDED' 8289 | VARATT_IS_EXTERNAL_NON_EXPANDED(DatumGetPointer(newvalue))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ All of PostgreSQL successfully made. Ready to install. PostgreSQL installation complete. imath.c: In function 'mp_int_add': imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:670:17: note: in expansion of macro 'CLAMP' 670 | CLAMP(c); | ^~~~~ In file included from imath.c:34: imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:670:17: note: in expansion of macro 'CLAMP' 670 | CLAMP(c); | ^~~~~ imath.c: In function 'mp_int_sub': imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:766:17: note: in expansion of macro 'CLAMP' 766 | CLAMP(c); | ^~~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:766:17: note: in expansion of macro 'CLAMP' 766 | CLAMP(c); | ^~~~~ imath.c: In function 'mp_int_mul': imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:856:9: note: in expansion of macro 'CLAMP' 856 | CLAMP(c); /* ... right here */ | ^~~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:856:9: note: in expansion of macro 'CLAMP' 856 | CLAMP(c); /* ... right here */ | ^~~~~ imath.c: In function 'mp_int_sqr': imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:944:9: note: in expansion of macro 'CLAMP' 944 | CLAMP(c); /* ... right here */ | ^~~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:944:9: note: in expansion of macro 'CLAMP' 944 | CLAMP(c); /* ... right here */ | ^~~~~ imath.c: In function 'mp_int_read_cstring': imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:2046:9: note: in expansion of macro 'CLAMP' 2046 | CLAMP(z); | ^~~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:2046:9: note: in expansion of macro 'CLAMP' 2046 | CLAMP(z); | ^~~~~ imath.c: In function 's_ddiv': imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:2907:9: note: in expansion of macro 'CLAMP' 2907 | CLAMP(a); | ^~~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:2907:9: note: in expansion of macro 'CLAMP' 2907 | CLAMP(a); | ^~~~~ imath.c: In function 's_qdiv': imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:2961:17: note: in expansion of macro 'CLAMP' 2961 | CLAMP(z); | ^~~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:2961:17: note: in expansion of macro 'CLAMP' 2961 | CLAMP(z); | ^~~~~ imath.c: In function 's_qmod': imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:2984:17: note: in expansion of macro 'CLAMP' 2984 | CLAMP(z); | ^~~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:2984:17: note: in expansion of macro 'CLAMP' 2984 | CLAMP(z); | ^~~~~ imath.c: In function 's_qmul': imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:3064:9: note: in expansion of macro 'CLAMP' 3064 | CLAMP(z); | ^~~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:3064:9: note: in expansion of macro 'CLAMP' 3064 | CLAMP(z); | ^~~~~ imath.c: In function 's_qsub': imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:3100:9: note: in expansion of macro 'CLAMP' 3100 | CLAMP(z); | ^~~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:3100:9: note: in expansion of macro 'CLAMP' 3100 | CLAMP(z); | ^~~~~ imath.c: In function 's_reduce': imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:153:15: note: in expansion of macro 'CLAMP' 153 | MP_USED(Z)=o_;CLAMP(Z);}while(0) | ^~~~~ imath.c:3253:9: note: in expansion of macro 'UMUL' 3253 | UMUL(q1, mu, q2); | ^~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:153:15: note: in expansion of macro 'CLAMP' 153 | MP_USED(Z)=o_;CLAMP(Z);}while(0) | ^~~~~ imath.c:3253:9: note: in expansion of macro 'UMUL' 3253 | UMUL(q1, mu, q2); | ^~~~ imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:153:15: note: in expansion of macro 'CLAMP' 153 | MP_USED(Z)=o_;CLAMP(Z);}while(0) | ^~~~~ imath.c:3264:9: note: in expansion of macro 'UMUL' 3264 | UMUL(q2, m, q1); | ^~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:153:15: note: in expansion of macro 'CLAMP' 153 | MP_USED(Z)=o_;CLAMP(Z);}while(0) | ^~~~~ imath.c:3264:9: note: in expansion of macro 'UMUL' 3264 | UMUL(q2, m, q1); | ^~~~ imath.c: In function 's_embar': imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:153:15: note: in expansion of macro 'CLAMP' 153 | MP_USED(Z)=o_;CLAMP(Z);}while(0) | ^~~~~ imath.c:3327:33: note: in expansion of macro 'UMUL' 3327 | UMUL(c, a, TEMP(0)); | ^~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:153:15: note: in expansion of macro 'CLAMP' 153 | MP_USED(Z)=o_;CLAMP(Z);}while(0) | ^~~~~ imath.c:3327:33: note: in expansion of macro 'UMUL' 3327 | UMUL(c, a, TEMP(0)); | ^~~~ imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:157:60: note: in expansion of macro 'CLAMP' 157 | (void) s_ksqr(MP_DIGITS(X),MP_DIGITS(Z),ua_);MP_USED(Z)=o_;CLAMP(Z);}while(0) | ^~~~~ imath.c:3337:25: note: in expansion of macro 'USQR' 3337 | USQR(a, TEMP(0)); | ^~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:157:60: note: in expansion of macro 'CLAMP' 157 | (void) s_ksqr(MP_DIGITS(X),MP_DIGITS(Z),ua_);MP_USED(Z)=o_;CLAMP(Z);}while(0) | ^~~~~ imath.c:3337:25: note: in expansion of macro 'USQR' 3337 | USQR(a, TEMP(0)); | ^~~~ imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:153:15: note: in expansion of macro 'CLAMP' 153 | MP_USED(Z)=o_;CLAMP(Z);}while(0) | ^~~~~ imath.c:3359:25: note: in expansion of macro 'UMUL' 3359 | UMUL(c, a, TEMP(0)); | ^~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:153:15: note: in expansion of macro 'CLAMP' 153 | MP_USED(Z)=o_;CLAMP(Z);}while(0) | ^~~~~ imath.c:3359:25: note: in expansion of macro 'UMUL' 3359 | UMUL(c, a, TEMP(0)); | ^~~~ imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:157:60: note: in expansion of macro 'CLAMP' 157 | (void) s_ksqr(MP_DIGITS(X),MP_DIGITS(Z),ua_);MP_USED(Z)=o_;CLAMP(Z);}while(0) | ^~~~~ imath.c:3372:17: note: in expansion of macro 'USQR' 3372 | USQR(a, TEMP(0)); | ^~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:157:60: note: in expansion of macro 'CLAMP' 157 | (void) s_ksqr(MP_DIGITS(X),MP_DIGITS(Z),ua_);MP_USED(Z)=o_;CLAMP(Z);}while(0) | ^~~~~ imath.c:3372:17: note: in expansion of macro 'USQR' 3372 | USQR(a, TEMP(0)); | ^~~~ imath.c: In function 's_udiv': imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:3445:25: note: in expansion of macro 'CLAMP' 3445 | CLAMP(&r); | ^~~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:3445:25: note: in expansion of macro 'CLAMP' 3445 | CLAMP(&r); | ^~~~~ imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:3465:25: note: in expansion of macro 'CLAMP' 3465 | CLAMP(&t); | ^~~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:3465:25: note: in expansion of macro 'CLAMP' 3465 | CLAMP(&t); | ^~~~~ imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:3473:25: note: in expansion of macro 'CLAMP' 3473 | CLAMP(&r); | ^~~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:3473:25: note: in expansion of macro 'CLAMP' 3473 | CLAMP(&r); | ^~~~~ imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:3484:9: note: in expansion of macro 'CLAMP' 3484 | CLAMP(&q); | ^~~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:3484:9: note: in expansion of macro 'CLAMP' 3484 | CLAMP(&q); | ^~~~~ imath.c:133:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~ imath.c:3487:9: note: in expansion of macro 'CLAMP' 3487 | CLAMP(a); | ^~~~~ imath.h:69:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 69 | #define MP_USED(Z) ((Z)->used) | ^ imath.c:133:39: note: in expansion of macro 'MP_USED' 133 | while(uz_ > 1 && (*dz_-- == 0)) --uz_;MP_USED(z_)=uz_;}while(0) | ^~~~~~~ imath.c:3487:9: note: in expansion of macro 'CLAMP' 3487 | CLAMP(a); | ^~~~~ Makefile:27: warning: overriding recipe for target 'installcheck' ../../src/makefiles/pgxs.mk:403: warning: ignoring old recipe for target 'installcheck' polar_monitor_cgroup.c: In function 'get_cfs_period': polar_monitor_cgroup.c:365:28: warning: 'cpu/cpu.cfs_period_us' directive writing 21 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 365 | sprintf(path, "%s%scpu/cpu.cfs_period_us", get_base_path(), get_relative_path("cpu")); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from ../../src/include/c.h:65, from ../../src/include/postgres.h:52, from polar_monitor.h:28, from polar_monitor_cgroup.c:25: In function 'sprintf', inlined from 'get_cfs_period' at polar_monitor_cgroup.c:365:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 1045) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c: In function 'get_io_service_bytes': polar_monitor_cgroup.c:317:28: warning: 'blkio/blkio.throttle.io_serv...' directive writing 37 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 317 | sprintf(path, "%s%sblkio/blkio.throttle.io_service_bytes", get_base_path(), get_relative_path("blkio")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'get_io_service_bytes' at polar_monitor_cgroup.c:317:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 38 or more bytes (assuming 1061) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c: In function 'get_cpus': polar_monitor_cgroup.c:397:28: warning: 'cpu/cpuset.cpus' directive writing 15 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 397 | sprintf(path, "%s%scpu/cpuset.cpus", get_base_path(), get_relative_path("cpu")); | ^~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'get_cpus' at polar_monitor_cgroup.c:397:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 16 or more bytes (assuming 1039) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c: In function 'get_write_iops': polar_monitor_cgroup.c:357:28: warning: 'blkio/blkio.throttle.write_i...' directive writing 38 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 357 | sprintf(path, "%s%sblkio/blkio.throttle.write_iops_device", get_base_path(), get_relative_path("blkio")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'get_write_iops' at polar_monitor_cgroup.c:357:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 1062) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c: In function 'get_cpu_system': polar_monitor_cgroup.c:283:28: warning: 'cpu/cpuacct.stat' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 283 | sprintf(path, "%s%scpu/cpuacct.stat", get_base_path(), get_relative_path("cpu")); | ^~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'get_cpu_system' at polar_monitor_cgroup.c:283:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 17 or more bytes (assuming 1040) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c: In function 'add_mem_tuples.constprop': polar_monitor_cgroup.c:483:28: warning: 'memory/memory.stat' directive writing 18 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 483 | sprintf(path, "%s%smemory/memory.stat", get_base_path(), get_relative_path("memory")); | ^~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'add_mem_tuples.constprop' at polar_monitor_cgroup.c:483:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 19 or more bytes (assuming 1042) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c: In function 'get_io_serviced': polar_monitor_cgroup.c:309:28: warning: 'blkio/blkio.throttle.io_serv...' directive writing 32 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 309 | sprintf(path, "%s%sblkio/blkio.throttle.io_serviced", get_base_path(), get_relative_path("blkio")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'get_io_serviced' at polar_monitor_cgroup.c:309:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 33 or more bytes (assuming 1056) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c: In function 'get_cpu_user': polar_monitor_cgroup.c:272:28: warning: 'cpu/cpuacct.stat' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 272 | sprintf(path, "%s%scpu/cpuacct.stat", get_base_path(), get_relative_path("cpu")); | ^~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'get_cpu_user' at polar_monitor_cgroup.c:272:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 17 or more bytes (assuming 1040) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c: In function 'get_read_bps': polar_monitor_cgroup.c:333:28: warning: 'blkio/blkio.throttle.read_bp...' directive writing 36 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 333 | sprintf(path, "%s%sblkio/blkio.throttle.read_bps_device", get_base_path(), get_relative_path("blkio")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'get_read_bps' at polar_monitor_cgroup.c:333:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 37 or more bytes (assuming 1060) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c: In function 'get_read_iops': polar_monitor_cgroup.c:341:28: warning: 'blkio/blkio.throttle.read_io...' directive writing 37 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 341 | sprintf(path, "%s%sblkio/blkio.throttle.read_iops_device", get_base_path(), get_relative_path("blkio")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'get_read_iops' at polar_monitor_cgroup.c:341:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 38 or more bytes (assuming 1061) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c: In function 'get_write_bps': polar_monitor_cgroup.c:349:28: warning: 'blkio/blkio.throttle.write_b...' directive writing 37 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 349 | sprintf(path, "%s%sblkio/blkio.throttle.write_bps_device", get_base_path(), get_relative_path("blkio")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'get_write_bps' at polar_monitor_cgroup.c:349:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 38 or more bytes (assuming 1061) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c: In function 'get_cfs_quota': polar_monitor_cgroup.c:373:28: warning: 'cpu/cpu.cfs_quota_us' directive writing 20 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 373 | sprintf(path, "%s%scpu/cpu.cfs_quota_us", get_base_path(), get_relative_path("cpu")); | ^~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'get_cfs_quota' at polar_monitor_cgroup.c:373:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 21 or more bytes (assuming 1044) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c: In function 'get_rt_period': polar_monitor_cgroup.c:381:28: warning: 'cpu/cpu.rt_period_us' directive writing 20 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 381 | sprintf(path, "%s%scpu/cpu.rt_period_us", get_base_path(), get_relative_path("cpu")); | ^~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'get_rt_period' at polar_monitor_cgroup.c:381:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 21 or more bytes (assuming 1044) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c: In function 'get_memory_limit': polar_monitor_cgroup.c:325:28: warning: 'memory/memory.limit_in_bytes' directive writing 28 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 325 | sprintf(path, "%s%smemory/memory.limit_in_bytes", get_base_path(), get_relative_path("memory")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'get_memory_limit' at polar_monitor_cgroup.c:325:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 29 or more bytes (assuming 1052) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c: In function 'get_cpu_usage': polar_monitor_cgroup.c:256:28: warning: 'cpu/cpuacct.usage' directive writing 17 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 256 | sprintf(path, "%s%scpu/cpuacct.usage", get_base_path(), get_relative_path("cpu")); | ^~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'get_cpu_usage' at polar_monitor_cgroup.c:256:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 18 or more bytes (assuming 1041) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c: In function 'get_mem_usage': polar_monitor_cgroup.c:293:28: warning: 'memory/memory.usage_in_bytes' directive writing 28 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 293 | sprintf(path, "%s%smemory/memory.usage_in_bytes", get_base_path(), get_relative_path("memory")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'get_mem_usage' at polar_monitor_cgroup.c:293:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 29 or more bytes (assuming 1052) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c: In function 'get_huge_in_bytes': polar_monitor_cgroup.c:301:28: warning: 'hugetlb/hugetlb.2MB.usage_in...' directive writing 34 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 301 | sprintf(path, "%s%shugetlb/hugetlb.2MB.usage_in_bytes", get_base_path(), get_relative_path("hugetlb")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'get_huge_in_bytes' at polar_monitor_cgroup.c:301:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 35 or more bytes (assuming 1058) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ polar_monitor_cgroup.c: In function 'get_rt_runtime': polar_monitor_cgroup.c:389:28: warning: 'cpu/cpu.rt_runtime_us' directive writing 21 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 389 | sprintf(path, "%s%scpu/cpu.rt_runtime_us", get_base_path(), get_relative_path("cpu")); | ^~~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'get_rt_runtime' at polar_monitor_cgroup.c:389:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 1045) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ Makefile:27: warning: overriding recipe for target 'installcheck' ../../src/makefiles/pgxs.mk:403: warning: ignoring old recipe for target 'installcheck' rds build done + RPM_EC=0 ++ jobs -p + exit 0 Processing files: polardb-11.9.20.0-4.an23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2AqQHq + umask 022 + cd /builddir/build/BUILD + cd PolarDB-for-PostgreSQL-11.9.20.0 + DOCDIR=/builddir/build/BUILDROOT/polardb-11.9.20.0-4.an23.loongarch64/usr/share/doc/polardb + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/polardb-11.9.20.0-4.an23.loongarch64/usr/share/doc/polardb + cp -pr README.md /builddir/build/BUILDROOT/polardb-11.9.20.0-4.an23.loongarch64/usr/share/doc/polardb + cp -pr README-CN.md /builddir/build/BUILDROOT/polardb-11.9.20.0-4.an23.loongarch64/usr/share/doc/polardb + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.b4BTqX + umask 022 + cd /builddir/build/BUILD + cd PolarDB-for-PostgreSQL-11.9.20.0 + LICENSEDIR=/builddir/build/BUILDROOT/polardb-11.9.20.0-4.an23.loongarch64/usr/share/licenses/polardb + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/polardb-11.9.20.0-4.an23.loongarch64/usr/share/licenses/polardb + cp -pr LICENSE /builddir/build/BUILDROOT/polardb-11.9.20.0-4.an23.loongarch64/usr/share/licenses/polardb + RPM_EC=0 ++ jobs -p + exit 0 Provides: libecpg.so.6()(64bit) libecpg_compat.so.3()(64bit) libpgtypes.so.3()(64bit) libpolar_consensus_wrapper.so()(64bit) libpq.so.5()(64bit) libpqwalreceiver.so()(64bit) polardb = 11.9.20.0-4.an23 polardb(loongarch-64) = 11.9.20.0-4.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libecpg.so.6()(64bit) libecpg_compat.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.36)(64bit) libpgtypes.so.3()(64bit) libpq.so.5()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.1)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libxerces-c-3.2.so()(64bit) rtld(GNU_HASH) Conflicts: postgresql Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/polardb-11.9.20.0-4.an23.loongarch64 Wrote: /builddir/build/RPMS/polardb-11.9.20.0-4.an23.loongarch64.rpm Child return code was: 0