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-wsgi_intercept.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-98483-6004/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-wsgi_intercept.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-wsgi_intercept-1.11.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-wsgi_intercept.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-98483-6004/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-wsgi_intercept.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.cbtNgd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wsgi-intercept-1.11.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v1.11.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd wsgi-intercept-1.11.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf wsgi_intercept.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pF0pks + 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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 wsgi-intercept-1.11.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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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' running build running build_py creating build creating build/lib creating build/lib/wsgi_intercept copying wsgi_intercept/http_client_intercept.py -> build/lib/wsgi_intercept copying wsgi_intercept/urllib_intercept.py -> build/lib/wsgi_intercept copying wsgi_intercept/interceptor.py -> build/lib/wsgi_intercept copying wsgi_intercept/requests_intercept.py -> build/lib/wsgi_intercept copying wsgi_intercept/httplib2_intercept.py -> build/lib/wsgi_intercept copying wsgi_intercept/__init__.py -> build/lib/wsgi_intercept copying wsgi_intercept/_urllib3.py -> build/lib/wsgi_intercept copying wsgi_intercept/urllib3_intercept.py -> build/lib/wsgi_intercept creating build/lib/wsgi_intercept/tests copying wsgi_intercept/tests/test_urllib.py -> build/lib/wsgi_intercept/tests copying wsgi_intercept/tests/test_requests.py -> build/lib/wsgi_intercept/tests copying wsgi_intercept/tests/test_wsgi_compliance.py -> build/lib/wsgi_intercept/tests copying wsgi_intercept/tests/test_urllib3.py -> build/lib/wsgi_intercept/tests copying wsgi_intercept/tests/test_interceptor.py -> build/lib/wsgi_intercept/tests copying wsgi_intercept/tests/test_response_headers.py -> build/lib/wsgi_intercept/tests copying wsgi_intercept/tests/test_module_interceptor.py -> build/lib/wsgi_intercept/tests copying wsgi_intercept/tests/test_httplib2.py -> build/lib/wsgi_intercept/tests copying wsgi_intercept/tests/wsgi_app.py -> build/lib/wsgi_intercept/tests copying wsgi_intercept/tests/test_http_client.py -> build/lib/wsgi_intercept/tests copying wsgi_intercept/tests/test_wsgiref.py -> build/lib/wsgi_intercept/tests copying wsgi_intercept/tests/__init__.py -> build/lib/wsgi_intercept/tests copying wsgi_intercept/tests/install.py -> build/lib/wsgi_intercept/tests ++ pwd + export PYTHONPATH=/builddir/build/BUILD/wsgi-intercept-1.11.0: + PYTHONPATH=/builddir/build/BUILD/wsgi-intercept-1.11.0: + sphinx-build docs html Running Sphinx v7.0.1 making output directory... done building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 7 source files that are out of date updating environment: [new config] 7 added, 0 changed, 0 removed reading sources... [ 14%] http_client reading sources... [ 28%] httplib2 reading sources... [ 42%] index reading sources... [ 57%] interceptor reading sources... [ 71%] requests reading sources... [ 85%] urllib reading sources... [100%] urllib3 looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 14%] http_client writing output... [ 28%] httplib2 writing output... [ 42%] index writing output... [ 57%] interceptor writing output... [ 71%] requests writing output... [ 85%] urllib writing output... [100%] urllib3 generating indices... genindex py-modindex done 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 html. + rm -rf html/.doctrees html/.buildinfo + sed -i 's/\r$//' html/_static/jquery.js sed: can't read html/_static/jquery.js: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.pF0pks (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.pF0pks (%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-wsgi_intercept.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-wsgi_intercept.spec