Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/iniparser.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-288210-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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ldvomtbw:/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.ldvomtbw:/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', 'db1a94fae1db44b4ab8c1173c506f9fb', '-D', '/var/lib/mock/dist-ocs23-base-build-288210-27997/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ldvomtbw:/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 x86_64 --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: x86_64 Building for target x86_64 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 x86_64 --nodeps /builddir/build/SPECS/iniparser.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-288210-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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ldvomtbw:/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.ldvomtbw:/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', '3f086b7ebf4d4377b81cedf26c411d0e', '-D', '/var/lib/mock/dist-ocs23-base-build-288210-27997/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ldvomtbw:/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 x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IU7WjV + 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.6TEfw8 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.fi5nMS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64 + cd iniparser-4.1 + install -d /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64/usr/include/iniparser /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64/usr/lib64 + install -m 644 -t /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64/usr/include/iniparser src/dictionary.h src/iniparser.h + ln -s iniparser/dictionary.h /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64/usr/include/dictionary.h + ln -s iniparser/iniparser.h /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64/usr/include/iniparser.h + install -m 755 -t /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64/usr/lib64/ libiniparser.so.1 + ln -s libiniparser.so.1 /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64/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.x86_64 --unique-debug-src-base iniparser-4.1-7.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/iniparser-4.1 extracting debug info from /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64/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.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Q98Lht + umask 022 + cd /builddir/build/BUILD + cd iniparser-4.1 + DOCDIR=/builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64/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.x86_64/usr/share/doc/iniparser + cp -pr README.md /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64/usr/share/doc/iniparser + cp -pr INSTALL /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64/usr/share/doc/iniparser + cp -pr AUTHORS /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64/usr/share/doc/iniparser + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.DMPB04 + umask 022 + cd /builddir/build/BUILD + cd iniparser-4.1 + LICENSEDIR=/builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64/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.x86_64/usr/share/licenses/iniparser + cp -pr LICENSE /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64/usr/share/licenses/iniparser + RPM_EC=0 ++ jobs -p + exit 0 Provides: iniparser = 4.1-7.ocs23 iniparser(x86-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: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH) Processing files: iniparser-devel-4.1-7.ocs23.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HuFmJV + umask 022 + cd /builddir/build/BUILD + cd iniparser-4.1 + LICENSEDIR=/builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64/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.x86_64/usr/share/licenses/iniparser-devel + cp -pr LICENSE /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64/usr/share/licenses/iniparser-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: iniparser-devel = 4.1-7.ocs23 iniparser-devel(x86-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.x86_64 Provides: iniparser-debugsource = 4.1-7.ocs23 iniparser-debugsource(x86-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.x86_64 Provides: debuginfo(build-id) = ff3480ed9a183fc3b724d2eada429262d8307954 iniparser-debuginfo = 4.1-7.ocs23 iniparser-debuginfo(x86-64) = 4.1-7.ocs23 libiniparser.so.1-4.1-7.ocs23.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: iniparser-debugsource(x86-64) = 4.1-7.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/iniparser-4.1-7.ocs23.x86_64 Wrote: /builddir/build/RPMS/iniparser-devel-4.1-7.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/iniparser-4.1-7.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/iniparser-debugsource-4.1-7.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/iniparser-debuginfo-4.1-7.ocs23.x86_64.rpm Child return code was: 0