Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['/usr/bin/rpmbuild', '-bs', '--target', 'aarch64', '--nodeps', u'/builddir/build/SPECS/atop.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/cloud8-openstack-ussuri-el8-build-75953-411085/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ea4eda8ee7c54a2782b80136f31917cc', '-D', '/var/lib/mock/cloud8-openstack-ussuri-el8-build-75953-411085/root', '--setenv=LANG=en_GB.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', '/usr/bin/rpmbuild', '-bs', '--target', 'aarch64', '--nodeps', u'/builddir/build/SPECS/atop.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/atop-2.4.0-4.el8.src.rpm Child return code was: 0 ENTER ['do'](['/usr/bin/rpmbuild', '-bb', '--target', 'aarch64', '--nodeps', u'/builddir/build/SPECS/atop.spec'], nspawn_args=['--private-network']shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/cloud8-openstack-ussuri-el8-build-75953-411085/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'eabad8b11ed94263b3a6dd1307e32ccf', '-D', '/var/lib/mock/cloud8-openstack-ussuri-el8-build-75953-411085/root', '--private-network', '--setenv=LANG=en_GB.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', '/usr/bin/rpmbuild', '-bb', '--target', 'aarch64', '--nodeps', u'/builddir/build/SPECS/atop.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Jq1kMy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf atop-2.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/atop-2.4.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd atop-2.4.0 + /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 -p0 -b --suffix .nvme --fuzz=0 patching file ./photosyst.c Hunk #1 succeeded at 1679 (offset 142 lines). Patch #1 (atop-sysconfig.patch): + echo 'Patch #1 (atop-sysconfig.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .sysconfig --fuzz=0 patching file atop.daily Patch #2 (atop-2.3.0-restart.patch): + echo 'Patch #2 (atop-2.3.0-restart.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .cron --fuzz=0 patching file atop.cronsystemd Patch #3 (atop-2.3.0-newer-gcc.patch): + echo 'Patch #3 (atop-2.3.0-newer-gcc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .newer-gcc --fuzz=0 patching file photosyst.c Hunk #1 succeeded at 188 (offset 4 lines). Hunk #2 succeeded at 1605 (offset 123 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QyhDUY + umask 022 + cd /builddir/build/BUILD + cd atop-2.4.0 + make -j8 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o atop.o atop.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o version.o version.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o various.o various.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o deviate.o deviate.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o procdbase.o procdbase.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o acctproc.o acctproc.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o photoproc.o photoproc.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o photosyst.o photosyst.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rawlog.o rawlog.c photoproc.c:139:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: photoproc.c,v 1.33 2010/04/23 12:19:35 gerlof Exp $"; ^~~~~ atop.c:274:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: atop.c,v 1.49 2010/10/23 14:01:00 gerlof Exp $"; ^~~~~ various.c: In function 'regainrootprivs': various.c:616:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^~~~~~~~~~ deviate.c:171:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: deviate.c,v 1.45 2010/10/23 14:02:03 gerlof Exp $"; ^~~~~ photosyst.c: In function 'getperfevents': photosyst.c:2157:18: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(*(fdi+i), &(cs->cpu[i].instr), sizeof(count_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photosyst.c:2160:18: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(*(fdc+i), &(cs->cpu[i].cycle), sizeof(count_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: photosyst.c:152:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: photosyst.c,v 1.38 2010/11/19 07:40:40 gerlof Exp $"; ^~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ifprop.o ifprop.c photosyst.c: In function 'lvmmapname': photosyst.c:1589:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 52 [-Wformat-truncation=] snprintf(path, sizeof path, "%s/%s", ^~ In file included from /usr/include/stdio.h:873, from photosyst.c:155: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 13 and 268 bytes into a destination of size 64 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o parseable.o parseable.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o showgeneric.o showgeneric.c rawlog.c: In function 'rawread': rawlog.c:424:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 237 [-Wformat-truncation=] snprintf(rawname, RAWNAMESZ, "%s/atop_%s", ^~ rawlog.c:426:5: savedname); ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from rawlog.c:34: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 20 and 275 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rawlog.c:498:54: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 244 and 499 [-Wformat-truncation=] snprintf(command, sizeof command, "gunzip -c %s > %s", ^~ tmpname1, tmpname2); ~~~~~~~~ In file included from /usr/include/stdio.h:873, from rawlog.c:34: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 524 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o showlinux.o showlinux.c photosyst.c: In function 'photosyst': photosyst.c:1860:34: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 128 [-Wformat-truncation=] snprintf(path, sizeof path, "%s/ports", ^~ In file included from /usr/include/stdio.h:873, from photosyst.c:155: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 7 and 262 bytes into a destination of size 128 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o showsys.o showsys.c showgeneric.c:258:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: showgeneric.c,v 1.71 2010/10/25 19:08:32 gerlof Exp $"; ^~~~~ showlinux.c: In function 'compcpu': showlinux.c:2292:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (acpu > bcpu) return -1; ^~ showlinux.c:2293:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return compmem(a, b); ^~~~~~ showlinux.c: In function 'compdsk': showlinux.c:2316:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (adsk > bdsk) return -1; ^~ showlinux.c:2317:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return compcpu(a, b); ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o showprocs.o showprocs.c showlinux.c: In function 'compmem': showlinux.c:2327:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (amem > bmem) return -1; ^~ showlinux.c:2328:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ showlinux.c: In function 'compgpu': showlinux.c:2350:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (amem > bmem) return -1; ^~ showlinux.c:2351:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ showlinux.c:2356:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (abusy > bbusy) return -1; ^~ showlinux.c:2357:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ showlinux.c: In function 'compnet': showlinux.c:2374:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (anet > bnet) return -1; ^~ showlinux.c:2375:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return compcpu(a, b); ^~~~~~ showlinux.c: In function 'compusr': showlinux.c:2385:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (uida < uidb) return -1; ^~ showlinux.c:2386:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ showlinux.c: In function 'cpucompar': showlinux.c:2419:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (aidle > bidle) return 1; ^~ showlinux.c:2420:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ showlinux.c: In function 'gpucompar': showlinux.c:2434:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (amemuse > bmemuse) return -1; ^~ showlinux.c:2435:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ showlinux.c:2440:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (agpuperc > bgpuperc) return -1; ^~ showlinux.c:2441:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ showlinux.c: In function 'diskcompar': showlinux.c:2452:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (amsio > bmsio) return -1; ^~ showlinux.c:2453:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ showlinux.c: In function 'intfcompar': showlinux.c:2500:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (afactor > bfactor) return -1; ^~ showlinux.c:2501:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ showlinux.c:2507:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((arbyte + asbyte) > (brbyte + bsbyte)) return -1; ^~ showlinux.c:2508:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ showlinux.c: In function 'ifbcompar': showlinux.c:2527:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (atransfer > btransfer) return -1; ^~ showlinux.c:2528:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ showlinux.c: In function 'nfsmcompar': showlinux.c:2548:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (aused > bused) return -1; ^~ showlinux.c:2549:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ showlinux.c: In function 'contcompar': showlinux.c:2562:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (aused > bused) return -1; ^~ showlinux.c:2563:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return 0; ^~~~~~ At top level: showlinux.c:264:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: showlinux.c,v 1.70 2010/10/23 14:04:12 gerlof Exp $"; ^~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o atopsar.o atopsar.c showsys.c:71:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "XXXXXX"; ^~~~~ showprocs.c:85:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: showprocs.c,v 1.15 2011/09/05 11:44:16 gerlof Exp $"; ^~~~~ atopsar.c:32:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: atopsar.c,v 1.28 2010/11/26 06:19:43 gerlof Exp $"; ^~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o netatopif.o netatopif.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o gpucom.o gpucom.c showsys.c: In function 'sysprt_NETSPEEDMAX': showsys.c:2229:40: warning: '%4lld' directive output may be truncated writing between 4 and 16 bytes into a region of size 13 [-Wformat-truncation=] snprintf(buf, sizeof buf, "sp %4lld Gbps", speed); ^~~~~ showsys.c:2229:36: note: directive argument in the range [10, 9223372036854775] snprintf(buf, sizeof buf, "sp %4lld Gbps", speed); ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from showsys.c:78: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 13 and 25 bytes into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ showsys.c:2224:40: warning: '%4lld' directive output may be truncated writing between 4 and 20 bytes into a region of size 13 [-Wformat-truncation=] snprintf(buf, sizeof buf, "sp %4lld Mbps", speed); ^~~~~ showsys.c:2224:36: note: directive argument in the range [-9223372036854775808, 9999] snprintf(buf, sizeof buf, "sp %4lld Mbps", speed); ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from showsys.c:78: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 13 and 29 bytes into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o atopacctd.o atopacctd.c showsys.c: In function 'sysprt_IFBSPEEDMAX': showsys.c:2427:40: warning: '%4lld' directive output may be truncated writing between 4 and 16 bytes into a region of size 13 [-Wformat-truncation=] snprintf(buf, sizeof buf, "sp %4lld Gbps", rate); ^~~~~ showsys.c:2427:36: note: directive argument in the range [10, 9223372036854775] snprintf(buf, sizeof buf, "sp %4lld Gbps", rate); ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from showsys.c:78: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 13 and 25 bytes into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ showsys.c:2422:40: warning: '%4lld' directive output may be truncated writing between 4 and 20 bytes into a region of size 13 [-Wformat-truncation=] snprintf(buf, sizeof buf, "sp %4lld Mbps", rate); ^~~~~ showsys.c:2422:36: note: directive argument in the range [-9223372036854775808, 9999] snprintf(buf, sizeof buf, "sp %4lld Mbps", rate); ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from showsys.c:78: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 13 and 29 bytes into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atopacctd.c: In function 'main': atopacctd.c:307:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir("/tmp"); // go to a safe place ^~~~~~~~~~~~~ atopacctd.c:371:9: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result] (void) nice(-39); ^~~~~~~~~ atopacctd.c: In function 'setcurrent': atopacctd.c:995:9: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] (void) ftruncate(cfd, 0); ^~~~~~~~~~~~~~~~~ atopacctd.c:997:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(cfd, currentdata, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -I. -Wall -c netlink.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o atopconvert.o atopconvert.c showsys.c: In function 'sysprt_NETNAME': showsys.c:2127:47: warning: '%3lld' directive output may be truncated writing between 3 and 19 bytes into a region of size 7 [-Wformat-truncation=] snprintf(buf, sizeof(buf)-1, "%-7.7s %3lld%%", ^~~~~ showsys.c:2127:39: note: directive argument in the range [-147573952589676412, 147573952589676412] snprintf(buf, sizeof(buf)-1, "%-7.7s %3lld%%", ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from showsys.c:78: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 13 and 29 bytes into a destination of size 15 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc atopacctd.o netlink.o -o atopacctd showsys.c: In function 'makenetspeed': showsys.c:2207:25: warning: '%4lld' directive writing between 4 and 18 bytes into a region of size 13 [-Wformat-overflow=] sprintf(buf+3, "%4lld %cbps", val, c); ^~~~~ showsys.c:2207:24: note: directive argument in the range [-73786976294838206, 73786976] sprintf(buf+3, "%4lld %cbps", val, c); ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from showsys.c:78: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 24 bytes into a destination of size 13 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc atopconvert.o -o atopconvert -lz cc -c version.c cc 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 -lncurses -lz -lm -lrt ln -sf atop atopsar + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jq2Dk2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64 ++ dirname /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64 + cd atop-2.4.0 + install -Dp -m 0755 atop /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/bin/atop + install -Dp -m 0755 atopconvert /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/bin/atopconvert + ln -s atop /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/bin/atopsar + install -Dp -m 0644 man/atop.1 /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/share/man/man1/atop.1 + install -Dp -m 0644 man/atopsar.1 /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/share/man/man1/atopsar.1 + install -Dp -m 0644 atop.cronsystemd /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/etc/cron.d/atop + install -Dp -m 0755 atop.daily /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/share/atop/atop.daily + install -Dp -m 0644 /builddir/build/SOURCES/atop.sysconfig /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/etc/sysconfig/atop + install -Dp -m 0755 /builddir/build/SOURCES/atop.d /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/bin/atopd + install -Dp -m 0644 atop.service /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/lib/systemd/system/atop.service + install -d /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/var/log/atop + install -Dp -m 0755 atopacctd /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/sbin/atopacctd + install -Dp -m 0644 atopacct.service /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/lib/systemd/system/atopacct.service + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 2.4.0-4.el8 --unique-debug-suffix -2.4.0-4.el8.aarch64 --unique-debug-src-base atop-2.4.0-4.el8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/atop-2.4.0 extracting debug info from /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/bin/atop extracting debug info from /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/bin/atopconvert extracting debug info from /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/sbin/atopacctd /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 1587 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: atop-2.4.0-4.el8.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Fa7Nn6 + umask 022 + cd /builddir/build/BUILD + cd atop-2.4.0 + DOCDIR=/builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/share/doc/atop + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/share/doc/atop + cp -pr COPYING /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/share/doc/atop + cp -pr AUTHOR /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/share/doc/atop + cp -pr README /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/share/doc/atop + cp -pr ChangeLog /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64/usr/share/doc/atop + exit 0 Provides: atop = 2.4.0-4.el8 atop(aarch-64) = 2.4.0-4.el8 config(atop) = 2.4.0-4.el8 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: /bin/bash ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libncurses.so.6()(64bit) librt.so.1()(64bit) libtinfo.so.6()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: atop-debugsource-2.4.0-4.el8.aarch64 Provides: atop-debugsource = 2.4.0-4.el8 atop-debugsource(aarch-64) = 2.4.0-4.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: atop-debuginfo-2.4.0-4.el8.aarch64 Provides: atop-debuginfo = 2.4.0-4.el8 atop-debuginfo(aarch-64) = 2.4.0-4.el8 debuginfo(build-id) = 5f724c14e31afea4aabe17e9099a9688cf77e704 debuginfo(build-id) = 98f6f23728b6c404bd38e85c825e39a457d817fe debuginfo(build-id) = cfa7064588e42229d17f4cab344d2cf35426553e Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: atop-debugsource(aarch-64) = 2.4.0-4.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64 Wrote: /builddir/build/RPMS/atop-2.4.0-4.el8.aarch64.rpm Wrote: /builddir/build/RPMS/atop-debugsource-2.4.0-4.el8.aarch64.rpm Wrote: /builddir/build/RPMS/atop-debuginfo-2.4.0-4.el8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tYigrz + umask 022 + cd /builddir/build/BUILD + cd atop-2.4.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/atop-2.4.0-4.el8.aarch64 + exit 0 Child return code was: 0