Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/icinga2.spec'], chrootPath='/var/lib/mock/centos-stream+epel-10-x86_64-1731505874.818611/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=0uid=1001gid=135user='mockbuild'unshare_net=TrueprintOutput=Truenspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oofcivpk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oofcivpk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'c62d7dbfd8fe4bbaa56c492bb085a9aa', '-D', '/var/lib/mock/centos-stream+epel-10-x86_64-1731505874.818611/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oofcivpk:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --target x86_64 --nodeps /builddir/build/SPECS/icinga2.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 warning: extra tokens at the end of %endif directive in line 89: %endif # suse warning: extra tokens at the end of %endif directive in line 152: %endif # suse_version < 1320 warning: extra tokens at the end of %else directive in line 162: %else # suse_version >= 1315 warning: extra tokens at the end of %endif directive in line 165: %endif # suse_version >= 1315 warning: extra tokens at the end of %else directive in line 166: %else # vendor == suse - assuming redhat or compatible warning: extra tokens at the end of %endif directive in line 175: %endif # el7 warning: extra tokens at the end of %endif directive in line 176: %endif # vendor == suse warning: extra tokens at the end of %endif directive in line 180: %endif # boost_devel_pkg warning: extra tokens at the end of %endif directive in line 249: %endif #suse warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) warning: extra tokens at the end of %endif directive in line 411: %endif # boost_rpath warning: extra tokens at the end of %endif directive in line 422: %endif # boost_library Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1731369600 Wrote: /builddir/build/SRPMS/icinga2-2.14.3-0.el10.cubbi1.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 89: %endif # suse extra tokens at the end of %endif directive in line 152: %endif # suse_version < 1320 extra tokens at the end of %else directive in line 162: %else # suse_version >= 1315 extra tokens at the end of %endif directive in line 165: %endif # suse_version >= 1315 extra tokens at the end of %else directive in line 166: %else # vendor == suse - assuming redhat or compatible extra tokens at the end of %endif directive in line 175: %endif # el7 extra tokens at the end of %endif directive in line 176: %endif # vendor == suse extra tokens at the end of %endif directive in line 180: %endif # boost_devel_pkg extra tokens at the end of %endif directive in line 249: %endif #suse %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) extra tokens at the end of %endif directive in line 411: %endif # boost_rpath extra tokens at the end of %endif directive in line 422: %endif # boost_library Child return code was: 0