Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#44659 - [python2-gnutls] Does not work with gnutls 3.4.0

Attached to Project: Community Packages
Opened by Valentin Nemcev (vnemcev) - Monday, 20 April 2015, 10:27 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 21 April 2015, 10:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After updating gnutls to 3.4.0 during full system upgrade, I'm getting an error like this:
File "/usr/lib/python2.7/site-packages/gnutls/crypto.py", line 11, in <module>
from gnutls.validators import method_args, one_of
File "/usr/lib/python2.7/site-packages/gnutls/validators.py", line 9, in <module>
from gnutls.constants import *
File "/usr/lib/python2.7/site-packages/gnutls/constants.py", line 38, in <module>
from gnutls.library import constants
File "/usr/lib/python2.7/site-packages/gnutls/library/__init__.py", line 122, in <module>
libgnutls = load_library(name='gnutls', version=28)
File "/usr/lib/python2.7/site-packages/gnutls/library/__init__.py", line 54, in load_library
raise RuntimeError('cannot find lib%s on this system' % name)
RuntimeError: cannot find libgnutls on this system

It tries to load /usr/lib/libgnutls.so.28
but I only have /usr/lib/libgnutls.so.30 after gnutls update

I tried to downgrade gnutls, but lots of other stuff broke.
I also tried to load libgnutls.so.30 as libgnutls.so.28 (via symlink) and got this:
File "/usr/lib/python2.7/site-packages/gnutls/crypto.py", line 11, in <module>
from gnutls.validators import method_args, one_of
File "/usr/lib/python2.7/site-packages/gnutls/validators.py", line 9, in <module>
from gnutls.constants import *
File "/usr/lib/python2.7/site-packages/gnutls/constants.py", line 38, in <module>
from gnutls.library import constants
File "/usr/lib/python2.7/site-packages/gnutls/library/__init__.py", line 129, in <module>
from gnutls.library import errors
File "/usr/lib/python2.7/site-packages/gnutls/library/errors.py", line 15, in <module>
from gnutls.library.functions import gnutls_strerror, gnutls_alert_get
File "/usr/lib/python2.7/site-packages/gnutls/library/functions.py", line 87, in <module>
gnutls_certificate_client_set_retrieve_function = libgnutls.gnutls_certificate_client_set_retrieve_function
File "/usr/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
func = self.__getitem__(name)
File "/usr/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: libgnutls.so.28: undefined symbol: gnutls_certificate_client_set_retrieve_function

This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 21 April 2015, 10:45 GMT
Reason for closing:  Fixed
Comment by Sergej Pupykin (sergej) - Monday, 20 April 2015, 18:28 GMT
updated to 2.0.1-1 but not sure if it works
Comment by Valentin Nemcev (vnemcev) - Tuesday, 21 April 2015, 07:28 GMT
Update worked for me, thank you for the quick response!

Loading...