+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/apachetop.spec            --define "debug_package %{nil}"            --undefine _annotated_build            --define "_missing_doc_files_terminate_build %{nil}"            --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d"            --define "_emacs_sitelispdir /usr/share/emacs/site-lisp"            --nocheck   ' mockbuild
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.30POTh
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf apachetop-0.15.6
+ /usr/bin/gzip -dc /builddir/build/SOURCES/apachetop-0.15.6.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd apachetop-0.15.6
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BFWrnP
+ umask 022
+ cd /builddir/build/BUILD
+ cd apachetop-0.15.6
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 '
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 '
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config/config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config/config.sub
++ basename ./config/config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config/config.sub'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config/config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./config/config.guess
++ basename ./config/config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess
'/usr/lib/rpm/redhat/config.guess' -> './config/config.guess'
+ '[' 1 = 1 ']'
+ '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']'
++ find . -name ltmain.sh
+ ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-logfile=/var/log/httpd/access_log
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for riscv64-redhat-linux-gnu-g++... no
checking for riscv64-redhat-linux-gnu-c++... no
checking for riscv64-redhat-linux-gnu-gpp... no
checking for riscv64-redhat-linux-gnu-aCC... no
checking for riscv64-redhat-linux-gnu-CC... no
checking for riscv64-redhat-linux-gnu-cxx... no
checking for riscv64-redhat-linux-gnu-cc++... no
checking for riscv64-redhat-linux-gnu-cl.exe... no
checking for riscv64-redhat-linux-gnu-FCC... no
checking for riscv64-redhat-linux-gnu-KCC... no
checking for riscv64-redhat-linux-gnu-RCC... no
checking for riscv64-redhat-linux-gnu-xlC_r... no
checking for riscv64-redhat-linux-gnu-xlC... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for off_t... yes
checking for size_t... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for vprintf... yes
checking for _doprnt... no
checking for inet_aton... yes
checking for memset... yes
checking for strchr... yes
checking for strdup... yes
checking for kqueue... no
checking for strerror... yes
checking for strstr... yes
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for library containing pcre_compile... -lpcre
checking fam.h usability... no
checking fam.h presence... no
checking for fam.h... no
configure: WARNING: *** fam.h not found -- consider using --with-fam
checking adns.h usability... no
checking adns.h presence... no
checking for adns.h... no
configure: WARNING: *** adns.h not found -- consider using --with-adns
checking for library containing socket... none required
checking for library containing inet_addr... none required
checking for library containing attron... -lncurses
checking for library containing tgetstr... none required
checking for library containing mvprintw... none required
checking for library containing readline... -lreadline
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating src/Makefile
config.status: creating config/Makefile
config.status: creating config.h
config.status: executing depfiles commands
+ make -j4
make  all-recursive
make[1]: Entering directory '/builddir/build/BUILD/apachetop-0.15.6'
Making all in man
make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.15.6/man'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.15.6/man'
Making all in src
make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.15.6/src'
  CXX      apachetop.o
  CXX      log.o
  CXX      inlines.o
  CXX      ohtbl.o
log.cc: In member function 'virtual int CommonLogParser::parse(char*, logbits*)':
log.cc:31:21: warning: unused variable 'addr' [-Wunused-variable]
  struct sockaddr_in addr;
                     ^~~~
In file included from log.cc:1:0:
apachetop.h: At global scope:
apachetop.h:283:13: warning: 'void catchsig(int)' declared 'static' but never defined [-Wunused-function]
 static void catchsig(int s);
             ^~~~~~~~
apachetop.h:284:13: warning: 'void catchwinch(int)' declared 'static' but never defined [-Wunused-function]
 static void catchwinch(int s);
             ^~~~~~~~~~
In file included from inlines.cc:1:0:
apachetop.h:283:13: warning: 'void catchsig(int)' declared 'static' but never defined [-Wunused-function]
 static void catchsig(int s);
             ^~~~~~~~
apachetop.h:284:13: warning: 'void catchwinch(int)' declared 'static' but never defined [-Wunused-function]
 static void catchwinch(int s);
             ^~~~~~~~~~
  CXX      map.o
  CXX      queue.o
In file included from ohtbl.cc:1:0:
apachetop.h:283:13: warning: 'void catchsig(int)' declared 'static' but never defined [-Wunused-function]
 static void catchsig(int s);
             ^~~~~~~~
apachetop.h:284:13: warning: 'void catchwinch(int)' declared 'static' but never defined [-Wunused-function]
 static void catchwinch(int s);
             ^~~~~~~~~~
apachetop.cc: In function 'int dprintf(const char*, ...)':
apachetop.cc:1112:17: warning: ignoring return value of 'char* mkdtemp(char*)', declared with attribute warn_unused_result [-Wunused-result]
          mkdtemp( fileName );
          ~~~~~~~^~~~~~~~~~~~
  CXX      display.o
  CXX      hits_circle.o
In file included from map.cc:1:0:
apachetop.h:283:13: warning: 'void catchsig(int)' declared 'static' but never defined [-Wunused-function]
 static void catchsig(int s);
             ^~~~~~~~
apachetop.h:284:13: warning: 'void catchwinch(int)' declared 'static' but never defined [-Wunused-function]
 static void catchwinch(int s);
             ^~~~~~~~~~
In file included from queue.cc:1:0:
apachetop.h:283:13: warning: 'void catchsig(int)' declared 'static' but never defined [-Wunused-function]
 static void catchsig(int s);
             ^~~~~~~~
apachetop.h:284:13: warning: 'void catchwinch(int)' declared 'static' but never defined [-Wunused-function]
 static void catchwinch(int s);
             ^~~~~~~~~~
  CXX      timed_circle.o
  CXX      filters.o
display.cc: In function 'bool display(time_t)':
display.cc:28:16: warning: unused variable 'w_gstats' [-Wunused-variable]
  struct gstat *w_gstats;
                ^~~~~~~~
display.cc:29:10: warning: unused variable 'w_c' [-Wunused-variable]
  Circle *w_c;
          ^~~
display.cc: In function 'void display_histogram()':
display.cc:1131:17: warning: unused variable 'oldest' [-Wunused-variable]
  int i, j, age, oldest;
                 ^~~~~~
In file included from display.cc:1:0:
apachetop.h: At global scope:
apachetop.h:283:13: warning: 'void catchsig(int)' declared 'static' but never defined [-Wunused-function]
 static void catchsig(int s);
             ^~~~~~~~
apachetop.h:284:13: warning: 'void catchwinch(int)' declared 'static' but never defined [-Wunused-function]
 static void catchwinch(int s);
             ^~~~~~~~~~
In file included from hits_circle.cc:9:0:
apachetop.h:283:13: warning: 'void catchsig(int)' declared 'static' but never defined [-Wunused-function]
 static void catchsig(int s);
             ^~~~~~~~
apachetop.h:284:13: warning: 'void catchwinch(int)' declared 'static' but never defined [-Wunused-function]
 static void catchwinch(int s);
             ^~~~~~~~~~
  CXX      resolver.o
display.cc: In function 'void shellsort_wrapper(itemlist*, unsigned int, config)':
display.cc:955:11: warning: 'sort_method' may be used uninitialized in this function [-Wmaybe-uninitialized]
  shellsort(items, size, sort_method);
  ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
display.cc: In function 'void display_list()':
display.cc:955:11: warning: 'sort_method' may be used uninitialized in this function [-Wmaybe-uninitialized]
  shellsort(items, size, sort_method);
  ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
display.cc:937:8: note: 'sort_method' was declared here
  short sort_method;
        ^~~~~~~~~~~
timed_circle.cc: In member function 'void Timed_Circle::resetbucketstats(unsigned int)':
timed_circle.cc:89:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(x = 0 ; x < bucket->hitsize ; x++)
              ~~^~~~~~~~~~~~~~~~~
In file included from timed_circle.cc:1:0:
apachetop.h: At global scope:
apachetop.h:283:13: warning: 'void catchsig(int)' declared 'static' but never defined [-Wunused-function]
 static void catchsig(int s);
             ^~~~~~~~
apachetop.h:284:13: warning: 'void catchwinch(int)' declared 'static' but never defined [-Wunused-function]
 static void catchwinch(int s);
             ^~~~~~~~~~
In file included from filters.cc:1:0:
apachetop.h:283:13: warning: 'void catchsig(int)' declared 'static' but never defined [-Wunused-function]
 static void catchsig(int s);
             ^~~~~~~~
apachetop.h:284:13: warning: 'void catchwinch(int)' declared 'static' but never defined [-Wunused-function]
 static void catchwinch(int s);
             ^~~~~~~~~~
display.cc: In function 'void display_sub_list(short int, short unsigned int, short unsigned int)':
display.cc:955:11: warning: 'sort_method' may be used uninitialized in this function [-Wmaybe-uninitialized]
  shellsort(items, size, sort_method);
  ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
display.cc:937:8: note: 'sort_method' was declared here
  short sort_method;
        ^~~~~~~~~~~
  CXXLD    apachetop
make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.15.6/src'
Making all in config
make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.15.6/config'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.15.6/config'
make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.15.6'
make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.15.6'
make[1]: Leaving directory '/builddir/build/BUILD/apachetop-0.15.6'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dsXlWO
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64
+ cd apachetop-0.15.6
+ rm -rf /builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64
+ make install DESTDIR=/builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64
Making install in man
make[1]: Entering directory '/builddir/build/BUILD/apachetop-0.15.6/man'
make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.15.6/man'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64/usr/share/man/man1'
 /usr/bin/install -c -m 644 apachetop.1 '/builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64/usr/share/man/man1'
make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.15.6/man'
make[1]: Leaving directory '/builddir/build/BUILD/apachetop-0.15.6/man'
Making install in src
make[1]: Entering directory '/builddir/build/BUILD/apachetop-0.15.6/src'
make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.15.6/src'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64/usr/bin'
  /usr/bin/install -c apachetop '/builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64/usr/bin'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.15.6/src'
make[1]: Leaving directory '/builddir/build/BUILD/apachetop-0.15.6/src'
Making install in config
make[1]: Entering directory '/builddir/build/BUILD/apachetop-0.15.6/config'
make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.15.6/config'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.15.6/config'
make[1]: Leaving directory '/builddir/build/BUILD/apachetop-0.15.6/config'
make[1]: Entering directory '/builddir/build/BUILD/apachetop-0.15.6'
make[2]: Entering directory '/builddir/build/BUILD/apachetop-0.15.6'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/apachetop-0.15.6'
make[1]: Leaving directory '/builddir/build/BUILD/apachetop-0.15.6'
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: apachetop-0.15.6-6.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZsiNYe
+ umask 022
+ cd /builddir/build/BUILD
+ cd apachetop-0.15.6
+ DOCDIR=/builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64/usr/share/doc/apachetop
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64/usr/share/doc/apachetop
+ cp -pr AUTHORS /builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64/usr/share/doc/apachetop
+ cp -pr ChangeLog /builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64/usr/share/doc/apachetop
+ cp -pr README /builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64/usr/share/doc/apachetop
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.N8R3W4
+ umask 022
+ cd /builddir/build/BUILD
+ cd apachetop-0.15.6
+ LICENSEDIR=/builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64/usr/share/licenses/apachetop
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64/usr/share/licenses/apachetop
+ cp -pr LICENSE /builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64/usr/share/licenses/apachetop
+ exit 0
Provides: apachetop = 0.15.6-6.fc28 apachetop(riscv-64) = 0.15.6-6.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libncurses.so.6()(64bit) libpcre.so.1()(64bit) libreadline.so.7()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64
Wrote: /builddir/build/SRPMS/apachetop-0.15.6-6.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/apachetop-0.15.6-6.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kBIJN5
+ umask 022
+ cd /builddir/build/BUILD
+ cd apachetop-0.15.6
+ rm -rf /builddir/build/BUILDROOT/apachetop-0.15.6-6.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff