Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/rubygem-narray.spec'], chrootPath='/var/lib/mock/f40-build-772477-126420/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} 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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1704240000 Wrote: /builddir/build/SRPMS/rubygem-narray-0.6.1.1-29.fc40.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