<86>Sep 30 02:44:26 userdel[32456]: delete user 'rooter'
<86>Sep 30 02:44:26 userdel[32456]: removed group 'rooter' owned by 'rooter'
<86>Sep 30 02:44:26 userdel[32456]: removed shadow group 'rooter' owned by 'rooter'
<86>Sep 30 02:44:26 groupadd[32474]: group added to /etc/group: name=rooter, GID=585
<86>Sep 30 02:44:26 groupadd[32474]: group added to /etc/gshadow: name=rooter
<86>Sep 30 02:44:26 groupadd[32474]: new group: name=rooter, GID=585
<86>Sep 30 02:44:26 useradd[32489]: new user: name=rooter, UID=585, GID=585, home=/root, shell=/bin/bash
<86>Sep 30 02:44:26 userdel[32513]: delete user 'builder'
<86>Sep 30 02:44:26 userdel[32513]: removed group 'builder' owned by 'builder'
<86>Sep 30 02:44:26 userdel[32513]: removed shadow group 'builder' owned by 'builder'
<86>Sep 30 02:44:26 groupadd[32536]: group added to /etc/group: name=builder, GID=586
<86>Sep 30 02:44:26 groupadd[32536]: group added to /etc/gshadow: name=builder
<86>Sep 30 02:44:26 groupadd[32536]: new group: name=builder, GID=586
<86>Sep 30 02:44:26 useradd[32549]: new user: name=builder, UID=586, GID=586, home=/usr/src, shell=/bin/bash
<13>Sep 30 02:44:30 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed
<13>Sep 30 02:44:30 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed
<13>Sep 30 02:44:30 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/atop-2.2-alt2.nosrc.rpm
Installing atop-2.2-alt2.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.3260
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf atop-2.2
+ echo 'Source #0 (atop-2.2.tar):'
Source #0 (atop-2.2.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/atop-2.2.tar
+ cd atop-2.2
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (atop-2.2-alt2.patch):'
Patch #0 (atop-2.2-alt2.patch):
+ /usr/bin/patch -p1
patching file Makefile
patching file atop.init
patching file atopacct.init
patching file atopacct.service
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.23969
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd atop-2.2
+ make -j8 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
cc -pipe -frecord-gcc-switches -Wall -g -O2   -c -o version.o version.c
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
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=]
 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.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
cc -pipe -frecord-gcc-switches -Wall -g -O2   -c -o procdbase.o procdbase.c
procdbase.c:61:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = "$Id: procdbase.c,v 1.8 2010/04/23 12:19:35 gerlof Exp $";
                   ^~~~~
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
cc -pipe -frecord-gcc-switches -Wall -g -O2   -c -o ifprop.o ifprop.c
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
cc -pipe -frecord-gcc-switches -Wall -g -O2   -c -o rawlog.o rawlog.c
rawlog.c:138:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = "$Id: rawlog.c,v 1.32 2010/11/26 06:06:35 gerlof Exp $";
                   ^~~~~
rawlog.c: In function 'rawread':
rawlog.c:525: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:527:5:
     savedname);
     ~~~~~~~~~                             
In file included from /usr/include/stdio.h:862,
                 from rawlog.c:145:
/usr/include/bits/stdio2.h:64: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:599: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:862,
                 from rawlog.c:145:
/usr/include/bits/stdio2.h:64: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 ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
cc -pipe -frecord-gcc-switches -Wall -g -O2   -c -o various.o various.c
various.c: In function 'cleanstop':
various.c:573:1: warning: type of 'exitcode' defaults to 'int' [-Wimplicit-int]
 cleanstop(exitcode)
 ^~~~~~~~~
various.c: In function 'regainrootprivs':
various.c:604:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result]
  seteuid(0);
  ^~~~~~~~~~
At top level:
various.c:101:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = "$Id: various.c,v 1.21 2010/11/12 06:16:16 gerlof Exp $";
                   ^~~~~
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
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=]
 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.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
cc -pipe -frecord-gcc-switches -Wall -g -O2   -c -o acctproc.o acctproc.c
acctproc.c:116:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = "$Id: acctproc.c,v 1.28 2010/04/23 12:20:19 gerlof Exp $";
                   ^~~~~
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
cc -pipe -frecord-gcc-switches -Wall -g -O2   -c -o parseable.o parseable.c
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
cc -pipe -frecord-gcc-switches -Wall -g -O2   -c -o netatopif.o netatopif.c
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
cc -pipe -frecord-gcc-switches -Wall -g -O2   -c -o photosyst.o photosyst.c
photosyst.c: In function 'lvmmapname':
photosyst.c:1465:13: warning: In the GNU C Library, "major" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "major", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "major", you should undefine it after including <sys/types.h>.
     dmp->major  = major(statbuf.st_rdev);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                                                                                                                                                                                                           
photosyst.c:1466:13: warning: In the GNU C Library, "minor" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "minor", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "minor", you should undefine it after including <sys/types.h>.
     dmp->minor  = minor(statbuf.st_rdev);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                                                                                                                                                                                                           
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 $";
                   ^~~~~
photosyst.c: In function 'lvmmapname':
photosyst.c:1446: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:862,
                 from photosyst.c:155:
/usr/include/bits/stdio2.h:64: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 ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
cc -I. -Wall -c netlink.c
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
cc -pipe -frecord-gcc-switches -Wall -g -O2   -c -o atopacctd.o atopacctd.c
atopacctd.c: In function 'main':
atopacctd.c:279: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:349: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:858:9: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
  (void) ftruncate(cfd, 0);
         ^~~~~~~~~~~~~~~~~
atopacctd.c:860:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  (void) write(cfd, currentdata, len);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
cc atopacctd.o netlink.o -o atopacctd 
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
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=]
 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.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
cc -pipe -frecord-gcc-switches -Wall -g -O2   -c -o showgeneric.o showgeneric.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 $";
                   ^~~~~
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
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=]
 static const char rcsid[] = "$Id: showprocs.c,v 1.15 2011/09/05 11:44:16 gerlof Exp $";
                   ^~~~~
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
cc -pipe -frecord-gcc-switches -Wall -g -O2   -c -o showlinux.o showlinux.c
showlinux.c: In function 'compcpu':
showlinux.c:1927:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (acpu > bcpu) return -1;
         ^~
showlinux.c:1928: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:1951:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (adsk > bdsk) return -1;
         ^~
showlinux.c:1952: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 'compmem':
showlinux.c:1962:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (amem > bmem) return -1;
         ^~
showlinux.c:1963:26: 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:1979:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (anet > bnet) return -1;
         ^~
showlinux.c:1980: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:1990:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (uida < uidb) return -1;
         ^~
showlinux.c:1991: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:2012:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (aidle > bidle) return  1;
         ^~
showlinux.c:2013:28: 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:2023:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (amsio > bmsio) return -1;
         ^~
showlinux.c:2024: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:2072:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                 if (afactor > bfactor)  return -1;
                 ^~
showlinux.c:2073:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
                                         return  0;
                                         ^~~~~~
showlinux.c:2079:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
                 if ((arbyte + asbyte) > (brbyte + bsbyte))      return -1;
                 ^~
showlinux.c:2080:65: 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:2105:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (aused > bused) return -1;
         ^~
showlinux.c:2106: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:2119:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (aused > bused) return -1;
         ^~
showlinux.c:2120: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:265: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 $";
                   ^~~~~
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
cc -pipe -frecord-gcc-switches -Wall -g -O2   -c -o deviate.o deviate.c
deviate.c: In function 'deviattask':
deviate.c:304:12: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration]
    pinfo = calloc(1, sizeof(struct pinfo));
            ^~~~~~
deviate.c:304:12: warning: incompatible implicit declaration of built-in function 'calloc'
deviate.c:304:12: note: include '<stdlib.h>' or provide a declaration of 'calloc'
deviate.c:190:1:
+#include <stdlib.h>
 
deviate.c:304:12:
    pinfo = calloc(1, sizeof(struct pinfo));
            ^~~~~~
At top level:
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 $";
                   ^~~~~
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
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=]
 static const char rcsid[] = "XXXXXX";
                   ^~~~~
showsys.c: In function 'sysprt_NETSPEEDMAX':
showsys.c:1852: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:1852: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:862,
                 from showsys.c:78:
/usr/include/bits/stdio2.h:64: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:1847: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:1847: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:862,
                 from showsys.c:78:
/usr/include/bits/stdio2.h:64: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 ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
showsys.c: In function 'sysprt_NETNAME':
showsys.c:1750: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:1750: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:862,
                 from showsys.c:78:
/usr/include/bits/stdio2.h:64: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 ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
showsys.c: In function 'makenetspeed':
showsys.c:1830: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:1830:24: note: directive argument in the range [-73786976294838206, 73786976]
         sprintf(buf+3, "%4lld %cbps", val, c);
                        ^~~~~~~~~~~~~
In file included from /usr/include/stdio.h:862,
                 from showsys.c:78:
/usr/include/bits/stdio2.h:33: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 ());
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
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 -o atop -lncurses -lz -lm -lrt 
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
make: Entering directory '/usr/src/RPM/BUILD/atop-2.2'
ln -sf atop atopsar
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
+ gzip -c9 ChangeLog
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.18560
+ 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
+ cd atop-2.2
+ mkdir -p /usr/src/tmp/atop-buildroot/usr/lib/pm-utils/sleep.d
+ 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.2'
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/etc/atop ]; 		\
	then	mkdir -p /usr/src/tmp/atop-buildroot/etc/atop; 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
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   		/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 atop.daily    	/usr/src/tmp/atop-buildroot/etc/atop
chmod 0711 	 	/usr/src/tmp/atop-buildroot/etc/atop/atop.daily
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/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 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/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 atopacct.service   /usr/src/tmp/atop-buildroot/lib/systemd/system
chmod 0644            /usr/src/tmp/atop-buildroot/lib/systemd/system/atopacct.service
cp atop.cronsystemd   /usr/src/tmp/atop-buildroot/etc/cron.d/atop
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 stop    atop     2> /dev/null;	\
		/bin/systemctl disable atop     2> /dev/null;	\
		/bin/systemctl stop    atopacct 2> /dev/null;	\
		/bin/systemctl disable atopacct 2> /dev/null;	\
		/bin/systemctl enable  atopacct;		\
		/bin/systemctl start   atopacct;		\
		/bin/systemctl enable  atop;			\
		/bin/systemctl start   atop;			\
	fi
make: Leaving directory '/usr/src/RPM/BUILD/atop-2.2'
+ 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.2'
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/etc/atop ]; 		\
	then	mkdir -p /usr/src/tmp/atop-buildroot/etc/atop; 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
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   		/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 atop.daily    	/usr/src/tmp/atop-buildroot/etc/atop
chmod 0711 	 	/usr/src/tmp/atop-buildroot/etc/atop/atop.daily
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/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 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/etc/rc.d/init.d ]; 			\
	then	mkdir -p  /usr/src/tmp/atop-buildroot/etc/rc.d/init.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
#
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.2'
+ :
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/atop-buildroot (auto)
Verifying and fixing files in /usr/src/tmp/atop-buildroot (binconfig,pkgconfig,libtool,desktop)
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:
./usr/lib:
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 .pyo files
Processing files: atop-2.2-alt2
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.3882
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd atop-2.2
+ DOCDIR=/usr/src/tmp/atop-buildroot/usr/share/doc/atop-2.2
+ export DOCDIR
+ rm -rf /usr/src/tmp/atop-buildroot/usr/share/doc/atop-2.2
+ /bin/mkdir -p /usr/src/tmp/atop-buildroot/usr/share/doc/atop-2.2
+ cp -prL AUTHOR ChangeLog.gz README /usr/src/tmp/atop-buildroot/usr/share/doc/atop-2.2
+ chmod -R go-w /usr/src/tmp/atop-buildroot/usr/share/doc/atop-2.2
+ chmod -R a+rX /usr/src/tmp/atop-buildroot/usr/share/doc/atop-2.2
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Vu0vUD
find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.FY9lk5
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks)
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.WtxDYF
Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CRbjjk
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, coreutils, findutils, grep, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(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.2.5)(64bit), libncurses.so.5()(64bit) >= set:mhWiBzDlR0BkKnA2NRJJIC8XVTNxSFNN9T1jhQmZLhxIjJwexL9wXPlZqHAT21pZa1IPa, librt.so.1(GLIBC_2.2.5)(64bit), libtinfo.so.5()(64bit) >= set:liZKbfJyZ1fT5UGZ0aZi0, libz.so.1()(64bit) >= set:kiYvERG5, procps, 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.LP9it2
Creating atop-debuginfo package
Processing files: atop-debuginfo-2.2-alt2
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xfNujO
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dNRN4D
find-requires: running scripts (debuginfo)
Requires: atop = 2.2-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(librt.so.1), debug64(libtinfo.so.5), debug64(libz.so.1)
warning: Installed (but unpackaged) file(s) found:
    /usr/lib/systemd/system-sleep/atop-pm.sh
Wrote: /usr/src/RPM/RPMS/x86_64/atop-2.2-alt2.x86_64.rpm
Wrote: /usr/src/RPM/RPMS/x86_64/atop-debuginfo-2.2-alt2.x86_64.rpm
15.75user 3.69system 0:20.12elapsed 96%CPU (0avgtext+0avgdata 46436maxresident)k
0inputs+0outputs (0major+650889minor)pagefaults 0swaps
21.82user 8.89system 0:31.25elapsed 98%CPU (0avgtext+0avgdata 114316maxresident)k
0inputs+0outputs (0major+942247minor)pagefaults 0swaps
--- atop-2.2-alt2.x86_64.rpm.repo	2015-09-24 14:20:40.000000000 +0000
+++ atop-2.2-alt2.x86_64.rpm.hasher	2019-09-30 02:44:54.602590556 +0000
@@ -18,6 +18,6 @@
 /usr/share/doc/atop-2.2/README	100644	
-/usr/share/man/man1/atop.1.bz2	100644	
-/usr/share/man/man1/atopsar.1.gz	100644	
-/usr/share/man/man5/atoprc.5.gz	100644	
-/usr/share/man/man8/atopacctd.8.gz	100644	
+/usr/share/man/man1/atop.1.xz	100644	
+/usr/share/man/man1/atopsar.1.xz	100644	
+/usr/share/man/man5/atoprc.5.xz	100644	
+/usr/share/man/man8/atopacctd.8.xz	100644	
 /var/log/atop	40755	
@@ -26,3 +26,2 @@
 Requires: /bin/sh  
-Requires: /bin/sh  
 Requires: /bin/bash  
@@ -47,3 +46,2 @@
 Requires: rpmlib(SetVersions)  
-Requires: librt.so.1()(64bit) >= set:jiq20
 Requires: librt.so.1(GLIBC_2.2.5)(64bit)