+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/procinfo-ng.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.U00rEd
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf procinfo-ng-2.0.304
+ /usr/bin/tar -xof -
+ /usr/bin/bzip2 -dc /builddir/build/SOURCES/procinfo-ng-2.0.304.tar.bz2
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd procinfo-ng-2.0.304
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (procinfo-ng-man.patch):'
Patch #0 (procinfo-ng-man.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .man --fuzz=0
patching file procinfo.8
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aXE1de
+ umask 022
+ cd /builddir/build/BUILD
+ cd procinfo-ng-2.0.304
+ 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
+ '[' 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 --enable-maintainer-mode
checking for riscv64-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
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 we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether time.h and sys/time.h may both be included... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for working strtod... yes
checking for select... yes
checking for strtol... yes
checking for strtoul... yes
checking for strtoull... yes
checking for snprintf... yes
checking for readdir64... yes
configure: creating ./config.status
config.status: creating Makefile
+ make -j4 '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 '
g++ -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  -lncurses procinfo.cpp -o procinfo
In file included from procinfo.cpp:44:0:
lib/timeRoutines.cpp: In function 'const timeDiff __time_rel(const time_t&, const time_t&)':
lib/timeRoutines.cpp:134:46: warning: narrowing conversion of '(uint32_t)result1.timeWDHMS::minutes' from 'uint32_t {aka unsigned int}' to 'int' inside { } [-Wnarrowing]
   { tm_sec: result1.seconds, tm_min: result1.minutes, tm_hour: result1.hours,
                                      ~~~~~~~~^~~~~~~
lib/timeRoutines.cpp:134:72: warning: narrowing conversion of '(uint32_t)result1.timeWDHMS::hours' from 'uint32_t {aka unsigned int}' to 'int' inside { } [-Wnarrowing]
   { tm_sec: result1.seconds, tm_min: result1.minutes, tm_hour: result1.hours,
                                                                ~~~~~~~~^~~~~
lib/timeRoutines.cpp:135:20: warning: narrowing conversion of '(uint32_t)result1.timeWDHMS::days' from 'uint32_t {aka unsigned int}' to 'int' inside { } [-Wnarrowing]
   tm_wday: result1.days, tm_week: result1.weeks };
            ~~~~~~~~^~~~
lib/timeRoutines.cpp:135:43: warning: narrowing conversion of '(uint32_t)result1.timeWDHMS::weeks' from 'uint32_t {aka unsigned int}' to 'int' inside { } [-Wnarrowing]
   tm_wday: result1.days, tm_week: result1.weeks };
                                   ~~~~~~~~^~~~~
lib/timeRoutines.cpp: In function 'const timeDiff __time_rel(const double&, const double&)':
lib/timeRoutines.cpp:141:46: warning: narrowing conversion of '(uint32_t)result1.timeWDHMS::minutes' from 'uint32_t {aka unsigned int}' to 'int' inside { } [-Wnarrowing]
   { tm_sec: result1.seconds, tm_min: result1.minutes, tm_hour: result1.hours,
                                      ~~~~~~~~^~~~~~~
lib/timeRoutines.cpp:141:72: warning: narrowing conversion of '(uint32_t)result1.timeWDHMS::hours' from 'uint32_t {aka unsigned int}' to 'int' inside { } [-Wnarrowing]
   { tm_sec: result1.seconds, tm_min: result1.minutes, tm_hour: result1.hours,
                                                                ~~~~~~~~^~~~~
lib/timeRoutines.cpp:142:20: warning: narrowing conversion of '(uint32_t)result1.timeWDHMS::days' from 'uint32_t {aka unsigned int}' to 'int' inside { } [-Wnarrowing]
   tm_wday: result1.days, tm_week: result1.weeks };
            ~~~~~~~~^~~~
lib/timeRoutines.cpp:142:43: warning: narrowing conversion of '(uint32_t)result1.timeWDHMS::weeks' from 'uint32_t {aka unsigned int}' to 'int' inside { } [-Wnarrowing]
   tm_wday: result1.days, tm_week: result1.weeks };
                                   ~~~~~~~~^~~~~
lib/timeRoutines.cpp: In function 'const timeDiff structTM2structTD(tm)':
lib/timeRoutines.cpp:185:17: warning: narrowing conversion of 'input.tm::tm_sec' from 'int' to 'double' inside { } [-Wnarrowing]
   tm_sec: input.tm_sec, tm_min: input.tm_min, tm_hour: input.tm_hour,
           ~~~~~~^~~~~~
In file included from procinfo.cpp:125:0:
diskStats.cpp: In function 'std::vector<std::vector<std::__cxx11::basic_string<char> > > renderDiskStats(bool, bool, bool, double, const std::vector<diskStat_t>&)':
diskStats.cpp:141:27: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=]
 vector< vector <string> > renderDiskStats(bool perSecond, bool showTotals, bool showSectors, double elapsed,
                           ^~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:861:0,
                 from /usr/include/c++/7/cstdio:42,
                 from /usr/include/c++/7/ext/string_conversions.h:43,
                 from /usr/include/c++/7/bits/basic_string.h:6349,
                 from /usr/include/c++/7/string:52,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from procinfo.cpp:18:
/usr/include/bits/stdio2.h:68:44: note: '__builtin___snprintf_chk' output 40 or more bytes into a destination of size 39
        __bos (__s), __fmt, __va_arg_pack ());
                                            ^
In file included from procinfo.cpp:70:0:
linux26_rendercpupagestat.cpp: In function 'std::vector<std::vector<std::__cxx11::basic_string<char> > > renderCPUandPageStats(bool, bool, const double&, const uint64_t&, const uint64_t&, const std::vector<long unsigned int>&, const uint64_t&, const std::vector<long unsigned int>&)':
linux26_rendercpupagestat.cpp:22:27: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=]
 vector< vector <string> > renderCPUandPageStats(bool perSecond, bool showTotals, const double &elapsed,
                           ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:861:0,
                 from /usr/include/c++/7/cstdio:42,
                 from /usr/include/c++/7/ext/string_conversions.h:43,
                 from /usr/include/c++/7/bits/basic_string.h:6349,
                 from /usr/include/c++/7/string:52,
                 from /usr/include/c++/7/bits/locale_classes.h:40,
                 from /usr/include/c++/7/bits/ios_base.h:41,
                 from /usr/include/c++/7/ios:42,
                 from /usr/include/c++/7/ostream:38,
                 from /usr/include/c++/7/iostream:39,
                 from procinfo.cpp:18:
/usr/include/bits/stdio2.h:68:44: note: '__builtin___snprintf_chk' output 3 bytes into a destination of size 2
        __bos (__s), __fmt, __va_arg_pack ());
                                            ^
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bNP8eK
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64
+ cd procinfo-ng-2.0.304
+ rm -rf /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64
+ make install DESTDIR=/builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64 'INSTALL=install -p'
mkdir -p /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64//usr/bin
install procinfo /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64//usr/bin/procinfo
mkdir -p /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64//usr/share/man/man8
install -m 644  procinfo.8 /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64//usr/share/man/man8/procinfo.8
+ mv /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64/usr/bin/procinfo /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64/usr/bin/procinfo-ng
+ mv /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64/usr/share/man/man8/procinfo.8 /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64/usr/share/man/man8/procinfo-ng.8
+ /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: procinfo-ng-2.0.304-17.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NpHByZ
+ umask 022
+ cd /builddir/build/BUILD
+ cd procinfo-ng-2.0.304
+ DOCDIR=/builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64/usr/share/doc/procinfo-ng
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64/usr/share/doc/procinfo-ng
+ cp -pr GPL-2.txt /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64/usr/share/doc/procinfo-ng
+ cp -pr LGPL-2.1.txt /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64/usr/share/doc/procinfo-ng
+ cp -pr LICENSE.txt /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64/usr/share/doc/procinfo-ng
+ exit 0
Provides: procinfo-ng = 2.0.304-17.fc28 procinfo-ng(riscv-64) = 2.0.304-17.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) libgcc_s.so.1(GCC_3.4)(64bit) libm.so.6()(64bit) libncurses.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.1)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.fc28.riscv64
Wrote: /builddir/build/SRPMS/procinfo-ng-2.0.304-17.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/procinfo-ng-2.0.304-17.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bdVKMo
+ umask 022
+ cd /builddir/build/BUILD
+ cd procinfo-ng-2.0.304
+ rm -rf /builddir/build/BUILDROOT/procinfo-ng-2.0.304-17.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