Mock Version: 6.8 Using nspawn with args ['--capability=cap_ipc_lock', '--capability=cap_ipc_lock', '--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', '--resolv-conf=off'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f3f67c6beae548d1b05b4cbcfc0c29e2', '-D', '/var/lib/mock/centos-stream-10-aarch64-1788776123.674573/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--capability=cap_ipc_lock', '--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', '--resolv-conf=off', '--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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python3.15.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 558: %endif # with main_python warning: extra tokens at the end of %endif directive in line 799: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 938: %endif # with freethreading_build warning: extra tokens at the end of %endif directive in line 969: %endif # with freethreading_build && debug_build warning: extra tokens at the end of %endif directive in line 1186: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1196: %endif # with freethreading_build && debug_build warning: extra tokens at the end of %endif directive in line 1202: %endif # with freethreading_build warning: extra tokens at the end of %endif directive in line 1295: %endif # with freethreading_build && debug_build warning: extra tokens at the end of %endif directive in line 1302: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1310: %endif # with freethreading_build warning: extra tokens at the end of %endif directive in line 1332: %endif # with freethreading_build warning: extra tokens at the end of %endif directive in line 1578: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 1582: %endif # with freethreading_build && debug_build warning: extra tokens at the end of %endif directive in line 1585: %endif # with freethreading_build warning: extra tokens at the end of %endif directive in line 1587: %endif # with tests warning: extra tokens at the end of %endif directive in line 1924: %endif # with debug_build warning: extra tokens at the end of %endif directive in line 2025: %endif # with freethreading_build warning: extra tokens at the end of %endif directive in line 2054: %endif # with freethreading_build && debug_build Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1788739200 RPM build warnings: RPM build errors: error: Bad file: /builddir/build/SOURCES/Python-3.15.0rc2-x86_64-optimized-jit_stencils.h: No such file or directory error: Bad file: /builddir/build/SOURCES/Python-3.15.0rc2-x86_64-debug-jit_stencils.h: No such file or directory error: Bad file: /builddir/build/SOURCES/Python-3.15.0rc2-aarch64-optimized-jit_stencils.h: No such file or directory error: Bad file: /builddir/build/SOURCES/Python-3.15.0rc2-aarch64-debug-jit_stencils.h: No such file or directory extra tokens at the end of %endif directive in line 558: %endif # with main_python extra tokens at the end of %endif directive in line 799: %endif # with debug_build extra tokens at the end of %endif directive in line 938: %endif # with freethreading_build extra tokens at the end of %endif directive in line 969: %endif # with freethreading_build && debug_build extra tokens at the end of %endif directive in line 1186: %endif # with debug_build extra tokens at the end of %endif directive in line 1196: %endif # with freethreading_build && debug_build extra tokens at the end of %endif directive in line 1202: %endif # with freethreading_build extra tokens at the end of %endif directive in line 1295: %endif # with freethreading_build && debug_build extra tokens at the end of %endif directive in line 1302: %endif # with debug_build extra tokens at the end of %endif directive in line 1310: %endif # with freethreading_build extra tokens at the end of %endif directive in line 1332: %endif # with freethreading_build extra tokens at the end of %endif directive in line 1578: %endif # with debug_build extra tokens at the end of %endif directive in line 1582: %endif # with freethreading_build && debug_build extra tokens at the end of %endif directive in line 1585: %endif # with freethreading_build extra tokens at the end of %endif directive in line 1587: %endif # with tests extra tokens at the end of %endif directive in line 1924: %endif # with debug_build extra tokens at the end of %endif directive in line 2025: %endif # with freethreading_build extra tokens at the end of %endif directive in line 2054: %endif # with freethreading_build && debug_build Bad file: /builddir/build/SOURCES/Python-3.15.0rc2-x86_64-optimized-jit_stencils.h: No such file or directory Bad file: /builddir/build/SOURCES/Python-3.15.0rc2-x86_64-debug-jit_stencils.h: No such file or directory Bad file: /builddir/build/SOURCES/Python-3.15.0rc2-aarch64-optimized-jit_stencils.h: No such file or directory Bad file: /builddir/build/SOURCES/Python-3.15.0rc2-aarch64-debug-jit_stencils.h: No such file or directory Child return code was: 1