Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-barbicanclient.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-96968-5984/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=981gid=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-barbicanclient.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 Wrote: /builddir/build/SRPMS/python-barbicanclient-5.4.0-4.ocs23.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-barbicanclient.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-96968-5984/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=981gid=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-barbicanclient.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QUtcBe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-barbicanclient-5.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-barbicanclient-5.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-barbicanclient-5.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'python-barbicanclient-5.4.0 base' + /usr/bin/git checkout --track -b rpm-build branch 'rpm-build' set up to track 'master'. Switched to a new branch 'rpm-build' + sed -i '/setup_requires/d; /install_requires/d; /dependency_links/d' setup.py + rm -rf test-requirements.txt requirements.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PizNO9 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -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 python-barbicanclient-5.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.11/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.11/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 build running build_py creating build creating build/lib creating build/lib/barbicanclient creating build/lib/barbicanclient/barbican_cli creating build/lib/barbicanclient/barbican_cli/v1 copying barbicanclient/barbican_cli/v1/acls.py -> build/lib/barbicanclient/barbican_cli/v1 copying barbicanclient/barbican_cli/v1/secrets.py -> build/lib/barbicanclient/barbican_cli/v1 copying barbicanclient/barbican_cli/v1/orders.py -> build/lib/barbicanclient/barbican_cli/v1 copying barbicanclient/barbican_cli/v1/__init__.py -> build/lib/barbicanclient/barbican_cli/v1 copying barbicanclient/barbican_cli/v1/cas.py -> build/lib/barbicanclient/barbican_cli/v1 copying barbicanclient/barbican_cli/v1/containers.py -> build/lib/barbicanclient/barbican_cli/v1 copying barbicanclient/barbican_cli/__init__.py -> build/lib/barbicanclient/barbican_cli creating build/lib/barbicanclient/v1 copying barbicanclient/v1/acls.py -> build/lib/barbicanclient/v1 copying barbicanclient/v1/secrets.py -> build/lib/barbicanclient/v1 copying barbicanclient/v1/orders.py -> build/lib/barbicanclient/v1 copying barbicanclient/v1/client.py -> build/lib/barbicanclient/v1 copying barbicanclient/v1/__init__.py -> build/lib/barbicanclient/v1 copying barbicanclient/v1/cas.py -> build/lib/barbicanclient/v1 copying barbicanclient/v1/containers.py -> build/lib/barbicanclient/v1 creating build/lib/barbicanclient/tests copying barbicanclient/tests/test_formatter.py -> build/lib/barbicanclient/tests copying barbicanclient/tests/test_client.py -> build/lib/barbicanclient/tests copying barbicanclient/tests/keystone_client_fixtures.py -> build/lib/barbicanclient/tests copying barbicanclient/tests/__init__.py -> build/lib/barbicanclient/tests copying barbicanclient/tests/test_barbican.py -> build/lib/barbicanclient/tests copying barbicanclient/tests/test_base.py -> build/lib/barbicanclient/tests creating build/lib/barbicanclient/tests/v1 copying barbicanclient/tests/v1/test_containers.py -> build/lib/barbicanclient/tests/v1 copying barbicanclient/tests/v1/__init__.py -> build/lib/barbicanclient/tests/v1 copying barbicanclient/tests/v1/test_cas.py -> build/lib/barbicanclient/tests/v1 copying barbicanclient/tests/v1/test_secrets.py -> build/lib/barbicanclient/tests/v1 copying barbicanclient/tests/v1/test_orders.py -> build/lib/barbicanclient/tests/v1 copying barbicanclient/tests/v1/test_acls.py -> build/lib/barbicanclient/tests/v1 copying barbicanclient/_i18n.py -> build/lib/barbicanclient copying barbicanclient/base.py -> build/lib/barbicanclient copying barbicanclient/barbican.py -> build/lib/barbicanclient copying barbicanclient/version.py -> build/lib/barbicanclient copying barbicanclient/osc_plugin.py -> build/lib/barbicanclient copying barbicanclient/client.py -> build/lib/barbicanclient copying barbicanclient/__init__.py -> build/lib/barbicanclient copying barbicanclient/formatter.py -> build/lib/barbicanclient copying barbicanclient/exceptions.py -> build/lib/barbicanclient running egg_info writing python_barbicanclient.egg-info/PKG-INFO writing dependency_links to python_barbicanclient.egg-info/dependency_links.txt writing entry points to python_barbicanclient.egg-info/entry_points.txt deleting python_barbicanclient.egg-info/requires.txt writing top-level names to python_barbicanclient.egg-info/top_level.txt writing pbr to python_barbicanclient.egg-info/pbr.json [pbr] Processing SOURCES.txt [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'python_barbicanclient.egg-info/SOURCES.txt' + /usr/bin/python3 setup.py build_sphinx -b html /usr/lib/python3.11/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'build_sphinx' RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.PizNO9 (%build) Bad exit status from /var/tmp/rpm-tmp.PizNO9 (%build) 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-barbicanclient.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, 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-barbicanclient.spec