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-base-build-288208-27997/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xb6rhzwv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xb6rhzwv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7cf0002ce7e143f7907cbfea73049e42', '-D', '/home/lib/mock/dist-ocs23-base-build-288208-27997/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xb6rhzwv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/iniparser-4.1-7.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-base-build-288208-27997/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xb6rhzwv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xb6rhzwv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2ba18116dddf4119a17540d2f227317f', '-D', '/home/lib/mock/dist-ocs23-base-build-288208-27997/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xb6rhzwv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oBlVqV + 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/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/CVE-2023-33461-0001-Handle-null-return-from-iniparser_getstring.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UVGY1c + 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.nual5J + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.loongarch64 + cd iniparser-4.1 + install -d /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.loongarch64/usr/include/iniparser /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.loongarch64/usr/lib64 + install -m 644 -t /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.loongarch64/usr/include/iniparser src/dictionary.h src/iniparser.h + ln -s iniparser/dictionary.h /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.loongarch64/usr/include/dictionary.h + ln -s iniparser/iniparser.h /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.loongarch64/usr/include/iniparser.h + install -m 755 -t /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.loongarch64/usr/lib64/ libiniparser.so.1 + ln -s libiniparser.so.1 /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.loongarch64/usr/lib64/libiniparser.so + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 4.1-7.ocs23 --unique-debug-suffix -4.1-7.ocs23.loongarch64 --unique-debug-src-base iniparser-4.1-7.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/iniparser-4.1 extracting debug info from /builddir/build/BUILDROOT/iniparser-4.1-7.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-7.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DaGelP + umask 022 + cd /builddir/build/BUILD + cd iniparser-4.1 + DOCDIR=/builddir/build/BUILDROOT/iniparser-4.1-7.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-7.ocs23.loongarch64/usr/share/doc/iniparser + cp -pr README.md /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.loongarch64/usr/share/doc/iniparser + cp -pr INSTALL /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.loongarch64/usr/share/doc/iniparser + cp -pr AUTHORS /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.loongarch64/usr/share/doc/iniparser + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.G4GNd4 + umask 022 + cd /builddir/build/BUILD + cd iniparser-4.1 + LICENSEDIR=/builddir/build/BUILDROOT/iniparser-4.1-7.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-7.ocs23.loongarch64/usr/share/licenses/iniparser + cp -pr LICENSE /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.loongarch64/usr/share/licenses/iniparser + RPM_EC=0 ++ jobs -p + exit 0 Provides: iniparser = 4.1-7.ocs23 iniparser(loongarch-64) = 4.1-7.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-7.ocs23.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0n2C5F + umask 022 + cd /builddir/build/BUILD + cd iniparser-4.1 + LICENSEDIR=/builddir/build/BUILDROOT/iniparser-4.1-7.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-7.ocs23.loongarch64/usr/share/licenses/iniparser-devel + cp -pr LICENSE /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.loongarch64/usr/share/licenses/iniparser-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: iniparser-devel = 4.1-7.ocs23 iniparser-devel(loongarch-64) = 4.1-7.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-7.ocs23.loongarch64 Provides: iniparser-debugsource = 4.1-7.ocs23 iniparser-debugsource(loongarch-64) = 4.1-7.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-7.ocs23.loongarch64 Provides: debuginfo(build-id) = 448ea1dceb0a05abcc4ac6cfab0b84436c5f5a17 iniparser-debuginfo = 4.1-7.ocs23 iniparser-debuginfo(loongarch-64) = 4.1-7.ocs23 libiniparser.so.1-4.1-7.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-7.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.loongarch64 Wrote: /builddir/build/RPMS/iniparser-4.1-7.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/iniparser-devel-4.1-7.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/iniparser-debugsource-4.1-7.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/iniparser-debuginfo-4.1-7.ocs23.loongarch64.rpm Child return code was: 0