Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/atop.spec'], chrootPath='/var/lib/mock/f37-build-669759-74983/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/atop.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658275200 Wrote: /builddir/build/SRPMS/atop-2.7.1-3.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/atop.spec'], chrootPath='/var/lib/mock/f37-build-669759-74983/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/atop.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.w5vNEP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf atop-2.7.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/atop-2.7.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd atop-2.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (nvme_support.patch):' Patch #0 (nvme_support.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .nvme --fuzz=0 patching file ./photosyst.c Hunk #1 succeeded at 1972 (offset 435 lines). Patch #1 (atop-sysconfig.patch): + echo 'Patch #1 (atop-sysconfig.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .sysconfig --fuzz=0 patching file atop.daily Hunk #1 succeeded at 8 (offset 1 line). Patch #2 (atop-2.3.0-newer-gcc.patch): + echo 'Patch #2 (atop-2.3.0-newer-gcc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .newer-gcc --fuzz=0 patching file photosyst.c Hunk #1 succeeded at 69 (offset -115 lines). Hunk #2 succeeded at 1897 (offset 415 lines). + sed -i 's|/etc/default/atop|/etc/sysconfig/atop|g' atop.service + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xSaug8 + 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/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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd atop-2.7.1 + 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' 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 -c -o atop.o atop.c 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 -c -o version.o version.c 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 -c -o various.o various.c 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 -c -o deviate.o deviate.c 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 -c -o procdbase.o procdbase.c deviate.c: In function 'deviatsyst': deviate.c:1034:21: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress] 1034 | if (pre->dsk.dsk[j].name) // existing matching entry | ^~~ In file included from deviate.c:50: photosyst.h:188:17: note: 'name' declared here 188 | char name[MAXDKNAM]; /* empty string for last */ | ^~~~ deviate.c:1103:21: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress] 1103 | if (pre->dsk.mdd[j].name) // existing matching entry | ^~~ photosyst.h:188:17: note: 'name' declared here 188 | char name[MAXDKNAM]; /* empty string for last */ | ^~~~ deviate.c:1172:21: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress] 1172 | if (pre->dsk.lvm[j].name) // existing matching entry | ^~~ photosyst.h:188:17: note: 'name' declared here 188 | char name[MAXDKNAM]; /* empty string for last */ | ^~~~ various.c: In function 'val2valstr': various.c:333:50: warning: '%d' directive output between 1 and 10 bytes may cause result to exceed 'INT_MAX' [-Wformat-overflow=] 333 | sprintf(strvalue, "%*llde%d%s", | ^~ various.c:333:43: note: directive argument in the range [0, 2147483647] 333 | sprintf(strvalue, "%*llde%d%s", | ^~~~~~~~~~~~ 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 -c -o acctproc.o acctproc.c 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 -c -o photoproc.o photoproc.c 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 -c -o photosyst.o photosyst.c acctproc.c: In function 'acctphotoproc': acctproc.c:902:25: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 16 [-Wstringop-truncation] 902 | strncpy(api->gen.name, acctrec.ac_comm, PNAMLEN); | ^ acctproc.c:930:25: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 930 | strncpy(api->gen.name, acctrec_v3.ac_comm, PNAMLEN); | ^ 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 -c -o rawlog.o rawlog.c 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 -c -o ifprop.o ifprop.c photosyst.c: In function 'numa_allocate_cpumask': photosyst.c:234:9: warning: 'bmp_4' may be used uninitialized [-Wmaybe-uninitialized] 234 | ptrverify(bmp, "Malloc failed for numa bitmask"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from photosyst.c:66: atop.h:186:17: note: by argument 1 of type 'const void *' to 'ptrverify' declared here 186 | void ptrverify(const void *, const char *, ...); | ^~~~~~~~~ ifprop.c: In function 'initifprop': ifprop.c:334:9: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 30 [-Wstringop-truncation] 334 | strncpy((void *)&ifreq.ifr_ifrn.ifrn_name, p->name, | ^ ifprop.c:422:17: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 30 [-Wstringop-truncation] 422 | strncpy(iwreq.ifr_ifrn.ifrn_name, p->name, | ^ 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 -c -o parseable.o parseable.c photosyst.c: In function 'photosyst': photosyst.c:82:17: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 231 [-Wformat-truncation=] 82 | #define NUMADIR "/sys/devices/system/node" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ photosyst.c:992:59: note: format string is defined here 992 | snprintf(fn, sizeof fn, NUMADIR "/node%d/cpumap", j); | ^~ In file included from /usr/include/stdio.h:906, from photosyst.c:33: In function 'snprintf', inlined from 'photosyst' at photosyst.c:866:4: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 34 and 289 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 -c -o showgeneric.o showgeneric.c showgeneric.c: In function 'generic_init': showgeneric.c:2828:32: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 2828 | (void) dup(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 -c -o showlinux.o showlinux.c 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 -c -o showsys.o showsys.c 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 -c -o showprocs.o showprocs.c 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 -c -o atopsar.o atopsar.c showprocs.c: In function 'procprt_BANDWO_e': showprocs.c:1878:23: warning: '%4lld' directive writing between 4 and 18 bytes into a region of size 16 [-Wformat-overflow=] 1878 | sprintf(buf, "%4lld %cbps", kbps, c); | ^~~~~ In function 'format_bandw', inlined from 'procprt_BANDWO_e' at showprocs.c:1843:3, inlined from 'procprt_BANDWO_e' at showprocs.c:1835:1: showprocs.c:1878:22: note: directive argument in the range [-73786976294838206, 73786976] 1878 | sprintf(buf, "%4lld %cbps", kbps, c); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from showprocs.c:37: In function 'sprintf', inlined from 'format_bandw' at showprocs.c:1878:9, inlined from 'procprt_BANDWO_e' at showprocs.c:1843:3, inlined from 'procprt_BANDWO_e' at showprocs.c:1835:1: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 10 and 24 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ showprocs.c: In function 'procprt_BANDWI_a': showprocs.c:1878:23: warning: '%4lld' directive writing between 4 and 18 bytes into a region of size 16 [-Wformat-overflow=] 1878 | sprintf(buf, "%4lld %cbps", kbps, c); | ^~~~~ In function 'format_bandw', inlined from 'procprt_BANDWI_a' at showprocs.c:1801:2: showprocs.c:1878:22: note: directive argument in the range [-73786976294838206, 73786976] 1878 | sprintf(buf, "%4lld %cbps", kbps, c); | ^~~~~~~~~~~~~ In function 'sprintf', inlined from 'format_bandw' at showprocs.c:1878:9, inlined from 'procprt_BANDWI_a' at showprocs.c:1801:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 10 and 24 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ showprocs.c: In function 'procprt_BANDWO_a': showprocs.c:1878:23: warning: '%4lld' directive writing between 4 and 18 bytes into a region of size 16 [-Wformat-overflow=] 1878 | sprintf(buf, "%4lld %cbps", kbps, c); | ^~~~~ In function 'format_bandw', inlined from 'procprt_BANDWO_a' at showprocs.c:1830:2: showprocs.c:1878:22: note: directive argument in the range [-73786976294838206, 73786976] 1878 | sprintf(buf, "%4lld %cbps", kbps, c); | ^~~~~~~~~~~~~ In function 'sprintf', inlined from 'format_bandw' at showprocs.c:1878:9, inlined from 'procprt_BANDWO_a' at showprocs.c:1830:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 10 and 24 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ showprocs.c: In function 'procprt_BANDWI_e': showprocs.c:1878:23: warning: '%4lld' directive writing between 4 and 18 bytes into a region of size 16 [-Wformat-overflow=] 1878 | sprintf(buf, "%4lld %cbps", kbps, c); | ^~~~~ In function 'format_bandw', inlined from 'procprt_BANDWI_e' at showprocs.c:1814:3, inlined from 'procprt_BANDWI_e' at showprocs.c:1806:1: showprocs.c:1878:22: note: directive argument in the range [-73786976294838206, 73786976] 1878 | sprintf(buf, "%4lld %cbps", kbps, c); | ^~~~~~~~~~~~~ In function 'sprintf', inlined from 'format_bandw' at showprocs.c:1878:9, inlined from 'procprt_BANDWI_e' at showprocs.c:1814:3, inlined from 'procprt_BANDWI_e' at showprocs.c:1806:1: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 10 and 24 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 -c -o netatopif.o netatopif.c 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 -c -o gpucom.o gpucom.c 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 -c -o atopacctd.o atopacctd.c 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 -c -o netlink.o netlink.c gpucom.c: In function 'gpumergeproc': gpucom.c:553:9: warning: 'gpp_136' may be used uninitialized [-Wmaybe-uninitialized] 553 | ptrverify(gpp, "Malloc failed for process list\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from gpucom.c:35: atop.h:186:17: note: by argument 1 of type 'const void *' to 'ptrverify' declared here 186 | void ptrverify(const void *, const char *, ...); | ^~~~~~~~~ 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 -c -o atopconvert.o atopconvert.c 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 -c -o atopcat.o atopcat.c atopsar.c: In function 'atopsar': atopsar.c:136:17: warning: 'flaglist_120' may be used uninitialized [-Wmaybe-uninitialized] 136 | ptrverify(flaglist, "Malloc failed for %d flags\n", pricnt+32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from atopsar.c:50: atop.h:186:17: note: by argument 1 of type 'const void *' to 'ptrverify' declared here 186 | void ptrverify(const void *, const char *, ...); | ^~~~~~~~~ gcc atopcat.o -o atopcat -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes gcc atopacctd.o netlink.o -o atopacctd -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes gcc atop.o version.o various.o deviate.o procdbase.o acctproc.o photoproc.o photosyst.o rawlog.o ifprop.o parseable.o showgeneric.o showlinux.o showsys.o showprocs.o atopsar.o netatopif.o gpucom.o -o atop -lncursesw -lz -lm -lrt -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes gcc atopconvert.o -o atopconvert -lz -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ln -sf atop atopsar + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5IbfKp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64 + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd atop-2.7.1 + install -Dp -m 0755 atop /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/bin/atop + install -Dp -m 0755 atopconvert /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/bin/atopconvert + ln -s atop /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/bin/atopsar + install -Dp -m 0644 man/atop.1 /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/share/man/man1/atop.1 + install -Dp -m 0644 man/atopsar.1 /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/share/man/man1/atopsar.1 + install -Dp -m 0755 atop.daily /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/share/atop/atop.daily + install -Dp -m 0644 atop.default /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/etc/sysconfig/atop + install -Dp -m 0755 /builddir/build/SOURCES/atop.d /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/bin/atopd + install -Dp -m 0644 atop.service /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/lib/systemd/system/atop.service + install -d /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/var/log/atop + install -Dp -m 0755 atopacctd /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/sbin/atopacctd + install -Dp -m 0644 atopacct.service /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/lib/systemd/system/atopacct.service + install -Dp -m 0644 atop-rotate.service atop-rotate.timer /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/lib/systemd/system/ + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.7.1-3.fc37 --unique-debug-suffix -2.7.1-3.fc37.riscv64 --unique-debug-src-base atop-2.7.1-3.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/atop-2.7.1 extracting debug info from /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/bin/atopconvert extracting debug info from /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/bin/atop extracting debug info from /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/sbin/atopacctd original debug info size: 3224kB, size after compression: 3104kB /usr/bin/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 1842 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/atopd from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/atop/atop.daily from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: atop-2.7.1-3.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7AyhfH + umask 022 + cd /builddir/build/BUILD + cd atop-2.7.1 + DOCDIR=/builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/share/doc/atop + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/share/doc/atop + cp -pr AUTHOR /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/share/doc/atop + cp -pr README /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/share/doc/atop + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3zoN82 + umask 022 + cd /builddir/build/BUILD + cd atop-2.7.1 + LICENSEDIR=/builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/share/licenses/atop + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/share/licenses/atop + cp -pr COPYING /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64/usr/share/licenses/atop + RPM_EC=0 ++ jobs -p + exit 0 Provides: atop = 2.7.1-3.fc37 atop(riscv-64) = 2.7.1-3.fc37 config(atop) = 2.7.1-3.fc37 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/bash /usr/bin/sh 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) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libncursesw.so.6()(64bit) libtinfo.so.6()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: atop-debugsource-2.7.1-3.fc37.riscv64 Provides: atop-debugsource = 2.7.1-3.fc37 atop-debugsource(riscv-64) = 2.7.1-3.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: atop-debuginfo-2.7.1-3.fc37.riscv64 Provides: atop-debuginfo = 2.7.1-3.fc37 atop-debuginfo(riscv-64) = 2.7.1-3.fc37 debuginfo(build-id) = 616d6d03bf82b2611566bfb8854fe7b093371bcf debuginfo(build-id) = 6e3d51e15255bdcdc10cb665292a33ecd79b5e6a debuginfo(build-id) = fba122279bf90fc9970c334e57c76822c12bd7f3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: atop-debugsource(riscv-64) = 2.7.1-3.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64 Wrote: /builddir/build/RPMS/atop-2.7.1-3.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/atop-debuginfo-2.7.1-3.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/atop-debugsource-2.7.1-3.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UrTB9c + umask 022 + cd /builddir/build/BUILD + cd atop-2.7.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/atop-2.7.1-3.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.TB4aL3 + umask 022 + cd /builddir/build/BUILD + rm -rf atop-2.7.1 atop-2.7.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0