+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/thinkfan.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.A3OCPa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf thinkfan-0.9.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/thinkfan-0.9.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd thinkfan-0.9.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv src/thinkfan.1 . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qo3FKd + umask 022 + cd /builddir/build/BUILD + cd thinkfan-0.9.3 + 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 + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DUSE_ATASMART:BOOL=ON -- The C compiler identification is GNU 7.3.1 -- The CXX compiler identification is GNU 7.3.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_SHARED_LIBS CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/thinkfan-0.9.3 + make -j4 /usr/bin/cmake -H/builddir/build/BUILD/thinkfan-0.9.3 -B/builddir/build/BUILD/thinkfan-0.9.3 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/thinkfan-0.9.3/CMakeFiles /builddir/build/BUILD/thinkfan-0.9.3/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/thinkfan-0.9.3' make -f CMakeFiles/thinkfan.dir/build.make CMakeFiles/thinkfan.dir/depend make[2]: Entering directory '/builddir/build/BUILD/thinkfan-0.9.3' cd /builddir/build/BUILD/thinkfan-0.9.3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/thinkfan-0.9.3 /builddir/build/BUILD/thinkfan-0.9.3 /builddir/build/BUILD/thinkfan-0.9.3 /builddir/build/BUILD/thinkfan-0.9.3 /builddir/build/BUILD/thinkfan-0.9.3/CMakeFiles/thinkfan.dir/DependInfo.cmake --color= Scanning dependencies of target thinkfan make[2]: Leaving directory '/builddir/build/BUILD/thinkfan-0.9.3' make -f CMakeFiles/thinkfan.dir/build.make CMakeFiles/thinkfan.dir/build make[2]: Entering directory '/builddir/build/BUILD/thinkfan-0.9.3' [ 16%] Building C object CMakeFiles/thinkfan.dir/src/thinkfan.c.o /usr/bin/cc -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 -DMAXERR=2 -DUSE_ATASMART -o CMakeFiles/thinkfan.dir/src/thinkfan.c.o -c /builddir/build/BUILD/thinkfan-0.9.3/src/thinkfan.c [ 33%] Building C object CMakeFiles/thinkfan.dir/src/config.c.o /usr/bin/cc -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 -DMAXERR=2 -DUSE_ATASMART -o CMakeFiles/thinkfan.dir/src/config.c.o -c /builddir/build/BUILD/thinkfan-0.9.3/src/config.c [ 50%] Building C object CMakeFiles/thinkfan.dir/src/message.c.o /usr/bin/cc -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 -DMAXERR=2 -DUSE_ATASMART -o CMakeFiles/thinkfan.dir/src/message.c.o -c /builddir/build/BUILD/thinkfan-0.9.3/src/message.c [ 66%] Building C object CMakeFiles/thinkfan.dir/src/parser.c.o /usr/bin/cc -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 -DMAXERR=2 -DUSE_ATASMART -o CMakeFiles/thinkfan.dir/src/parser.c.o -c /builddir/build/BUILD/thinkfan-0.9.3/src/parser.c [ 83%] Building C object CMakeFiles/thinkfan.dir/src/system.c.o /usr/bin/cc -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 -DMAXERR=2 -DUSE_ATASMART -o CMakeFiles/thinkfan.dir/src/system.c.o -c /builddir/build/BUILD/thinkfan-0.9.3/src/system.c [100%] Linking C executable thinkfan /usr/bin/cmake -E cmake_link_script CMakeFiles/thinkfan.dir/link.txt --verbose=1 /usr/bin/cc -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 -DMAXERR=2 -DUSE_ATASMART -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/thinkfan.dir/src/thinkfan.c.o CMakeFiles/thinkfan.dir/src/config.c.o CMakeFiles/thinkfan.dir/src/message.c.o CMakeFiles/thinkfan.dir/src/parser.c.o CMakeFiles/thinkfan.dir/src/system.c.o -o thinkfan -latasmart make[2]: Leaving directory '/builddir/build/BUILD/thinkfan-0.9.3' [100%] Built target thinkfan make[1]: Leaving directory '/builddir/build/BUILD/thinkfan-0.9.3' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/thinkfan-0.9.3/CMakeFiles 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mY2TNf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64 + cd thinkfan-0.9.3 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64 'INSTALL=/usr/bin/install -p' /usr/bin/cmake -H/builddir/build/BUILD/thinkfan-0.9.3 -B/builddir/build/BUILD/thinkfan-0.9.3 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/thinkfan-0.9.3/CMakeFiles /builddir/build/BUILD/thinkfan-0.9.3/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/thinkfan-0.9.3' /usr/bin/make -f CMakeFiles/thinkfan.dir/build.make CMakeFiles/thinkfan.dir/depend make[2]: Entering directory '/builddir/build/BUILD/thinkfan-0.9.3' cd /builddir/build/BUILD/thinkfan-0.9.3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/thinkfan-0.9.3 /builddir/build/BUILD/thinkfan-0.9.3 /builddir/build/BUILD/thinkfan-0.9.3 /builddir/build/BUILD/thinkfan-0.9.3 /builddir/build/BUILD/thinkfan-0.9.3/CMakeFiles/thinkfan.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/thinkfan-0.9.3' /usr/bin/make -f CMakeFiles/thinkfan.dir/build.make CMakeFiles/thinkfan.dir/build make[2]: Entering directory '/builddir/build/BUILD/thinkfan-0.9.3' make[2]: Nothing to be done for 'CMakeFiles/thinkfan.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/thinkfan-0.9.3' [100%] Built target thinkfan make[1]: Leaving directory '/builddir/build/BUILD/thinkfan-0.9.3' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/thinkfan-0.9.3/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/builddir/build/BUILD/thinkfan-0.9.3' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/builddir/build/BUILD/thinkfan-0.9.3' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/usr/sbin/thinkfan -- Installing: /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/usr/share/doc/thinkfan/NEWS -- Installing: /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/usr/share/doc/thinkfan/COPYING -- Installing: /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/usr/share/doc/thinkfan/README -- Installing: /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/usr/share/doc/thinkfan/thinkfan.conf.complex -- Installing: /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/usr/share/doc/thinkfan/thinkfan.conf.simple -- Installing: /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/usr/share/man/man1/thinkfan.1 + install -Dpm 0644 /builddir/build/SOURCES/thinkfan.service /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/usr/lib/systemd/system/thinkfan.service + install -Dpm 0644 /builddir/build/SOURCES/thinkfan.sysconfig /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/etc/sysconfig/thinkfan + install -Dpm 0644 examples/thinkfan.conf.simple /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/etc/thinkfan.conf + install -Dpm 0644 /builddir/build/SOURCES/thinkfan.modprobe /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/etc/modprobe.d/thinkfan.conf + rm -f /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64//usr/share/doc/thinkfan/COPYING + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/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: thinkfan-0.9.3-4.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OaQRtq + umask 022 + cd /builddir/build/BUILD + cd thinkfan-0.9.3 + DOCDIR=/builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/usr/share/doc/thinkfan + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/usr/share/doc/thinkfan + cp -pr README /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/usr/share/doc/thinkfan + cp -pr NEWS /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/usr/share/doc/thinkfan + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.EzjJ3a + umask 022 + cd /builddir/build/BUILD + cd thinkfan-0.9.3 + LICENSEDIR=/builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/usr/share/licenses/thinkfan + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/usr/share/licenses/thinkfan + cp -pr COPYING /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64/usr/share/licenses/thinkfan + exit 0 Provides: config(thinkfan) = 0.9.3-4.fc28 thinkfan = 0.9.3-4.fc28 thinkfan(riscv-64) = 0.9.3-4.fc28 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libatasmart.so.4()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/thinkfan-0.9.3-4.fc28.riscv64 Wrote: /builddir/build/SRPMS/thinkfan-0.9.3-4.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/thinkfan-0.9.3-4.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Lf8R9U + umask 022 + cd /builddir/build/BUILD + cd thinkfan-0.9.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/thinkfan-0.9.3-4.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