Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/lua-argparse.spec'], chrootPath='/var/lib/mock/f39-build-1577200-37955/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/lua-argparse.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: lua: command not found warning: Macro expanded in comment on line 2: %{!?luaver: %%global luaver %(lua -e "print(string.sub(_VERSION, 5))")} warning: Macro expanded in comment on line 2: %{!?luaver: %%global luaver %(lua -e "print(string.sub(_VERSION, 5))")} Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/lua-argparse-0.6.0-8.fc39.src.rpm RPM build warnings: Macro expanded in comment on line 2: %{!?luaver: %%global luaver %(lua -e "print(string.sub(_VERSION, 5))")} Macro expanded in comment on line 2: %{!?luaver: %%global luaver %(lua -e "print(string.sub(_VERSION, 5))")} Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/lua-argparse.spec'], chrootPath='/var/lib/mock/f39-build-1577200-37955/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/lua-argparse.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 warning: Macro expanded in comment on line 2: %{!?luaver: %%global luaver %(lua -e "print(string.sub(_VERSION, 5))")} warning: Macro expanded in comment on line 2: %{!?luaver: %%global luaver %(lua -e "print(string.sub(_VERSION, 5))")} Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.V0yAFY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf argparse-412e6aca393e365f92c0315dfe50181b193f1ace + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lua-argparse-0.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd argparse-412e6aca393e365f92c0315dfe50181b193f1ace + rm -rf /builddir/build/BUILD/argparse-412e6aca393e365f92c0315dfe50181b193f1ace-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/argparse-412e6aca393e365f92c0315dfe50181b193f1ace-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf doc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3YKb0b + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd argparse-412e6aca393e365f92c0315dfe50181b193f1ace + sphinx-build-3 -b html -d build/doctree docsrc doc Running Sphinx v6.2.1 making output directory... done building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 10 source files that are out of date updating environment: [new config] 10 added, 0 changed, 0 removed reading sources... [ 10%] arguments reading sources... [ 20%] callbacks reading sources... [ 30%] commands reading sources... [ 40%] defaults reading sources... [ 50%] index reading sources... [ 60%] messages reading sources... [ 70%] misc reading sources... [ 80%] mutexes reading sources... [ 90%] options reading sources... [100%] parsers looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 10%] arguments writing output... [ 20%] callbacks writing output... [ 30%] commands writing output... [ 40%] defaults writing output... [ 50%] index writing output... [ 60%] messages writing output... [ 70%] misc writing output... [ 80%] mutexes writing output... [ 90%] options writing output... [100%] parsers generating indices... genindex done writing additional pages... search done copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded. The HTML pages are in doc. + rm -rf doc/_static/fonts + rm -rf doc/.buildinfo + dos2unix doc/_static/jquery.js dos2unix: doc/_static/jquery.js: No such file or directory dos2unix: Skipping doc/_static/jquery.js, not a regular file. error: Bad exit status from /var/tmp/rpm-tmp.3YKb0b (%build) RPM build warnings: RPM build errors: Macro expanded in comment on line 2: %{!?luaver: %%global luaver %(lua -e "print(string.sub(_VERSION, 5))")} Macro expanded in comment on line 2: %{!?luaver: %%global luaver %(lua -e "print(string.sub(_VERSION, 5))")} Bad exit status from /var/tmp/rpm-tmp.3YKb0b (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/lua-argparse.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/lua-argparse.spec