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/scdoc.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-225252-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/scdoc.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/scdoc-1.11.2-1.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/scdoc.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-225252-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/scdoc.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.WAbAXe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scdoc-1.11.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/scdoc-1.11.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd scdoc-1.11.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i /-static/d Makefile + sed -i 's/\tinstall/\t$(INSTALL)/g' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jE8tgi + 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 scdoc-1.11.2 ++ nproc + make PREFIX=/usr -j32 gcc -std=c99 -pedantic -c -o .build/main.o -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 -DVERSION='"1.11.2"' -Wall -Wextra -Werror -Wno-unused-parameter -Iinclude src/main.c gcc -std=c99 -pedantic -c -o .build/string.o -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 -DVERSION='"1.11.2"' -Wall -Wextra -Werror -Wno-unused-parameter -Iinclude src/string.c gcc -std=c99 -pedantic -c -o .build/utf8_chsize.o -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 -DVERSION='"1.11.2"' -Wall -Wextra -Werror -Wno-unused-parameter -Iinclude src/utf8_chsize.c gcc -std=c99 -pedantic -c -o .build/utf8_decode.o -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 -DVERSION='"1.11.2"' -Wall -Wextra -Werror -Wno-unused-parameter -Iinclude src/utf8_decode.c gcc -std=c99 -pedantic -c -o .build/utf8_encode.o -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 -DVERSION='"1.11.2"' -Wall -Wextra -Werror -Wno-unused-parameter -Iinclude src/utf8_encode.c gcc -std=c99 -pedantic -c -o .build/utf8_fgetch.o -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 -DVERSION='"1.11.2"' -Wall -Wextra -Werror -Wno-unused-parameter -Iinclude src/utf8_fgetch.c gcc -std=c99 -pedantic -c -o .build/utf8_fputch.o -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 -DVERSION='"1.11.2"' -Wall -Wextra -Werror -Wno-unused-parameter -Iinclude src/utf8_fputch.c sed -e 's:@prefix@:/usr:g' -e 's:@version@:1.11.2:g' < scdoc.pc.in > scdoc.pc gcc -std=c99 -pedantic -c -o .build/utf8_size.o -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 -DVERSION='"1.11.2"' -Wall -Wextra -Werror -Wno-unused-parameter -Iinclude src/utf8_size.c gcc -std=c99 -pedantic -c -o .build/util.o -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 -DVERSION='"1.11.2"' -Wall -Wextra -Werror -Wno-unused-parameter -Iinclude src/util.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o scdoc .build/main.o .build/string.o .build/utf8_chsize.o .build/utf8_decode.o .build/utf8_encode.o .build/utf8_fgetch.o .build/utf8_fputch.o .build/utf8_size.o .build/util.o ./scdoc < scdoc.1.scd > scdoc.1 ./scdoc < scdoc.5.scd > scdoc.5 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.baAwQF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64 + cd scdoc-1.11.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' PREFIX=/usr mkdir -p /builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64//usr/bin /builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64//usr/share/man/man1 /builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64//usr/share/man/man5 /builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64//usr/share/pkgconfig /usr/bin/install -p -m755 scdoc /builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64//usr/bin/scdoc /usr/bin/install -p -m644 scdoc.1 /builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64//usr/share/man/man1/scdoc.1 /usr/bin/install -p -m644 scdoc.5 /builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64//usr/share/man/man5/scdoc.5 /usr/bin/install -p -m644 scdoc.pc /builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64//usr/share/pkgconfig/scdoc.pc + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.11.2-1.ocs23 --unique-debug-suffix -1.11.2-1.ocs23.loongarch64 --unique-debug-src-base scdoc-1.11.2-1.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/scdoc-1.11.2 extracting debug info from /builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64/usr/bin/scdoc 49 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.jx0Ld1 + 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 scdoc-1.11.2 + make check == test/comments Ignore comments OK Fail on invalid comments OK == test/heading Fail on ### OK Expects a space after # OK Emits a new section OK Emits a new subsection OK == test/indent Indents indented text OK Deindents following indented text OK Disallows multi-step indents OK Allows indentation changes > 1 in literal blocks OK Allows multi-step dedents OK Allows indented literal blocks OK Disallows dedenting in literal blocks OK == test/inline-formatting Disallows nested formatting OK Ignores underscores in words OK Ignores underscores in underlined words OK Ignores underscores in bolded words OK Emits bold text OK Emits underlined text OK Handles escaped characters OK == test/line-breaks Handles line break OK Disallows empty line after line break OK Leave single + OK Leave double + without newline OK Handles underlined text following line break OK Suppresses sentence spacing OK == test/preamble Expects a name OK Expects a section OK Expects a section within the parentheses OK Expects name to alphanumeric OK Expects section to start with a number OK Expects section to be legit OK Expects section to be legit with subsection OK Expects section not to contain a space OK Accepts a valid preamble OK Accepts a valid preamble with subsection OK Writes the appropriate header OK Preserves dashes OK Handles extra footer field OK Handles both extra fields OK Emits empty footer correctly OK Supports $SOURCE_DATE_EPOCH OK == test/tables Handles empty table cells OK Disallows differing row lengths OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: scdoc-1.11.2-1.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FQWwXB + umask 022 + cd /builddir/build/BUILD + cd scdoc-1.11.2 + DOCDIR=/builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64/usr/share/doc/scdoc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64/usr/share/doc/scdoc + cp -pr README.md /builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64/usr/share/doc/scdoc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.sCeu0A + umask 022 + cd /builddir/build/BUILD + cd scdoc-1.11.2 + LICENSEDIR=/builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64/usr/share/licenses/scdoc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64/usr/share/licenses/scdoc + cp -pr COPYING /builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64/usr/share/licenses/scdoc + RPM_EC=0 ++ jobs -p + exit 0 Provides: pkgconfig(scdoc) = 1.11.2 scdoc = 1.11.2-1.ocs23 scdoc(loongarch-64) = 1.11.2-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config 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: scdoc-debugsource-1.11.2-1.ocs23.loongarch64 Provides: scdoc-debugsource = 1.11.2-1.ocs23 scdoc-debugsource(loongarch-64) = 1.11.2-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: scdoc-debuginfo-1.11.2-1.ocs23.loongarch64 Provides: debuginfo(build-id) = 7fa1908b592608bce0deb33b27670a9d6e227763 scdoc-debuginfo = 1.11.2-1.ocs23 scdoc-debuginfo(loongarch-64) = 1.11.2-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: scdoc-debugsource(loongarch-64) = 1.11.2-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/scdoc-1.11.2-1.ocs23.loongarch64 Wrote: /builddir/build/RPMS/scdoc-debugsource-1.11.2-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/scdoc-1.11.2-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/scdoc-debuginfo-1.11.2-1.ocs23.loongarch64.rpm Child return code was: 0