Mock Version: 5.6
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target ppc64le --nodeps /builddir/build/SPECS/rubygem-narray.spec'], chrootPath='/var/lib/mock/fedora-39-ppc64le-1721420990.791515/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fff917677d0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pfinlzcz:/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']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pfinlzcz:/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', '925a0fc78bf64af2b16449962f619f4d', '-D', '/var/lib/mock/fedora-39-ppc64le-1721420990.791515/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pfinlzcz:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target ppc64le --nodeps /builddir/build/SPECS/rubygem-narray.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
sh: line 1: ruby: command not found
sh: line 1: ruby: command not found
warning: extra tokens at the end of %else directive in line 31:  %else #0%{?fedora} >= 19 || 0%{?rhel} >= 7
warning: extra tokens at the end of %endif directive in line 34:  %endif #0%{?fedora} >= 19 || 0%{?rhel} >= 7
warning: extra tokens at the end of %endif directive in line 39:  %endif #0%{?fedora} && 0%{?fedora} <= 22
warning: extra tokens at the end of %else directive in line 59:  %else #(0%{?fedora} && 0%{?fedora} <= 20) || 0%{?rhel} == 7
warning: extra tokens at the end of %endif directive in line 61:  %endif #(0%{?fedora} && 0%{?fedora} <= 20) || 0%{?rhel} == 7
warning: extra tokens at the end of %endif directive in line 67:  %endif #0%{?fedora} && 0%{?fedora} <= 22
warning: extra tokens at the end of %else directive in line 81:  %else #0%{?fedora} || 0%{?rhel} >= 6
warning: extra tokens at the end of %endif directive in line 87:  %endif #0%{?fedora} || 0%{?rhel} >= 6
warning: extra tokens at the end of %endif directive in line 108:  %endif #(0%{?fedora} && 0%{?fedora} <= 20) || (0%{?rhel} && 0%{?rhel} <= 7)
warning: extra tokens at the end of %endif directive in line 121:  %endif #0%{?fedora} >= 21 || 0%{?rhel} >= 8
warning: extra tokens at the end of %endif directive in line 128:  %endif #0%{?rhel} && 0%{?rhel} <= 6
warning: extra tokens at the end of %else directive in line 140:  %else #0%{?fedora} >= 21 || 0%{?rhel} >= 8
warning: extra tokens at the end of %endif directive in line 143:  %endif #0%{?fedora} >= 21 || 0%{?rhel} >= 8
warning: extra tokens at the end of %else directive in line 146:  %else #0%{?fedora} >= 19 || 0%{?rhel} >= 7
warning: extra tokens at the end of %endif directive in line 148:  %endif #0%{?fedora} >= 19 || 0%{?rhel} >= 7
warning: extra tokens at the end of %else directive in line 157:  %else #0%{?fedora} >= 21 || 0%{?rhel} >= 8
warning: extra tokens at the end of %endif directive in line 159:  %endif #0%{?fedora} >= 21 || 0%{?rhel} >= 8
Building target platforms: ppc64le
Building for target ppc64le
setting SOURCE_DATE_EPOCH=1721347200
Wrote: /builddir/build/SRPMS/rubygem-narray-0.6.1.1-31.fc39.src.rpm
RPM build warnings:
    extra tokens at the end of %else directive in line 31:  %else #0%{?fedora} >= 19 || 0%{?rhel} >= 7
    extra tokens at the end of %endif directive in line 34:  %endif #0%{?fedora} >= 19 || 0%{?rhel} >= 7
    extra tokens at the end of %endif directive in line 39:  %endif #0%{?fedora} && 0%{?fedora} <= 22
    extra tokens at the end of %else directive in line 59:  %else #(0%{?fedora} && 0%{?fedora} <= 20) || 0%{?rhel} == 7
    extra tokens at the end of %endif directive in line 61:  %endif #(0%{?fedora} && 0%{?fedora} <= 20) || 0%{?rhel} == 7
    extra tokens at the end of %endif directive in line 67:  %endif #0%{?fedora} && 0%{?fedora} <= 22
    extra tokens at the end of %else directive in line 81:  %else #0%{?fedora} || 0%{?rhel} >= 6
    extra tokens at the end of %endif directive in line 87:  %endif #0%{?fedora} || 0%{?rhel} >= 6
    extra tokens at the end of %endif directive in line 108:  %endif #(0%{?fedora} && 0%{?fedora} <= 20) || (0%{?rhel} && 0%{?rhel} <= 7)
    extra tokens at the end of %endif directive in line 121:  %endif #0%{?fedora} >= 21 || 0%{?rhel} >= 8
    extra tokens at the end of %endif directive in line 128:  %endif #0%{?rhel} && 0%{?rhel} <= 6
    extra tokens at the end of %else directive in line 140:  %else #0%{?fedora} >= 21 || 0%{?rhel} >= 8
    extra tokens at the end of %endif directive in line 143:  %endif #0%{?fedora} >= 21 || 0%{?rhel} >= 8
    extra tokens at the end of %else directive in line 146:  %else #0%{?fedora} >= 19 || 0%{?rhel} >= 7
    extra tokens at the end of %endif directive in line 148:  %endif #0%{?fedora} >= 19 || 0%{?rhel} >= 7
    extra tokens at the end of %else directive in line 157:  %else #0%{?fedora} >= 21 || 0%{?rhel} >= 8
    extra tokens at the end of %endif directive in line 159:  %endif #0%{?fedora} >= 21 || 0%{?rhel} >= 8
Child return code was: 0