Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pg_top.spec'], chrootPath='/var/lib/mock/f33-build-290608-54504/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pg_top.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/pg_top-3.7.0-16.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pg_top.spec'], chrootPath='/var/lib/mock/f33-build-290608-54504/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pg_top.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0l0EG1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pg_top-3.7.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/pg_top-3.7.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pg_top-3.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.W795m0 + umask 022 + cd /builddir/build/BUILD + cd pg_top-3.7.0 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info Configuring pg_top 3.7.0 checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for make... make checking for riscv64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 for style of include used by make... GNU checking dependency style of gcc... none checking for gawk... (cached) gawk checking for a BSD-compatible install... /usr/bin/install -c checking OS revision number... 5500rc5git011riscv64fc32riscv64 checking for pg_config... /usr/bin/pg_config checking for PostgreSQL libraries... checking for library containing PQexec... -lpq checking for library containing kstat_open... no checking for library containing kvm_open... no checking for library containing elf32_getphdr... -lelf checking for library containing vm_statistics... no checking for library containing tgetent... -ltermcap checking for library containing exp... -lm checking for library containing dlerror... -ldl checking for library containing inet_aton... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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 stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for a good signal.h... no checking whether sys_errlist is declared... no checking return type of signal handlers... void checking for time_t... yes checking for getopt... yes checking for memcpy... yes checking for setpriority... yes checking for strchr... yes checking for strerror... yes checking for snprintf... yes checking for sighold... yes checking for sigrelse... yes checking for sigaction... yes checking for sigprocmask... yes checking for correct ls options... ls -l checking for a platform module... linux checking for installation settings... mode=755 configure: creating ./config.status config.status: creating Makefile config.status: creating pg_top.1 config.status: creating config.h config.status: executing depfiles commands + make -j4 '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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' gawk -f ./sigconv.awk /dev/null > sigdesc.h make all-am make[1]: Entering directory '/builddir/build/BUILD/pg_top-3.7.0' gcc -DHAVE_CONFIG_H -I. -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c color.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c commands.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c display.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c getopt.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c screen.c display.c: In function 'display_pagerend': display.c:1615:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1615 | (void) read(0, &ch, 1); | ^~~~~~~~~~~~~~~ display.c: In function 'display_pager': display.c:1634:12: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1634 | (void) read(0, &readch, 1); | ^~~~~~~~~~~~~~~~~~~ screen.c: In function 'init_termcap': screen.c:275:6: warning: array subscript 15 is above array bounds of 'char[15]' [-Warray-bounds] 275 | home[15] = '\0'; | ~~~~^~~~ screen.c:62:7: note: while referencing 'home' 62 | char home[15]; | ^~~~ gcc -DHAVE_CONFIG_H -I. -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c sprompt.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c pg.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c pg_top.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c username.c display.c: In function 'i_io': display.c:1262:65: warning: ' KB/s ' directive output may be truncated writing 7 bytes into a region of size between 0 and 32 [-Wformat-truncation=] 1262 | snprintf(buf, 80, "%5ld reads/s, %5ld KB/s, %5ld writes/s, %5ld KB/s ", | ^~~~~~~ In file included from /usr/include/stdio.h:866, from os.h:8, from display.c:30: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 56 and 116 bytes into a destination of size 80 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from pg_top.c:33: pg_top.c: In function 'main': os.h:24:50: warning: the address of 'stdoutbuf' will always evaluate as 'true' [-Waddress] 24 | #define setbuffer(f, b, s) setvbuf((f), (b), (b) ? _IOFBF : _IONBF, (s)) | ^ pg_top.c:452:2: note: in expansion of macro 'setbuffer' 452 | setbuffer(stdout, stdoutbuf, Buffersize); | ^~~~~~~~~ pg_top.c:597:14: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] 597 | (void) nice(-20); | ^~~~~~~~~ pg_top.c:1214:19: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1214 | (void) read(0, &ch, 1); | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c utils.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c version.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o m_remote.o `test -f 'machine/m_remote.c' || echo './'`machine/m_remote.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o m_common.o `test -f 'machine/m_common.c' || echo './'`machine/m_common.c pg_top.c:516:15: warning: 'ac' may be used uninitialized in this function [-Wmaybe-uninitialized] 516 | while ((i = getopt_long(ac, av, | ^~~~~~~~~~~~~~~~~~~ 517 | "CDITbcinqruVh:s:d:U:o:Wp:x:z:", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 518 | long_options, &option_index)) != EOF) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pg_top.c:659:25: warning: 'av' may be used uninitialized in this function [-Wmaybe-uninitialized] 659 | if (optind < ac && *av[optind]) | ^ utils.c: In function 'string_list': utils.c:297:9: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] 297 | return result; | ^~~~~~ utils.c: In function 'format_b': utils.c:596:46: warning: '%lld' directive output may be truncated writing between 1 and 20 bytes into a region of size 15 [-Wformat-truncation=] 596 | snprintf(ret, sizeof(retarray[index]) - 1, "%lld%c", amt, tag); | ^~~~ utils.c:596:45: note: directive argument in the range [-9223372036854775808, 9007199254740991] 596 | snprintf(ret, sizeof(retarray[index]) - 1, "%lld%c", amt, tag); | ^~~~~~~~ In file included from /usr/include/stdio.h:866, from os.h:8, from utils.c:16: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 3 and 22 bytes into a destination of size 15 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c: In function 'format_k': utils.c:647:46: warning: '%ld' directive output may be truncated writing between 1 and 20 bytes into a region of size 15 [-Wformat-truncation=] 647 | snprintf(ret, sizeof(retarray[index]) - 1, "%ld%c", amt, tag); | ^~~ utils.c:647:45: note: directive argument in the range [-9223372036854775808, 9007199254740991] 647 | snprintf(ret, sizeof(retarray[index]) - 1, "%ld%c", amt, tag); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from os.h:8, from utils.c:16: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 3 and 22 bytes into a destination of size 15 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I/usr/include -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o m_linux.o `test -f 'machine/m_linux.c' || echo './'`machine/m_linux.c machine/m_linux.c: In function 'machine_init': machine/m_linux.c:393:2: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 393 | chdir(PROCFS); | ^~~~~~~~~~~~~ machine/m_linux.c:438:6: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] 438 | if (cnt > 5) | ^ machine/m_linux.c: In function 'get_system_info': machine/m_linux.c:542:15: warning: array subscript -1 is outside array bounds of 'char[4097]' [-Warray-bounds] 542 | p = buffer - 1; | ~~~~~~~^~~ machine/m_linux.c:478:8: note: while referencing 'buffer' 478 | char buffer[4096 + 1]; | ^~~~~~ gcc -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -o pg_top color.o commands.o display.o getopt.o screen.o sprompt.o pg.o pg_top.o username.o utils.o version.o m_remote.o m_common.o m_linux.o -ldl -lm -ltermcap -lelf -lpq In function 'init_termcap', inlined from 'main' at pg_top.c:747:2: screen.c:275:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 275 | home[15] = '\0'; | ^ pg_top.c: In function 'main': screen.c:62:7: note: at offset 15 to object 'home' with size 15 declared here 62 | char home[15]; | ^ make[1]: Leaving directory '/builddir/build/BUILD/pg_top-3.7.0' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Xl9iW3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pg_top-3.7.0-16.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pg_top-3.7.0-16.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/pg_top-3.7.0-16.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pg_top-3.7.0-16.fc33.riscv64 + cd pg_top-3.7.0 + install -Dp -m 755 pg_top /builddir/build/BUILDROOT/pg_top-3.7.0-16.fc33.riscv64/usr/bin/pg_top + install -Dp -m 644 pg_top.1 /builddir/build/BUILDROOT/pg_top-3.7.0-16.fc33.riscv64/usr/share/man/man1/pg_top.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.7.0-16.fc33 --unique-debug-suffix -3.7.0-16.fc33.riscv64 --unique-debug-src-base pg_top-3.7.0-16.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pg_top-3.7.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pg_top-3.7.0-16.fc33.riscv64/usr/bin/pg_top extracting debug info from /builddir/build/BUILDROOT/pg_top-3.7.0-16.fc33.riscv64/usr/bin/pg_top original debug info size: 1000kB, size after compression: 976kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 463 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: pg_top-3.7.0-16.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cxVOH1 + umask 022 + cd /builddir/build/BUILD + cd pg_top-3.7.0 + DOCDIR=/builddir/build/BUILDROOT/pg_top-3.7.0-16.fc33.riscv64/usr/share/doc/pg_top + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pg_top-3.7.0-16.fc33.riscv64/usr/share/doc/pg_top + cp -pr FAQ /builddir/build/BUILDROOT/pg_top-3.7.0-16.fc33.riscv64/usr/share/doc/pg_top + cp -pr HISTORY /builddir/build/BUILDROOT/pg_top-3.7.0-16.fc33.riscv64/usr/share/doc/pg_top + cp -pr LICENSE /builddir/build/BUILDROOT/pg_top-3.7.0-16.fc33.riscv64/usr/share/doc/pg_top + cp -pr README /builddir/build/BUILDROOT/pg_top-3.7.0-16.fc33.riscv64/usr/share/doc/pg_top + cp -pr TODO /builddir/build/BUILDROOT/pg_top-3.7.0-16.fc33.riscv64/usr/share/doc/pg_top + cp -pr Y2K /builddir/build/BUILDROOT/pg_top-3.7.0-16.fc33.riscv64/usr/share/doc/pg_top + RPM_EC=0 ++ jobs -p + exit 0 Provides: pg_top = 3.7.0-16.fc33 pg_top(riscv-64) = 3.7.0-16.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpq.so.5()(64bit) libpq.so.5(RHPG_9.6)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: pg_top-debugsource-3.7.0-16.fc33.riscv64 Provides: pg_top-debugsource = 3.7.0-16.fc33 pg_top-debugsource(riscv-64) = 3.7.0-16.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pg_top-debuginfo-3.7.0-16.fc33.riscv64 Provides: debuginfo(build-id) = 78169562dc8d8d4850c0a6ebf415825f1083481c pg_top-debuginfo = 3.7.0-16.fc33 pg_top-debuginfo(riscv-64) = 3.7.0-16.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pg_top-debugsource(riscv-64) = 3.7.0-16.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pg_top-3.7.0-16.fc33.riscv64 Wrote: /builddir/build/RPMS/pg_top-3.7.0-16.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/pg_top-debugsource-3.7.0-16.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/pg_top-debuginfo-3.7.0-16.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rIqjl4 + umask 022 + cd /builddir/build/BUILD + cd pg_top-3.7.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pg_top-3.7.0-16.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0