+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/libXNVCtrl.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.KPqxfN
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf nvidia-settings-352.21
+ /usr/bin/bzip2 -dc /builddir/build/SOURCES/nvidia-settings-352.21.tar.bz2
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nvidia-settings-352.21
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (libxnvctrl_so_0.patch):'
Patch #0 (libxnvctrl_so_0.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file src/Makefile
patching file src/libXNVCtrl/Makefile
+ echo 'Patch #1 (libxnvctrl_optflags.patch):'
Patch #1 (libxnvctrl_optflags.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file src/libXNVCtrl/Makefile
patching file src/libXNVCtrl/utils.mk
Hunk #1 succeeded at 37 (offset 6 lines).
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uCwljv
+ umask 022
+ cd /builddir/build/BUILD
+ cd nvidia-settings-352.21
+ make -j4 CC=gcc NV_VERBOSE=1 'OPTFLAGS=-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 ' -C src/libXNVCtrl
make: Entering directory '/builddir/build/BUILD/nvidia-settings-352.21/src/libXNVCtrl'
gcc -Wall -O2 -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  -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX  -I . -fPIC -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 _out/Linux_riscv64 -DPROGRAM_NAME=\""libXNVCtrl"\" -c NVCtrl.c -o _out/Linux_riscv64/NVCtrl.o && gcc -MM -Wall -O2 -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  -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX  -I . -fPIC -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 _out/Linux_riscv64 -DPROGRAM_NAME=\""libXNVCtrl"\" NVCtrl.c | sed -e "s,: ,: $\(wildcard ," -e "s,\([^\\]\)$,\1)," -e "s;^NVCtrl.o: ; _out/Linux_riscv64/NVCtrl.o: ;" > _out/Linux_riscv64/NVCtrl.d
gcc -Wall -O2 -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  -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX  -I . -fPIC -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 _out/Linux_riscv64 -DPROGRAM_NAME=\""libXNVCtrl"\" -c _out/Linux_riscv64/g_stamp.c -o _out/Linux_riscv64/g_stamp.o && gcc -MM -Wall -O2 -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  -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX  -I . -fPIC -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 _out/Linux_riscv64 -DPROGRAM_NAME=\""libXNVCtrl"\" _out/Linux_riscv64/g_stamp.c | sed -e "s,: ,: $\(wildcard ," -e "s,\([^\\]\)$,\1)," -e "s;^g_stamp.o: ; _out/Linux_riscv64/g_stamp.o: ;" > _out/Linux_riscv64/g_stamp.d
ar ru libXNVCtrl.a _out/Linux_riscv64/NVCtrl.o _out/Linux_riscv64/g_stamp.o
rm -f libXNVCtrl.so libXNVCtrl.so.*
ar: creating libXNVCtrl.a
gcc -shared -Wl,-soname=libXNVCtrl.so.0 -o libXNVCtrl.so.0.0.0  _out/Linux_riscv64/NVCtrl.o _out/Linux_riscv64/g_stamp.o -lXext -lX11
ln -s libXNVCtrl.so.0.0.0 libXNVCtrl.so.0
ln -s libXNVCtrl.so.0 libXNVCtrl.so
make: Leaving directory '/builddir/build/BUILD/nvidia-settings-352.21/src/libXNVCtrl'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mcZnyI
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/libXNVCtrl-352.21-6.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/libXNVCtrl-352.21-6.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/libXNVCtrl-352.21-6.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/libXNVCtrl-352.21-6.fc28.riscv64
+ cd nvidia-settings-352.21
+ pushd src/libXNVCtrl
~/build/BUILD/nvidia-settings-352.21/src/libXNVCtrl ~/build/BUILD/nvidia-settings-352.21
+ install -m 0755 -d /builddir/build/BUILDROOT/libXNVCtrl-352.21-6.fc28.riscv64/usr/lib64/
+ install -p -m 0755 libXNVCtrl.so.0.0.0 /builddir/build/BUILDROOT/libXNVCtrl-352.21-6.fc28.riscv64/usr/lib64/
+ ln -s libXNVCtrl.so.0.0.0 /builddir/build/BUILDROOT/libXNVCtrl-352.21-6.fc28.riscv64/usr/lib64/libXNVCtrl.so.0
+ ln -s libXNVCtrl.so.0 /builddir/build/BUILDROOT/libXNVCtrl-352.21-6.fc28.riscv64/usr/lib64/libXNVCtrl.so
+ install -m 0755 -d /builddir/build/BUILDROOT/libXNVCtrl-352.21-6.fc28.riscv64/usr/include/NVCtrl/
+ install -p -m 0644 nv_control.h NVCtrl.h NVCtrlLib.h /builddir/build/BUILDROOT/libXNVCtrl-352.21-6.fc28.riscv64/usr/include/NVCtrl/
+ popd
~/build/BUILD/nvidia-settings-352.21
+ /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: libXNVCtrl-352.21-6.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cqywst
+ umask 022
+ cd /builddir/build/BUILD
+ cd nvidia-settings-352.21
+ DOCDIR=/builddir/build/BUILDROOT/libXNVCtrl-352.21-6.fc28.riscv64/usr/share/doc/libXNVCtrl
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/libXNVCtrl-352.21-6.fc28.riscv64/usr/share/doc/libXNVCtrl
+ cp -pr COPYING /builddir/build/BUILDROOT/libXNVCtrl-352.21-6.fc28.riscv64/usr/share/doc/libXNVCtrl
+ exit 0
Provides: libXNVCtrl = 352.21-6.fc28 libXNVCtrl(riscv-64) = 352.21-6.fc28 libXNVCtrl.so.0()(64bit)
Requires(interp): /sbin/ldconfig /sbin/ldconfig
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libXext.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH)
Processing files: libXNVCtrl-devel-352.21-6.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ePuLxx
+ umask 022
+ cd /builddir/build/BUILD
+ cd nvidia-settings-352.21
+ DOCDIR=/builddir/build/BUILDROOT/libXNVCtrl-352.21-6.fc28.riscv64/usr/share/doc/libXNVCtrl-devel
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/libXNVCtrl-352.21-6.fc28.riscv64/usr/share/doc/libXNVCtrl-devel
+ cp -pr doc/NV-CONTROL-API.txt /builddir/build/BUILDROOT/libXNVCtrl-352.21-6.fc28.riscv64/usr/share/doc/libXNVCtrl-devel
+ cp -pr doc/FRAMELOCK.txt /builddir/build/BUILDROOT/libXNVCtrl-352.21-6.fc28.riscv64/usr/share/doc/libXNVCtrl-devel
+ exit 0
Provides: libXNVCtrl-devel = 352.21-6.fc28 libXNVCtrl-devel(riscv-64) = 352.21-6.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libXNVCtrl.so.0()(64bit)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libXNVCtrl-352.21-6.fc28.riscv64
Wrote: /builddir/build/SRPMS/libXNVCtrl-352.21-6.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/libXNVCtrl-352.21-6.fc28.riscv64.rpm
Wrote: /builddir/build/RPMS/riscv64/libXNVCtrl-devel-352.21-6.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hlWxBf
+ umask 022
+ cd /builddir/build/BUILD
+ cd nvidia-settings-352.21
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/libXNVCtrl-352.21-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