Summary: | dev-python/pycurl: ssl-related problems | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugs+gentoo, cyrius, dragonheart, gef.kornflakes, hilco.wijbenga, kripton, m.debruijne, marienz, pcmoore, ronan, strowi |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=433762 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 361315, 407073, 415251 | ||
Attachments: |
Build log
added gcrypt linking dependency |
Description
Diego Elio Pettenò (RETIRED)
![]() Created attachment 240227 [details]
Build log
Since this bug is named "multiple problems" and not "multiple ssl problems", here is another one: For me pycurl did not compile with net-misc/curl[-static-libs]. So this dependency needs to be fixed. (In reply to comment #2) It's unrelated and already fixed. Created attachment 302299 [details]
added gcrypt linking dependency
net-libs/gnutls-2.12.16 when nettle use flag is used, is not linked against libgcrypt.so so pycrypt needs to do it in linkage time.
Hi, I modified pycurl-7.19.0-linking.patch to add -lgcrypt to compile commands of pycurl. I got the problem when running virt-install: goofy # virt-install Traceback (most recent call last): File "/usr/bin/virt-install-2.7", line 31, in <module> import urlgrabber.progress as progress File "/usr/lib/python2.7/site-packages/urlgrabber/__init__.py", line 54, in <module> from grabber import urlgrab, urlopen, urlread File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 427, in <module> import pycurl ImportError: /usr/lib/python2.7/site-packages/pycurl.so: undefined symbol: gcry_control I'm not sure if this should be changed in gnutls or here in pycurl. But for now this patch solves the pycurl undefined symbol. Regards, Kfir modified pycurl-7.19.0-linking.patch seems to fix the bug in a appropriate way. If possible this patch should be pushed to portage ASAP, it is causing bug #407073 and #410885 and also the related forum thread http://forums.gentoo.org/viewtopic-p-7011982.html?sid=b8fe461e5d414baf2808210859a3a427#7011982 I can confirm this bug is still present and attachment 302299 [details] fixes it.
+ 18 Apr 2012; Jesus Rivero <neurogeek@gentoo.org> + files/pycurl-7.19.0-linking.patch: + Modified patch to account for curl USE flag mixture: ssl nss gnutls. Closes + bug #329987 + I've modified existing patch to account for some things. Added -lgrypt when curl is compiled with gnutls support, also, added an extra check for -lssl3 as dev-libs/nss provides libssl3 and not libssl, which was making pycurl not recognize the library used when curl was compiled with the nss USE flag. I think this closes this bug. Just REOPEN if problem persists. Problem is persisting for me. I have adapted the patch to permit the compilation of printing stuff. Then we really need the gcrypt library within pycurl. Please Re open it. Reopened patch was changed without revision bump :-/ see bug #415251.(In reply to comment #10) > Problem is persisting for me. > I have adapted the patch to permit the compilation of printing stuff. > Then we really need the gcrypt library within pycurl. > Please Re open it. And request for re open additionally. curl-7.19.0-r1 should improve matters, can you please test and reopen if it does not? *** Bug 408821 has been marked as a duplicate of this bug. *** |