D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-geventhttpclient-1.3.1-6.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UnmJMr + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf geventhttpclient-1.3.1 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/geventhttpclient-1.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd geventhttpclient-1.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf geventhttpclient.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wwpYCw + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd geventhttpclient-1.3.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/geventhttpclient copying src/geventhttpclient/url.py -> build/lib.linux-x86_64-cpython-310/geventhttpclient copying src/geventhttpclient/response.py -> build/lib.linux-x86_64-cpython-310/geventhttpclient copying src/geventhttpclient/header.py -> build/lib.linux-x86_64-cpython-310/geventhttpclient copying src/geventhttpclient/httplib.py -> build/lib.linux-x86_64-cpython-310/geventhttpclient copying src/geventhttpclient/client.py -> build/lib.linux-x86_64-cpython-310/geventhttpclient copying src/geventhttpclient/connectionpool.py -> build/lib.linux-x86_64-cpython-310/geventhttpclient copying src/geventhttpclient/__init__.py -> build/lib.linux-x86_64-cpython-310/geventhttpclient copying src/geventhttpclient/useragent.py -> build/lib.linux-x86_64-cpython-310/geventhttpclient running egg_info writing src/geventhttpclient.egg-info/PKG-INFO writing dependency_links to src/geventhttpclient.egg-info/dependency_links.txt writing requirements to src/geventhttpclient.egg-info/requires.txt writing top-level names to src/geventhttpclient.egg-info/top_level.txt reading manifest file 'src/geventhttpclient.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/geventhttpclient.egg-info/SOURCES.txt' /usr/lib/python3.10/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning: Installing 'geventhttpclient.tests' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'geventhttpclient.tests' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'geventhttpclient.tests' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'geventhttpclient.tests' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.10/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning: Installing 'geventhttpclient.tests.__pycache__' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'geventhttpclient.tests.__pycache__' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'geventhttpclient.tests.__pycache__' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'geventhttpclient.tests.__pycache__' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) creating build/lib.linux-x86_64-cpython-310/geventhttpclient/tests copying src/geventhttpclient/tests/oncert.pem -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests copying src/geventhttpclient/tests/server.crt -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests copying src/geventhttpclient/tests/server.key -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests copying src/geventhttpclient/tests/test_client.py -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests copying src/geventhttpclient/tests/test_headers.py -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests copying src/geventhttpclient/tests/test_httplib.py -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests copying src/geventhttpclient/tests/test_keep_alive.py -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests copying src/geventhttpclient/tests/test_network_failures.py -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests copying src/geventhttpclient/tests/test_no_module_ssl.py -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests copying src/geventhttpclient/tests/test_parser.py -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests copying src/geventhttpclient/tests/test_ssl.py -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests copying src/geventhttpclient/tests/test_url.py -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests copying src/geventhttpclient/tests/test_useragent.py -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests creating build/lib.linux-x86_64-cpython-310/geventhttpclient/tests/__pycache__ copying src/geventhttpclient/tests/__pycache__/test_client.cpython-35-PYTEST.pyc -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests/__pycache__ copying src/geventhttpclient/tests/__pycache__/test_headers.cpython-35-PYTEST.pyc -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests/__pycache__ copying src/geventhttpclient/tests/__pycache__/test_httplib.cpython-35-PYTEST.pyc -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests/__pycache__ copying src/geventhttpclient/tests/__pycache__/test_keep_alive.cpython-35-PYTEST.pyc -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests/__pycache__ copying src/geventhttpclient/tests/__pycache__/test_network_failures.cpython-35-PYTEST.pyc -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests/__pycache__ copying src/geventhttpclient/tests/__pycache__/test_no_module_ssl.cpython-35-PYTEST.pyc -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests/__pycache__ copying src/geventhttpclient/tests/__pycache__/test_parser.cpython-35-PYTEST.pyc -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests/__pycache__ copying src/geventhttpclient/tests/__pycache__/test_ssl.cpython-35-PYTEST.pyc -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests/__pycache__ copying src/geventhttpclient/tests/__pycache__/test_url.cpython-35-PYTEST.pyc -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests/__pycache__ copying src/geventhttpclient/tests/__pycache__/test_useragent.cpython-35-PYTEST.pyc -> build/lib.linux-x86_64-cpython-310/geventhttpclient/tests/__pycache__ running build_ext building 'geventhttpclient._parser' extension creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/ext gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Iext -I/usr/include/python3.10 -c ext/_parser.c -o build/temp.linux-x86_64-cpython-310/ext/_parser.o gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -Iext -I/usr/include/python3.10 -c ext/http_parser.c -o build/temp.linux-x86_64-cpython-310/ext/http_parser.o gcc -shared -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables build/temp.linux-x86_64-cpython-310/ext/_parser.o build/temp.linux-x86_64-cpython-310/ext/http_parser.o -L/usr/lib64 -o build/lib.linux-x86_64-cpython-310/geventhttpclient/_parser.cpython-310-x86_64-linux-gnu.so /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `PyHTTPResponseParser_dealloc': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:259: undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `PyHTTPResponseParser_new': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:151: undefined reference to `PyMem_Malloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /usr/include/python3.10/object.h:472: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `set_parser_exception': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:164: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:168: undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `PyHTTPResponseParser_feed': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:180: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:195: undefined reference to `PyErr_Occurred' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:202: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `on_body': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:111: undefined reference to `PyObject_HasAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:112: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:113: undefined reference to `PyByteArray_FromStringAndSize' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:114: undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:116: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `on_body': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:120: undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `on_message_complete': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:33: undefined reference to `PyObject_HasAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:34: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:35: undefined reference to `PyObject_CallObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:36: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `on_message_complete': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:40: undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `on_headers_complete': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:54: undefined reference to `PyObject_HasAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:55: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:56: undefined reference to `PyObject_CallObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:57: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `on_headers_complete': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:61: undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `on_message_begin': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:13: undefined reference to `PyObject_HasAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:14: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:15: undefined reference to `PyObject_CallObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:16: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `on_message_begin': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:20: undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `on_http_data_cb': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:74: undefined reference to `PyObject_HasAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:75: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:76: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:77: undefined reference to `PyObject_CallObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:78: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `_Py_DECREF': /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: /usr/include/python3.10/object.h:500: undefined reference to `_Py_Dealloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `on_http_data_cb': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:82: undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `PyInit__parser': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:353: undefined reference to `PyType_Ready' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:357: undefined reference to `PyModule_Create2' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:364: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:367: undefined reference to `PyImport_ImportModule' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:371: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:373: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:376: undefined reference to `PyModule_AddObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `PyHTTPResponseParser_should_keep_alive': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:252: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `PyHTTPResponseParser_get_remaining_content_length': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:236: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `PyHTTPResponseParser_get_code': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:246: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `PyHTTPResponseParser_get_http_version': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:220: undefined reference to `PyUnicode_FromFormat' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/ext/_parser.o: in function `set_parser_exception': /home/pterjan/rpmbuild/BUILD/geventhttpclient-1.3.1/ext/_parser.c:167: undefined reference to `PyErr_NoMemory' collect2: error: ld returned 1 exit status error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.wwpYCw (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.wwpYCw (%build) I: [iurt_root_command] ERROR: chroot