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/odt2txt.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-151335-79728/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/odt2txt.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/odt2txt-0.5-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/odt2txt.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-151335-79728/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/odt2txt.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.YyX4V9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf odt2txt-0.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/odt2txt-0.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd odt2txt-0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/odt2txt-makefile.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ReWgcA + 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 odt2txt-0.5 + /usr/bin/make -O -j32 V=1 VERBOSE=1 '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' 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 -c -o mem.o mem.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 -c -o kunzip/fileio.o kunzip/fileio.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 -c -o kunzip/zipfile.o kunzip/zipfile.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 -c -o regex.o regex.c In file included from /usr/include/string.h:548, from mem.h:16, from regex.c:11: In function 'memcpy', inlined from 'image' at regex.c:176:2: /usr/include/bits/string_fortified.h:29:10: warning: 'memcpy' forming offset [5, 10] is out of the bounds [0, 5] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -c -o strbuf.o strbuf.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 -c -o odt2txt.o odt2txt.c odt2txt.c: In function 'guess_encoding': odt2txt.c:369:9: warning: 'strncpy' specified bound 20 equals destination size [-Wstringop-truncation] 369 | strncpy(enc, tmp, 20); | ^ gcc -o odt2txt -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 odt2txt.o regex.o mem.o strbuf.o kunzip/fileio.o kunzip/zipfile.o -lz In function 'memcpy', inlined from 'image' at regex.c:176:2: /usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' reading 11 bytes from a region of size 5 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3Vc601 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/odt2txt-0.5-2.oc9.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/odt2txt-0.5-2.oc9.loongarch64 ++ dirname /builddir/build/BUILDROOT/odt2txt-0.5-2.oc9.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/odt2txt-0.5-2.oc9.loongarch64 + cd odt2txt-0.5 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/odt2txt-0.5-2.oc9.loongarch64 'INSTALL=/usr/bin/install -p' PREFIX=/usr /usr/bin/install -p -d -m755 /builddir/build/BUILDROOT/odt2txt-0.5-2.oc9.loongarch64/usr/bin /usr/bin/install -p odt2txt /builddir/build/BUILDROOT/odt2txt-0.5-2.oc9.loongarch64/usr/bin /usr/bin/install -p -d -m755 /builddir/build/BUILDROOT/odt2txt-0.5-2.oc9.loongarch64/usr/share/man/man1 /usr/bin/install -p -p -m644 odt2txt.1 /builddir/build/BUILDROOT/odt2txt-0.5-2.oc9.loongarch64/usr/share/man/man1 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.5-2.oc9 --unique-debug-suffix -0.5-2.oc9.loongarch64 --unique-debug-src-base odt2txt-0.5-2.oc9.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/odt2txt-0.5 extracting debug info from /builddir/build/BUILDROOT/odt2txt-0.5-2.oc9.loongarch64/usr/bin/odt2txt 101 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: odt2txt-0.5-2.oc9.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZFhqYk + umask 022 + cd /builddir/build/BUILD + cd odt2txt-0.5 + DOCDIR=/builddir/build/BUILDROOT/odt2txt-0.5-2.oc9.loongarch64/usr/share/doc/odt2txt + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/odt2txt-0.5-2.oc9.loongarch64/usr/share/doc/odt2txt + cp -pr README.md /builddir/build/BUILDROOT/odt2txt-0.5-2.oc9.loongarch64/usr/share/doc/odt2txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.SRXXTZ + umask 022 + cd /builddir/build/BUILD + cd odt2txt-0.5 + LICENSEDIR=/builddir/build/BUILDROOT/odt2txt-0.5-2.oc9.loongarch64/usr/share/licenses/odt2txt + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/odt2txt-0.5-2.oc9.loongarch64/usr/share/licenses/odt2txt + cp -pr GPL-2 /builddir/build/BUILDROOT/odt2txt-0.5-2.oc9.loongarch64/usr/share/licenses/odt2txt + RPM_EC=0 ++ jobs -p + exit 0 Provides: odt2txt = 0.5-2.oc9 odt2txt(loongarch-64) = 0.5-2.oc9 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) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: odt2txt-debugsource-0.5-2.oc9.loongarch64 Provides: odt2txt-debugsource = 0.5-2.oc9 odt2txt-debugsource(loongarch-64) = 0.5-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: odt2txt-debuginfo-0.5-2.oc9.loongarch64 Provides: debuginfo(build-id) = 30289d2d51865387fba7e08ec306d670df82fe37 odt2txt-debuginfo = 0.5-2.oc9 odt2txt-debuginfo(loongarch-64) = 0.5-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: odt2txt-debugsource(loongarch-64) = 0.5-2.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/odt2txt-0.5-2.oc9.loongarch64 Wrote: /builddir/build/RPMS/odt2txt-debugsource-0.5-2.oc9.loongarch64.rpm Wrote: /builddir/build/RPMS/odt2txt-0.5-2.oc9.loongarch64.rpm Wrote: /builddir/build/RPMS/odt2txt-debuginfo-0.5-2.oc9.loongarch64.rpm Child return code was: 0