python-gnutls-1.2.4-1.fc19.x86_64's /usr/lib64/python2.7/site-packages/gnutls/library/__init__.py contains: libgnutls = load_library(name='gnutls', version=26) But gnutls-3.1.11-1.fc19.x86_64 provides /usr/lib/libgnutls.so.28. This causes errors like this: >>> import gnutls.crypto Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/gnutls/crypto.py", line 11, in <module> from gnutls.validators import method_args, one_of File "/usr/lib64/python2.7/site-packages/gnutls/validators.py", line 9, in <module> from gnutls.constants import * File "/usr/lib64/python2.7/site-packages/gnutls/constants.py", line 38, in <module> from gnutls.library import constants File "/usr/lib64/python2.7/site-packages/gnutls/library/__init__.py", line 120, in <module> libgnutls = load_library(name='gnutls', version=26) File "/usr/lib64/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 I'm not sure what the right fix is (make python-gnutls require the particular soname?), but this make the package useless.
Same problem here (I think) while trying to run Blink using Fedora provided gnutls bindings. * http://icanblink.com/ Fedora 19 (blink)[richard@zorin blink-0.5.0]$ blink Traceback (most recent call last): File "/home/richard/.virtualenvs/blink/bin/blink", line 8, in <module> execfile(__file__) File "/home/richard/projects/Blink/blink-0.5.0/bin/blink", line 24, in <module> from blink import Blink File "/home/richard/projects/Blink/blink-0.5.0/blink/__init__.py", line 28, in <module> from gnutls.crypto import X509Certificate, X509PrivateKey File "/usr/lib64/python2.7/site-packages/gnutls/crypto.py", line 11, in <module> from gnutls.validators import method_args, one_of File "/usr/lib64/python2.7/site-packages/gnutls/validators.py", line 9, in <module> from gnutls.constants import * File "/usr/lib64/python2.7/site-packages/gnutls/constants.py", line 38, in <module> from gnutls.library import constants File "/usr/lib64/python2.7/site-packages/gnutls/library/__init__.py", line 120, in <module> libgnutls = load_library(name='gnutls', version=26) File "/usr/lib64/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 (blink)[richard@zorin blink-0.5.0]$ yum list installed | egrep -i gnutls gnutls.x86_64 3.1.11-1.fc19 installed gnutls-c++.x86_64 3.1.11-1.fc19 installed gnutls-dane.x86_64 3.1.11-1.fc19 installed gnutls-devel.x86_64 3.1.11-1.fc19 installed python-gnutls.x86_64 1.2.4-1.fc19 @fedora
Created attachment 814808 [details] Patch to fix gnutls version and extras There are a couple problems I've run into on this. it hardcodes to 26 instead of 28 also it tries to include gnutls-extra which doesn't exist anymore. The following patch fixes both for me... I should also point out that python-gnutls seems to be dead and a new project pygnutls is around. Though they're at the same version and have the same bug currently... I found the above patch via https://bugs.archlinux.org/task/30363
Created attachment 816391 [details] Remove gnutls extras, update library version loaded, adjust openpgp function test This updated patch fixes the mismatched version loading, removes the functions that were in gnutls extras which no longer exists and adjusts the openpgp function test in library/functions.py that no longer exists. This allows python-gnutls to actually be used. I've tested it with a mandos server which uses it and the openpgp functions. Not 100% that it couldn't somehow be missing something with the openpgp functions in library/functions.py however I would have expected an exception if that were the case. Regardless if it does somehow break openpgp for some use cases, they were never working as is anyway at least not with the latest gnutls version anyway.
python-gnutls-1.2.4-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/python-gnutls-1.2.4-2.fc19
python-gnutls-1.2.4-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/python-gnutls-1.2.4-3.fc20
Package python-gnutls-1.2.4-2.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-gnutls-1.2.4-2.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-20978/python-gnutls-1.2.4-2.fc19 then log in and leave karma (feedback).
python-gnutls-1.2.4-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
python-gnutls-1.2.4-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
Have this error in Fedora 25.
python-gnutls-3.1.1-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-478ad5a8b3
python-gnutls-3.1.1-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b29150a7f7
python-gnutls-3.1.1-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b29150a7f7
python-gnutls-3.1.1-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-478ad5a8b3
python-gnutls-3.1.1-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
python-gnutls-3.1.1-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.