#1671 closed defect (duplicate)

Setup failes(but fixable) on CentOS

Reported by: vikarti Owned by: somebody
Priority: major Milestone: undecided
Component: packaging Version: 1.9.1
Keywords: openssl packaging linux centos Cc:
Launchpad Bug:

Description

regular setup process has one small irregularity on CentOS,related to pyOpenSSL

see this (regular CentOS 5 python)

Adding Nevow 0.10.0 to easy-install.pth file
Installing nit script to support/bin
Installing nevow-xmlgettext script to support/bin

Installed /root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/Nevow-0.10.0-py2.4.egg
Searching for pyOpenSSL
Reading http://pypi.python.org/simple/pyOpenSSL/
Reading http://pyopenssl.sourceforge.net/
Reading http://launchpad.net/pyopenssl
Best match: pyOpenSSL 0.13
Downloading http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-0.13.tar.gz#md5=767bca18a71178ca353dff9e10941929
Processing pyOpenSSL-0.13.tar.gz
Running pyOpenSSL-0.13/setup.py -q bdist_egg --dist-dir /tmp/easy_install-UHvMCs/pyOpenSSL-0.13/egg-dist-tmp-zYJNJr
warning: no previously-included files matching '*.pyc' found anywhere in distribution
OpenSSL/ssl/connection.c: In function ‘ssl_Connection_set_context’:
OpenSSL/ssl/connection.c:289: warning: implicit declaration of function ‘SSL_set_SSL_CTX’
OpenSSL/ssl/connection.c: In function ‘ssl_Connection_get_servername’:
OpenSSL/ssl/connection.c:313: error: ‘TLSEXT_NAMETYPE_host_name’ undeclared (first use in this function)
OpenSSL/ssl/connection.c:313: error: (Each undeclared identifier is reported only once
OpenSSL/ssl/connection.c:313: error: for each function it appears in.)
OpenSSL/ssl/connection.c:320: warning: implicit declaration of function ‘SSL_get_servername’
OpenSSL/ssl/connection.c:320: warning: assignment makes pointer from integer without a cast
OpenSSL/ssl/connection.c: In function ‘ssl_Connection_set_tlsext_host_name’:
OpenSSL/ssl/connection.c:346: warning: implicit declaration of function ‘SSL_set_tlsext_host_name’
error: Setup script exited with error: command 'gcc' failed with exit status 1
[root@tahoe-123systems1 allmydata-tahoe-1.9.1]# python setup.py build
running update_version
no version-control data found, leaving _version.py alone
running develop
Not found: tahoe-deps
Not found: ../tahoe-deps
running egg_info
writing requirements to src/allmydata_tahoe.egg-info/requires.txt
writing src/allmydata_tahoe.egg-info/PKG-INFO
writing top-level names to src/allmydata_tahoe.egg-info/top_level.txt
writing dependency_links to src/allmydata_tahoe.egg-info/dependency_links.txt
writing entry points to src/allmydata_tahoe.egg-info/entry_points.txt
reading manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.png' under directory 'src'
warning: no previously-included files matching '*~' found anywhere in distribution
writing manifest file 'src/allmydata_tahoe.egg-info/SOURCES.txt'
running build_ext
Processing darcsver-1.7.2.egg
removing '/root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/darcsver-1.7.2.egg' (and everything under it)
Copying darcsver-1.7.2.egg to /root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages
darcsver 1.7.2 is already the active version in easy-install.pth
Installing darcsver script to support/bin

Installed /root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/darcsver-1.7.2.egg
Creating /root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/allmydata-tahoe.egg-link (link to src)
allmydata-tahoe 1.9.1 is already the active version in easy-install.pth
Installing tahoe script to support/bin

Installed /root/tahoe-new/allmydata-tahoe-1.9.1/src
Processing dependencies for allmydata-tahoe==1.9.1
Searching for pyOpenSSL
Reading http://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-dep-sdists/
Reading http://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-lafs-dep-eggs/
Best match: pyOpenSSL 0.11
Downloading https://tahoe-lafs.org/source/tahoe-lafs/deps/tahoe-dep-sdists/pyOpenSSL-0.11.tar.gz
Processing pyOpenSSL-0.11.tar.gz
Running pyOpenSSL-0.11/setup.py -q bdist_egg --dist-dir /tmp/easy_install-oICnlS/pyOpenSSL-0.11/egg-dist-tmp-h4l45X
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Adding pyOpenSSL 0.11 to easy-install.pth file

Installed /root/tahoe-new/allmydata-tahoe-1.9.1/support/lib/python2.4/site-packages/pyOpenSSL-0.11-py2.4-linux-i686.egg

resulting build passes all tests.

Change History (2)

comment:1 Changed at 2012-02-10T10:34:06Z by vikarti

  • Priority changed from major to minor

comment:2 Changed at 2012-02-11T00:13:18Z by davidsarah

  • Keywords openssl packaging linux centos added
  • Priority changed from minor to major
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #1637.

Note: See TracTickets for help on using tickets.