Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-smart-open.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-352921-70998/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-smart-open.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706832000 Wrote: /builddir/build/SRPMS/python-smart-open-6.4.0-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-smart-open.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-352921-70998/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-smart-open.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706832000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bDWGTa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf smart_open-6.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/smart_open-6.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd smart_open-6.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf smart-open.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.j083yQ + 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 -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/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd smart_open-6.4.0 + 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' running build running build_py creating build creating build/lib creating build/lib/smart_open copying smart_open/__init__.py -> build/lib/smart_open copying smart_open/azure.py -> build/lib/smart_open copying smart_open/bytebuffer.py -> build/lib/smart_open copying smart_open/compression.py -> build/lib/smart_open copying smart_open/concurrency.py -> build/lib/smart_open copying smart_open/constants.py -> build/lib/smart_open copying smart_open/doctools.py -> build/lib/smart_open copying smart_open/ftp.py -> build/lib/smart_open copying smart_open/gcs.py -> build/lib/smart_open copying smart_open/hdfs.py -> build/lib/smart_open copying smart_open/http.py -> build/lib/smart_open copying smart_open/local_file.py -> build/lib/smart_open copying smart_open/s3.py -> build/lib/smart_open copying smart_open/smart_open_lib.py -> build/lib/smart_open copying smart_open/ssh.py -> build/lib/smart_open copying smart_open/transport.py -> build/lib/smart_open copying smart_open/utils.py -> build/lib/smart_open copying smart_open/version.py -> build/lib/smart_open copying smart_open/webhdfs.py -> build/lib/smart_open + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hJEaRa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch ++ dirname /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch + 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 -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/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd smart_open-6.4.0 + 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-smart-open-6.4.0-1.an23.noarch 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-smart-open-6.4.0-1.an23.noarch/usr creating /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib creating /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10 creating /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages creating /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/__init__.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/azure.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/bytebuffer.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/compression.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/concurrency.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/constants.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/doctools.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/ftp.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/gcs.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/hdfs.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/http.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/local_file.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/s3.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/smart_open_lib.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/ssh.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/transport.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/utils.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/version.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open copying build/lib/smart_open/webhdfs.py -> /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/azure.py to azure.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/bytebuffer.py to bytebuffer.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/compression.py to compression.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/concurrency.py to concurrency.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/constants.py to constants.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/doctools.py to doctools.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/ftp.py to ftp.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/gcs.py to gcs.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/hdfs.py to hdfs.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/http.py to http.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/local_file.py to local_file.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/s3.py to s3.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/smart_open_lib.py to smart_open_lib.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/ssh.py to ssh.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/transport.py to transport.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/utils.py to utils.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/version.py to version.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open/webhdfs.py to webhdfs.cpython-310.pyc writing byte-compilation script '/tmp/tmpherti_ho.py' /usr/bin/python3 /tmp/tmpherti_ho.py removing /tmp/tmpherti_ho.py running install_egg_info running egg_info writing smart_open.egg-info/PKG-INFO writing dependency_links to smart_open.egg-info/dependency_links.txt writing requirements to smart_open.egg-info/requires.txt writing top-level names to smart_open.egg-info/top_level.txt reading manifest file 'smart_open.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'smart_open.egg-info/SOURCES.txt' Copying smart_open.egg-info to /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages/smart_open-6.4.0-py3.10.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 6.4.0-1.an23 --unique-debug-suffix -6.4.0-1.an23.noarch --unique-debug-src-base python-smart-open-6.4.0-1.an23.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/smart_open-6.4.0 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/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.oPyac2 + 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 -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/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd smart_open-6.4.0 + TOX_TESTENV_PASSENV='*' + PYTHONDONTWRITEBYTECODE=1 + PATH=/builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/python-smart-open-6.4.0-1.an23.noarch/usr/lib/python3.10/site-packages + HOSTNAME=rpmbuild + /usr/bin/python3 -m tox --current-env -q --recreate -e py310 usage: tox [-h] [--colored {yes,no}] [-v | -q] [--exit-and-dump-after seconds] [-c file] [--workdir dir] [--root dir] [--runner {virtualenv}] [--version] [--no-provision [REQ_JSON]] [--no-recreate-provision] [-r] [-x OVERRIDE] {run,r,run-parallel,p,depends,de,list,l,devenv,d,config,c,quickstart,q,exec,e,legacy,le} ... tox: error: unrecognized arguments: --current-env hint: if you tried to pass arguments to a command use -- to separate them from tox ones error: Bad exit status from /var/tmp/rpm-tmp.oPyac2 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.oPyac2 (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-smart-open.spec\n', 1)] 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 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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-smart-open.spec