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-23.03-x86_64-1695804838.322408/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=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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead 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-23.03-x86_64-1695804838.322408/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=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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead 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-23.03-x86_64-1695804838.322408/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=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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False 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.6qqI8K + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyporter-v1.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pyporter-v1.2.tar.gz + 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.BNrJ7t + 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 Preparing metadata (pyproject.toml) running dist_info creating /tmp/pip-modern-metadata-guvfhcic/UNKNOWN.egg-info writing /tmp/pip-modern-metadata-guvfhcic/UNKNOWN.egg-info/PKG-INFO writing dependency_links to /tmp/pip-modern-metadata-guvfhcic/UNKNOWN.egg-info/dependency_links.txt writing top-level names to /tmp/pip-modern-metadata-guvfhcic/UNKNOWN.egg-info/top_level.txt writing manifest file '/tmp/pip-modern-metadata-guvfhcic/UNKNOWN.egg-info/SOURCES.txt' reading manifest file '/tmp/pip-modern-metadata-guvfhcic/UNKNOWN.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file '/tmp/pip-modern-metadata-guvfhcic/UNKNOWN.egg-info/SOURCES.txt' creating '/tmp/pip-modern-metadata-guvfhcic/UNKNOWN.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: UNKNOWN Building wheel for UNKNOWN (pyproject.toml): started Running command Building wheel for UNKNOWN (pyproject.toml) 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.10.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/UNKNOWN-0.0.0.dist-info/WHEEL creating '/tmp/pip-wheel-_521ibi8/tmpvxt4foo4/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=5078 sha256=b69900dd87a03b21342b0213f57dea201d1143530ff585352855ba265604364b Stored in directory: /builddir/.cache/pip/wheels/a8/60/c2/35088b2be8dc634dae7463ae1398c576c7b55cc816aa38a802 Successfully built UNKNOWN + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xNXAoC + 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 22.3.1 from /usr/lib/python3.10/site-packages/pip (python 3.10) 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 + touch filelist.lst + '[' -d usr/lib64 ']' + '[' -d usr/bin ']' ~/build/BUILD/pyporter-v1.2 + '[' -d usr/sbin ']' + popd + mv /builddir/build/BUILDROOT/pyporter-1.2-1.x86_64/filelist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 1.2-1 --unique-debug-suffix -1.2-1.x86_64 --unique-debug-src-base pyporter-1.2-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/pyporter-v1.2 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/pyporter-1.2-1.x86_64/usr/lib/python3.10 using /usr/bin/python3.10 + /usr/lib/rpm/brp-python-hardlink Processing files: python3-pyporter-1.2-1.noarch RPM build errors: error: Empty %files file /builddir/build/BUILD/pyporter-v1.2/filelist.lst bad date in %changelog: Wed Sept 27 2023 LukeLIN-web <1263810658@qq.com> - 1.2-1 Empty %files file /builddir/build/BUILD/pyporter-v1.2/filelist.lst 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