Mock Version: 1.4.14 Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/NLopt.spec'], chrootPath='/var/lib/mock/f31-build-49128-27243/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/NLopt.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': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 9: %endif # (0%{?fedora} && 0%{?fedora} < 30) || 0%{?rhel} == 7 BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 12: %endif # 0%{?fedora} || 0%{?rhel} >= 8 BUILDSTDERR: Please specify at least one package name on the command line. BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 123: %endif # 0%{?with_guile} BUILDSTDERR: sh: octave-config: command not found BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 151: %endif # 0%{?with_octave} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 169: %endif # 0%{?with_py} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 186: %endif # 0%{?with_py3} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 220: %endif # 0%{?with_py3} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 227: %endif # 0%{?fedora} || 0%{?rhel} >= 7 BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 256: %endif # 0%{?with_py3} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 268: %endif # 0%{?with_py3} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 298: %endif # 0%{?with_octave} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 310: %endif # 0%{?with_py3} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 340: %endif # 0%{?fedora} || 0%{?rhel} >= 7 BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 341: %endif # 0%{?with_octave} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 362: %endif # 0%{?with_guile} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 368: %endif # 0%{?with_octave} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 373: %endif # 0%{?with_py} BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 380: %endif # 0%{?with_py3} Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1560643200 Wrote: /builddir/build/SRPMS/NLopt-2.6.1-1.fc31.src.rpm Child return code was: 0