Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477642 - dev-python/pypy-2.0.2[-ssl] links against openssl
Summary: dev-python/pypy-2.0.2[-ssl] links against openssl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nirbheek Chauhan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-21 14:54 UTC by Michał Górny
Modified: 2013-07-22 06:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-07-21 14:54:45 UTC
After building pypy-2.0.2 with USE=-ssl, it still links to openssl libs:

 0x0000000000000001 (NEEDED)             Shared library: [libssl.so.1.0.0]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.1.0.0]

While ssl itself is not available:

>>>> import ssl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/pypy2.0/lib-python/2.7/ssl.py", line 60, in <module>
    import _ssl             # if we can't import it, let the error propagate
ImportError: No module named _ssl

I suggest dropping IUSE=ssl and having the module always-on.
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2013-07-21 16:09:19 UTC
Fine with me.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-07-21 20:53:26 UTC
Ok, I'll do one more test run and commit my changes to :1.9 and :2.0.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-07-22 06:55:24 UTC
Using commit message:
------------------------------------------------------------------------------
Clean up and drop meaningless USE flags (bug #477514). Drop USE=ssl (automagic dep, bug #477642). Add sphinx to deps. Add USE=sse2 to control JIT backend on x86. No revbump since this will not cause changes in install unless USE flags are changed.

(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
------------------------------------------------------------------------------

/var/cvsroot/gentoo-x86/dev-python/pypy/pypy-2.0.2.ebuild,v  <--  pypy-2.0.2.ebuild
new revision: 1.4; previous revision: 1.3
/var/cvsroot/gentoo-x86/dev-python/pypy/pypy-1.9-r2.ebuild,v  <--  pypy-1.9-r2.ebuild
new revision: 1.5; previous revision: 1.4