Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target x86_64 --nodeps /builddir/build/SPECS/pyporter.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1695804297.284431/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f8adb6297f0>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target x86_64 --nodeps /builddir/build/SPECS/pyporter.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
/etc/profile.d/system-info.sh: line 55: ps: command not found
error: bad date in %changelog: Wed Sept 27 2023 LukeLIN-web <1263810658@qq.com> - 1.2-1
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/pyporter-1.2-1.src.rpm
Child return code was: 0
Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target x86_64 --nodeps /builddir/build/SPECS/pyporter.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1695804297.284431/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fa2b77387f0>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target x86_64 --nodeps /builddir/build/SPECS/pyporter.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
/etc/profile.d/system-info.sh: line 55: ps: command not found
error: bad date in %changelog: Wed Sept 27 2023 LukeLIN-web <1263810658@qq.com> - 1.2-1
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/pyporter-1.2-1.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb  --target x86_64 --nodeps /builddir/build/SPECS/pyporter.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1695804297.284431/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fa2b77387f0>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb  --target x86_64 --nodeps /builddir/build/SPECS/pyporter.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
/etc/profile.d/system-info.sh: line 55: ps: command not found
error: bad date in %changelog: Wed Sept 27 2023 LukeLIN-web <1263810658@qq.com> - 1.2-1
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eqZzmN
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf pyporter-v1.2
+ /usr/bin/gzip -dc /builddir/build/SOURCES/pyporter-v1.2.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pyporter-v1.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AJRcCR
+ umask 022
+ cd /builddir/build/BUILD
+ cd pyporter-v1.2
+ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection '
+ LDFLAGS='-Wl,-z,relro   -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld'
+ /usr/bin/python3 -mpip wheel --verbose --progress-bar off --disable-pip-version-check --use-pep517 --no-build-isolation --no-deps --wheel-dir ./build .
Processing /builddir/build/BUILD/pyporter-v1.2
  Preparing metadata (pyproject.toml): started
  Running command /usr/bin/python3 /usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpxf80y1uk
  running dist_info
  creating /tmp/pip-modern-metadata-w1ywgk2n/UNKNOWN.egg-info
  writing /tmp/pip-modern-metadata-w1ywgk2n/UNKNOWN.egg-info/PKG-INFO
  writing dependency_links to /tmp/pip-modern-metadata-w1ywgk2n/UNKNOWN.egg-info/dependency_links.txt
  writing top-level names to /tmp/pip-modern-metadata-w1ywgk2n/UNKNOWN.egg-info/top_level.txt
  writing manifest file '/tmp/pip-modern-metadata-w1ywgk2n/UNKNOWN.egg-info/SOURCES.txt'
  reading manifest file '/tmp/pip-modern-metadata-w1ywgk2n/UNKNOWN.egg-info/SOURCES.txt'
  adding license file 'LICENSE'
  writing manifest file '/tmp/pip-modern-metadata-w1ywgk2n/UNKNOWN.egg-info/SOURCES.txt'
  creating '/tmp/pip-modern-metadata-w1ywgk2n/UNKNOWN.dist-info'
  adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: UNKNOWN
  Building wheel for UNKNOWN (pyproject.toml): started
  Running command /usr/bin/python3 /usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmp176b7q0r
  running bdist_wheel
  running build
  installing to build/bdist.linux-x86_64/wheel
  running install
  running install_egg_info
  running egg_info
  creating UNKNOWN.egg-info
  writing UNKNOWN.egg-info/PKG-INFO
  writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
  writing top-level names to UNKNOWN.egg-info/top_level.txt
  writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
  reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
  adding license file 'LICENSE'
  writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
  Copying UNKNOWN.egg-info to build/bdist.linux-x86_64/wheel/UNKNOWN-0.0.0-py3.9.egg-info
  running install_scripts
  adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
  creating build/bdist.linux-x86_64/wheel/UNKNOWN-0.0.0.dist-info/WHEEL
  creating '/tmp/pip-wheel-04leh20d/tmphsfumw_v/UNKNOWN-0.0.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
  adding 'UNKNOWN-0.0.0.dist-info/LICENSE'
  adding 'UNKNOWN-0.0.0.dist-info/METADATA'
  adding 'UNKNOWN-0.0.0.dist-info/WHEEL'
  adding 'UNKNOWN-0.0.0.dist-info/top_level.txt'
  adding 'UNKNOWN-0.0.0.dist-info/RECORD'
  removing build/bdist.linux-x86_64/wheel
  Building wheel for UNKNOWN (pyproject.toml): finished with status 'done'
  Created wheel for UNKNOWN: filename=UNKNOWN-0.0.0-py3-none-any.whl size=5089 sha256=02e49a721fa816ff533f168c6d0dc66d8d2d5f994c9b90b76f57aa2a24d3476f
  Stored in directory: /builddir/.cache/pip/wheels/2b/f7/cf/b70a7b843aa01ed447234cf559e96245cb9bc8fddd4f864ae0
Successfully built UNKNOWN
+ sleep 1
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xryAOi
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/pyporter-1.2-1.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/pyporter-1.2-1.x86_64
++ dirname /builddir/build/BUILDROOT/pyporter-1.2-1.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/pyporter-1.2-1.x86_64
+ cd pyporter-v1.2
++ ls ./build/UNKNOWN-0.0.0-py3-none-any.whl
++ xargs basename --multiple
++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/'
+ specifier=UNKNOWN==0.0.0
+ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection '
+ LDFLAGS='-Wl,-z,relro   -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld'
+ /usr/bin/python3 -mpip install --verbose --progress-bar off --disable-pip-version-check --root /builddir/build/BUILDROOT/pyporter-1.2-1.x86_64 --no-compile --ignore-installed --no-deps --no-index --find-links ./build UNKNOWN==0.0.0
Using pip 21.3.1 from /usr/lib/python3.9/site-packages/pip (python 3.9)
Looking in links: ./build
Processing ./build/UNKNOWN-0.0.0-py3-none-any.whl
Installing collected packages: UNKNOWN
Successfully installed UNKNOWN-0.0.0
+ install -d -m755 /builddir/build/BUILDROOT/pyporter-1.2-1.x86_64//usr/share/doc/pyporter
+ pushd /builddir/build/BUILDROOT/pyporter-1.2-1.x86_64
~/build/BUILDROOT/pyporter-1.2-1.x86_64 ~/build/BUILD/pyporter-v1.2
/var/tmp/rpm-tmp.xryAOi: line 45: syntax error near unexpected token `"touch filelist.lst"'
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.xryAOi (%install)
    bad date in %changelog: Wed Sept 27 2023 LukeLIN-web <1263810658@qq.com> - 1.2-1
    Bad exit status from /var/tmp/rpm-tmp.xryAOi (%install)
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb  --target x86_64 --nodeps /builddir/build/SPECS/pyporter.spec\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.9/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 x86_64 --nodeps /builddir/build/SPECS/pyporter.spec