Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/tree-sitter.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-223029-16804/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/tree-sitter.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/tree-sitter-0.20.7-4.ocs23.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/tree-sitter.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-223029-16804/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/tree-sitter.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.cyFy0P + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tree-sitter-0.20.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tree-sitter-0.20.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tree-sitter-0.20.7 + /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.5Ga0TG + 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 tree-sitter-0.20.7 + /usr/bin/make -O -j32 V=1 VERBOSE=1 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 -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/alloc.o lib/src/alloc.c 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 -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/language.o lib/src/language.c 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 -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/tree.o lib/src/tree.c 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 -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/lexer.o lib/src/lexer.c 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 -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/get_changed_ranges.o lib/src/get_changed_ranges.c 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 -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/tree_cursor.o lib/src/tree_cursor.c 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 -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/node.o lib/src/node.c 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 -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/subtree.o lib/src/subtree.c 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 -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/stack.o lib/src/stack.c 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 -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/parser.o lib/src/parser.c 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 -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/query.o lib/src/query.c ar rcs libtree-sitter.a lib/src/alloc.o lib/src/get_changed_ranges.o lib/src/language.o lib/src/lexer.o lib/src/node.o lib/src/parser.o lib/src/query.o lib/src/stack.o lib/src/subtree.o lib/src/tree.o lib/src/tree_cursor.o gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libtree-sitter.so.0 lib/src/alloc.o lib/src/get_changed_ranges.o lib/src/language.o lib/src/lexer.o lib/src/node.o lib/src/parser.o lib/src/query.o lib/src/stack.o lib/src/subtree.o lib/src/tree.o lib/src/tree_cursor.o -o libtree-sitter.so.0.0 ln -sf libtree-sitter.so.0.0 libtree-sitter.so ln -sf libtree-sitter.so.0.0 libtree-sitter.so.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vPBHEO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64 + cd tree-sitter-0.20.7 + export PREFIX=/usr LIBDIR=/usr/lib64 INCLUDEDIR=/usr/include + PREFIX=/usr + LIBDIR=/usr/lib64 + INCLUDEDIR=/usr/include + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' install -d '/builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64/usr/lib64' install -m755 libtree-sitter.a '/builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64/usr/lib64'/libtree-sitter.a install -m755 libtree-sitter.so.0.0 '/builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64/usr/lib64'/libtree-sitter.so.0.0 ln -sf libtree-sitter.so.0.0 '/builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64/usr/lib64'/libtree-sitter.so.0 ln -sf libtree-sitter.so.0.0 '/builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64/usr/lib64'/libtree-sitter.so install -d '/builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64/usr/include'/tree_sitter install -m644 lib/include/tree_sitter/*.h '/builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64/usr/include'/tree_sitter/ install -d '/builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64/usr/lib64/pkgconfig' sed -e 's|@LIBDIR@|/usr/lib64|;s|@INCLUDEDIR@|/usr/include|;s|@VERSION@|0.6.3|' \ -e 's|=/usr|=${prefix}|' \ -e 's|@PREFIX@|/usr|' \ tree-sitter.pc.in > '/builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64/usr/lib64/pkgconfig'/tree-sitter.pc + find /builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64/usr/lib64 -type f '(' -name '*.la' -o -name '*.a' ')' -delete -print /builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64/usr/lib64/libtree-sitter.a + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.20.7-4.ocs23 --unique-debug-suffix -0.20.7-4.ocs23.loongarch64 --unique-debug-src-base tree-sitter-0.20.7-4.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/tree-sitter-0.20.7 extracting debug info from /builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64/usr/lib64/libtree-sitter.so.0.0 847 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 Processing files: libtree-sitter-0.20.7-4.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1D2qlq + umask 022 + cd /builddir/build/BUILD + cd tree-sitter-0.20.7 + DOCDIR=/builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64/usr/share/doc/libtree-sitter + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64/usr/share/doc/libtree-sitter + cp -pr README.md /builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64/usr/share/doc/libtree-sitter + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HwuFvU + umask 022 + cd /builddir/build/BUILD + cd tree-sitter-0.20.7 + LICENSEDIR=/builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64/usr/share/licenses/libtree-sitter + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64/usr/share/licenses/libtree-sitter + cp -pr LICENSE /builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64/usr/share/licenses/libtree-sitter + RPM_EC=0 ++ jobs -p + exit 0 Provides: libtree-sitter = 0.20.7-4.ocs23 libtree-sitter(loongarch-64) = 0.20.7-4.ocs23 libtree-sitter.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) rtld(GNU_HASH) Processing files: libtree-sitter-devel-0.20.7-4.ocs23.loongarch64 Provides: libtree-sitter-devel = 0.20.7-4.ocs23 libtree-sitter-devel(loongarch-64) = 0.20.7-4.ocs23 pkgconfig(tree-sitter) = 0.6.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libtree-sitter.so.0()(64bit) Processing files: tree-sitter-debugsource-0.20.7-4.ocs23.loongarch64 Provides: tree-sitter-debugsource = 0.20.7-4.ocs23 tree-sitter-debugsource(loongarch-64) = 0.20.7-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libtree-sitter-debuginfo-0.20.7-4.ocs23.loongarch64 Provides: debuginfo(build-id) = 746aa722e8234eb2d2276d1fdc500e3a34593e1d libtree-sitter-debuginfo = 0.20.7-4.ocs23 libtree-sitter-debuginfo(loongarch-64) = 0.20.7-4.ocs23 libtree-sitter.so.0.0-0.20.7-4.ocs23.loongarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tree-sitter-debugsource(loongarch-64) = 0.20.7-4.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tree-sitter-0.20.7-4.ocs23.loongarch64 Wrote: /builddir/build/RPMS/libtree-sitter-devel-0.20.7-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libtree-sitter-0.20.7-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/tree-sitter-debugsource-0.20.7-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libtree-sitter-debuginfo-0.20.7-4.ocs23.loongarch64.rpm Child return code was: 0