+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/opencl-utils.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.Rr6xCJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf opencl-utils + /usr/bin/xz -dc /builddir/build/SOURCES/opencl-utils.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd opencl-utils + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (opencl-utils-opencl12.patch):' Patch #0 (opencl-utils-opencl12.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file examples/clrun-example/example2.cpp patching file src/clrun/gencl.c patching file src/clrun/genclext.c patching file src/clrun/genclgl.c patching file src/clrun/genclglext.c patching file src/clrun/generateClRun.pl patching file src/clrun/Makefile + echo 'Patch #1 (opencl-utils-sharedcl.patch):' Patch #1 (opencl-utils-sharedcl.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file examples/clrun-example/example1.c patching file examples/clrun-example/example2.cpp patching file examples/clrun-example/Makefile patching file src/clrun/gencl.c patching file src/clrun/genclext.c patching file src/clrun/genclgl.c patching file src/clrun/genclglext.c patching file src/clrun/Makefile + sed -i 's/\r//' examples/clrun-example/example2.cpp + rm -f examples/OCLUtilsExamples.vcproj + rm -rf src/include/CL + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HG5vU6 + umask 022 + cd /builddir/build/BUILD + cd opencl-utils + cd src/clrun/ + env '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 ' make -j4 gcc -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 -fPIC -Wall -c gencl.c -o gencl.o gcc -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 -fPIC -Wall -c genclgl.c -o genclgl.o gcc -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 -fPIC -Wall -c clrun.c -o clrun.o -I../include gcc -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 -fPIC -Wall -shared -Wl,-soname,libclrun.so.1 \ dynamiclib.c clrun.o gencl.o genclgl.o -o libclrun.so.1.16 -ldl + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YXl4xx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/opencl-utils-1-5.svn16.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/opencl-utils-1-5.svn16.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/opencl-utils-1-5.svn16.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/opencl-utils-1-5.svn16.fc28.riscv64 + cd opencl-utils + cd src/clrun/ + make DESTDIR=/builddir/build/BUILDROOT/opencl-utils-1-5.svn16.fc28.riscv64 LIBDIR=/usr/lib64 INCLUDEDIR=/usr/include install install -Dm 644 ../include/clrun.h /builddir/build/BUILDROOT/opencl-utils-1-5.svn16.fc28.riscv64/usr/include/clrun.h install -Dm 755 libclrun.so.1.16 /builddir/build/BUILDROOT/opencl-utils-1-5.svn16.fc28.riscv64/usr/lib64/libclrun.so.1.16 ln -sf libclrun.so.1.16 /builddir/build/BUILDROOT/opencl-utils-1-5.svn16.fc28.riscv64/usr/lib64/libclrun.so ldconfig -n /builddir/build/BUILDROOT/opencl-utils-1-5.svn16.fc28.riscv64/usr/lib64 + install -m 0644 -D /builddir/build/SOURCES/opencl-utils.pc /builddir/build/BUILDROOT/opencl-utils-1-5.svn16.fc28.riscv64/usr/lib64/pkgconfig/opencl-utils.pc + /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: opencl-utils-1-5.svn16.fc28.riscv64 Provides: libclrun.so.1()(64bit) opencl-utils = 1-5.svn16.fc28 opencl-utils(riscv-64) = 1-5.svn16.fc28 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: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: opencl-utils-devel-1-5.svn16.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.87R4yR + umask 022 + cd /builddir/build/BUILD + cd opencl-utils + DOCDIR=/builddir/build/BUILDROOT/opencl-utils-1-5.svn16.fc28.riscv64/usr/share/doc/opencl-utils-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opencl-utils-1-5.svn16.fc28.riscv64/usr/share/doc/opencl-utils-devel + cp -pr examples/clrun-example /builddir/build/BUILDROOT/opencl-utils-1-5.svn16.fc28.riscv64/usr/share/doc/opencl-utils-devel + exit 0 Provides: opencl-utils-devel = 1-5.svn16.fc28 opencl-utils-devel(riscv-64) = 1-5.svn16.fc28 pkgconfig(opencl-utils) = 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libclrun.so.1()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/opencl-utils-1-5.svn16.fc28.riscv64 Wrote: /builddir/build/SRPMS/opencl-utils-1-5.svn16.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/opencl-utils-1-5.svn16.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/opencl-utils-devel-1-5.svn16.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.n18gfP + umask 022 + cd /builddir/build/BUILD + cd opencl-utils + /usr/bin/rm -rf /builddir/build/BUILDROOT/opencl-utils-1-5.svn16.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