D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-ldap-3.3.1-4.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.epHqFL + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf python-ldap-3.3.1 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/python-ldap-3.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-ldap-3.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/python-ldap-3.0.0-libs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + chmod a+r -R . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.M7UicE + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd python-ldap-3.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' /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 copying Lib/ldapurl.py -> build/lib.linux-x86_64-cpython-310 copying Lib/ldif.py -> build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/ldap copying Lib/ldap/syncrepl.py -> build/lib.linux-x86_64-cpython-310/ldap copying Lib/ldap/pkginfo.py -> build/lib.linux-x86_64-cpython-310/ldap copying Lib/ldap/cidict.py -> build/lib.linux-x86_64-cpython-310/ldap copying Lib/ldap/dn.py -> build/lib.linux-x86_64-cpython-310/ldap copying Lib/ldap/compat.py -> build/lib.linux-x86_64-cpython-310/ldap copying Lib/ldap/resiter.py -> build/lib.linux-x86_64-cpython-310/ldap copying Lib/ldap/functions.py -> build/lib.linux-x86_64-cpython-310/ldap copying Lib/ldap/logger.py -> build/lib.linux-x86_64-cpython-310/ldap copying Lib/ldap/async.py -> build/lib.linux-x86_64-cpython-310/ldap copying Lib/ldap/sasl.py -> build/lib.linux-x86_64-cpython-310/ldap copying Lib/ldap/constants.py -> build/lib.linux-x86_64-cpython-310/ldap copying Lib/ldap/__init__.py -> build/lib.linux-x86_64-cpython-310/ldap copying Lib/ldap/asyncsearch.py -> build/lib.linux-x86_64-cpython-310/ldap copying Lib/ldap/modlist.py -> build/lib.linux-x86_64-cpython-310/ldap copying Lib/ldap/ldapobject.py -> build/lib.linux-x86_64-cpython-310/ldap copying Lib/ldap/filter.py -> build/lib.linux-x86_64-cpython-310/ldap creating build/lib.linux-x86_64-cpython-310/ldap/controls copying Lib/ldap/controls/pwdpolicy.py -> build/lib.linux-x86_64-cpython-310/ldap/controls copying Lib/ldap/controls/sessiontrack.py -> build/lib.linux-x86_64-cpython-310/ldap/controls copying Lib/ldap/controls/deref.py -> build/lib.linux-x86_64-cpython-310/ldap/controls copying Lib/ldap/controls/sss.py -> build/lib.linux-x86_64-cpython-310/ldap/controls copying Lib/ldap/controls/simple.py -> build/lib.linux-x86_64-cpython-310/ldap/controls copying Lib/ldap/controls/openldap.py -> build/lib.linux-x86_64-cpython-310/ldap/controls copying Lib/ldap/controls/__init__.py -> build/lib.linux-x86_64-cpython-310/ldap/controls copying Lib/ldap/controls/psearch.py -> build/lib.linux-x86_64-cpython-310/ldap/controls copying Lib/ldap/controls/pagedresults.py -> build/lib.linux-x86_64-cpython-310/ldap/controls copying Lib/ldap/controls/ppolicy.py -> build/lib.linux-x86_64-cpython-310/ldap/controls copying Lib/ldap/controls/vlv.py -> build/lib.linux-x86_64-cpython-310/ldap/controls copying Lib/ldap/controls/libldap.py -> build/lib.linux-x86_64-cpython-310/ldap/controls copying Lib/ldap/controls/readentry.py -> build/lib.linux-x86_64-cpython-310/ldap/controls creating build/lib.linux-x86_64-cpython-310/ldap/extop copying Lib/ldap/extop/__init__.py -> build/lib.linux-x86_64-cpython-310/ldap/extop copying Lib/ldap/extop/passwd.py -> build/lib.linux-x86_64-cpython-310/ldap/extop copying Lib/ldap/extop/dds.py -> build/lib.linux-x86_64-cpython-310/ldap/extop creating build/lib.linux-x86_64-cpython-310/ldap/schema copying Lib/ldap/schema/subentry.py -> build/lib.linux-x86_64-cpython-310/ldap/schema copying Lib/ldap/schema/tokenizer.py -> build/lib.linux-x86_64-cpython-310/ldap/schema copying Lib/ldap/schema/__init__.py -> build/lib.linux-x86_64-cpython-310/ldap/schema copying Lib/ldap/schema/models.py -> build/lib.linux-x86_64-cpython-310/ldap/schema creating build/lib.linux-x86_64-cpython-310/slapdtest copying Lib/slapdtest/_slapdtest.py -> build/lib.linux-x86_64-cpython-310/slapdtest copying Lib/slapdtest/__init__.py -> build/lib.linux-x86_64-cpython-310/slapdtest running egg_info writing Lib/python_ldap.egg-info/PKG-INFO writing dependency_links to Lib/python_ldap.egg-info/dependency_links.txt writing requirements to Lib/python_ldap.egg-info/requires.txt writing top-level names to Lib/python_ldap.egg-info/top_level.txt reading manifest file 'Lib/python_ldap.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'Doc/.build' adding license file 'LICENCE' writing manifest file 'Lib/python_ldap.egg-info/SOURCES.txt' /usr/lib/python3.10/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning: Installing 'slapdtest.certs' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'slapdtest.certs' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'slapdtest.certs' 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 'slapdtest.certs' 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/slapdtest/certs copying Lib/slapdtest/certs/README -> build/lib.linux-x86_64-cpython-310/slapdtest/certs copying Lib/slapdtest/certs/ca.conf -> build/lib.linux-x86_64-cpython-310/slapdtest/certs copying Lib/slapdtest/certs/ca.pem -> build/lib.linux-x86_64-cpython-310/slapdtest/certs copying Lib/slapdtest/certs/client.conf -> build/lib.linux-x86_64-cpython-310/slapdtest/certs copying Lib/slapdtest/certs/client.key -> build/lib.linux-x86_64-cpython-310/slapdtest/certs copying Lib/slapdtest/certs/client.pem -> build/lib.linux-x86_64-cpython-310/slapdtest/certs copying Lib/slapdtest/certs/gencerts.sh -> build/lib.linux-x86_64-cpython-310/slapdtest/certs copying Lib/slapdtest/certs/gennssdb.sh -> build/lib.linux-x86_64-cpython-310/slapdtest/certs copying Lib/slapdtest/certs/server.conf -> build/lib.linux-x86_64-cpython-310/slapdtest/certs copying Lib/slapdtest/certs/server.key -> build/lib.linux-x86_64-cpython-310/slapdtest/certs copying Lib/slapdtest/certs/server.pem -> build/lib.linux-x86_64-cpython-310/slapdtest/certs running build_ext building '_ldap' extension creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/Modules 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 -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=3.3.1 "-DLDAPMODULE_AUTHOR=python-ldap project" "-DLDAPMODULE_LICENSE=Python style" -IModules -I/usr/include/python3.10 -c Modules/LDAPObject.c -o build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.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 -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=3.3.1 "-DLDAPMODULE_AUTHOR=python-ldap project" "-DLDAPMODULE_LICENSE=Python style" -IModules -I/usr/include/python3.10 -c Modules/berval.c -o build/temp.linux-x86_64-cpython-310/Modules/berval.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 -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=3.3.1 "-DLDAPMODULE_AUTHOR=python-ldap project" "-DLDAPMODULE_LICENSE=Python style" -IModules -I/usr/include/python3.10 -c Modules/common.c -o build/temp.linux-x86_64-cpython-310/Modules/common.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 -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=3.3.1 "-DLDAPMODULE_AUTHOR=python-ldap project" "-DLDAPMODULE_LICENSE=Python style" -IModules -I/usr/include/python3.10 -c Modules/constants.c -o build/temp.linux-x86_64-cpython-310/Modules/constants.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 -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=3.3.1 "-DLDAPMODULE_AUTHOR=python-ldap project" "-DLDAPMODULE_LICENSE=Python style" -IModules -I/usr/include/python3.10 -c Modules/functions.c -o build/temp.linux-x86_64-cpython-310/Modules/functions.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 -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=3.3.1 "-DLDAPMODULE_AUTHOR=python-ldap project" "-DLDAPMODULE_LICENSE=Python style" -IModules -I/usr/include/python3.10 -c Modules/ldapcontrol.c -o build/temp.linux-x86_64-cpython-310/Modules/ldapcontrol.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 -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=3.3.1 "-DLDAPMODULE_AUTHOR=python-ldap project" "-DLDAPMODULE_LICENSE=Python style" -IModules -I/usr/include/python3.10 -c Modules/ldapmodule.c -o build/temp.linux-x86_64-cpython-310/Modules/ldapmodule.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 -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=3.3.1 "-DLDAPMODULE_AUTHOR=python-ldap project" "-DLDAPMODULE_LICENSE=Python style" -IModules -I/usr/include/python3.10 -c Modules/message.c -o build/temp.linux-x86_64-cpython-310/Modules/message.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 -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=3.3.1 "-DLDAPMODULE_AUTHOR=python-ldap project" "-DLDAPMODULE_LICENSE=Python style" -IModules -I/usr/include/python3.10 -c Modules/options.c -o build/temp.linux-x86_64-cpython-310/Modules/options.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/Modules/LDAPObject.o build/temp.linux-x86_64-cpython-310/Modules/berval.o build/temp.linux-x86_64-cpython-310/Modules/common.o build/temp.linux-x86_64-cpython-310/Modules/constants.o build/temp.linux-x86_64-cpython-310/Modules/functions.o build/temp.linux-x86_64-cpython-310/Modules/ldapcontrol.o build/temp.linux-x86_64-cpython-310/Modules/ldapmodule.o build/temp.linux-x86_64-cpython-310/Modules/message.o build/temp.linux-x86_64-cpython-310/Modules/options.o -L/usr/lib64 -lldap_r -llber -lsasl2 -lssl -lcrypto -lm -o build/lib.linux-x86_64-cpython-310/_ldap.cpython-310-x86_64-linux-gnu.so /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `LDAPMod_DEL': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:82: undefined reference to `PyMem_Free' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:85: undefined reference to `PyMem_Free' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:87: undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `dealloc': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:43: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:45: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:43: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `interaction': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:628: undefined reference to `PyBytes_AsString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:621: undefined reference to `_PyObject_CallMethod_SizeT' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.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/Modules/LDAPObject.o: in function `l_ldap_get_option': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1390: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_set_option': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1373: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_start_tls_s': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1346: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1351: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1353: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_start_tls_s': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1351: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_unbind_ext': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:388: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:395: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:412: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:414: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_unbind_ext': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:412: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_abandon_ext': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:433: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:440: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:458: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:460: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_abandon_ext': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:458: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_cancel': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:825: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:832: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:850: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:853: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:861: undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_cancel': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:850: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_delete_ext': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:924: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:932: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:950: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:953: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:961: undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_delete_ext': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:950: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_whoami_s': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1292: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1303: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1320: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1322: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_whoami_s': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1320: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_simple_bind': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:536: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:542: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:563: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:567: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:575: undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_simple_bind': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:563: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_compare_ext': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:872: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:882: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:903: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:907: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:915: undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_compare_ext': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:903: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_extended_operation': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1464: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1472: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1492: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1497: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1505: undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_extended_operation': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1492: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_sasl_interactive_bind_s': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:742: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:765: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:787: undefined reference to `PyObject_GetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:790: undefined reference to `PyBytes_AsString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:812: undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.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/Modules/LDAPObject.o: in function `l_ldap_rename': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1029: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1037: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1056: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1060: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1068: undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_rename': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1056: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_passwd': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1408: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1416: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1440: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1446: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1454: undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_passwd': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1440: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_sasl_bind_s': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:685: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:693: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:714: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:721: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:733: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:728: undefined reference to `PyBytes_FromStringAndSize' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_sasl_bind_s': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:714: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `List_to_LDAPMods': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:225: undefined reference to `PySequence_Check' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:231: undefined reference to `PySequence_Size' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:239: undefined reference to `PyMem_Malloc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `Tuple_to_LDAPMod': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:119: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:128: undefined reference to `PyMem_Malloc' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:137: undefined reference to `PyMem_Malloc' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:143: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:148: undefined reference to `PyMem_Malloc' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:152: undefined reference to `PyMem_Malloc' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:157: undefined reference to `PyBytes_Size' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:158: undefined reference to `PyBytes_AsString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `List_to_LDAPMods': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:246: undefined reference to `PySequence_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `Tuple_to_LDAPMod': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:124: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `LDAPMods_DEL': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:209: undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `Tuple_to_LDAPMod': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:160: undefined reference to `PySequence_Check' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.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/Modules/LDAPObject.o: in function `Tuple_to_LDAPMod': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:161: undefined reference to `PySequence_Size' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:192: undefined reference to `PyErr_NoMemory' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:192: undefined reference to `PyErr_NoMemory' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `List_to_LDAPMods': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:258: undefined reference to `PyErr_NoMemory' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `Tuple_to_LDAPMod': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:162: undefined reference to `PyMem_Malloc' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:167: undefined reference to `PyMem_Malloc' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:172: undefined reference to `PySequence_GetItem' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:181: undefined reference to `PyBytes_Size' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:182: undefined reference to `PyBytes_AsString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.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/Modules/LDAPObject.o: in function `l_ldap_result4': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1093: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1108: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1110: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1119: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1119: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1160: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1163: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1194: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1194: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.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/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_result4': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1175: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1177: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1123: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1123: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.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/Modules/LDAPObject.o: in function `l_ldap_result4': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1194: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1149: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1152: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1200: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1200: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.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/Modules/LDAPObject.o: in function `l_ldap_result4': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1108: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_modify_ext': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:971: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:980: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1005: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1009: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `LDAPMods_DEL': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:209: undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_modify_ext': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1018: undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `LDAPMods_DEL': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:209: undefined reference to `PyMem_Free' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:209: undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_modify_ext': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1005: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_add_ext': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:479: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:488: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:513: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:516: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `LDAPMods_DEL': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:209: undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_add_ext': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:524: undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `LDAPMods_DEL': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:209: undefined reference to `PyMem_Free' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:209: undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_add_ext': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:513: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `newLDAPObject': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:26: undefined reference to `_PyObject_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `attrs_from_List': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:277: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:302: undefined reference to `PySequence_Fast' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:306: undefined reference to `PySequence_Size' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:354: undefined reference to `PyErr_NoMemory' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:308: undefined reference to `PyMem_Malloc' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:334: undefined reference to `PyUnicode_AsUTF8AndSize' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:340: undefined reference to `PyMem_Malloc' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:354: undefined reference to `PyErr_NoMemory' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `free_attrs': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:374: undefined reference to `PyMem_Free' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:376: undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.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/Modules/LDAPObject.o: in function `l_ldap_search_ext': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1220: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1238: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1271: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1275: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `free_attrs': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:374: undefined reference to `PyMem_Free' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:376: undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_search_ext': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1284: undefined reference to `PyLong_FromLong' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `not_valid': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:69: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `free_attrs': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:374: undefined reference to `PyMem_Free' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:376: undefined reference to `PyMem_Free' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:374: undefined reference to `PyMem_Free' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:376: undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `l_ldap_search_ext': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:1271: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `LDAPMod_DEL': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:89: undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/LDAPObject.o: in function `dealloc': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/LDAPObject.c:50: undefined reference to `PyObject_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/berval.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/berval.o: in function `LDAPberval_to_object': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/berval.c:25: undefined reference to `PyBytes_FromStringAndSize' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/berval.o: in function `LDAPberval_to_unicode_object': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/berval.c:47: undefined reference to `PyUnicode_FromStringAndSize' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/common.o: in function `LDAPadd_methods': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/common.c:14: undefined reference to `PyCMethod_New' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/common.c:16: undefined reference to `PyDict_SetItemString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/common.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/Modules/common.o: in function `LDAPerror_TypeError': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/common.c:25: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/common.c:30: undefined reference to `PyExc_TypeError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/common.c:30: undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/common.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/Modules/constants.o: in function `LDAPerr': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:35: undefined reference to `PyErr_SetNone' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:38: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:42: undefined reference to `PyErr_SetObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/constants.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/Modules/constants.o: in function `LDAPraise_for_message': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:96: undefined reference to `PyDict_New' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:119: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:121: undefined reference to `PyDict_SetItemString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:124: undefined reference to `PyUnicode_FromString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:126: undefined reference to `PyDict_SetItemString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:147: undefined reference to `PyDict_SetItemString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:176: undefined reference to `PyErr_SetObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:144: undefined reference to `PyErr_NoMemory' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:106: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:108: undefined reference to `PyDict_SetItemString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/constants.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/Modules/constants.o: in function `LDAPraise_for_message': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:113: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:115: undefined reference to `PyDict_SetItemString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/constants.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/Modules/constants.o: in function `LDAPraise_for_message': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:130: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:132: undefined reference to `PyDict_SetItemString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/constants.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/Modules/constants.o: in function `LDAPraise_for_message': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:144: undefined reference to `PyErr_NoMemory' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:165: undefined reference to `PyUnicode_FromString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:166: undefined reference to `PyDict_SetItemString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/constants.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: /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/Modules/constants.o: in function `LDAPraise_for_message': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:152: undefined reference to `PyUnicode_FromString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:154: undefined reference to `PyDict_SetItemString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:170: undefined reference to `PyUnicode_FromString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:172: undefined reference to `PyDict_SetItemString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/constants.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/Modules/constants.o: in function `LDAPraise_for_message': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:53: undefined reference to `PyErr_SetFromErrno' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/constants.o: in function `LDAPinit_constants': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:199: undefined reference to `PyModule_AddIntConstant' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:201: undefined reference to `PyModule_AddIntConstant' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:206: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:211: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants.c:216: undefined reference to `PyModule_AddObject' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/constants.o: in function `LDAPinit_constants': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:8: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:8: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:8: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:8: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:9: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:9: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:9: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:9: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:10: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:10: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:10: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:10: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:11: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:11: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:11: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:11: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:12: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:12: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:12: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:12: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:13: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:13: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:13: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:13: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:14: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:14: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:14: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:14: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:15: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:15: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:15: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:15: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:16: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:16: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:16: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:16: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:17: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:17: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:17: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:17: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:18: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:18: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:18: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:18: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:19: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:19: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:19: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:19: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:20: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:20: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:20: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:20: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:21: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:21: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:21: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:21: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:22: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:22: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:22: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:22: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:23: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:23: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:23: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:23: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:24: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:24: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:24: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:24: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:25: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:25: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:25: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:25: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:26: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:26: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:26: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:26: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:27: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:27: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:27: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:27: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:28: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:28: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:28: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:28: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:29: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:29: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:29: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:29: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:30: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:30: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:30: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:30: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:31: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:31: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:31: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:31: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:32: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:32: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:32: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:32: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:33: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:33: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:33: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:33: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:34: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:34: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:34: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:34: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:35: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:35: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:35: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:35: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:36: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:36: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:36: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:36: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:37: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:37: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:37: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:37: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:38: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:38: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:38: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:38: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:39: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:39: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:39: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:39: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:40: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:40: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:40: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:40: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:41: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:41: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:41: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:41: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:42: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:42: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:42: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:42: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:43: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:43: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:43: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:43: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:44: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:44: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:44: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:44: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:45: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:45: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:45: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:45: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:46: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:46: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:46: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:46: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:47: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:47: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:47: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:47: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:48: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:48: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:48: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:48: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:49: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:49: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:49: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:49: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:50: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:50: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:50: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:50: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:51: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:51: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:51: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:51: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:52: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:52: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:52: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:52: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:53: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:53: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:53: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:53: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:54: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:54: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:54: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:54: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:55: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:55: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:55: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:55: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:56: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:56: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:56: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:56: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:57: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:57: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:57: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:57: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:58: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:58: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:58: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:58: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:59: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:59: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:59: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:59: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:60: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:60: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:60: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:60: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:61: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:61: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:61: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:61: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:62: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:62: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:62: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:62: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:63: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:63: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:63: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:63: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:64: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:64: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:64: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:64: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:65: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:65: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:65: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:65: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:66: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:66: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:66: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:66: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:67: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:67: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:67: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:67: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:68: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:68: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:68: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:68: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:69: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:69: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:69: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:69: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:70: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:70: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:70: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:70: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:73: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:73: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:73: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:73: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:74: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:74: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:74: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:74: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:75: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:75: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:75: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:75: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:76: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:76: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:76: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:76: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:80: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:80: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:80: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:80: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:84: undefined reference to `PyErr_NewException' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:84: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:84: undefined reference to `PyObject_SetAttrString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:84: undefined reference to `PyModule_AddObject' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:87: undefined reference to `PyModule_AddIntConstant' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:88: undefined reference to `PyModule_AddIntConstant' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:89: undefined reference to `PyModule_AddIntConstant' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:90: undefined reference to `PyModule_AddIntConstant' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:91: undefined reference to `PyModule_AddIntConstant' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/constants.o:/home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:92: more undefined references to `PyModule_AddIntConstant' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/constants.o: in function `LDAPinit_constants': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:340: undefined reference to `PyModule_AddStringConstant' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:341: undefined reference to `PyModule_AddStringConstant' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:342: undefined reference to `PyModule_AddStringConstant' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:343: undefined reference to `PyModule_AddStringConstant' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:344: undefined reference to `PyModule_AddStringConstant' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/constants.o:/home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/constants_generated.h:345: more undefined references to `PyModule_AddStringConstant' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/constants.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: /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/Modules/constants.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/functions.o: in function `l_ldap_get_option': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/functions.c:186: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/functions.o: in function `l_ldap_initialize_fd': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/functions.c:48: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/functions.c:77: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/functions.c:79: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/functions.c:72: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/functions.c:72: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/functions.o: in function `l_ldap_initialize': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/functions.c:20: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/functions.c:23: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/functions.c:25: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/functions.o: in function `l_ldap_set_option': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/functions.c:171: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/functions.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/functions.o: in function `l_ldap_str2dn': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/functions.c:106: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/functions.c:114: undefined reference to `PyList_New' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/functions.c:123: undefined reference to `PyList_New' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/functions.c:126: undefined reference to `PyList_Append' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/functions.c:135: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/functions.c:145: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/functions.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: /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/Modules/ldapcontrol.o: in function `encode_assertion_control': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:345: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:353: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:355: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:369: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:371: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:364: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:366: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/ldapcontrol.o: in function `encode_rfc3876': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:210: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/ldapcontrol.o: in function `decode_rfc2696': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:309: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:326: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/ldapcontrol.o: in function `encode_rfc2696': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:252: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/ldapcontrol.o: in function `LDAPControl_DEL': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:36: undefined reference to `PyMem_Free' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:37: undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/ldapcontrol.o: in function `LDAPControls_from_object': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:132: undefined reference to `PySequence_Check' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:138: undefined reference to `PySequence_Size' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:139: undefined reference to `PyMem_Malloc' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:147: undefined reference to `PySequence_GetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/ldapcontrol.o: in function `Tuple_to_LDAPControl': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:78: undefined reference to `_PyArg_ParseTuple_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:82: undefined reference to `PyMem_Malloc' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:92: undefined reference to `PyMem_Malloc' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:102: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:107: undefined reference to `PyBytes_Size' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:108: undefined reference to `PyBytes_AsString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/ldapcontrol.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/Modules/ldapcontrol.o: in function `LDAPControls_from_object': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:142: undefined reference to `PyErr_NoMemory' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:156: undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/ldapcontrol.o: in function `LDAPControl_DEL': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:36: undefined reference to `PyMem_Free' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:37: undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/ldapcontrol.o: in function `Tuple_to_LDAPControl': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:85: undefined reference to `PyErr_NoMemory' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:95: undefined reference to `PyErr_NoMemory' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/ldapcontrol.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/Modules/ldapcontrol.o: in function `LDAPControls_to_List': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:180: undefined reference to `PyList_New' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:185: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/ldapcontrol.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/Modules/ldapcontrol.o: in function `LDAPControl_List_DEL': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:53: undefined reference to `PyMem_Free' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/ldapcontrol.o: in function `LDAPControls_to_List': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:180: undefined reference to `PyList_New' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapcontrol.c:180: undefined reference to `PyList_New' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/ldapmodule.o: in function `init_ldap_module': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapmodule.c:53: undefined reference to `PyModule_Create2' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapmodule.c:58: undefined reference to `PyType_Ready' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapmodule.c:64: undefined reference to `PyModule_GetDict' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/ldapmodule.o: in function `init_pkginfo': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapmodule.c:26: undefined reference to `PyModule_AddStringConstant' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapmodule.c:27: undefined reference to `PyModule_AddStringConstant' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapmodule.c:28: undefined reference to `PyModule_AddStringConstant' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/ldapmodule.o: in function `init_ldap_module': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapmodule.c:78: undefined reference to `PyModule_AddIntConstant' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapmodule.c:83: undefined reference to `PyErr_Occurred' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/ldapmodule.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/Modules/ldapmodule.o: in function `init_ldap_module': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/ldapmodule.c:84: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/message.o: in function `LDAPmessage_to_python': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:37: undefined reference to `PyList_New' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:59: undefined reference to `PyDict_New' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:96: undefined reference to `PyUnicode_FromString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:101: undefined reference to `PyDict_Contains' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:107: undefined reference to `PyDict_GetItem' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:142: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/message.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/Modules/message.o: in function `LDAPmessage_to_python': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:165: undefined reference to `PyUnicode_FromString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:177: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:183: undefined reference to `PyList_Append' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:231: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:238: undefined reference to `PyList_Append' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:192: undefined reference to `PyList_New' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:234: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:113: undefined reference to `PyList_New' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:114: undefined reference to `PyDict_SetItem' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/message.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: /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/Modules/message.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/message.o: in function `LDAPmessage_to_python': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:174: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:223: undefined reference to `PyUnicode_FromString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:225: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/message.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: /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/Modules/message.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/message.o: in function `LDAPmessage_to_python': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:283: undefined reference to `PyUnicode_FromString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:292: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/message.c:299: undefined reference to `PyList_Append' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/message.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: /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/Modules/message.o:/usr/include/python3.10/object.h:500: more undefined references to `_Py_Dealloc' follow /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/options.o: in function `LDAP_int_get_option': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:219: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:221: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:226: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:228: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:219: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/options.o: in function `option_error': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:30: undefined reference to `PyExc_SystemError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:30: undefined reference to `PyErr_Format' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:28: undefined reference to `PyErr_NoMemory' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:24: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:24: undefined reference to `PyErr_SetString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:26: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:26: undefined reference to `PyErr_SetString' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/options.o: in function `LDAP_set_option': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:184: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:184: undefined reference to `PyErr_Format' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:107: undefined reference to `_PyArg_Parse_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:189: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:191: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:141: undefined reference to `_Py_NoneStruct' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:147: undefined reference to `_PyArg_Parse_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:134: undefined reference to `_PyArg_Parse_SizeT' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:196: undefined reference to `PyEval_SaveThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:198: undefined reference to `PyEval_RestoreThread' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:70: undefined reference to `PyObject_IsTrue' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:59: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:59: undefined reference to `PyErr_SetString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:148: undefined reference to `PyExc_TypeError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:148: undefined reference to `PyErr_ExceptionMatches' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:150: undefined reference to `PyErr_Clear' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:151: undefined reference to `PyErr_Format' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:170: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:170: undefined reference to `PyErr_Format' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:189: undefined reference to `_Py_FatalErrorFunc' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/options.o: in function `LDAP_get_option': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:404: undefined reference to `PyExc_ValueError' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:404: undefined reference to `PyErr_Format' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:325: undefined reference to `PyLong_FromLong' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:373: undefined reference to `PyUnicode_FromString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:387: undefined reference to `PyFloat_FromDouble' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:256: undefined reference to `PyTuple_New' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:258: undefined reference to `PyUnicode_FromString' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:263: undefined reference to `_Py_BuildValue_SizeT' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/options.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/Modules/options.o: in function `_Py_INCREF': /usr/include/python3.10/object.h:472: undefined reference to `_Py_NoneStruct' /usr/bin/ld: build/temp.linux-x86_64-cpython-310/Modules/options.o: in function `LDAP_get_option': /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:256: undefined reference to `PyTuple_New' /usr/bin/ld: /home/pterjan/rpmbuild/BUILD/python-ldap-3.3.1/Modules/options.c:263: undefined reference to `_Py_BuildValue_SizeT' 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.M7UicE (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.M7UicE (%build) I: [iurt_root_command] ERROR: chroot