[Python-modules-team] Bug#490147: python-gnutls refers to a now non-existing function

Juha Heinanen jh at tutpro.com
Thu Jul 10 08:56:35 UTC 2008


Package: python-gnutls
Version: 1.1.5-2

Looks like python-gnutls in Lenny testing has not been updated to match
GnuTLS 2.4.0, because it contains a reference to a non-existing function
gnutls_openpgp_crt_get_id in
/usr/share/python-support/python-gnutls/gnutls/library/functions.py:

gnutls_openpgp_crt_get_id =_libraries['libgnutls-extra.so.26'].gnutls_openpgp_crt_get_id

thus execution of an application using gnutls_openpgp_crt_get_id results
in error:

Jul 10 11:37:53 lenny-1 media-dispatcher[10565]: [-]   File "/var/lib/python-support/python2.5/gnutls/library/functions.py", line 827, in <module>
Jul 10 11:37:53 lenny-1 media-dispatcher[10565]: [-]     gnutls_openpgp_crt_get_id = _libraries['libgnutls-extra.so.26'].gnutls_openpgp_crt_get_id
Jul 10 11:37:53 lenny-1 media-dispatcher[10565]: [-]   File "/usr/lib/python2.5/ctypes/__init__.py", line 361, in __getattr__
Jul 10 11:37:53 lenny-1 media-dispatcher[10565]: [-]     func = self.__getitem__(name)
Jul 10 11:37:53 lenny-1 media-dispatcher[10565]: [-]   File "/usr/lib/python2.5/ctypes/__init__.py", line 366, in __getitem__
Jul 10 11:37:53 lenny-1 media-dispatcher[10565]: [-]     func = self._FuncPtr((name_or_ordinal, self))
Jul 10 11:37:53 lenny-1 media-dispatcher[10565]: [-] AttributeError: /usr/lib/libgnutls-extra.so.26: undefined symbol: gnutls_openpgp_crt_get_id

according to GnuTLS 2.4.0 release notes:

The function gnutls_openpgp_crt_get_key_id is the same as the old
    from gnutls_openpgp_crt_get_id, see above.

regards, juha





More information about the Python-modules-team mailing list