Created attachment 331464 [details, diff] python-gnutls-1.2.4-gnutls-3.patch python-gnutls-1.2.4 with >=gnutls-3 produces an error like the one below. Traceback (most recent call last): File "/usr/bin/blink", line 24, in <module> from blink import Blink File "/usr/lib64/python2.7/site-packages/blink/__init__.py", line 22, 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 121, in <module> libgnutls_extra = load_library(name='gnutls-extra', 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-extra on this system This is acknowledged here ( http://lists.opensips.org/pipermail/users/2012-March/021121.html ) by the developer. However, Arch Linux has a patch which works ( https://bugs.archlinux.org/task/30363 ) to fix the issue. Please update the python-gnutls-1.2.4 ebuild to apply this patch so it will work with >=gnutls-3.
Was a bug opened in upstream report? Looks like they released 1.2.5 later but I see no reference to gnutls-3 :/, are they aware of that patch? Do they prefer any alternative?
I think a more appropriate solution is to make python-gnutls force DEPEND="<net-libs/gnutls-3" The reason is that with the current ~ version of gnutls (3.2.8 installed here), the patch here doesn't get you all the way there any more. It does get past the original error, but then quickly starts make more assumptions about gnutls-2 that are not true of gnutls-3: ... import gnutls.crypto 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 127, in <module> initialize_gcrypt() File "/usr/lib64/python2.7/site-packages/gnutls/library/__init__.py", line 113, in initialize_gcrypt libgnutls.gcry_check_version('1.2.4') # GNUTLS_MIN_LIBGCRYPT_VERSION File "/usr/lib64/python2.7/ctypes/__init__.py", line 378, in __getattr__ func = self.__getitem__(name) File "/usr/lib64/python2.7/ctypes/__init__.py", line 383, in __getitem__ func = self._FuncPtr((name_or_ordinal, self)) AttributeError: /usr/lib64/libgnutls.so.28: undefined symbol: gcry_check_version Hopefully either the python-gnutls maintainer will get on gnutls-3 support, or the 'pygnutls' fork at https://gitorious.org/pygnutls will get going on this. Soon?
Cold Fedora patch help? http://pkgs.fedoraproject.org/cgit/python-gnutls.git/tree/track-libgnutls-and-opengpg-versions.patch It is for fixing: https://bugzilla.redhat.com/show_bug.cgi?id=1015332
(In reply to Pacho Ramos from comment #3) > Cold Fedora patch help? > http://pkgs.fedoraproject.org/cgit/python-gnutls.git/tree/track-libgnutls- > and-opengpg-versions.patch > > It is for fixing: > https://bugzilla.redhat.com/show_bug.cgi?id=1015332 Any news? This is one of the last blockers for gnutls-3 :/ Thanks
P.mask'd. [12:42:51] <mrueg> !herd python [12:42:52] <willikins> mrueg: (python) chutzpah, dev-zero, djc, floppym, idella4, lordvan, maksbotan, marienz, mgorny, nelchael, patrick, prometheanfire, radhermit, rafaelmartins, sdamashek, sping, ultrabug, xarthisius, yac [12:43:07] <mrueg> anyone of you willing to review and fix bug #446016 ? [12:43:09] <willikins> mrueg: https://bugs.gentoo.org/446016 "dev-python/python-gnutls-1.2.4 does not support >=net-libs/gnutls-3"; Gentoo Linux, Library; UNCO; doctorwhoguy:python [12:45:24] <marienz> no cycles to properly review, sorry [12:46:01] <mrueg> otherwise maybe pmask it, because nothing else seems to depend on it anymore. [12:48:47] <mgorny> looks like a big patch with no conditionals [12:51:05] <mgorny> !rdep python-gnutls [12:51:06] <willikins> mgorny: No packages have a reverse RDEPEND on dev-python/python-gnutls. [12:53:08] <mgorny> mrueg: could you p.mask it please? possibly along with old gnutls
I didn't find any bug reporting facility on the project home page, so I emailed the developer directly. I'll report back if I get a reply.
Removed from the tree.