<86>Apr 17 01:03:34 userdel[3898294]: delete user 'rooter' <86>Apr 17 01:03:34 userdel[3898294]: removed group 'rooter' owned by 'rooter' <86>Apr 17 01:03:34 userdel[3898294]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 17 01:03:34 groupadd[3898314]: group added to /etc/group: name=rooter, GID=993 <86>Apr 17 01:03:34 groupadd[3898314]: group added to /etc/gshadow: name=rooter <86>Apr 17 01:03:34 groupadd[3898314]: new group: name=rooter, GID=993 <86>Apr 17 01:03:34 useradd[3898330]: new user: name=rooter, UID=993, GID=993, home=/root, shell=/bin/bash <86>Apr 17 01:03:34 userdel[3898360]: delete user 'builder' <86>Apr 17 01:03:34 userdel[3898360]: removed group 'builder' owned by 'builder' <86>Apr 17 01:03:34 userdel[3898360]: removed shadow group 'builder' owned by 'builder' <86>Apr 17 01:03:34 groupadd[3898380]: group added to /etc/group: name=builder, GID=994 <86>Apr 17 01:03:34 groupadd[3898380]: group added to /etc/gshadow: name=builder <86>Apr 17 01:03:34 groupadd[3898380]: new group: name=builder, GID=994 <86>Apr 17 01:03:34 useradd[3898400]: new user: name=builder, UID=994, GID=994, home=/usr/src, shell=/bin/bash <13>Apr 17 01:03:35 rpmi: libncurses-6.2.20210123-alt1 sisyphus+279621.1300.1.1 1626630601 installed <13>Apr 17 01:03:35 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+279621.1300.1.1 1626630601 installed <13>Apr 17 01:03:35 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Apr 17 01:03:35 rpmi: libexpat-2.4.3-alt1 p10+293695.100.1.1 1642509078 installed <13>Apr 17 01:03:36 rpmi: libp11-kit-0.23.15-alt2 sisyphus+278382.100.1.2 1626190666 installed <13>Apr 17 01:03:36 rpmi: libtasn1-4.17.0-alt1 sisyphus+276722.100.1.1 1625211284 installed <13>Apr 17 01:03:36 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Apr 17 01:03:36 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Apr 17 01:03:36 rpmi: ca-certificates-2021.10.06-alt1 p10+286784.100.1.1 1633940301 installed <13>Apr 17 01:03:36 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 17 01:03:36 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+278382.100.1.2 1626190666 installed <13>Apr 17 01:03:36 rpmi: libcrypto1.1-1.1.1n-alt2 p10+297594.100.2.1 1648796749 installed <13>Apr 17 01:03:36 rpmi: libssl1.1-1.1.1n-alt2 p10+297594.100.2.1 1648796749 installed <13>Apr 17 01:03:36 rpmi: python3-3.9.6-alt1 sisyphus+276295.100.1.1 1624964289 installed <13>Apr 17 01:03:36 rpmi: python3-base-3.9.6-alt1 sisyphus+276295.100.1.1 1624964289 installed <13>Apr 17 01:03:36 rpmi: libpython3-3.9.6-alt1 sisyphus+276295.100.1.1 1624964289 installed <13>Apr 17 01:03:36 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Apr 17 01:03:36 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Apr 17 01:03:36 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+279621.1300.1.1 1626630601 installed <13>Apr 17 01:03:36 rpmi: zlib-devel-1.2.11-alt1 sisyphus+278099.4700.1.1 1626031564 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/atop-2.5.0-alt3.nosrc.rpm (w1.gzdio) Installing atop-2.5.0-alt3.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.67772 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf atop-2.5.0 + echo 'Source #0 (atop-2.5.0.tar):' Source #0 (atop-2.5.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/atop-2.5.0.tar + cd atop-2.5.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (atop-2.5.0-alt3.patch):' Patch #0 (atop-2.5.0-alt3.patch): + /usr/bin/patch -p1 patching file Makefile patching file atop.init patching file atopacct.init patching file atopgpud + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.67772 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd atop-2.5.0 + make -j16 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o version.o version.c make: Leaving directory '/usr/src/RPM/BUILD/atop-2.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o procdbase.o procdbase.c make: Leaving directory '/usr/src/RPM/BUILD/atop-2.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o ifprop.o ifprop.c make: Leaving directory '/usr/src/RPM/BUILD/atop-2.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.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.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.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.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o netatopif.o netatopif.c make: Leaving directory '/usr/src/RPM/BUILD/atop-2.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.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.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o acctproc.o acctproc.c make: Leaving directory '/usr/src/RPM/BUILD/atop-2.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.0' cc -I. -Wall -c netlink.c make: Leaving directory '/usr/src/RPM/BUILD/atop-2.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o parseable.o parseable.c make: Leaving directory '/usr/src/RPM/BUILD/atop-2.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.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.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o gpucom.o gpucom.c make: Leaving directory '/usr/src/RPM/BUILD/atop-2.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.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.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.0' cc atopacctd.o netlink.o -o atopacctd make: Leaving directory '/usr/src/RPM/BUILD/atop-2.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.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.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.0' cc -pipe -frecord-gcc-switches -Wall -g -O2 -c -o atopconvert.o atopconvert.c make: Leaving directory '/usr/src/RPM/BUILD/atop-2.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.0' cc atopconvert.o -o atopconvert -lz make: Leaving directory '/usr/src/RPM/BUILD/atop-2.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.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.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.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.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.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.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.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.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.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:776:28: note: declared here 776 | 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.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.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.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.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.5.0' make: Entering directory '/usr/src/RPM/BUILD/atop-2.5.0' ln -sf atop atopsar make: Leaving directory '/usr/src/RPM/BUILD/atop-2.5.0' + gzip -c9 ChangeLog + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.54515 + 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.5.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.5.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.5.0 ln -sf atop-2.5.0 /usr/src/tmp/atop-buildroot/usr/bin/atopsar-2.5.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.5.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.5.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.5.0 ln -sf atop-2.5.0 /usr/src/tmp/atop-buildroot/usr/bin/atopsar-2.5.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.5.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.5.0-alt3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.61566 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd atop-2.5.0 + DOCDIR=/usr/src/tmp/atop-buildroot/usr/share/doc/atop-2.5.0 + export DOCDIR + rm -rf /usr/src/tmp/atop-buildroot/usr/share/doc/atop-2.5.0 + /bin/mkdir -p /usr/src/tmp/atop-buildroot/usr/share/doc/atop-2.5.0 + cp -prL AUTHOR ChangeLog.gz README /usr/src/tmp/atop-buildroot/usr/share/doc/atop-2.5.0 + chmod -R go-w /usr/src/tmp/atop-buildroot/usr/share/doc/atop-2.5.0 + chmod -R a+rX /usr/src/tmp/atop-buildroot/usr/share/doc/atop-2.5.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lSHnMi 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.QKE60j 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:6: DeprecationWarning: The parser module is deprecated and will be removed in future versions of Python import parser, symbol, token, types /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The symbol module is deprecated and will be removed in future versions of Python import parser, symbol, token, types python3.req: /usr/src/tmp/atop-buildroot/usr/sbin/atopgpud: skipping sys python3.req: /usr/src/tmp/atop-buildroot/usr/sbin/atopgpud: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/atop-buildroot/usr/sbin/atopgpud: line=572 IGNORE (for REQ=slight and deep=8) module=pynvml 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 2022-04-17 01:03:42.005506209 +0000 +++ filter-requires-deps 2022-04-17 01:03:42.006506219 +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.NcACXl Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HUJ0Di 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.xlmzVk Creating atop-debuginfo package Processing files: atop-debuginfo-2.5.0-alt3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.v1M9jh find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.C29R7j find-requires: running scripts (debuginfo) ++ /bin/sed -e '/^.usr.bin.systemctl/d' Requires: atop = 2.5.0-alt3, /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.5.0-alt3.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/atop-debuginfo-2.5.0-alt3.x86_64.rpm (w2.lzdio) 7.28user 3.15system 0:10.01elapsed 104%CPU (0avgtext+0avgdata 46808maxresident)k 0inputs+0outputs (0major+876073minor)pagefaults 0swaps 10.37user 6.22system 0:15.41elapsed 107%CPU (0avgtext+0avgdata 108380maxresident)k 0inputs+0outputs (31516major+1175966minor)pagefaults 0swaps