Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/cswrap.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-180554-80115/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/cswrap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/cswrap-2.2.4-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/cswrap.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-180554-80115/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/cswrap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DTJD8I + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cswrap-2.2.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cswrap-2.2.4.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd cswrap-2.2.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FeRTgR + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cswrap-2.2.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B loongarch64-OpenCloudOS-linux-gnu -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_DO_STRIP:BOOL=OFF -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 '-DPATH_TO_WRAP="/usr/lib64/cswrap"' -DSTATIC_LINKING=ON -- The C compiler identification is GNU 12.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Performing Test HAVE_STATIC_PIE -- Performing Test HAVE_STATIC_PIE - Success -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- CMAKE_SYSTEM_PROCESSOR: loongarch64 -- a2x found - /usr/bin/a2x -- Configuring done (1.0s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu + /usr/bin/cmake --build loongarch64-OpenCloudOS-linux-gnu -j32 --verbose /usr/bin/cmake -S/builddir/build/BUILD/cswrap-2.2.4 -B/builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu/CMakeFiles /builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f src/CMakeFiles/cswrap.dir/build.make src/CMakeFiles/cswrap.dir/depend /usr/bin/gmake -f doc/CMakeFiles/doc.dir/build.make doc/CMakeFiles/doc.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cswrap-2.2.4 /builddir/build/BUILD/cswrap-2.2.4/src /builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu/src /builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu/src/CMakeFiles/cswrap.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cswrap-2.2.4 /builddir/build/BUILD/cswrap-2.2.4/doc /builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu/doc /builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu/doc/CMakeFiles/doc.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu' gmake[2]: Leaving directory '/builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f src/CMakeFiles/cswrap.dir/build.make src/CMakeFiles/cswrap.dir/build /usr/bin/gmake -f doc/CMakeFiles/doc.dir/build.make doc/CMakeFiles/doc.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu' gmake[2]: Entering directory '/builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu' [ 25%] Building C object src/CMakeFiles/cswrap.dir/cswrap-util.c.o [ 50%] Building C object src/CMakeFiles/cswrap.dir/cswrap.c.o cd /builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DPATH_TO_WRAP=\"/usr/lib64/cswrap\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=c99 -fPIE -MD -MT src/CMakeFiles/cswrap.dir/cswrap-util.c.o -MF CMakeFiles/cswrap.dir/cswrap-util.c.o.d -o CMakeFiles/cswrap.dir/cswrap-util.c.o -c /builddir/build/BUILD/cswrap-2.2.4/src/cswrap-util.c cd /builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/gcc -DPATH_TO_WRAP=\"/usr/lib64/cswrap\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -std=c99 -fPIE -MD -MT src/CMakeFiles/cswrap.dir/cswrap.c.o -MF CMakeFiles/cswrap.dir/cswrap.c.o.d -o CMakeFiles/cswrap.dir/cswrap.c.o -c /builddir/build/BUILD/cswrap-2.2.4/src/cswrap.c [ 75%] Generating cswrap.1 man page... cd /builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu/doc && /usr/bin/a2x -f manpage /builddir/build/BUILD/cswrap-2.2.4/doc/cswrap.adoc -D /builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu/doc [100%] Linking C executable cswrap cd /builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/cswrap.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -static-pie -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 CMakeFiles/cswrap.dir/cswrap.c.o "CMakeFiles/cswrap.dir/cswrap-util.c.o" -o cswrap gmake[2]: Leaving directory '/builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu' [100%] Built target doc gmake[2]: Leaving directory '/builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu' [100%] Built target cswrap gmake[1]: Leaving directory '/builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Cab0P5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64 ++ dirname /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64 + cd cswrap-2.2.4 + DESTDIR=/builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64 + /usr/bin/cmake --install loongarch64-OpenCloudOS-linux-gnu -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/bin/cswrap -- Installing: /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/share/man/man1/cswrap.1 + install -m0755 -d /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64 /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap + for i in c++ cc g++ gcc clang clang++ cppcheck smatch divc++ divcc diosc++ dioscc gclang++ gclang goto-gcc loongarch64-redhat-linux-c++ loongarch64-redhat-linux-g++ loongarch64-redhat-linux-gcc + ln -s ../../bin/cswrap /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap/c++ + for i in c++ cc g++ gcc clang clang++ cppcheck smatch divc++ divcc diosc++ dioscc gclang++ gclang goto-gcc loongarch64-redhat-linux-c++ loongarch64-redhat-linux-g++ loongarch64-redhat-linux-gcc + ln -s ../../bin/cswrap /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap/cc + for i in c++ cc g++ gcc clang clang++ cppcheck smatch divc++ divcc diosc++ dioscc gclang++ gclang goto-gcc loongarch64-redhat-linux-c++ loongarch64-redhat-linux-g++ loongarch64-redhat-linux-gcc + ln -s ../../bin/cswrap /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap/g++ + for i in c++ cc g++ gcc clang clang++ cppcheck smatch divc++ divcc diosc++ dioscc gclang++ gclang goto-gcc loongarch64-redhat-linux-c++ loongarch64-redhat-linux-g++ loongarch64-redhat-linux-gcc + ln -s ../../bin/cswrap /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap/gcc + for i in c++ cc g++ gcc clang clang++ cppcheck smatch divc++ divcc diosc++ dioscc gclang++ gclang goto-gcc loongarch64-redhat-linux-c++ loongarch64-redhat-linux-g++ loongarch64-redhat-linux-gcc + ln -s ../../bin/cswrap /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap/clang + for i in c++ cc g++ gcc clang clang++ cppcheck smatch divc++ divcc diosc++ dioscc gclang++ gclang goto-gcc loongarch64-redhat-linux-c++ loongarch64-redhat-linux-g++ loongarch64-redhat-linux-gcc + ln -s ../../bin/cswrap /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap/clang++ + for i in c++ cc g++ gcc clang clang++ cppcheck smatch divc++ divcc diosc++ dioscc gclang++ gclang goto-gcc loongarch64-redhat-linux-c++ loongarch64-redhat-linux-g++ loongarch64-redhat-linux-gcc + ln -s ../../bin/cswrap /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap/cppcheck + for i in c++ cc g++ gcc clang clang++ cppcheck smatch divc++ divcc diosc++ dioscc gclang++ gclang goto-gcc loongarch64-redhat-linux-c++ loongarch64-redhat-linux-g++ loongarch64-redhat-linux-gcc + ln -s ../../bin/cswrap /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap/smatch + for i in c++ cc g++ gcc clang clang++ cppcheck smatch divc++ divcc diosc++ dioscc gclang++ gclang goto-gcc loongarch64-redhat-linux-c++ loongarch64-redhat-linux-g++ loongarch64-redhat-linux-gcc + ln -s ../../bin/cswrap /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap/divc++ + for i in c++ cc g++ gcc clang clang++ cppcheck smatch divc++ divcc diosc++ dioscc gclang++ gclang goto-gcc loongarch64-redhat-linux-c++ loongarch64-redhat-linux-g++ loongarch64-redhat-linux-gcc + ln -s ../../bin/cswrap /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap/divcc + for i in c++ cc g++ gcc clang clang++ cppcheck smatch divc++ divcc diosc++ dioscc gclang++ gclang goto-gcc loongarch64-redhat-linux-c++ loongarch64-redhat-linux-g++ loongarch64-redhat-linux-gcc + ln -s ../../bin/cswrap /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap/diosc++ + for i in c++ cc g++ gcc clang clang++ cppcheck smatch divc++ divcc diosc++ dioscc gclang++ gclang goto-gcc loongarch64-redhat-linux-c++ loongarch64-redhat-linux-g++ loongarch64-redhat-linux-gcc + ln -s ../../bin/cswrap /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap/dioscc + for i in c++ cc g++ gcc clang clang++ cppcheck smatch divc++ divcc diosc++ dioscc gclang++ gclang goto-gcc loongarch64-redhat-linux-c++ loongarch64-redhat-linux-g++ loongarch64-redhat-linux-gcc + ln -s ../../bin/cswrap /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap/gclang++ + for i in c++ cc g++ gcc clang clang++ cppcheck smatch divc++ divcc diosc++ dioscc gclang++ gclang goto-gcc loongarch64-redhat-linux-c++ loongarch64-redhat-linux-g++ loongarch64-redhat-linux-gcc + ln -s ../../bin/cswrap /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap/gclang + for i in c++ cc g++ gcc clang clang++ cppcheck smatch divc++ divcc diosc++ dioscc gclang++ gclang goto-gcc loongarch64-redhat-linux-c++ loongarch64-redhat-linux-g++ loongarch64-redhat-linux-gcc + ln -s ../../bin/cswrap /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap/goto-gcc + for i in c++ cc g++ gcc clang clang++ cppcheck smatch divc++ divcc diosc++ dioscc gclang++ gclang goto-gcc loongarch64-redhat-linux-c++ loongarch64-redhat-linux-g++ loongarch64-redhat-linux-gcc + ln -s ../../bin/cswrap /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap/loongarch64-redhat-linux-c++ + for i in c++ cc g++ gcc clang clang++ cppcheck smatch divc++ divcc diosc++ dioscc gclang++ gclang goto-gcc loongarch64-redhat-linux-c++ loongarch64-redhat-linux-g++ loongarch64-redhat-linux-gcc + ln -s ../../bin/cswrap /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap/loongarch64-redhat-linux-g++ + for i in c++ cc g++ gcc clang clang++ cppcheck smatch divc++ divcc diosc++ dioscc gclang++ gclang goto-gcc loongarch64-redhat-linux-c++ loongarch64-redhat-linux-g++ loongarch64-redhat-linux-gcc + ln -s ../../bin/cswrap /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/lib64/cswrap/loongarch64-redhat-linux-gcc + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.2.4-2.oc9 --unique-debug-suffix -2.2.4-2.oc9.loongarch64 --unique-debug-src-base cswrap-2.2.4-2.oc9.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/cswrap-2.2.4 extracting debug info from /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/bin/cswrap 74 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Unc8ai + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cswrap-2.2.4 + cd loongarch64-OpenCloudOS-linux-gnu + /usr/bin/ctest --output-on-failure --force-new-ctest-process -j32 Test project /builddir/build/BUILD/cswrap-2.2.4/loongarch64-OpenCloudOS-linux-gnu Start 1: 0000-static-build Start 2: 0001-relpath-to-abspath Start 3: 0002-append-tool-suffix Start 4: 0003-direct-invocation Start 5: 0004-exit-status-and-signals Start 6: 0005-cap-file-locking Start 7: 0006-add-del-cflags Start 8: 0007-clang-notes-filtering 1/8 Test #1: 0000-static-build ................ Passed 0.02 sec 2/8 Test #4: 0003-direct-invocation ........... Passed 0.03 sec 3/8 Test #3: 0002-append-tool-suffix .......... Passed 0.06 sec 4/8 Test #2: 0001-relpath-to-abspath .......... Passed 0.09 sec 5/8 Test #7: 0006-add-del-cflags .............. Passed 0.08 sec 6/8 Test #6: 0005-cap-file-locking ............ Passed 0.15 sec 7/8 Test #8: 0007-clang-notes-filtering ....... Passed 0.17 sec 8/8 Test #5: 0004-exit-status-and-signals ..... Passed 13.22 sec 100% tests passed, 0 tests failed out of 8 Total Test time (real) = 13.23 sec + cd - /builddir/build/BUILD/cswrap-2.2.4 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: cswrap-2.2.4-2.oc9.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.a7Sv6F + umask 022 + cd /builddir/build/BUILD + cd cswrap-2.2.4 + DOCDIR=/builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/share/doc/cswrap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/share/doc/cswrap + cp -pr README /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/share/doc/cswrap + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.M22Fum + umask 022 + cd /builddir/build/BUILD + cd cswrap-2.2.4 + LICENSEDIR=/builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/share/licenses/cswrap + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/share/licenses/cswrap + cp -pr COPYING /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64/usr/share/licenses/cswrap + RPM_EC=0 ++ jobs -p + exit 0 Provides: cswrap = 2.2.4-2.oc9 cswrap(loongarch-64) = 2.2.4-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: rtld(GNU_HASH) Processing files: cswrap-debugsource-2.2.4-2.oc9.loongarch64 Provides: cswrap-debugsource = 2.2.4-2.oc9 cswrap-debugsource(loongarch-64) = 2.2.4-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cswrap-debuginfo-2.2.4-2.oc9.loongarch64 Provides: cswrap-debuginfo = 2.2.4-2.oc9 cswrap-debuginfo(loongarch-64) = 2.2.4-2.oc9 debuginfo(build-id) = 855ce773ba3222988eb0f2b4333eb3d9737f91ed Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cswrap-debugsource(loongarch-64) = 2.2.4-2.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cswrap-2.2.4-2.oc9.loongarch64 Wrote: /builddir/build/RPMS/cswrap-debugsource-2.2.4-2.oc9.loongarch64.rpm Wrote: /builddir/build/RPMS/cswrap-debuginfo-2.2.4-2.oc9.loongarch64.rpm Wrote: /builddir/build/RPMS/cswrap-2.2.4-2.oc9.loongarch64.rpm Child return code was: 0