Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-rpmautospec.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1679901090.777931/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=0uid=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-rpmautospec.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 /etc/profile.d/system-info.sh: line 55: ps: command not found warning: line 8: Possible unexpanded macro in: Release: %autorelease warning: line 8: Possible unexpanded macro in: Release: %autorelease warning: line 45: Possible unexpanded macro in: Provides: python-rpmautospec = 0.3.5-%autorelease warning: line 45: Possible unexpanded macro in: Obsoletes: python-rpmautospec < 0.3.5-%autorelease warning: line 68: Possible unexpanded macro in: Requires: python3-rpmautospec = 0.3.5-%autorelease warning: line 80: Possible unexpanded macro in: Requires: python3-rpmautospec = 0.3.5-%autorelease error: bad date in %changelog: Mon Mar 27 lichaoran - 0.3.5-1 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-rpmautospec-0.3.5-%autorelease.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-rpmautospec.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1679901090.777931/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=0uid=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-rpmautospec.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 /etc/profile.d/system-info.sh: line 55: ps: command not found warning: line 8: Possible unexpanded macro in: Release: %autorelease warning: line 8: Possible unexpanded macro in: Release: %autorelease warning: line 45: Possible unexpanded macro in: Provides: python-rpmautospec = 0.3.5-%autorelease warning: line 45: Possible unexpanded macro in: Obsoletes: python-rpmautospec < 0.3.5-%autorelease warning: line 68: Possible unexpanded macro in: Requires: python3-rpmautospec = 0.3.5-%autorelease warning: line 80: Possible unexpanded macro in: Requires: python3-rpmautospec = 0.3.5-%autorelease error: bad date in %changelog: Mon Mar 27 lichaoran - 0.3.5-1 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-rpmautospec-0.3.5-%autorelease.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-rpmautospec.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1679901090.777931/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=0uid=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-rpmautospec.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 /etc/profile.d/system-info.sh: line 55: ps: command not found warning: line 8: Possible unexpanded macro in: Release: %autorelease warning: line 8: Possible unexpanded macro in: Release: %autorelease warning: line 45: Possible unexpanded macro in: Provides: python-rpmautospec = 0.3.5-%autorelease warning: line 45: Possible unexpanded macro in: Obsoletes: python-rpmautospec < 0.3.5-%autorelease warning: line 68: Possible unexpanded macro in: Requires: python3-rpmautospec = 0.3.5-%autorelease warning: line 80: Possible unexpanded macro in: Requires: python3-rpmautospec = 0.3.5-%autorelease error: bad date in %changelog: Mon Mar 27 lichaoran - 0.3.5-1 Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YIUy3L + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpmautospec-0.3.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/rpmautospec-0.3.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rpmautospec-0.3.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i /koji/d requirements.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zzxf9c + umask 022 + cd /builddir/build/BUILD + cd rpmautospec-0.3.5 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/rpmautospec copying rpmautospec/pager.py -> build/lib/rpmautospec copying rpmautospec/pkg_history.py -> build/lib/rpmautospec copying rpmautospec/version.py -> build/lib/rpmautospec copying rpmautospec/changelog.py -> build/lib/rpmautospec copying rpmautospec/misc.py -> build/lib/rpmautospec copying rpmautospec/__init__.py -> build/lib/rpmautospec copying rpmautospec/cli.py -> build/lib/rpmautospec running egg_info writing rpmautospec.egg-info/PKG-INFO writing dependency_links to rpmautospec.egg-info/dependency_links.txt writing entry points to rpmautospec.egg-info/entry_points.txt writing requirements to rpmautospec.egg-info/requires.txt writing top-level names to rpmautospec.egg-info/top_level.txt reading manifest file 'rpmautospec.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' under directory 'rpmautospec' warning: no files found matching '*.conf' under directory 'koji_plugins' warning: manifest_maker: MANIFEST.in, line 10: unknown action 'recursive-excludes' adding license file 'LICENSE' writing manifest file 'rpmautospec.egg-info/SOURCES.txt' creating build/lib/rpmautospec/subcommands copying rpmautospec/subcommands/__init__.py -> build/lib/rpmautospec/subcommands copying rpmautospec/subcommands/changelog.py -> build/lib/rpmautospec/subcommands copying rpmautospec/subcommands/convert.py -> build/lib/rpmautospec/subcommands copying rpmautospec/subcommands/process_distgit.py -> build/lib/rpmautospec/subcommands copying rpmautospec/subcommands/release.py -> build/lib/rpmautospec/subcommands + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BzQmS2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64 ++ dirname /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64 + cd rpmautospec-0.3.5 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64 running install /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr creating /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib creating /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec copying build/lib/rpmautospec/pager.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec copying build/lib/rpmautospec/pkg_history.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec copying build/lib/rpmautospec/version.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec copying build/lib/rpmautospec/changelog.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec copying build/lib/rpmautospec/misc.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec creating /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec/subcommands copying build/lib/rpmautospec/subcommands/process_distgit.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec/subcommands copying build/lib/rpmautospec/subcommands/changelog.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec/subcommands copying build/lib/rpmautospec/subcommands/release.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec/subcommands copying build/lib/rpmautospec/subcommands/__init__.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec/subcommands copying build/lib/rpmautospec/subcommands/convert.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec/subcommands copying build/lib/rpmautospec/__init__.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec copying build/lib/rpmautospec/cli.py -> /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec/pager.py to pager.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec/pkg_history.py to pkg_history.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec/version.py to version.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec/changelog.py to changelog.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec/misc.py to misc.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec/subcommands/process_distgit.py to process_distgit.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec/subcommands/changelog.py to changelog.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec/subcommands/release.py to release.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec/subcommands/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec/subcommands/convert.py to convert.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec/cli.py to cli.cpython-39.pyc writing byte-compilation script '/tmp/tmpq_33dy3g.py' /usr/bin/python3 /tmp/tmpq_33dy3g.py removing /tmp/tmpq_33dy3g.py running install_egg_info running egg_info writing rpmautospec.egg-info/PKG-INFO writing dependency_links to rpmautospec.egg-info/dependency_links.txt writing entry points to rpmautospec.egg-info/entry_points.txt writing requirements to rpmautospec.egg-info/requires.txt writing top-level names to rpmautospec.egg-info/top_level.txt reading manifest file 'rpmautospec.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' under directory 'rpmautospec' warning: no files found matching '*.conf' under directory 'koji_plugins' warning: manifest_maker: MANIFEST.in, line 10: unknown action 'recursive-excludes' adding license file 'LICENSE' writing manifest file 'rpmautospec.egg-info/SOURCES.txt' Copying rpmautospec.egg-info to /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/python3.9/site-packages/rpmautospec-0.3.5-py3.9.egg-info running install_scripts Installing rpmautospec script to /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/bin + mkdir -p /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/koji-builder-plugins/ + install -m 0644 koji_plugins/rpmautospec_builder.py /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/koji-builder-plugins/ + python_binary='%{python3}' + bytecode_compilation_path=/builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/koji-builder-plugins/ + find /builddir/build/BUILDROOT/python-rpmautospec-0.3.5-%autorelease.aarch64/usr/lib/koji-builder-plugins/ -type f -a -name '*.py' -print0 + xargs -0 '%{python3}' -O -m py_compile xargs: %{python3}: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.BzQmS2 (%install) RPM build errors: line 8: Possible unexpanded macro in: Release: %autorelease line 8: Possible unexpanded macro in: Release: %autorelease line 45: Possible unexpanded macro in: Provides: python-rpmautospec = 0.3.5-%autorelease line 45: Possible unexpanded macro in: Obsoletes: python-rpmautospec < 0.3.5-%autorelease line 68: Possible unexpanded macro in: Requires: python3-rpmautospec = 0.3.5-%autorelease line 80: Possible unexpanded macro in: Requires: python3-rpmautospec = 0.3.5-%autorelease bad date in %changelog: Mon Mar 27 lichaoran - 0.3.5-1 Bad exit status from /var/tmp/rpm-tmp.BzQmS2 (%install) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-rpmautospec.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 --target aarch64 --nodeps /builddir/build/SPECS/python-rpmautospec.spec