+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/platform.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.OMGwJx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf platform-p8-platform-2.1.0.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/p8-platform-2.1.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd platform-p8-platform-2.1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /builddir/build/SOURCES/gpl-2.0.txt . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7RpzC3 + umask 022 + cd /builddir/build/BUILD + cd platform-p8-platform-2.1.0.1 + 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 . -- 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 -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for __atomic_fetch_add_4 in atomic -- Looking for __atomic_fetch_add_4 in atomic - found -- Performing Test HAS_BUILTIN_SYNC_ADD_AND_FETCH -- Performing Test HAS_BUILTIN_SYNC_ADD_AND_FETCH - Success -- Performing Test HAS_BUILTIN_SYNC_SUB_AND_FETCH -- Performing Test HAS_BUILTIN_SYNC_SUB_AND_FETCH - Success -- Performing Test HAS_BUILTIN_SYNC_VAL_COMPARE_AND_SWAP -- Performing Test HAS_BUILTIN_SYNC_VAL_COMPARE_AND_SWAP - Success -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: 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/platform-p8-platform-2.1.0.1 + make -j4 /usr/bin/cmake -H/builddir/build/BUILD/platform-p8-platform-2.1.0.1 -B/builddir/build/BUILD/platform-p8-platform-2.1.0.1 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/platform-p8-platform-2.1.0.1/CMakeFiles /builddir/build/BUILD/platform-p8-platform-2.1.0.1/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/platform-p8-platform-2.1.0.1' make -f CMakeFiles/p8-platform.dir/build.make CMakeFiles/p8-platform.dir/depend make[2]: Entering directory '/builddir/build/BUILD/platform-p8-platform-2.1.0.1' cd /builddir/build/BUILD/platform-p8-platform-2.1.0.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/platform-p8-platform-2.1.0.1 /builddir/build/BUILD/platform-p8-platform-2.1.0.1 /builddir/build/BUILD/platform-p8-platform-2.1.0.1 /builddir/build/BUILD/platform-p8-platform-2.1.0.1 /builddir/build/BUILD/platform-p8-platform-2.1.0.1/CMakeFiles/p8-platform.dir/DependInfo.cmake --color= Scanning dependencies of target p8-platform make[2]: Leaving directory '/builddir/build/BUILD/platform-p8-platform-2.1.0.1' make -f CMakeFiles/p8-platform.dir/build.make CMakeFiles/p8-platform.dir/build make[2]: Entering directory '/builddir/build/BUILD/platform-p8-platform-2.1.0.1' [ 50%] Building CXX object CMakeFiles/p8-platform.dir/src/util/StringUtils.cpp.o /usr/bin/c++ -Dp8_platform_EXPORTS -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 -o CMakeFiles/p8-platform.dir/src/util/StringUtils.cpp.o -c /builddir/build/BUILD/platform-p8-platform-2.1.0.1/src/util/StringUtils.cpp [100%] Linking CXX shared library libp8-platform.so /usr/bin/cmake -E cmake_link_script CMakeFiles/p8-platform.dir/link.txt --verbose=1 /usr/bin/c++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libp8-platform.so.2 -o libp8-platform.so.2.1.0 CMakeFiles/p8-platform.dir/src/util/StringUtils.cpp.o -lpthread /usr/bin/cmake -E cmake_symlink_library libp8-platform.so.2.1.0 libp8-platform.so.2 libp8-platform.so make[2]: Leaving directory '/builddir/build/BUILD/platform-p8-platform-2.1.0.1' [100%] Built target p8-platform make[1]: Leaving directory '/builddir/build/BUILD/platform-p8-platform-2.1.0.1' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/platform-p8-platform-2.1.0.1/CMakeFiles 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VY4EbV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64 + cd platform-p8-platform-2.1.0.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64 'INSTALL=/usr/bin/install -p' /usr/bin/cmake -H/builddir/build/BUILD/platform-p8-platform-2.1.0.1 -B/builddir/build/BUILD/platform-p8-platform-2.1.0.1 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/platform-p8-platform-2.1.0.1/CMakeFiles /builddir/build/BUILD/platform-p8-platform-2.1.0.1/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/platform-p8-platform-2.1.0.1' /usr/bin/make -f CMakeFiles/p8-platform.dir/build.make CMakeFiles/p8-platform.dir/depend make[2]: Entering directory '/builddir/build/BUILD/platform-p8-platform-2.1.0.1' cd /builddir/build/BUILD/platform-p8-platform-2.1.0.1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/platform-p8-platform-2.1.0.1 /builddir/build/BUILD/platform-p8-platform-2.1.0.1 /builddir/build/BUILD/platform-p8-platform-2.1.0.1 /builddir/build/BUILD/platform-p8-platform-2.1.0.1 /builddir/build/BUILD/platform-p8-platform-2.1.0.1/CMakeFiles/p8-platform.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/platform-p8-platform-2.1.0.1' /usr/bin/make -f CMakeFiles/p8-platform.dir/build.make CMakeFiles/p8-platform.dir/build make[2]: Entering directory '/builddir/build/BUILD/platform-p8-platform-2.1.0.1' make[2]: Nothing to be done for 'CMakeFiles/p8-platform.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/platform-p8-platform-2.1.0.1' [100%] Built target p8-platform make[1]: Leaving directory '/builddir/build/BUILD/platform-p8-platform-2.1.0.1' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/platform-p8-platform-2.1.0.1/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/builddir/build/BUILD/platform-p8-platform-2.1.0.1' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/builddir/build/BUILD/platform-p8-platform-2.1.0.1' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/lib64/libp8-platform.so.2.1.0 -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/lib64/libp8-platform.so.2 -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/lib64/libp8-platform.so -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/include/p8-platform/os.h -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/include/p8-platform/posix/os-socket.h -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/include/p8-platform/posix/os-threads.h -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/include/p8-platform/posix/os-types.h -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/include/p8-platform/sockets/cdevsocket.h -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/include/p8-platform/sockets/socket.h -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/include/p8-platform/sockets/tcp.h -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/include/p8-platform/threads/atomics.h -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/include/p8-platform/threads/mutex.h -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/include/p8-platform/threads/threads.h -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/include/p8-platform/util/atomic.h -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/include/p8-platform/util/buffer.h -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/include/p8-platform/util/StringUtils.h -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/include/p8-platform/util/StdString.h -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/include/p8-platform/util/timeutils.h -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/include/p8-platform/util/util.h -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/lib64/pkgconfig/p8-platform.pc -- Installing: /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/lib64/p8-platform/p8-platform-config.cmake + /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: platform-2.1.0.1-1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zVOWta + umask 022 + cd /builddir/build/BUILD + cd platform-p8-platform-2.1.0.1 + DOCDIR=/builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/share/doc/platform + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/share/doc/platform + cp -pr README.md /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/share/doc/platform + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.njWKDI + umask 022 + cd /builddir/build/BUILD + cd platform-p8-platform-2.1.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/share/licenses/platform + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/share/licenses/platform + cp -pr gpl-2.0.txt /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64/usr/share/licenses/platform + exit 0 Provides: libp8-platform.so.2()(64bit) platform = 2.1.0.1-1.fc28 platform(riscv-64) = 2.1.0.1-1.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: 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) libm.so.6()(64bit) libpthread.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) rtld(GNU_HASH) Processing files: platform-devel-2.1.0.1-1.fc28.riscv64 Provides: pkgconfig(p8-platform) = 2.1.0 platform-devel = 2.1.0.1-1.fc28 platform-devel(riscv-64) = 2.1.0.1-1.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libp8-platform.so.2()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64 Wrote: /builddir/build/SRPMS/platform-2.1.0.1-1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/platform-2.1.0.1-1.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/platform-devel-2.1.0.1-1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1vaPcd + umask 022 + cd /builddir/build/BUILD + cd platform-p8-platform-2.1.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/platform-2.1.0.1-1.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff