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/iniparser.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-235797-20631/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/iniparser.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/iniparser-4.1-6.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/iniparser.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-235797-20631/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/iniparser.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.loQP6N + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf iniparser-4.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/iniparser-4.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd iniparser-4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2023-33461-0001-Handle-null-return-from-iniparser_getstring.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wB3Q9R + 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 iniparser-4.1 + sed -i 's|-Wl,-rpath -Wl,/usr/lib||g' Makefile + sed -i 's|-Wl,-rpath,/usr/lib||g' Makefile + sed -i 's|^CFLAGS|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 -fPIC\nNOCFLAGS|' Makefile + make -j32 CC src/iniparser.o CC src/dictionary.o src/iniparser.c: In function 'iniparser_load': src/iniparser.c:791:32: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 791 | sprintf(tmp, "%s:%s", section, key); | ^ In file included from /usr/include/stdio.h:964, from src/iniparser.h:17, from src/iniparser.c:12: In function 'sprintf', inlined from 'iniparser_load' at src/iniparser.c:791:13: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 2 and 2050 bytes into a destination of size 2049 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ AR libiniparser.a LINK libiniparser.so.1 a - src/iniparser.o a - src/dictionary.o RANLIB libiniparser.a + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.H7Ncjg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64 + cd iniparser-4.1 + install -d /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/include/iniparser /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/lib64 + install -m 644 -t /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/include/iniparser src/dictionary.h src/iniparser.h + ln -s iniparser/dictionary.h /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/include/dictionary.h + ln -s iniparser/iniparser.h /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/include/iniparser.h + install -m 755 -t /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/lib64/ libiniparser.so.1 + ln -s libiniparser.so.1 /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/lib64/libiniparser.so + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 4.1-6.ocs23 --unique-debug-suffix -4.1-6.ocs23.loongarch64 --unique-debug-src-base iniparser-4.1-6.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/iniparser-4.1 extracting debug info from /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/lib64/libiniparser.so.1 88 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: iniparser-4.1-6.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QWe3m0 + umask 022 + cd /builddir/build/BUILD + cd iniparser-4.1 + DOCDIR=/builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/share/doc/iniparser + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/share/doc/iniparser + cp -pr README.md /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/share/doc/iniparser + cp -pr INSTALL /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/share/doc/iniparser + cp -pr AUTHORS /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/share/doc/iniparser + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.p61WQF + umask 022 + cd /builddir/build/BUILD + cd iniparser-4.1 + LICENSEDIR=/builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/share/licenses/iniparser + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/share/licenses/iniparser + cp -pr LICENSE /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/share/licenses/iniparser + RPM_EC=0 ++ jobs -p + exit 0 Provides: iniparser = 4.1-6.ocs23 iniparser(loongarch-64) = 4.1-6.ocs23 libiniparser.so.1()(64bit) 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-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: iniparser-devel-4.1-6.ocs23.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2dWOWJ + umask 022 + cd /builddir/build/BUILD + cd iniparser-4.1 + LICENSEDIR=/builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/share/licenses/iniparser-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/share/licenses/iniparser-devel + cp -pr LICENSE /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64/usr/share/licenses/iniparser-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: iniparser-devel = 4.1-6.ocs23 iniparser-devel(loongarch-64) = 4.1-6.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libiniparser.so.1()(64bit) Processing files: iniparser-debugsource-4.1-6.ocs23.loongarch64 Provides: iniparser-debugsource = 4.1-6.ocs23 iniparser-debugsource(loongarch-64) = 4.1-6.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: iniparser-debuginfo-4.1-6.ocs23.loongarch64 Provides: debuginfo(build-id) = 16326960295d0b40d6d024b921efdaddea70745a iniparser-debuginfo = 4.1-6.ocs23 iniparser-debuginfo(loongarch-64) = 4.1-6.ocs23 libiniparser.so.1-4.1-6.ocs23.loongarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: iniparser-debugsource(loongarch-64) = 4.1-6.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/iniparser-4.1-6.ocs23.loongarch64 Wrote: /builddir/build/RPMS/iniparser-devel-4.1-6.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/iniparser-debuginfo-4.1-6.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/iniparser-debugsource-4.1-6.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/iniparser-4.1-6.ocs23.loongarch64.rpm Child return code was: 0