Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/annobin.spec'], chrootPath='/var/lib/mock/dist-an27-build-527704-79680/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=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/annobin.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 217: %(gcc --version | head -n 1 | sed -e 's|.*(Anolis\ OS\ ||g' -e 's|)$||g') Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1776384000 Wrote: /builddir/build/SRPMS/annobin-2.93-1.an27.src.rpm RPM build warnings: Macro expanded in comment on line 217: %(gcc --version | head -n 1 | sed -e 's|.*(Anolis\ OS\ ||g' -e 's|)$||g') Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/annobin.spec'], chrootPath='/var/lib/mock/dist-an27-build-527704-79680/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=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/annobin.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 217: %(gcc --version | head -n 1 | sed -e 's|.*(Anolis\ OS\ ||g' -e 's|)$||g') Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1776384000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nzvQXj + umask 022 + cd /builddir/build/BUILD Requires: (gcc >= 12 and gcc < 13) + '[' -z 12.3.0-16 ']' + echo 'Requires: (gcc >= 12 and gcc < 13)' + cd /builddir/build/BUILD + rm -rf annobin-2.93 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/annobin-12.93.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd annobin-2.93 /var/tmp/rpm-tmp.nzvQXj: line 45: cd: annobin-2.93: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.nzvQXj (%prep) Macro expanded in comment on line 217: %(gcc --version | head -n 1 | sed -e 's|.*(Anolis\ OS\ ||g' -e 's|)$||g') RPM build warnings: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.nzvQXj (%prep) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/annobin.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/annobin.spec'