Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. 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#30363 - [python-gnutls] tries to load gnutls-extra but gnutls-extra doesn't exist in any package

Attached to Project: Community Packages
Opened by Max Pray (synthead) - Tuesday, 19 June 2012, 18:18 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 01 August 2012, 16:04 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

On line 131 in /usr/lib/python2.7/site-packages/gnutls/library/__init__.py (part of python-gnutls):
libgnutls_extra = load_library(name='gnutls-extra', version=26)

... but libgnutls-extra.so.26 is not provided by any package in the repos.

When running blink (which uses python-gnutls):
$ blink
Traceback (most recent call last):
File "/usr/bin/blink", line 24, in <module>
from blink import Blink
File "/usr/lib/python2.7/site-packages/blink/__init__.py", line 22, in <module>
from gnutls.crypto import X509Certificate, X509PrivateKey
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 131, in <module>
libgnutls_extra = load_library(name='gnutls-extra', version=26)
File "/usr/lib/python2.7/site-packages/gnutls/library/__init__.py", line 64, in load_library
raise RuntimeError('cannot find lib%s on this system' % name)
RuntimeError: cannot find libgnutls-extra on this system

Related packages:
gnutls 3.0.20-1
python-gnutls 1.2.2-1
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 01 August 2012, 16:04 GMT
Reason for closing:  Fixed
Comment by Sergej Pupykin (sergej) - Thursday, 21 June 2012, 11:05 GMT
should be fixed in python-gnutls 1.2.4-1
Comment by Alexander F Rødseth (xyproto) (trontonic) - Sunday, 15 July 2012, 13:15 GMT
Max, does it work for you now? Thanks
Comment by xlq (xlq) - Wednesday, 01 August 2012, 09:49 GMT
Problem still exists in python-gnutls 1.2.4-1. Furthermore, python-gnutls tries to load libgnutls.so.26 while current version is libgnutls.so.28.
Comment by xlq (xlq) - Wednesday, 01 August 2012, 11:04 GMT
This package has the following problems:
- libgnutls-extra has been removed from GnuTLS. It implemented TLS/IA (see https://lists.gnu.org/archive/html/help-gnutls/2005-12/msg00008.html).
- A few other functions have been removed, but these don't seem to be used by python-gnutls itself (I haven't checked very thoroughly though).
- The latest library version is libgnutls.so.28, but python-gnutls looks for libgnutls.so.26 specifically.
- gcry_control has been removed. According tohelp-gnutls@gnu.org/msg02093.html"> http://www.mail-archive.com/help-gnutls@gnu.org/msg02093.html no alternative needs to be used.

The attached patch is my first attempt to fix these. The patch can be applied directly to the files installed in /usr/lib/python2.7/site-packages/gnutls with patch -p1.
Comment by Sergej Pupykin (sergej) - Wednesday, 01 August 2012, 13:46 GMT
thank you, please try 1.2.4-2
Comment by xlq (xlq) - Wednesday, 01 August 2012, 15:37 GMT
Fixed in 1.2.4-2. Thanks.

Loading...