Failed to build 0.13 on CentOS 5/RHEL 5/OS X 10.6.8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Tahoe-LAFS |
Unknown
|
Unknown
|
|||
pyOpenSSL |
New
|
Undecided
|
Unassigned |
Bug Description
Building pyOpenSSL 0.13 fails on CentOS 5 x86_64.
$ PYTHONPATH=
Creating /home/mvr/
Searching for pyOpenSSL
Reading http://
Reading http://
Reading http://
Best match: pyOpenSSL 0.13
Downloading http://
Processing pyOpenSSL-
Running pyOpenSSL-
warning: no previously-included files matching '*.pyc' found anywhere in distribution
OpenSSL/
OpenSSL/
OpenSSL/
OpenSSL/
OpenSSL/
OpenSSL/
OpenSSL/
OpenSSL/
OpenSSL/
OpenSSL/
error: Setup script exited with error: command 'gcc' failed with exit status 1
$
OpenSSL version:
Name : openssl-devel
Arch : x86_64
Version : 0.9.8e
Release : 12.el5_5.7
Size : 5.1 M
Repo : installed
Summary : Files for development of applications which will use OpenSSL
URL : http://
License : BSDish
Description: OpenSSL is a toolkit for supporting cryptography. The openssl-devel
: package contains static libraries and include files needed to develop
: applications which support various cryptographic algorithms and
: protocols.
Related branches
- Jean-Paul Calderone: Needs Fixing
-
Diff: 105 lines (+13/-3)3 files modifiedOpenSSL/ssl/connection.c (+6/-0)
OpenSSL/ssl/context.c (+4/-0)
setup.py (+3/-3)
summary: |
- Failed to build 0.13 on CentOS 5 + Failed to build 0.13 on CentOS 5/RHEL 5/OS X 10.6.8 |
This is a problem with the new SNI support, which was added in 0.9.8f. I guess it should be conditionally provided so that the build keeps working on older versions of OpenSSL. I don't have a good environment set up to be able to easily test against specific versions of OpenSSL, so it may take me some time to address this.
Also, 0.9.8e is over 4 years old and has numerous known security issues, so if it's not being carefully patched to address those, it's not a good idea to be using it anyway.