Summary: | dev-python/python-gnutls-1.2.4 does not support >=net-libs/gnutls-3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrick McMunn <doctorwhoguy> |
Component: | [OLD] Library | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | pacho |
Priority: | Normal | Keywords: | PATCH, PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | Pending removal: 2014-05-28 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 421391 | ||
Attachments: | python-gnutls-1.2.4-gnutls-3.patch |
Description
Patrick McMunn
2012-12-04 23:50:25 UTC
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. |