Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-dateutil.spec'], chrootPath='/var/lib/mock/dist-an23-build-199673-60961/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-dateutil.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1646870400 Wrote: /builddir/build/SRPMS/python-dateutil-2.8.2-1.an23.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/python-dateutil.spec'], chrootPath='/var/lib/mock/dist-an23-build-199673-60961/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-dateutil.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1646870400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EZ97gO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-dateutil-2.8.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-dateutil-2.8.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-dateutil-2.8.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + iconv --from=ISO-8859-1 --to=UTF-8 NEWS + mv NEWS.new NEWS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.16bu53 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd python-dateutil-2.8.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /builddir/build/BUILD/python-dateutil-2.8.2/setup.py:18: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(setuptools.__version__) <= LooseVersion("24.3"): running build running build_py creating build creating build/lib creating build/lib/dateutil copying dateutil/__init__.py -> build/lib/dateutil copying dateutil/_common.py -> build/lib/dateutil copying dateutil/_version.py -> build/lib/dateutil copying dateutil/easter.py -> build/lib/dateutil copying dateutil/relativedelta.py -> build/lib/dateutil copying dateutil/rrule.py -> build/lib/dateutil copying dateutil/tzwin.py -> build/lib/dateutil copying dateutil/utils.py -> build/lib/dateutil creating build/lib/dateutil/parser copying dateutil/parser/__init__.py -> build/lib/dateutil/parser copying dateutil/parser/_parser.py -> build/lib/dateutil/parser copying dateutil/parser/isoparser.py -> build/lib/dateutil/parser creating build/lib/dateutil/tz copying dateutil/tz/__init__.py -> build/lib/dateutil/tz copying dateutil/tz/_common.py -> build/lib/dateutil/tz copying dateutil/tz/_factories.py -> build/lib/dateutil/tz copying dateutil/tz/tz.py -> build/lib/dateutil/tz copying dateutil/tz/win.py -> build/lib/dateutil/tz creating build/lib/dateutil/zoneinfo copying dateutil/zoneinfo/__init__.py -> build/lib/dateutil/zoneinfo copying dateutil/zoneinfo/rebuild.py -> build/lib/dateutil/zoneinfo copying dateutil/zoneinfo/dateutil-zoneinfo.tar.gz -> build/lib/dateutil/zoneinfo + make -C docs html make: Entering directory '/builddir/build/BUILD/python-dateutil-2.8.2/docs' sphinx-build -b html -d _build/doctrees . _build/html Running Sphinx v5.1.1 making output directory... done building [mo]: targets for 0 po files that are out of date building [html]: targets for 13 source files that are out of date updating environment: [new config] 13 added, 0 changed, 0 removed reading sources... [ 7%] changelog reading sources... [ 15%] easter reading sources... [ 23%] examples reading sources... [ 30%] exercises/index reading sources... [ 38%] exercises/solutions/mlk-day-rrule reading sources... [ 46%] index reading sources... [ 53%] parser reading sources... [ 61%] relativedelta reading sources... [ 69%] rrule reading sources... [ 76%] tz reading sources... [ 84%] tzwin reading sources... [ 92%] utils reading sources... [100%] zoneinfo looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 7%] changelog writing output... [ 15%] easter writing output... [ 23%] examples writing output... [ 30%] exercises/index writing output... [ 38%] exercises/solutions/mlk-day-rrule writing output... [ 46%] index writing output... [ 53%] parser writing output... [ 61%] relativedelta writing output... [ 69%] rrule writing output... [ 76%] tz writing output... [ 84%] tzwin writing output... [ 92%] utils writing output... [100%] zoneinfo generating indices... genindex py-modindex done highlighting module code... [ 10%] dateutil.easter highlighting module code... [ 20%] dateutil.parser._parser highlighting module code... [ 30%] dateutil.relativedelta highlighting module code... [ 40%] dateutil.rrule highlighting module code... [ 50%] dateutil.tz._common highlighting module code... [ 60%] dateutil.tz.tz highlighting module code... [ 70%] dateutil.tz.win highlighting module code... [ 80%] dateutil.utils highlighting module code... [ 90%] dateutil.zoneinfo highlighting module code... [100%] dateutil.zoneinfo.rebuild writing additional pages... search done copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded. The HTML pages are in _build/html. Build finished. The HTML pages are in _build/html. make: Leaving directory '/builddir/build/BUILD/python-dateutil-2.8.2/docs' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EbJv0S + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64 ++ dirname /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd python-dateutil-2.8.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64 /builddir/build/BUILD/python-dateutil-2.8.2/setup.py:18: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(setuptools.__version__) <= LooseVersion("24.3"): running install /usr/lib/python3.10/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-dateutil-2.8.2-1.an23.x86_64/usr creating /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10 creating /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages creating /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil copying build/lib/dateutil/__init__.py -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil copying build/lib/dateutil/_common.py -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil copying build/lib/dateutil/_version.py -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil copying build/lib/dateutil/easter.py -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil copying build/lib/dateutil/relativedelta.py -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil copying build/lib/dateutil/rrule.py -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil copying build/lib/dateutil/tzwin.py -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil copying build/lib/dateutil/utils.py -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil creating /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/parser copying build/lib/dateutil/parser/__init__.py -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/parser copying build/lib/dateutil/parser/_parser.py -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/parser copying build/lib/dateutil/parser/isoparser.py -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/parser creating /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/tz copying build/lib/dateutil/tz/__init__.py -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/tz copying build/lib/dateutil/tz/_common.py -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/tz copying build/lib/dateutil/tz/_factories.py -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/tz copying build/lib/dateutil/tz/tz.py -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/tz copying build/lib/dateutil/tz/win.py -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/tz creating /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/zoneinfo copying build/lib/dateutil/zoneinfo/__init__.py -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/zoneinfo copying build/lib/dateutil/zoneinfo/rebuild.py -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/zoneinfo copying build/lib/dateutil/zoneinfo/dateutil-zoneinfo.tar.gz -> /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/zoneinfo byte-compiling /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/_common.py to _common.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/_version.py to _version.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/easter.py to easter.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/relativedelta.py to relativedelta.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/rrule.py to rrule.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/tzwin.py to tzwin.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/utils.py to utils.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/parser/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/parser/_parser.py to _parser.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/parser/isoparser.py to isoparser.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/tz/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/tz/_common.py to _common.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/tz/_factories.py to _factories.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/tz/tz.py to tz.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/tz/win.py to win.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/zoneinfo/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/dateutil/zoneinfo/rebuild.py to rebuild.cpython-310.pyc writing byte-compilation script '/tmp/tmpd0rhy33m.py' /usr/bin/python3 /tmp/tmpd0rhy33m.py removing /tmp/tmpd0rhy33m.py running install_egg_info running egg_info writing python_dateutil.egg-info/PKG-INFO writing dependency_links to python_dateutil.egg-info/dependency_links.txt writing requirements to python_dateutil.egg-info/requires.txt writing top-level names to python_dateutil.egg-info/top_level.txt listing git files failed - pretending there aren't any reading manifest file 'python_dateutil.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py[co]' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'python_dateutil.egg-info/SOURCES.txt' Copying python_dateutil.egg-info to /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10/site-packages/python_dateutil-2.8.2-py3.10.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 2.8.2-1.an23 --unique-debug-suffix -2.8.2-1.an23.x86_64 --unique-debug-src-base python-dateutil-2.8.2-1.an23.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/python-dateutil-2.8.2 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/relink_symlinks + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-dateutil-2.8.2-1.an23.x86_64/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.aTXTTl + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd python-dateutil-2.8.2 + /usr/bin/python3 -m pytest -W ignore::pytest.PytestUnknownMarkWarning ============================= test session starts ============================== platform linux -- Python 3.10.9, pytest-7.1.3, pluggy-1.0.0 rootdir: /builddir/build/BUILD/python-dateutil-2.8.2, configfile: setup.cfg plugins: hypothesis-6.39.1 collected 2085 items dateutil/test/test_easter.py ........................................... [ 2%] ........................................................................ [ 5%] ................................................ [ 7%] dateutil/test/test_import_star.py . [ 7%] dateutil/test/test_imports.py .................sss... [ 8%] dateutil/test/test_internals.py ..F. [ 9%] dateutil/test/test_isoparser.py ........................................ [ 11%] ........................................................................ [ 14%] ........................................................................ [ 17%] ........................................................................ [ 21%] ........................................................................ [ 24%] ............x........................................................... [ 28%] ........................................................................ [ 31%] ........................................................................ [ 35%] ........................ [ 36%] dateutil/test/test_parser.py ........................................... [ 38%] ........................................................................ [ 41%] ........................................................................ [ 45%] ..................................xxxxxxxxxxxxxx.......... [ 48%] dateutil/test/test_relativedelta.py .................................... [ 49%] ............................................... [ 52%] dateutil/test/test_rrule.py ............................................ [ 54%] ........................................................................ [ 57%] ........................................................................ [ 61%] ........................................................................ [ 64%] ........................................................................ [ 68%] ........................................................................ [ 71%] ........................................................................ [ 74%] ................................................................x....... [ 78%] .............. [ 79%] dateutil/test/test_tz.py ............................s...............s.. [ 81%] ...........................................s............................ [ 84%] ..x.....s......................................s........................ [ 88%] ...s.................................................................... [ 91%] .............s......................................s.ssssssssssssssssss [ 95%] ssssssssssssssss....s..........s........................................ [ 98%] ................ [ 99%] dateutil/test/test_utils.py ....... [ 99%] dateutil/test/property/test_isoparse_prop.py . [ 99%] dateutil/test/property/test_parser_prop.py .. [ 99%] dateutil/test/property/test_tz_prop.py .. [ 99%] docs/exercises/solutions/mlk_day_rrule_solution.py . [100%] =================================== FAILURES =================================== _____________________ test_parser_parser_private_not_warns _____________________ @pytest.mark.skipif(IS_PY32, reason='pytest.warns not supported on Python 3.2') def test_parser_parser_private_not_warns(): from dateutil.parser._parser import _timelex, _tzparser from dateutil.parser._parser import _parsetz > with pytest.warns(None) as recorder: dateutil/test/test_internals.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = WarningsChecker(record=True), expected_warning = None, match_expr = None def __init__( self, expected_warning: Optional[ Union[Type[Warning], Tuple[Type[Warning], ...]] ] = Warning, match_expr: Optional[Union[str, Pattern[str]]] = None, *, _ispytest: bool = False, ) -> None: check_ispytest(_ispytest) super().__init__(_ispytest=True) msg = "exceptions must be derived from Warning, not %s" if expected_warning is None: > warnings.warn(WARNS_NONE_ARG, stacklevel=4) E pytest.PytestRemovedIn8Warning: Passing None has been deprecated. E See https://docs.pytest.org/en/latest/how-to/capture-warnings.html#additional-use-cases-of-warnings-in-tests for alternatives in common use cases. /usr/lib/python3.10/site-packages/_pytest/recwarn.py:253: PytestRemovedIn8Warning =========================== short test summary info ============================ FAILED dateutil/test/test_internals.py::test_parser_parser_private_not_warns ============ 1 failed, 2020 passed, 47 skipped, 17 xfailed in 4.95s ============ error: Bad exit status from /var/tmp/rpm-tmp.aTXTTl (%check) Bad exit status from /var/tmp/rpm-tmp.aTXTTl (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] 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 600, 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/python-dateutil.spec