+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/radeontop.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
warning: Macro expanded in comment on line 13: %{url}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3AprM5
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf radeontop-1.0
+ /usr/bin/gzip -dc /builddir/build/SOURCES/radeontop-1.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd radeontop-1.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ mkdir .git
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NkCDbu
+ umask 022
+ cd /builddir/build/BUILD
+ cd radeontop-1.0
+ 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
/var/tmp/rpm-tmp.NkCDbu: line 48: ./configure: No such file or directory
+ :
+ make all -j4 PREFIX=/usr plain=1 'CC=gcc -g'
./getver.sh
which: no git in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
gcc -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  -Wall -Wextra -pthread -Iinclude -ffunction-sections -fdata-sections  -I/usr/include/libdrm   -DENABLE_XCB=1 -D_GNU_SOURCE -D_DEFAULT_SOURCE  -DENABLE_NLS=1   -c -o detect.o detect.c
gcc -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  -Wall -Wextra -pthread -Iinclude -ffunction-sections -fdata-sections  -I/usr/include/libdrm   -DENABLE_XCB=1 -D_GNU_SOURCE -D_DEFAULT_SOURCE  -DENABLE_NLS=1   -c -o ticks.o ticks.c
gcc -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  -Wall -Wextra -pthread -Iinclude -ffunction-sections -fdata-sections  -I/usr/include/libdrm   -DENABLE_XCB=1 -D_GNU_SOURCE -D_DEFAULT_SOURCE  -DENABLE_NLS=1   -c -o radeontop.o radeontop.c
In file included from detect.c:17:0:
include/radeontop.h:20:0: warning: "_GNU_SOURCE" redefined
 #define _GNU_SOURCE
 
In file included from ticks.c:17:0:
include/radeontop.h:20:0: warning: "_GNU_SOURCE" redefined
 #define _GNU_SOURCE
 
<command-line>:0:0: note: this is the location of the previous definition
<command-line>:0:0: note: this is the location of the previous definition
gcc -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  -Wall -Wextra -pthread -Iinclude -ffunction-sections -fdata-sections  -I/usr/include/libdrm   -DENABLE_XCB=1 -D_GNU_SOURCE -D_DEFAULT_SOURCE  -DENABLE_NLS=1   -c -o ui.o ui.c
In file included from radeontop.c:17:0:
include/radeontop.h:20:0: warning: "_GNU_SOURCE" redefined
 #define _GNU_SOURCE
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from ui.c:17:0:
include/radeontop.h:20:0: warning: "_GNU_SOURCE" redefined
 #define _GNU_SOURCE
 
<command-line>:0:0: note: this is the location of the previous definition
ui.c: In function 'printcenter':
ui.c:29:2: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result [-Wunused-result]
  vasprintf(&ptr, fmt, ap);
  ^~~~~~~~~~~~~~~~~~~~~~~~
ui.c: In function 'printright':
ui.c:52:2: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result [-Wunused-result]
  vasprintf(&ptr, fmt, ap);
  ^~~~~~~~~~~~~~~~~~~~~~~~
gcc -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  -Wall -Wextra -pthread -Iinclude -ffunction-sections -fdata-sections  -I/usr/include/libdrm   -DENABLE_XCB=1 -D_GNU_SOURCE -D_DEFAULT_SOURCE  -DENABLE_NLS=1   -c -o auth.o auth.c
gcc -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  -Wall -Wextra -pthread -Iinclude -ffunction-sections -fdata-sections  -I/usr/include/libdrm   -DENABLE_XCB=1 -D_GNU_SOURCE -D_DEFAULT_SOURCE  -DENABLE_NLS=1   -c -o dump.o dump.c
In file included from auth.c:17:0:
include/radeontop.h:20:0: warning: "_GNU_SOURCE" redefined
 #define _GNU_SOURCE
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from dump.c:17:0:
include/radeontop.h:20:0: warning: "_GNU_SOURCE" redefined
 #define _GNU_SOURCE
 
<command-line>:0:0: note: this is the location of the previous definition
gcc -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  -Wall -Wextra -pthread -Iinclude -ffunction-sections -fdata-sections  -I/usr/include/libdrm   -DENABLE_XCB=1 -D_GNU_SOURCE -D_DEFAULT_SOURCE  -DENABLE_NLS=1   -c -o family_str.o family_str.c
gcc -g -shared -fPIC -o libradeontop_xcb.so auth_xcb.c -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  -Wall -Wextra -pthread -Iinclude -ffunction-sections -fdata-sections  -I/usr/include/libdrm   -DENABLE_XCB=1 -D_GNU_SOURCE -D_DEFAULT_SOURCE  -DENABLE_NLS=1 -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-gc-sections -lxcb -lxcb-dri2 
In file included from family_str.c:17:0:
include/radeontop.h:20:0: warning: "_GNU_SOURCE" redefined
 #define _GNU_SOURCE
 
<command-line>:0:0: note: this is the location of the previous definition
In file included from auth_xcb.c:17:0:
include/radeontop.h:20:0: warning: "_GNU_SOURCE" redefined
 #define _GNU_SOURCE
 
<command-line>:0:0: note: this is the location of the previous definition
gcc -g -o radeontop detect.o ticks.o radeontop.o ui.o auth.o dump.o family_str.o -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  -Wall -Wextra -pthread -Iinclude -ffunction-sections -fdata-sections  -I/usr/include/libdrm   -DENABLE_XCB=1 -D_GNU_SOURCE -D_DEFAULT_SOURCE  -DENABLE_NLS=1 -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-gc-sections -lpciaccess  -ldrm  -ldl -lncursesw -ltinfo 
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RNeFjY
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64
+ cd radeontop-1.0
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64 'INSTALL=/usr/bin/install -p' PREFIX=/usr LIBDIR=lib64
/usr/bin/install -p -D -m755 radeontop /builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64//usr/sbin/radeontop
/usr/bin/install -p -D -m755 libradeontop_xcb.so /builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64//usr/lib64/libradeontop_xcb.so
/usr/bin/install -p -D -m644 radeontop.1 /builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64//usr/share/man/man1/radeontop.1
/usr/bin/make -C translations install PREFIX=/usr
make[1]: Entering directory '/builddir/build/BUILD/radeontop-1.0/translations'
msgfmt -o ru.mo ru.po
/usr/bin/install -p -D -m 644 ru.mo /builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64//usr/share/locale/ru/LC_MESSAGES/radeontop.mo
make[1]: Leaving directory '/builddir/build/BUILD/radeontop-1.0/translations'
+ /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64 radeontop
+ install -Dm 0644 -p /builddir/build/SOURCES/radeontop.metainfo.xml /builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64/usr/share/metainfo/radeontop.metainfo.xml
+ /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: radeontop-1.0-5.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5x5Fvr
+ umask 022
+ cd /builddir/build/BUILD
+ cd radeontop-1.0
+ DOCDIR=/builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64/usr/share/doc/radeontop
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64/usr/share/doc/radeontop
+ cp -pr README.md /builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64/usr/share/doc/radeontop
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.pJmsad
+ umask 022
+ cd /builddir/build/BUILD
+ cd radeontop-1.0
+ LICENSEDIR=/builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64/usr/share/licenses/radeontop
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64/usr/share/licenses/radeontop
+ cp -pr COPYING /builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64/usr/share/licenses/radeontop
+ exit 0
Provides: libradeontop_xcb.so()(64bit) metainfo() metainfo(radeontop.metainfo.xml) radeontop = 1.0-5.fc28 radeontop(riscv-64) = 1.0-5.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) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) libdrm.so.2()(64bit) libncursesw.so.6()(64bit) libpciaccess.so.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libtinfo.so.6()(64bit) libxcb-dri2.so.0()(64bit) libxcb.so.1()(64bit) rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64
Wrote: /builddir/build/SRPMS/radeontop-1.0-5.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/radeontop-1.0-5.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ff90QA
+ umask 022
+ cd /builddir/build/BUILD
+ cd radeontop-1.0
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/radeontop-1.0-5.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
++ sleep 5
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff