<86>Jan 21 02:11:55 userdel[389606]: delete user 'rooter' <86>Jan 21 02:11:55 userdel[389606]: removed group 'rooter' owned by 'rooter' <86>Jan 21 02:11:55 userdel[389606]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 21 02:11:55 groupadd[389638]: group added to /etc/group: name=rooter, GID=1823 <86>Jan 21 02:11:55 groupadd[389638]: group added to /etc/gshadow: name=rooter <86>Jan 21 02:11:55 groupadd[389638]: new group: name=rooter, GID=1823 <86>Jan 21 02:11:55 useradd[389667]: new user: name=rooter, UID=1823, GID=1823, home=/root, shell=/bin/bash <86>Jan 21 02:11:55 userdel[389702]: delete user 'builder' <86>Jan 21 02:11:55 userdel[389702]: removed group 'builder' owned by 'builder' <86>Jan 21 02:11:55 userdel[389702]: removed shadow group 'builder' owned by 'builder' <86>Jan 21 02:11:55 groupadd[389724]: group added to /etc/group: name=builder, GID=1824 <86>Jan 21 02:11:55 groupadd[389724]: group added to /etc/gshadow: name=builder <86>Jan 21 02:11:55 groupadd[389724]: new group: name=builder, GID=1824 <86>Jan 21 02:11:55 useradd[389744]: new user: name=builder, UID=1824, GID=1824, home=/usr/src, shell=/bin/bash <13>Jan 21 02:11:58 rpmi: libncurses-6.3.20220618-alt1 p10+319472.100.4.1 1685092691 installed <13>Jan 21 02:11:58 rpmi: libtinfo-devel-6.3.20220618-alt1 p10+319472.100.4.1 1685092691 installed <13>Jan 21 02:11:58 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Jan 21 02:11:58 rpmi: libexpat-2.5.0-alt1 p10+324220.100.1.1 1688465137 installed <13>Jan 21 02:11:58 rpmi: libp11-kit-0.24.1-alt1 p10+305061.100.3.1 1660573397 installed <13>Jan 21 02:11:58 rpmi: libtasn1-4.19.0-alt1 p10+309071.100.2.1 1668522760 installed <13>Jan 21 02:11:58 rpmi: rpm-macros-alternatives-0.5.2-alt1 p10+309129.100.2.1 1668066636 installed <13>Jan 21 02:11:58 rpmi: alternatives-0.5.2-alt1 p10+309129.100.2.1 1668066636 installed <13>Jan 21 02:11:58 rpmi: ca-certificates-2022.09.15-alt1 p10+308004.100.2.1 1665748370 installed <13>Jan 21 02:11:58 rpmi: ca-trust-0.1.4-alt1 p10+308691.100.3.1 1667496283 installed <13>Jan 21 02:11:58 rpmi: p11-kit-trust-0.24.1-alt1 p10+305061.100.3.1 1660573397 installed <13>Jan 21 02:11:58 rpmi: libcrypto1.1-1.1.1w-alt0.p10.1 p10+330586.100.4.1 1697560982 installed <13>Jan 21 02:11:58 rpmi: libssl1.1-1.1.1w-alt0.p10.1 p10+330586.100.4.1 1697560982 installed <13>Jan 21 02:11:58 rpmi: python3-3.9.16-alt1 p10+317117.100.3.1 1679922167 installed <13>Jan 21 02:11:59 rpmi: python3-base-3.9.16-alt1 p10+317117.100.3.1 1679922167 installed <13>Jan 21 02:11:59 rpmi: tests-for-installed-python3-pkgs-0.1.22-alt1 p10+325520.200.7.1 1691156214 installed <13>Jan 21 02:11:59 rpmi: rpm-build-python3-0.1.22-alt1 p10+325520.200.7.1 1691156214 installed <13>Jan 21 02:11:59 rpmi: libncurses-devel-6.3.20220618-alt1 p10+319472.100.4.1 1685092691 installed <13>Jan 21 02:11:59 rpmi: zlib-devel-1.2.13-alt1 p10+318109.100.2.1 1682690580 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/atop-2.9.0-alt2.nosrc.rpm (w1.gzdio) Installing atop-2.9.0-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.86506 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf atop-2.9.0 + echo 'Source #0 (atop-2.9.0.tar):' Source #0 (atop-2.9.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/atop-2.9.0.tar + cd atop-2.9.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (atop-2.9.0-alt2.patch):' Patch #0 (atop-2.9.0-alt2.patch): + /usr/bin/patch -p1 patching file AUTHOR patching file AUTHORS patching file ChangeLog patching file Makefile patching file README patching file acctproc.c patching file acctproc.h patching file atop-pm.sh patching file atop-rotate.service patching file atop-rotate.timer patching file atop.c patching file atop.daily patching file atop.default patching file atop.h patching file atop.init patching file atop.rc.openrc patching file atop.service patching file atopacct.init patching file atopacct.rc.openrc patching file atopacct.service patching file atopacctd.c patching file atopacctd.h patching file atopcat.c patching file atopconvert.c patching file atopgpud patching file atopsar.c patching file deviate.c patching file drawbar.c patching file gpucom.c patching file gpucom.h patching file ifprop.c patching file ifprop.h patching file json.c patching file json.h patching file man/atop.1 patching file man/atopacctd.8 patching file man/atopcat.1 patching file man/atopconvert.1 patching file man/atopgpud.8 patching file man/atoprc.5 patching file man/atopsar.1 patching file mkdate patching file netatop.h patching file netatopd.h patching file netatopif.c patching file netlink.c patching file netstats.h patching file parseable.c patching file parseable.h patching file photoproc.c patching file photoproc.h patching file photosyst.c patching file photosyst.h patching file prev/netstats_wrong.h patching file prev/photoproc_26.h patching file prev/photoproc_27.h patching file prev/photoproc_28.h patching file prev/photoproc_29.h patching file prev/photosyst_20.h patching file prev/photosyst_21.h patching file prev/photosyst_22.h patching file prev/photosyst_23.h patching file prev/photosyst_24.h patching file prev/photosyst_25.h patching file prev/photosyst_26.h patching file prev/photosyst_27.h patching file prev/photosyst_28.h patching file prev/photosyst_29.h patching file procdbase.c patching file psaccs_atop patching file psaccu_atop patching file rawlog.c patching file rawlog.h patching file showgeneric.c patching file showgeneric.h patching file showlinux.c patching file showlinux.h patching file showprocs.c patching file showsys.c patching file various.c patching file versdate.h patching file version.h + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.86506 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd atop-2.9.0 + make -j16 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o version.o version.c make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o procdbase.o procdbase.c make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o ifprop.o ifprop.c make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o various.o various.c various.c: In function 'regainrootprivs': various.c:636:2: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 636 | seteuid(0); | ^~~~~~~~~~ various.c: In function 'val2valstr': various.c:264:29: warning: '%d' directive output between 1 and 10 bytes may cause result to exceed 'INT_MAX' [-Wformat-overflow=] 264 | sprintf(strvalue, "%*llde%d%s", | ^~ various.c:264:22: note: directive argument in the range [0, 2147483647] 264 | sprintf(strvalue, "%*llde%d%s", | ^~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o photoproc.o photoproc.c photoproc.c:139:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 139 | static const char rcsid[] = "$Id: photoproc.c,v 1.33 2010/04/23 12:19:35 gerlof Exp $"; | ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o atop.o atop.c atop.c:274:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 274 | static const char rcsid[] = "$Id: atop.c,v 1.49 2010/10/23 14:01:00 gerlof Exp $"; | ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o netatopif.o netatopif.c make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -I. -Wall -c netlink.c make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o acctproc.o acctproc.c make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o parseable.o parseable.c make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o rawlog.o rawlog.c rawlog.c: In function 'rawread': rawlog.c:412:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 237 [-Wformat-truncation=] 412 | snprintf(rawname, RAWNAMESZ, "%s/atop_%s", | ^~ 413 | BASEPATH, 414 | savedname); | ~~~~~~~~~ In file included from /usr/include/stdio.h:866, from rawlog.c:34: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 20 and 275 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rawlog.c:505:54: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 244 and 499 [-Wformat-truncation=] 505 | snprintf(command, sizeof command, "gunzip -c %s > %s", | ^~ 506 | tmpname1, tmpname2); | ~~~~~~~~ In file included from /usr/include/stdio.h:866, from rawlog.c:34: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 14 and 524 bytes into a destination of size 512 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o gpucom.o gpucom.c make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o atopacctd.o atopacctd.c atopacctd.c: In function 'main': atopacctd.c:307:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 307 | (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] 371 | (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] 995 | (void) ftruncate(cfd, 0); | ^~~~~~~~~~~~~~~~~ atopacctd.c:997:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 997 | (void) write(cfd, currentdata, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc atopacctd.o netlink.o -o atopacctd make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o showprocs.o showprocs.c showprocs.c:85:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 85 | static const char rcsid[] = "$Id: showprocs.c,v 1.15 2011/09/05 11:44:16 gerlof Exp $"; | ^~~~~ showprocs.c: In function 'procprt_BANDWI_e': showprocs.c:1909:23: warning: '%4lld' directive writing between 4 and 18 bytes into a region of size 16 [-Wformat-overflow=] 1909 | sprintf(buf, "%4lld %cbps", kbps, c); | ^~~~~ showprocs.c:1909:22: note: directive argument in the range [-73786976294838206, 73786976] 1909 | sprintf(buf, "%4lld %cbps", kbps, c); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from showprocs.c:92: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 10 and 24 bytes into a destination of size 16 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ showprocs.c: In function 'procprt_BANDWI_a': showprocs.c:1909:23: warning: '%4lld' directive writing between 4 and 18 bytes into a region of size 16 [-Wformat-overflow=] 1909 | sprintf(buf, "%4lld %cbps", kbps, c); | ^~~~~ showprocs.c:1909:22: note: directive argument in the range [-73786976294838206, 73786976] 1909 | sprintf(buf, "%4lld %cbps", kbps, c); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from showprocs.c:92: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 10 and 24 bytes into a destination of size 16 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ showprocs.c: In function 'procprt_BANDWO_a': showprocs.c:1909:23: warning: '%4lld' directive writing between 4 and 18 bytes into a region of size 16 [-Wformat-overflow=] 1909 | sprintf(buf, "%4lld %cbps", kbps, c); | ^~~~~ showprocs.c:1909:22: note: directive argument in the range [-73786976294838206, 73786976] 1909 | sprintf(buf, "%4lld %cbps", kbps, c); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from showprocs.c:92: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 10 and 24 bytes into a destination of size 16 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ showprocs.c: In function 'procprt_BANDWO_e': showprocs.c:1909:23: warning: '%4lld' directive writing between 4 and 18 bytes into a region of size 16 [-Wformat-overflow=] 1909 | sprintf(buf, "%4lld %cbps", kbps, c); | ^~~~~ showprocs.c:1909:22: note: directive argument in the range [-73786976294838206, 73786976] 1909 | sprintf(buf, "%4lld %cbps", kbps, c); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from showprocs.c:92: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 10 and 24 bytes into a destination of size 16 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o showlinux.o showlinux.c showlinux.c: In function 'compcpu': showlinux.c:2284:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2284 | if (acpu > bcpu) return -1; | ^~ showlinux.c:2285:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2285 | return compmem(a, b); | ^~~~~~ showlinux.c: In function 'compdsk': showlinux.c:2308:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2308 | if (adsk > bdsk) return -1; | ^~ showlinux.c:2309:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2309 | return compcpu(a, b); | ^~~~~~ showlinux.c: In function 'compmem': showlinux.c:2319:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2319 | if (amem > bmem) return -1; | ^~ showlinux.c:2320:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2320 | return 0; | ^~~~~~ showlinux.c: In function 'compgpu': showlinux.c:2342:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2342 | if (amem > bmem) return -1; | ^~ showlinux.c:2343:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2343 | return 0; | ^~~~~~ showlinux.c:2348:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2348 | if (abusy > bbusy) return -1; | ^~ showlinux.c:2349:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2349 | return 0; | ^~~~~~ showlinux.c: In function 'compnet': showlinux.c:2366:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2366 | if (anet > bnet) return -1; | ^~ showlinux.c:2367:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2367 | return compcpu(a, b); | ^~~~~~ showlinux.c: In function 'compusr': showlinux.c:2377:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2377 | if (uida < uidb) return -1; | ^~ showlinux.c:2378:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2378 | return 0; | ^~~~~~ showlinux.c: In function 'cpucompar': showlinux.c:2411:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2411 | if (aidle > bidle) return 1; | ^~ showlinux.c:2412:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2412 | return 0; | ^~~~~~ showlinux.c: In function 'gpucompar': showlinux.c:2426:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2426 | if (amemuse > bmemuse) return -1; | ^~ showlinux.c:2427:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2427 | return 0; | ^~~~~~ showlinux.c:2432:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2432 | if (agpuperc > bgpuperc) return -1; | ^~ showlinux.c:2433:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2433 | return 0; | ^~~~~~ showlinux.c: In function 'diskcompar': showlinux.c:2444:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2444 | if (amsio > bmsio) return -1; | ^~ showlinux.c:2445:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2445 | return 0; | ^~~~~~ showlinux.c: In function 'intfcompar': showlinux.c:2492:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2492 | if (afactor > bfactor) return -1; | ^~ showlinux.c:2493:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2493 | return 0; | ^~~~~~ showlinux.c:2499:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2499 | if ((arbyte + asbyte) > (brbyte + bsbyte)) return -1; | ^~ showlinux.c:2500:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2500 | return 0; | ^~~~~~ showlinux.c: In function 'ifbcompar': showlinux.c:2519:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2519 | if (atransfer > btransfer) return -1; | ^~ showlinux.c:2520:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2520 | return 0; | ^~~~~~ showlinux.c: In function 'nfsmcompar': showlinux.c:2540:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2540 | if (aused > bused) return -1; | ^~ showlinux.c:2541:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2541 | return 0; | ^~~~~~ showlinux.c: In function 'contcompar': showlinux.c:2554:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2554 | if (aused > bused) return -1; | ^~ showlinux.c:2555:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2555 | return 0; | ^~~~~~ At top level: showlinux.c:264:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 264 | static const char rcsid[] = "$Id: showlinux.c,v 1.70 2010/10/23 14:04:12 gerlof Exp $"; | ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o atopconvert.o atopconvert.c make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o photosyst.o photosyst.c photosyst.c: In function 'getperfevents': photosyst.c:2199:18: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2199 | read(*(fdi+i), &(cs->cpu[i].instr), sizeof(count_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ photosyst.c:2202:18: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2202 | 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=] 152 | static const char rcsid[] = "$Id: photosyst.c,v 1.38 2010/11/19 07:40:40 gerlof Exp $"; | ^~~~~ photosyst.c: In function 'lvmmapname': photosyst.c:1602:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 52 [-Wformat-truncation=] 1602 | snprintf(path, sizeof path, "%s/%s", | ^~ In file included from /usr/include/stdio.h:866, from photosyst.c:155: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 13 and 268 bytes into a destination of size 64 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc atopconvert.o -o atopconvert -lz make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o atopsar.o atopsar.c atopsar.c:32:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 32 | static const char rcsid[] = "$Id: atopsar.c,v 1.28 2010/11/26 06:19:43 gerlof Exp $"; | ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o showsys.o showsys.c showsys.c:71:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 71 | static const char rcsid[] = "XXXXXX"; | ^~~~~ 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=] 2229 | snprintf(buf, sizeof buf, "sp %4lld Gbps", speed); | ^~~~~ showsys.c:2229:36: note: directive argument in the range [10, 9223372036854775] 2229 | snprintf(buf, sizeof buf, "sp %4lld Gbps", speed); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from showsys.c:78: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 13 and 25 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 2224 | snprintf(buf, sizeof buf, "sp %4lld Mbps", speed); | ^~~~~ showsys.c:2224:36: note: directive argument in the range [-9223372036854775808, 9999] 2224 | snprintf(buf, sizeof buf, "sp %4lld Mbps", speed); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from showsys.c:78: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 13 and 29 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 2427 | snprintf(buf, sizeof buf, "sp %4lld Gbps", rate); | ^~~~~ showsys.c:2427:36: note: directive argument in the range [10, 9223372036854775] 2427 | snprintf(buf, sizeof buf, "sp %4lld Gbps", rate); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from showsys.c:78: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 13 and 25 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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=] 2422 | snprintf(buf, sizeof buf, "sp %4lld Mbps", rate); | ^~~~~ showsys.c:2422:36: note: directive argument in the range [-9223372036854775808, 9999] 2422 | snprintf(buf, sizeof buf, "sp %4lld Mbps", rate); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from showsys.c:78: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 13 and 29 bytes into a destination of size 16 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 2127 | snprintf(buf, sizeof(buf)-1, "%-7.7s %3lld%%", | ^~~~~ showsys.c:2127:39: note: directive argument in the range [-147573952589676412, 147573952589676412] 2127 | snprintf(buf, sizeof(buf)-1, "%-7.7s %3lld%%", | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from showsys.c:78: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 13 and 29 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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ showsys.c: In function 'sysprt_NETSPEEDIN': showsys.c:2207:25: warning: '%4lld' directive writing between 4 and 18 bytes into a region of size 13 [-Wformat-overflow=] 2207 | sprintf(buf+3, "%4lld %cbps", val, c); | ^~~~~ showsys.c:2207:24: note: directive argument in the range [-73786976294838206, 73786976] 2207 | sprintf(buf+3, "%4lld %cbps", val, c); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from showsys.c:78: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 10 and 24 bytes into a destination of size 13 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ showsys.c: In function 'sysprt_NETSPEEDOUT': showsys.c:2207:25: warning: '%4lld' directive writing between 4 and 18 bytes into a region of size 13 [-Wformat-overflow=] 2207 | sprintf(buf+3, "%4lld %cbps", val, c); | ^~~~~ showsys.c:2207:24: note: directive argument in the range [-73786976294838206, 73786976] 2207 | sprintf(buf+3, "%4lld %cbps", val, c); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from showsys.c:78: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 10 and 24 bytes into a destination of size 13 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ showsys.c: In function 'sysprt_IFBSPEEDOUT': showsys.c:2207:25: warning: '%4lld' directive writing between 4 and 18 bytes into a region of size 13 [-Wformat-overflow=] 2207 | sprintf(buf+3, "%4lld %cbps", val, c); | ^~~~~ showsys.c:2207:24: note: directive argument in the range [-73786976294838206, 73786976] 2207 | sprintf(buf+3, "%4lld %cbps", val, c); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from showsys.c:78: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 10 and 24 bytes into a destination of size 13 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ showsys.c: In function 'sysprt_IFBSPEEDIN': showsys.c:2207:25: warning: '%4lld' directive writing between 4 and 18 bytes into a region of size 13 [-Wformat-overflow=] 2207 | sprintf(buf+3, "%4lld %cbps", val, c); | ^~~~~ showsys.c:2207:24: note: directive argument in the range [-73786976294838206, 73786976] 2207 | sprintf(buf+3, "%4lld %cbps", val, c); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from showsys.c:78: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 10 and 24 bytes into a destination of size 13 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 2207 | sprintf(buf+3, "%4lld %cbps", val, c); | ^~~~~ showsys.c:2207:24: note: directive argument in the range [-73786976294838206, 73786976] 2207 | sprintf(buf+3, "%4lld %cbps", val, c); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from showsys.c:78: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 10 and 24 bytes into a destination of size 13 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o showgeneric.o showgeneric.c showgeneric.c: In function 'printg': showgeneric.c:2631:3: warning: 'vwprintw' is deprecated [-Wdeprecated-declarations] 2631 | vwprintw(stdscr, (char *) format, args); | ^~~~~~~~ In file included from showgeneric.c:273: /usr/include/curses.h:819:28: note: declared here 819 | extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *, va_list) GCC_DEPRECATED(use vw_printw) /* implemented */ | ^~~~~~~~ At top level: showgeneric.c:258:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 258 | static const char rcsid[] = "$Id: showgeneric.c,v 1.71 2010/10/25 19:08:32 gerlof Exp $"; | ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o deviate.o deviate.c deviate.c:171:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 171 | static const char rcsid[] = "$Id: deviate.c,v 1.45 2010/10/23 14:02:03 gerlof Exp $"; | ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' 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 make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' ln -sf atop atopsar make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' + gzip -c9 ChangeLog + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.32082 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/atop-buildroot + : + /bin/rm -rf -- /usr/src/tmp/atop-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd atop-2.9.0 + mkdir -p /usr/src/tmp/atop-buildroot/usr/lib/pm-utils/sleep.d /usr/src/tmp/atop-buildroot/etc/default + for i in systemdinstall sysvinstall + make systemdinstall DESTDIR=/usr/src/tmp/atop-buildroot INIPATH=/etc/rc.d/init.d SYSDPATH=/lib/systemd/system make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' if [ ! -d /usr/src/tmp/atop-buildroot/var/log/atop ]; \ then mkdir -p /usr/src/tmp/atop-buildroot/var/log/atop; fi if [ ! -d /usr/src/tmp/atop-buildroot/usr/bin ]; \ then mkdir -p /usr/src/tmp/atop-buildroot/usr/bin; fi if [ ! -d /usr/src/tmp/atop-buildroot/usr/sbin ]; \ then mkdir -p /usr/src/tmp/atop-buildroot/usr/sbin; fi if [ ! -d /usr/src/tmp/atop-buildroot/usr/share/man/man1 ]; \ then mkdir -p /usr/src/tmp/atop-buildroot/usr/share/man/man1; fi if [ ! -d /usr/src/tmp/atop-buildroot/usr/share/man/man5 ]; \ then mkdir -p /usr/src/tmp/atop-buildroot/usr/share/man/man5; fi if [ ! -d /usr/src/tmp/atop-buildroot/usr/share/man/man8 ]; \ then mkdir -p /usr/src/tmp/atop-buildroot/usr/share/man/man8; fi # touch /usr/src/tmp/atop-buildroot/etc/default/atop chmod 644 /usr/src/tmp/atop-buildroot/etc/default/atop # cp atop /usr/src/tmp/atop-buildroot/usr/bin/atop chmod 04711 /usr/src/tmp/atop-buildroot/usr/bin/atop ln -sf atop /usr/src/tmp/atop-buildroot/usr/bin/atopsar cp atopacctd /usr/src/tmp/atop-buildroot/usr/sbin/atopacctd chmod 0700 /usr/src/tmp/atop-buildroot/usr/sbin/atopacctd cp atopgpud /usr/src/tmp/atop-buildroot/usr/sbin/atopgpud chmod 0700 /usr/src/tmp/atop-buildroot/usr/sbin/atopgpud cp atop /usr/src/tmp/atop-buildroot/usr/bin/atop-2.9.0 ln -sf atop-2.9.0 /usr/src/tmp/atop-buildroot/usr/bin/atopsar-2.9.0 cp atopconvert /usr/src/tmp/atop-buildroot/usr/bin/atopconvert chmod 0711 /usr/src/tmp/atop-buildroot/usr/bin/atopconvert cp man/atop.1 /usr/src/tmp/atop-buildroot/usr/share/man/man1 cp man/atopsar.1 /usr/src/tmp/atop-buildroot/usr/share/man/man1 cp man/atopconvert.1 /usr/src/tmp/atop-buildroot/usr/share/man/man1 cp man/atoprc.5 /usr/src/tmp/atop-buildroot/usr/share/man/man5 cp man/atopacctd.8 /usr/src/tmp/atop-buildroot/usr/share/man/man8 cp man/atopgpud.8 /usr/src/tmp/atop-buildroot/usr/share/man/man8 if [ ! -d /usr/src/tmp/atop-buildroot/lib/systemd/system ]; \ then mkdir -p /usr/src/tmp/atop-buildroot/lib/systemd/system; fi if [ ! -d /usr/src/tmp/atop-buildroot/usr/lib/systemd/system-sleep ]; \ then mkdir -p /usr/src/tmp/atop-buildroot/usr/lib/systemd/system-sleep; fi # cp atop.service /usr/src/tmp/atop-buildroot/lib/systemd/system chmod 0644 /usr/src/tmp/atop-buildroot/lib/systemd/system/atop.service cp atopgpu.service /usr/src/tmp/atop-buildroot/lib/systemd/system chmod 0644 /usr/src/tmp/atop-buildroot/lib/systemd/system/atopgpu.service cp atop-rotate.service /usr/src/tmp/atop-buildroot/lib/systemd/system chmod 0644 /usr/src/tmp/atop-buildroot/lib/systemd/system/atop-rotate.service cp atop-rotate.timer /usr/src/tmp/atop-buildroot/lib/systemd/system chmod 0644 /usr/src/tmp/atop-buildroot/lib/systemd/system/atop-rotate.timer cp atopacct.service /usr/src/tmp/atop-buildroot/lib/systemd/system chmod 0644 /usr/src/tmp/atop-buildroot/lib/systemd/system/atopacct.service cp atop-pm.sh /usr/src/tmp/atop-buildroot/usr/lib/systemd/system-sleep chmod 0711 /usr/src/tmp/atop-buildroot/usr/lib/systemd/system-sleep/atop-pm.sh # # only when making on target system: # if [ -z "/usr/src/tmp/atop-buildroot" -a -f /bin/systemctl ]; \ then /bin/systemctl disable --now atop 2> /dev/null; \ /bin/systemctl disable --now atopacct 2> /dev/null; \ /bin/systemctl daemon-reload; \ /bin/systemctl enable --now atopacct; \ /bin/systemctl enable --now atop; \ /bin/systemctl enable --now atop-rotate.timer; \ fi make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' + for i in systemdinstall sysvinstall + make sysvinstall DESTDIR=/usr/src/tmp/atop-buildroot INIPATH=/etc/rc.d/init.d SYSDPATH=/lib/systemd/system make: Entering directory '/usr/src/RPM/BUILD/atop-2.9.0' if [ ! -d /usr/src/tmp/atop-buildroot/var/log/atop ]; \ then mkdir -p /usr/src/tmp/atop-buildroot/var/log/atop; fi if [ ! -d /usr/src/tmp/atop-buildroot/usr/bin ]; \ then mkdir -p /usr/src/tmp/atop-buildroot/usr/bin; fi if [ ! -d /usr/src/tmp/atop-buildroot/usr/sbin ]; \ then mkdir -p /usr/src/tmp/atop-buildroot/usr/sbin; fi if [ ! -d /usr/src/tmp/atop-buildroot/usr/share/man/man1 ]; \ then mkdir -p /usr/src/tmp/atop-buildroot/usr/share/man/man1; fi if [ ! -d /usr/src/tmp/atop-buildroot/usr/share/man/man5 ]; \ then mkdir -p /usr/src/tmp/atop-buildroot/usr/share/man/man5; fi if [ ! -d /usr/src/tmp/atop-buildroot/usr/share/man/man8 ]; \ then mkdir -p /usr/src/tmp/atop-buildroot/usr/share/man/man8; fi # touch /usr/src/tmp/atop-buildroot/etc/default/atop chmod 644 /usr/src/tmp/atop-buildroot/etc/default/atop # cp atop /usr/src/tmp/atop-buildroot/usr/bin/atop chmod 04711 /usr/src/tmp/atop-buildroot/usr/bin/atop ln -sf atop /usr/src/tmp/atop-buildroot/usr/bin/atopsar cp atopacctd /usr/src/tmp/atop-buildroot/usr/sbin/atopacctd chmod 0700 /usr/src/tmp/atop-buildroot/usr/sbin/atopacctd cp atopgpud /usr/src/tmp/atop-buildroot/usr/sbin/atopgpud chmod 0700 /usr/src/tmp/atop-buildroot/usr/sbin/atopgpud cp atop /usr/src/tmp/atop-buildroot/usr/bin/atop-2.9.0 ln -sf atop-2.9.0 /usr/src/tmp/atop-buildroot/usr/bin/atopsar-2.9.0 cp atopconvert /usr/src/tmp/atop-buildroot/usr/bin/atopconvert chmod 0711 /usr/src/tmp/atop-buildroot/usr/bin/atopconvert cp man/atop.1 /usr/src/tmp/atop-buildroot/usr/share/man/man1 cp man/atopsar.1 /usr/src/tmp/atop-buildroot/usr/share/man/man1 cp man/atopconvert.1 /usr/src/tmp/atop-buildroot/usr/share/man/man1 cp man/atoprc.5 /usr/src/tmp/atop-buildroot/usr/share/man/man5 cp man/atopacctd.8 /usr/src/tmp/atop-buildroot/usr/share/man/man8 cp man/atopgpud.8 /usr/src/tmp/atop-buildroot/usr/share/man/man8 if [ ! -d /usr/src/tmp/atop-buildroot/etc/rc.d/init.d ]; \ then mkdir -p /usr/src/tmp/atop-buildroot/etc/rc.d/init.d; fi if [ ! -d /usr/src/tmp/atop-buildroot/usr/share/atop ]; \ then mkdir -p /usr/src/tmp/atop-buildroot/usr/share/atop; fi if [ ! -d /usr/src/tmp/atop-buildroot/etc/cron.d ]; \ then mkdir -p /usr/src/tmp/atop-buildroot/etc/cron.d; fi if [ ! -d /usr/src/tmp/atop-buildroot/etc/logrotate.d ]; \ then mkdir -p /usr/src/tmp/atop-buildroot/etc/logrotate.d; fi # cp atop.init /usr/src/tmp/atop-buildroot/etc/rc.d/init.d/atop cp atopacct.init /usr/src/tmp/atop-buildroot/etc/rc.d/init.d/atopacct cp atop.cronsysv /usr/src/tmp/atop-buildroot/etc/cron.d/atop cp atop.daily /usr/src/tmp/atop-buildroot/usr/share/atop chmod 0711 /usr/src/tmp/atop-buildroot/usr/share/atop/atop.daily cp psaccs_atop /usr/src/tmp/atop-buildroot/etc/logrotate.d/psaccs_atop cp psaccu_atop /usr/src/tmp/atop-buildroot/etc/logrotate.d/psaccu_atop touch /usr/src/tmp/atop-buildroot/var/log/atop/dummy_before touch /usr/src/tmp/atop-buildroot/var/log/atop/dummy_after # if [ -d /usr/src/tmp/atop-buildroot/usr/lib/pm-utils/sleep.d ]; \ then cp 45atoppm /usr/src/tmp/atop-buildroot/usr/lib/pm-utils/sleep.d; \ chmod 0711 /usr/src/tmp/atop-buildroot/usr/lib/pm-utils/sleep.d/45atoppm; \ fi if [ -d /usr/src/tmp/atop-buildroot/usr/lib64/pm-utils/sleep.d ]; \ then cp 45atoppm /usr/src/tmp/atop-buildroot/usr/lib64/pm-utils/sleep.d; \ chmod 0711 /usr/src/tmp/atop-buildroot/usr/lib64/pm-utils/sleep.d/45atoppm; \ fi # # # only when making on target system: # if [ -z "/usr/src/tmp/atop-buildroot" -a -f /sbin/chkconfig ]; \ then /sbin/chkconfig --del atop 2> /dev/null; \ /sbin/chkconfig --add atop; \ /sbin/chkconfig --del atopacct 2> /dev/null; \ /sbin/chkconfig --add atopacct; \ fi if [ -z "/usr/src/tmp/atop-buildroot" -a -f /usr/sbin/update-rc.d ]; \ then update-rc.d atop defaults; \ update-rc.d atopacct defaults; \ fi if [ -z "/usr/src/tmp/atop-buildroot" -a -f /sbin/service ]; \ then /sbin/service atopacct start; \ sleep 2; \ /sbin/service atop start; \ fi make: Leaving directory '/usr/src/RPM/BUILD/atop-2.9.0' + : + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/atop-buildroot (auto) mode of 'usr/share/atop/atop.daily' changed from 0711 (rwx--x--x) to 0755 (rwxr-xr-x) Verifying and fixing files in /usr/src/tmp/atop-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/atop-buildroot/ (default) Compressing files in /usr/src/tmp/atop-buildroot (auto) Adjusting library links in /usr/src/tmp/atop-buildroot ./lib: (from :0) ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/atop-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .opt-?.pyc files Processing files: atop-2.9.0-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.32082 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd atop-2.9.0 + DOCDIR=/usr/src/tmp/atop-buildroot/usr/share/doc/atop-2.9.0 + export DOCDIR + rm -rf /usr/src/tmp/atop-buildroot/usr/share/doc/atop-2.9.0 + /bin/mkdir -p /usr/src/tmp/atop-buildroot/usr/share/doc/atop-2.9.0 + cp -prL AUTHOR ChangeLog.gz README /usr/src/tmp/atop-buildroot/usr/share/doc/atop-2.9.0 + chmod -R go-w /usr/src/tmp/atop-buildroot/usr/share/doc/atop-2.9.0 + chmod -R a+rX /usr/src/tmp/atop-buildroot/usr/share/doc/atop-2.9.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.exn1zD find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zuMDVC find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py: /usr/src/tmp/atop-buildroot/usr/sbin/atopgpud: Ignore for REQ=slight module=pynvml python3.req: /usr/src/tmp/atop-buildroot/usr/sbin/atopgpud: skipping sys python3.req: /usr/src/tmp/atop-buildroot/usr/sbin/atopgpud: skipping time shell.req: /usr/src/tmp/atop-buildroot/usr/lib/systemd/system-sleep/atop-pm.sh: /usr/bin/systemctl -> /usr/bin/systemctl (raw, not installed) systemd-services.req: /usr/src/tmp/atop-buildroot/lib/systemd/system/atop-rotate.service: /usr/bin/systemctl -> /usr/bin/systemctl (raw, not installed) ++ /bin/sed -e '/^.usr.bin.systemctl/d' --- find-requires-deps 2024-01-21 02:12:05.279869299 +0000 +++ filter-requires-deps 2024-01-21 02:12:05.280869320 +0000 @@ -10,3 +10,2 @@ /usr/bin/python3 -/usr/bin/systemctl /usr/sbin/atopacctd find-requires: FINDPACKAGE-COMMANDS: find grep ps rm sleep touch Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ovY3oA Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TsfC5A Requires: /bin/bash, /bin/sh, /etc/cron.d, /etc/logrotate.d, /etc/rc.d/init.d, /etc/rc.d/init.d(status), /etc/rc.d/init.d/functions, /lib64/ld-linux-x86-64.so.2, /usr/bin/find, /usr/bin/python3, coreutils, findutils, grep, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.17)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.28)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libm.so.6(GLIBC_2.29)(64bit), libncurses.so.5()(64bit) >= set:mhWiBzDlR0BkKnA2NRJJIC8XVTNxSFNN9T1jhQmZLhxIjJwexL9wXPlZqHAT21pZa1IPa, libtinfo.so.5()(64bit) >= set:liZKbfJyZ1fT5UGZ0aZi0, libz.so.1()(64bit) >= set:kiYvERG5, procps, python3(logging) < 0, python3(logging.handlers) < 0, python3(os) < 0, python3(socket) < 0, python3(struct) < 0, python3(threading) < 0, rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): /bin/sh, /usr/sbin/post_service Requires(preun): /bin/sh, /usr/sbin/preun_service Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wiLMQB Creating atop-debuginfo package Processing files: atop-debuginfo-2.9.0-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QyFOJD find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.EWH4OD find-requires: running scripts (debuginfo) ++ /bin/sed -e '/^.usr.bin.systemctl/d' Requires: atop = 2.9.0-alt2, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libm.so.6), debug64(libncurses.so.5), debug64(libtinfo.so.5), debug64(libz.so.1) Adding to atop-debuginfo a strict dependency on atop Wrote: /usr/src/RPM/RPMS/x86_64/atop-2.9.0-alt2.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/atop-debuginfo-2.9.0-alt2.x86_64.rpm (w2.lzdio) 6.50user 2.88system 0:09.97elapsed 94%CPU (0avgtext+0avgdata 46668maxresident)k 0inputs+0outputs (0major+855526minor)pagefaults 0swaps 3.36user 1.31system 0:18.42elapsed 25%CPU (0avgtext+0avgdata 129592maxresident)k 0inputs+0outputs (0major+204344minor)pagefaults 0swaps --- atop-2.9.0-alt2.x86_64.rpm.repo 2023-11-24 07:03:12.000000000 +0000 +++ atop-2.9.0-alt2.x86_64.rpm.hasher 2024-01-21 02:12:12.011008828 +0000 @@ -100,3 +100,3 @@ File: /usr/share/doc/atop-2.9.0/AUTHOR 100644 root:root 328f1be96f283f84e51758a744f89397 -File: /usr/share/doc/atop-2.9.0/ChangeLog.gz 100644 root:root 1c2fb824ccb7c535fd04ce9f02e6986a +File: /usr/share/doc/atop-2.9.0/ChangeLog.gz 100644 root:root 6a31c1c2c714542965252d49f4109dea File: /usr/share/doc/atop-2.9.0/README 100644 root:root 73a2085dca098b2b3baff5ff9c6da4df @@ -111,2 +111,2 @@ File: /var/log/atop/dummy_before 100644 root:root -RPMIdentity: 196bf63dfed43069678ad41c8246c8ce063ee1ea0ee69c703e694e79ff12a51f5b7137fe10a44b0bde837a0c91eb1a547b83c9e9b007939531c055e5edc0d10b +RPMIdentity: cd267b565343b346f0d6e638f55764e1d5f6e2f5f6fd6a3eb52009bed7eec4d0cbf8a8e59e0684ae0cd6e9578e4d3747d5e198ff93754110ffa603534d327711