Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-pyotp.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1734593442.365892/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 aarch64 --nodeps /builddir/build/SPECS/python-pyotp.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 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-pyotp-2.9.0-1.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-pyotp.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1734593442.365892/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 aarch64 --nodeps /builddir/build/SPECS/python-pyotp.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 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-pyotp-2.9.0-1.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-pyotp.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-aarch64-1734593442.365892/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 aarch64 --nodeps /builddir/build/SPECS/python-pyotp.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 Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wgcSA2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyotp-2.9.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pyotp-2.9.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pyotp-2.9.0 + /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.afE1GQ + umask 022 + cd /builddir/build/BUILD + cd pyotp-2.9.0 + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -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/pyotp copying src/pyotp/__init__.py -> build/lib/pyotp copying src/pyotp/compat.py -> build/lib/pyotp copying src/pyotp/hotp.py -> build/lib/pyotp copying src/pyotp/otp.py -> build/lib/pyotp copying src/pyotp/totp.py -> build/lib/pyotp copying src/pyotp/utils.py -> build/lib/pyotp creating build/lib/pyotp/contrib copying src/pyotp/contrib/__init__.py -> build/lib/pyotp/contrib copying src/pyotp/contrib/steam.py -> build/lib/pyotp/contrib copying src/pyotp/py.typed -> build/lib/pyotp + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2EsJ4d + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64 ++ dirname /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64 + cd pyotp-2.9.0 + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -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-pyotp-2.9.0-1.aarch64 running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr creating /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib creating /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp copying build/lib/pyotp/__init__.py -> /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp copying build/lib/pyotp/compat.py -> /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp copying build/lib/pyotp/hotp.py -> /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp copying build/lib/pyotp/otp.py -> /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp copying build/lib/pyotp/totp.py -> /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp copying build/lib/pyotp/utils.py -> /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp creating /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp/contrib copying build/lib/pyotp/contrib/__init__.py -> /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp/contrib copying build/lib/pyotp/contrib/steam.py -> /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp/contrib copying build/lib/pyotp/py.typed -> /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp byte-compiling /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp/compat.py to compat.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp/hotp.py to hotp.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp/otp.py to otp.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp/totp.py to totp.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp/utils.py to utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp/contrib/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp/contrib/steam.py to steam.cpython-311.pyc writing byte-compilation script '/tmp/tmp2x0rk8t1.py' /usr/bin/python3 /tmp/tmp2x0rk8t1.py removing /tmp/tmp2x0rk8t1.py running install_egg_info running egg_info writing src/pyotp.egg-info/PKG-INFO writing dependency_links to src/pyotp.egg-info/dependency_links.txt writing requirements to src/pyotp.egg-info/requires.txt writing top-level names to src/pyotp.egg-info/top_level.txt reading manifest file 'src/pyotp.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/pyotp.egg-info/SOURCES.txt' Copying src/pyotp.egg-info to /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11/site-packages/pyotp-2.9.0-py3.11.egg-info running install_scripts + install -d -m755 /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64//usr/share/doc/python-pyotp + '[' -d doc ']' ~/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64 ~/build/BUILD/pyotp-2.9.0 + '[' -d docs ']' + '[' -d example ']' + '[' -d examples ']' + pushd /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64 + '[' -d usr/lib ']' + find usr/lib -type f -printf '/%h/%f\n' + '[' -d usr/lib64 ']' + '[' -d usr/bin ']' + '[' -d usr/sbin ']' + touch doclist.lst + '[' -d usr/share/man ']' + popd ~/build/BUILD/pyotp-2.9.0 + mv /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/filelist.lst . + mv /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 2.9.0-1 --unique-debug-suffix -2.9.0-1.aarch64 --unique-debug-src-base python-pyotp-2.9.0-1.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/pyotp-2.9.0 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/python-pyotp-2.9.0-1.aarch64/usr/lib/python3.11 using /usr/bin/python3.11 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.lxcy3h + umask 022 + cd /builddir/build/BUILD + cd pyotp-2.9.0 + /usr/bin/python3 setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. /usr/lib/python3.11/site-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! ir_d = dist.fetch_build_eggs(dist.install_requires) /usr/lib/python3.11/site-packages/setuptools/command/test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! tr_d = dist.fetch_build_eggs(dist.tests_require or []) /usr/lib/python3.11/site-packages/setuptools/command/test.py:196: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! er_d = dist.fetch_build_eggs( running egg_info writing src/pyotp.egg-info/PKG-INFO writing dependency_links to src/pyotp.egg-info/dependency_links.txt writing requirements to src/pyotp.egg-info/requires.txt writing top-level names to src/pyotp.egg-info/top_level.txt reading manifest file 'src/pyotp.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/pyotp.egg-info/SOURCES.txt' running build_ext test_comparisons (test.CompareDigestTest.test_comparisons) ... ok test_counter_offset (test.CounterOffsetTest.test_counter_offset) ... ok test_invalid_input (test.HOTPExampleValuesFromTheRFC.test_invalid_input) ... ok test_match_rfc (test.HOTPExampleValuesFromTheRFC.test_match_rfc) ... ok test_other_secret (test.HOTPExampleValuesFromTheRFC.test_other_secret) ... ok test_provisioning_uri (test.HOTPExampleValuesFromTheRFC.test_provisioning_uri) ... ok test_verify_otp_reuse (test.HOTPExampleValuesFromTheRFC.test_verify_otp_reuse) ... ok test_algorithms (test.ParseUriTest.test_algorithms) ... ok test_invalids (test.ParseUriTest.test_invalids) ... ok test_parse_steam (test.ParseUriTest.test_parse_steam) ... ok test_match_examples (test.SteamTOTP.test_match_examples) ... ok test_verify (test.SteamTOTP.test_verify) ... ok test_comparisons (test.StringComparisonTest.test_comparisons) ... ok test_fullwidth_input (test.StringComparisonTest.test_fullwidth_input) ... ok test_unicode_equal (test.StringComparisonTest.test_unicode_equal) ... ok test_input_before_epoch (test.TOTPExampleValuesFromTheRFC.test_input_before_epoch) ... ok test_match_google_authenticator_output (test.TOTPExampleValuesFromTheRFC.test_match_google_authenticator_output) ... ok test_match_rfc (test.TOTPExampleValuesFromTheRFC.test_match_rfc) ... ok test_match_rfc_digit_length (test.TOTPExampleValuesFromTheRFC.test_match_rfc_digit_length) ... ok test_provisioning_uri (test.TOTPExampleValuesFromTheRFC.test_provisioning_uri) ... ok test_random_key_generation (test.TOTPExampleValuesFromTheRFC.test_random_key_generation) ... ok test_validate_totp (test.TOTPExampleValuesFromTheRFC.test_validate_totp) ... ok test_validate_totp_with_digit_length (test.TOTPExampleValuesFromTheRFC.test_validate_totp_with_digit_length) ... ok test_valid_window (test.ValidWindowTest.test_valid_window) ... ok ---------------------------------------------------------------------- Ran 24 tests in 0.013s OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-pyotp-2.9.0-1.noarch /usr/lib/rpm/pythondistdeps.py:105: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import Distribution, FileMetadata, PathMetadata, Requirement /usr/lib/rpm/pythondistdeps.py:105: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import Distribution, FileMetadata, PathMetadata, Requirement Provides: python-pyotp python3-pyotp = 2.9.0-1 python3.11dist(pyotp) = 2.9 python3dist(pyotp) = 2.9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.11 Processing files: python-pyotp-help-2.9.0-1.noarch warning: Empty %files file /builddir/build/BUILD/pyotp-2.9.0/doclist.lst Provides: python-pyotp-help = 2.9.0-1 python3-pyotp-doc Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64 Wrote: /builddir/build/RPMS/python-pyotp-help-2.9.0-1.noarch.rpm Wrote: /builddir/build/RPMS/python3-pyotp-2.9.0-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LXUTgN + umask 022 + cd /builddir/build/BUILD + cd pyotp-2.9.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-pyotp-2.9.0-1.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.BbKT05 + umask 022 + cd /builddir/build/BUILD + rm -rf pyotp-2.9.0 pyotp-2.9.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: Empty %files file /builddir/build/BUILD/pyotp-2.9.0/doclist.lst Child return code was: 0