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/openstack-keystone.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-176332-11049/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/openstack-keystone.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/openstack-keystone-22.0.0-1.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/openstack-keystone.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-176332-11049/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/openstack-keystone.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.WJCo9m + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf keystone-22.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/keystone-22.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd keystone-22.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . '(' -name .gitignore -o -name .placeholder ')' -delete + find keystone -name '*.py' -exec sed -i '/\/usr\/bin\/env python/d' '{}' ';' + sed -i s#/local/bin#/bin# httpd/wsgi-keystone.conf + sed -i s#apache2#httpd# httpd/wsgi-keystone.conf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AMkl8O + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 keystone-22.0.0 + PYTHONPATH=. + oslo-config-generator --config-file=config-generator/keystone.conf Traceback (most recent call last): File "/usr/bin/oslo-config-generator", line 10, in sys.exit(main()) ^^^^^^ File "/usr/lib/python3.11/site-packages/oslo_config/generator.py", line 836, in main generate(conf) File "/usr/lib/python3.11/site-packages/oslo_config/generator.py", line 797, in generate groups = _get_groups(_list_opts(conf.namespace)) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/oslo_config/generator.py", line 524, in _list_opts loaders = _get_raw_opts_loaders(namespaces) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/oslo_config/generator.py", line 464, in _get_raw_opts_loaders mgr = stevedore.named.NamedExtensionManager( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/stevedore/named.py", line 78, in __init__ extensions = self._load_plugins(invoke_on_load, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/stevedore/extension.py", line 241, in _load_plugins self._on_load_failure_callback(self, ep, err) File "/usr/lib/python3.11/site-packages/stevedore/extension.py", line 229, in _load_plugins ext = self._load_one_plugin(ep, ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/stevedore/named.py", line 156, in _load_one_plugin return super(NamedExtensionManager, self)._load_one_plugin( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/stevedore/extension.py", line 263, in _load_one_plugin plugin = ep.load() ^^^^^^^^^ File "/usr/lib64/python3.11/importlib/metadata/__init__.py", line 202, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1126, in _find_and_load_unlocked File "", line 241, in _call_with_frames_removed File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/keystone-22.0.0/keystone/conf/__init__.py", line 19, in import oslo_messaging File "/usr/lib/python3.11/site-packages/oslo_messaging/__init__.py", line 17, in from .notify import * File "/usr/lib/python3.11/site-packages/oslo_messaging/notify/__init__.py", line 28, in from .listener import * File "/usr/lib/python3.11/site-packages/oslo_messaging/notify/listener.py", line 140, in from oslo_messaging import server as msg_server File "/usr/lib/python3.11/site-packages/oslo_messaging/server.py", line 27, in from oslo_service import service File "/usr/lib/python3.11/site-packages/oslo_service/service.py", line 35, in import eventlet File "/usr/lib/python3.11/site-packages/eventlet/__init__.py", line 17, in from eventlet import convenience File "/usr/lib/python3.11/site-packages/eventlet/convenience.py", line 7, in from eventlet.green import socket File "/usr/lib/python3.11/site-packages/eventlet/green/socket.py", line 4, in __import__('eventlet.green._socket_nodns') File "/usr/lib/python3.11/site-packages/eventlet/green/_socket_nodns.py", line 11, in from eventlet import greenio File "/usr/lib/python3.11/site-packages/eventlet/greenio/__init__.py", line 3, in from eventlet.greenio.base import * # noqa ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/greenio/base.py", line 473, in from OpenSSL import SSL File "/usr/lib/python3.11/site-packages/OpenSSL/__init__.py", line 8, in from OpenSSL import crypto, SSL File "/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1570, in class X509StoreFlags(object): File "/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1589, in X509StoreFlags NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'. Did you mean: 'X509_V_FLAG_EXPLICIT_POLICY'? RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.AMkl8O (%build) Bad exit status from /var/tmp/rpm-tmp.AMkl8O (%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/openstack-keystone.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 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/openstack-keystone.spec