D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-fastnumbers-3.2.1-3.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.E5BtBK + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf fastnumbers-3.2.1 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/fastnumbers-3.2.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fastnumbers-3.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/fastnumbers-3.2.1-lm.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf fastnumbers.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kYcF76 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd fastnumbers-3.2.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' /usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running build running build_py creating build creating build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/fastnumbers copying src/fastnumbers/__init__.py -> build/lib.linux-x86_64-cpython-310/fastnumbers copying src/fastnumbers/py.typed -> build/lib.linux-x86_64-cpython-310/fastnumbers copying src/fastnumbers/fastnumbers.pyi -> build/lib.linux-x86_64-cpython-310/fastnumbers running build_ext building 'fastnumbers.fastnumbers' extension creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/src 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 -I/home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/include -I/usr/include/python3.10 -c src/fastnumbers.c -o build/temp.linux-x86_64-cpython-310/src/fastnumbers.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 -I/home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/include -I/usr/include/python3.10 -c src/numbers.c -o build/temp.linux-x86_64-cpython-310/src/numbers.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 -I/home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/include -I/usr/include/python3.10 -c src/objects.c -o build/temp.linux-x86_64-cpython-310/src/objects.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 -I/home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/include -I/usr/include/python3.10 -c src/parsing.c -o build/temp.linux-x86_64-cpython-310/src/parsing.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 -I/home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/include -I/usr/include/python3.10 -c src/strings.c -o build/temp.linux-x86_64-cpython-310/src/strings.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 -I/home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/include -I/usr/include/python3.10 -c src/unicode_character.c -o build/temp.linux-x86_64-cpython-310/src/unicode_character.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/src/fastnumbers.o build/temp.linux-x86_64-cpython-310/src/numbers.o build/temp.linux-x86_64-cpython-310/src/objects.o build/temp.linux-x86_64-cpython-310/src/parsing.o build/temp.linux-x86_64-cpython-310/src/strings.o build/temp.linux-x86_64-cpython-310/src/unicode_character.o -L/usr/lib64 -o build/lib.linux-x86_64-cpython-310/fastnumbers/fastnumbers.cpython-310-x86_64-linux-gnu.so -lm /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/fastnumbers.o: in function `fastnumbers_real': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:446: undefined reference to `PyArg_ParseTupleAndKeywords' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:452: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:453: undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/fastnumbers.o: in function `fastnumbers_float': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:406: undefined reference to `PyArg_ParseTuple' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:420: undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/fastnumbers.o: in function `fastnumbers_query_type': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:303: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:303: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:313: undefined reference to `PyArg_ParseTupleAndKeywords' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:321: undefined reference to `PySequence_Check' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:329: undefined reference to `PySequence_Size' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:342: undefined reference to `PySequence_Contains' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:322: undefined reference to `PyExc_TypeError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:322: undefined reference to `PyErr_Format' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:330: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:330: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/fastnumbers.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/src/fastnumbers.o: in function `fastnumbers_isintlike': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:279: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:279: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:286: undefined reference to `PyArg_ParseTupleAndKeywords' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/fastnumbers.o: in function `fastnumbers_isfloat': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:229: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:229: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:237: undefined reference to `PyArg_ParseTupleAndKeywords' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/fastnumbers.o: in function `fastnumbers_isreal': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:205: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:205: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:213: undefined reference to `PyArg_ParseTupleAndKeywords' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/fastnumbers.o: in function `assess_integer_base_input': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:34: undefined reference to `PyNumber_AsSsize_t' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:35: undefined reference to `PyErr_Occurred' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:42: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:42: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/fastnumbers.o: in function `fastnumbers_int': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:371: undefined reference to `PyArg_ParseTupleAndKeywords' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:384: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:381: undefined reference to `PyExc_TypeError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:381: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/fastnumbers.o: in function `fastnumbers_isint': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:254: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:254: undefined reference to `_Py_FalseStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:261: undefined reference to `PyArg_ParseTupleAndKeywords' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/fastnumbers.o: in function `handle_key_backwards_compatibility': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:59: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:59: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/fastnumbers.o: in function `fastnumbers_fast_forceint': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:186: undefined reference to `PyArg_ParseTupleAndKeywords' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/fastnumbers.o: in function `fastnumbers_fast_int': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:152: undefined reference to `PyArg_ParseTupleAndKeywords' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/fastnumbers.o: in function `fastnumbers_fast_float': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:118: undefined reference to `PyArg_ParseTupleAndKeywords' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/fastnumbers.o: in function `fastnumbers_fast_real': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:86: undefined reference to `PyArg_ParseTupleAndKeywords' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/fastnumbers.o: in function `PyInit_fastnumbers': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:532: undefined reference to `PyModule_Create2' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:538: undefined reference to `PyUnicode_FromString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:539: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:540: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:541: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:542: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:548: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:549: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:550: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:551: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/fastnumbers.c:552: undefined reference to `PyModule_AddObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/numbers.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/numbers.o: in function `PyNumber_to_PyInt': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/numbers.c:128: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/numbers.c:128: undefined reference to `PyErr_SetString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/numbers.c:122: undefined reference to `PyExc_OverflowError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/numbers.c:122: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/numbers.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/src/numbers.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/numbers.o: in function `_PyFloat_is_Intlike': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/numbers.c:60: undefined reference to `PyFloat_AsDouble' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/numbers.c:62: undefined reference to `PyErr_Occurred' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/numbers.c:63: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/numbers.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/numbers.o: in function `PyNumber_to_PyInt_or_PyFloat': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/numbers.c:88: undefined reference to `PyNumber_Long' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/numbers.o: in function `PyNumber_to_PyNumber': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/numbers.c:183: undefined reference to `PyErr_Clear' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/numbers.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/numbers.o: in function `PyNumber_to_PyFloat': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/numbers.c:110: undefined reference to `PyNumber_Float' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/numbers.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/numbers.o: in function `PyNumber_to_PyInt': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/numbers.c:133: undefined reference to `PyNumber_Long' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/objects.o: in function `PyObject_to_PyNumber': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/objects.c:32: undefined reference to `PyNumber_Check' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/objects.c:48: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/objects.c:54: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/objects.c:54: undefined reference to `PyErr_Format' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/objects.c:38: undefined reference to `PyExc_TypeError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/objects.c:38: undefined reference to `PyErr_SetString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/objects.c:79: undefined reference to `PyExc_TypeError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/objects.c:79: undefined reference to `PyErr_Format' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/objects.c:72: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/objects.c:72: undefined reference to `PyErr_Format' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/objects.c:69: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/objects.c:69: undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/objects.o: in function `PyObject_is_number': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/objects.c:97: undefined reference to `PyNumber_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/objects.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/objects.o: in function `PyObject_is_number': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/objects.c:116: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/objects.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_TrueStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/objects.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/objects.o: in function `PyObject_contains_type': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/objects.c:155: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/objects.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/objects.o: in function `PyObject_to_PyNumber': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/objects.c:63: undefined reference to `PyObject_CallFunctionObjArgs' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/objects.o: in function `PyObject_contains_type': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/objects.c:166: undefined reference to `PyObject_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `str_to_PyFloat': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:139: undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:136: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:136: undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `python_lib_str_to_PyFloat': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:70: undefined reference to `PyOS_string_to_double' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:76: undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `handle_possible_conversion_error': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:158: undefined reference to `PyErr_Clear' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:155: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:155: undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.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/src/strings.o: in function `str_to_PyInt': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:199: undefined reference to `PyLong_FromString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:211: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:211: undefined reference to `PyErr_Format' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:214: undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `PyUnicode_as_ascii_string': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:253: undefined reference to `_PyUnicode_Ready' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:277: undefined reference to `_PyUnicode_ToDecimalDigit' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyByteArray_Type' /usr/bin/ld: /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `convert_PyString_to_str': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:450: undefined reference to `PyObject_CheckBuffer' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:451: undefined reference to `PyObject_GetBuffer' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:472: undefined reference to `PyBuffer_Release' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `PyUnicode_as_ascii_string': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:280: undefined reference to `_Py_ascii_whitespace' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:280: undefined reference to `_PyUnicode_IsWhitespace' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `convert_PyString_to_str': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:445: undefined reference to `_PyByteArray_empty_string' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `PyUnicode_as_ascii_string': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:259: undefined reference to `PyErr_NoMemory' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `remove_valid_underscores': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:308: undefined reference to `PyErr_NoMemory' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `convert_PyString_to_str': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:460: undefined reference to `PyErr_NoMemory' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `PyString_to_PyNumber': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:521: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyByteArray_Type' /usr/bin/ld: /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `PyString_to_PyNumber': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:542: undefined reference to `PyLong_FromString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:534: undefined reference to `PyExc_TypeError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:534: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `PyString_is_number': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:584: undefined reference to `PyObject_IsTrue' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:583: undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_TrueStruct' /usr/bin/ld: /usr/include/python3.10/object.h:472: undefined reference to `_Py_FalseStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `PyString_is_number': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:597: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `PyLong_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `PyString_contains_type': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:641: undefined reference to `PyObject_IsTrue' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:640: undefined reference to `PyObject_IsTrue' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `PyFloat_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `PyString_contains_type': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:647: undefined reference to `PyObject_Type' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:652: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/strings.o: in function `str_to_PyFloat': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/strings.c:115: undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/unicode_character.o: in function `convert_PyUnicode_to_PyNumber': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:37: undefined reference to `_Py_ascii_whitespace' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:37: undefined reference to `_PyUnicode_IsWhitespace' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:41: undefined reference to `_Py_ascii_whitespace' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:41: undefined reference to `_Py_ascii_whitespace' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:41: undefined reference to `_Py_ascii_whitespace' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:41: undefined reference to `_PyUnicode_IsWhitespace' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:32: undefined reference to `_PyUnicode_Ready' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:30: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:59: undefined reference to `_PyUnicode_ToNumeric' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:60: undefined reference to `_PyUnicode_ToDigit' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/unicode_character.o: in function `PyUnicodeCharacter_to_PyNumber': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:92: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:107: undefined reference to `PyNumber_Float' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/unicode_character.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/src/unicode_character.o: in function `PyUnicodeCharacter_to_PyNumber': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:88: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:88: undefined reference to `PyErr_Format' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:129: undefined reference to `PyNumber_Long' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:85: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:85: undefined reference to `PyErr_Format' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:101: undefined reference to `PyNumber_Long' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:131: undefined reference to `PyErr_Clear' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:132: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:132: undefined reference to `PyErr_Format' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/unicode_character.o: in function `PyUnicodeCharacter_is_number': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:157: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/unicode_character.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/src/unicode_character.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/src/unicode_character.o: in function `_PyObject_TypeCheck': /usr/include/python3.10/object.h:247: undefined reference to `PyFloat_Type' /usr/bin/ld: /usr/include/python3.10/object.h:247: undefined reference to `PyType_IsSubtype' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/unicode_character.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/src/unicode_character.o: in function `PyUnicodeCharacter_contains_type': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:197: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:198: undefined reference to `PyObject_Type' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/unicode_character.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/src/unicode_character.o: in function `convert_PyUnicode_to_PyNumber': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:63: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:66: undefined reference to `PyFloat_FromDouble' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/src/unicode_character.o: in function `PyUnicodeCharacter_contains_type': /home/pterjan/rpmbuild/BUILD/fastnumbers-3.2.1/src/unicode_character.c:195: undefined reference to `PyObject_Type' 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.kYcF76 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kYcF76 (%build) I: [iurt_root_command] ERROR: chroot