Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

openssl fails during make clean env OS X 11.6 (El Capitan) #4131

Closed
mattbk opened this issue Sep 24, 2016 · 4 comments
Closed

openssl fails during make clean env OS X 11.6 (El Capitan) #4131

mattbk opened this issue Sep 24, 2016 · 4 comments

Comments

@mattbk
Copy link
Contributor

mattbk commented Sep 24, 2016

Once I narrow in on the problem the title will probably get changed. I use Homebrew for package management if I can.

From searching, this appears to be a problem with El Capitan's version/lack of openssl, which is required for cryptography.

make clean env gets me:

Matt@Miranda~/Sites/gratipay.com$ make clean env
rm -rf env *.egg *.egg-info
find . -name \*.pyc -delete
"/usr/local/bin/python2.7" "./vendor/virtualenv-12.0.7.py" \
                --prompt="[gratipay] " \
                --extra-search-dir=./vendor/ \
                --always-copy \
                ./env/
New python executable in ./env/bin/python2.7
Also creating executable in ./env/bin/python
Installing setuptools, pip...done.
env/bin/pip install --no-index -r requirements.txt
Ignoring indexes: https://pypi.python.org/simple
Processing ./vendor/python-mimeparse-0.1.4.tar.gz
Processing ./vendor/first-2.0.1.tar.gz
Processing ./vendor/dependency_injection-1.1.0.tar.gz
Processing ./vendor/algorithm-1.0.0.tar.gz
Processing ./vendor/filesystem_tree-1.0.0.tar.gz
Processing ./vendor/aspen-0.42.tar.bz2
Processing ./vendor/gunicorn-18.0.tar.gz
Processing ./vendor/MarkupSafe-0.23.tar.gz
Processing ./vendor/Jinja2-2.7.3.tar.gz
Processing ./vendor/aspen-jinja2-0.4.tar.gz
Processing ./vendor/psycopg2-2.5.1.tar.gz
Processing ./vendor/postgres-2.2.1.tar.gz
Processing ./vendor/simplejson-2.3.2.tar.gz
Processing ./vendor/certifi-0.0.8.tar.gz
Processing ./vendor/pyasn1-0.1.3.tar.gz
Processing ./vendor/chardet-1.0.1.tar.gz
Processing ./vendor/oauthlib-0.7.2.tar.gz
Processing ./vendor/requests-2.6.0.tar.gz
Processing ./vendor/requests-oauthlib-0.4.2.tar.gz
Processing ./vendor/xmltodict-0.8.4.tar.gz
Processing ./vendor/wac-0.23.tar.gz
Processing ./vendor/iso8601-0.1.4.tar.gz
Processing ./vendor/uritemplate-0.6.tar.gz
Processing ./vendor/balanced-1.1.1.tar.gz
Processing ./vendor/raven-3.1.4.tar.gz
Processing ./vendor/fake-factory-0.3.2.tar.gz
Processing ./vendor/six-1.8.0.tar.gz
Processing ./vendor/libsass-0.3.0.tar.gz
Processing ./vendor/honcho-cfcc7ebb.tar.gz
    /Users/Matt/Sites/gratipay.com/env/lib/python2.7/site-packages/setuptools/dist.py:291: UserWarning: The version specified ('cfcc7ebb') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
      "details." % self.metadata.version
Processing ./vendor/environment-1.0.0.tar.gz
Processing ./vendor/invoke-0.7.0.tar.gz
Processing ./vendor/pytz-2014.7.tar.bz2
Processing ./vendor/Babel-1.3.tar.gz
Processing ./vendor/misaka-1.0.2.tar.gz
Processing ./vendor/braintree-3.14.0.tar.gz
Processing ./vendor/futures-3.0.4.tar.gz
Processing ./vendor/docutils-0.12.tar.gz
Processing ./vendor/python-dateutil-2.5.3.tar.gz
Processing ./vendor/jmespath.py-0.9.0.tar.gz
Processing ./vendor/botocore-1.4.13.tar.gz
Processing ./vendor/boto3-1.3.0.tar.gz
Processing ./vendor/pycparser-2.14.tar.gz
Processing ./vendor/cffi-1.6.0.tar.gz
Processing ./vendor/enum34-1.1.4.tar.gz
Processing ./vendor/idna-2.1.tar.gz
Processing ./vendor/ipaddress-1.0.16.tar.gz
Processing ./vendor/cryptography-1.3.2.tar.gz
Requirement already satisfied (use --upgrade to upgrade): setuptools>=11.3 in ./env/lib/python2.7/site-packages (from cryptography==1.3.2->-r requirements.txt (line 64))
Installing collected packages: cryptography, ipaddress, idna, enum34, cffi, pycparser, boto3, botocore, jmespath, python-dateutil, docutils, futures, braintree, misaka, Babel, pytz, invoke, environment, honcho, libsass, six, fake-factory, raven, balanced, uritemplate, iso8601, wac, xmltodict, requests-oauthlib, requests, oauthlib, chardet, pyasn1, certifi, simplejson, postgres, psycopg2, aspen-jinja2, Jinja2, MarkupSafe, gunicorn, aspen, filesystem-tree, algorithm, dependency-injection, first, python-mimeparse
  Running setup.py install for cryptography
    Installed /private/var/folders/8r/ss3rqt2d6czc6drrl9g5q64c0000gn/T/pip-JfPZr8-build/.eggs/cffi-1.8.3-py2.7-macosx-10.10-x86_64.egg
    Searching for pycparser
    Reading https://pypi.python.org/simple/pycparser/
    Best match: pycparser 2.14
    Downloading https://pypi.python.org/packages/6d/31/666614af3db0acf377876d48688c5d334b6e493b96d21aa7d332169bee50/pycparser-2.14.tar.gz#md5=a2bc8d28c923b4fe2b2c3b4b51a4f935
    Processing pycparser-2.14.tar.gz
    Writing /var/folders/8r/ss3rqt2d6czc6drrl9g5q64c0000gn/T/easy_install-Zk918_/pycparser-2.14/setup.cfg
    Running pycparser-2.14/setup.py -q bdist_egg --dist-dir /var/folders/8r/ss3rqt2d6czc6drrl9g5q64c0000gn/T/easy_install-Zk918_/pycparser-2.14/egg-dist-tmp-0IiwdI
    zip_safe flag not set; analyzing archive contents...
    Installed /private/var/folders/8r/ss3rqt2d6czc6drrl9g5q64c0000gn/T/pip-JfPZr8-build/.eggs/pycparser-2.14-py2.7.egg
    generating cffi module 'build/temp.macosx-10.10-x86_64-2.7/_commoncrypto.c'
    generating cffi module 'build/temp.macosx-10.10-x86_64-2.7/_padding.c'
    generating cffi module 'build/temp.macosx-10.10-x86_64-2.7/_constant_time.c'
    generating cffi module 'build/temp.macosx-10.10-x86_64-2.7/_openssl.c'
    building '_openssl' extension
    clang -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c build/temp.macosx-10.10-x86_64-2.7/_openssl.c -o build/temp.macosx-10.10-x86_64-2.7/build/temp.macosx-10.10-x86_64-2.7/_openssl.o
    build/temp.macosx-10.10-x86_64-2.7/_openssl.c:433:10: fatal error: 'openssl/opensslv.h' file not found
    #include <openssl/opensslv.h>
             ^
    1 error generated.
    error: command 'clang' failed with exit status 1
    Complete output from command /Users/Matt/Sites/gratipay.com/env/bin/python2.7 -c "import setuptools, tokenize;__file__='/var/folders/8r/ss3rqt2d6czc6drrl9g5q64c0000gn/T/pip-JfPZr8-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/8r/ss3rqt2d6czc6drrl9g5q64c0000gn/T/pip-7FNBIJ-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/Matt/Sites/gratipay.com/env/bin/../include/site/python2.7:


    Installed /private/var/folders/8r/ss3rqt2d6czc6drrl9g5q64c0000gn/T/pip-JfPZr8-build/.eggs/cffi-1.8.3-py2.7-macosx-10.10-x86_64.egg

    Searching for pycparser

    Reading https://pypi.python.org/simple/pycparser/

    Best match: pycparser 2.14

    Downloading https://pypi.python.org/packages/6d/31/666614af3db0acf377876d48688c5d334b6e493b96d21aa7d332169bee50/pycparser-2.14.tar.gz#md5=a2bc8d28c923b4fe2b2c3b4b51a4f935

    Processing pycparser-2.14.tar.gz

    Writing /var/folders/8r/ss3rqt2d6czc6drrl9g5q64c0000gn/T/easy_install-Zk918_/pycparser-2.14/setup.cfg

    Running pycparser-2.14/setup.py -q bdist_egg --dist-dir /var/folders/8r/ss3rqt2d6czc6drrl9g5q64c0000gn/T/easy_install-Zk918_/pycparser-2.14/egg-dist-tmp-0IiwdI

    warning: no previously-included files matching 'yacctab.*' found under directory 'tests'

    warning: no previously-included files matching 'lextab.*' found under directory 'tests'

    warning: no previously-included files matching 'yacctab.*' found under directory 'examples'

    warning: no previously-included files matching 'lextab.*' found under directory 'examples'

    zip_safe flag not set; analyzing archive contents...

    Copying pycparser-2.14-py2.7.egg to /private/var/folders/8r/ss3rqt2d6czc6drrl9g5q64c0000gn/T/pip-JfPZr8-build/.eggs



    Installed /private/var/folders/8r/ss3rqt2d6czc6drrl9g5q64c0000gn/T/pip-JfPZr8-build/.eggs/pycparser-2.14-py2.7.egg

    running install

    running build

    running build_py

    creating build

    creating build/lib.macosx-10.10-x86_64-2.7

    creating build/lib.macosx-10.10-x86_64-2.7/cryptography

    copying src/cryptography/__about__.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography

    copying src/cryptography/__init__.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography

    copying src/cryptography/exceptions.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography

    copying src/cryptography/fernet.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography

    copying src/cryptography/utils.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography

    creating build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat

    copying src/cryptography/hazmat/__init__.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat

    creating build/lib.macosx-10.10-x86_64-2.7/cryptography/x509

    copying src/cryptography/x509/__init__.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/x509

    copying src/cryptography/x509/base.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/x509

    copying src/cryptography/x509/extensions.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/x509

    copying src/cryptography/x509/general_name.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/x509

    copying src/cryptography/x509/name.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/x509

    copying src/cryptography/x509/oid.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/x509

    creating build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends

    copying src/cryptography/hazmat/backends/__init__.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends

    copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends

    copying src/cryptography/hazmat/backends/multibackend.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends

    creating build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/bindings

    copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/bindings

    creating build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives

    copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives

    copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives

    copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives

    copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives

    copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives

    copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives

    copying src/cryptography/hazmat/primitives/padding.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives

    copying src/cryptography/hazmat/primitives/serialization.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives

    creating build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/commoncrypto

    copying src/cryptography/hazmat/backends/commoncrypto/__init__.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/commoncrypto

    copying src/cryptography/hazmat/backends/commoncrypto/backend.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/commoncrypto

    copying src/cryptography/hazmat/backends/commoncrypto/ciphers.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/commoncrypto

    copying src/cryptography/hazmat/backends/commoncrypto/hashes.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/commoncrypto

    copying src/cryptography/hazmat/backends/commoncrypto/hmac.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/commoncrypto

    creating build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/openssl

    copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/openssl

    copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/openssl

    copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/openssl

    copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/openssl

    copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/openssl

    copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/openssl

    copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/openssl

    copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/openssl

    copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/openssl

    copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/openssl

    copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/openssl

    copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/openssl

    copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/backends/openssl

    creating build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/bindings/commoncrypto

    copying src/cryptography/hazmat/bindings/commoncrypto/__init__.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/bindings/commoncrypto

    copying src/cryptography/hazmat/bindings/commoncrypto/binding.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/bindings/commoncrypto

    creating build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/bindings/openssl

    copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/bindings/openssl

    copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/bindings/openssl

    copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/bindings/openssl

    creating build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/asymmetric

    copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/asymmetric

    copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/asymmetric

    copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/asymmetric

    copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/asymmetric

    copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/asymmetric

    copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/asymmetric

    copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/asymmetric

    creating build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/ciphers

    copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/ciphers

    copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/ciphers

    copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/ciphers

    copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/ciphers

    creating build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/interfaces

    copying src/cryptography/hazmat/primitives/interfaces/__init__.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/interfaces

    creating build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/kdf

    copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/kdf

    copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/kdf

    copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/kdf

    copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/kdf

    copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/kdf

    creating build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/twofactor

    copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/twofactor

    copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/twofactor

    copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/twofactor

    copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.macosx-10.10-x86_64-2.7/cryptography/hazmat/primitives/twofactor

    running egg_info

    writing requirements to src/cryptography.egg-info/requires.txt

    writing src/cryptography.egg-info/PKG-INFO

    writing top-level names to src/cryptography.egg-info/top_level.txt

    writing dependency_links to src/cryptography.egg-info/dependency_links.txt

    writing entry points to src/cryptography.egg-info/entry_points.txt

    warning: manifest_maker: standard file '-c' not found



    reading manifest file 'src/cryptography.egg-info/SOURCES.txt'

    reading manifest template 'MANIFEST.in'

    no previously-included directories found matching 'docs/_build'

    warning: no previously-included files matching '*' found under directory 'vectors'

    writing manifest file 'src/cryptography.egg-info/SOURCES.txt'

    running build_ext

    generating cffi module 'build/temp.macosx-10.10-x86_64-2.7/_commoncrypto.c'

    creating build/temp.macosx-10.10-x86_64-2.7

    generating cffi module 'build/temp.macosx-10.10-x86_64-2.7/_padding.c'

    generating cffi module 'build/temp.macosx-10.10-x86_64-2.7/_constant_time.c'

    generating cffi module 'build/temp.macosx-10.10-x86_64-2.7/_openssl.c'

    building '_openssl' extension

    creating build/temp.macosx-10.10-x86_64-2.7/build

    creating build/temp.macosx-10.10-x86_64-2.7/build/temp.macosx-10.10-x86_64-2.7

    clang -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c build/temp.macosx-10.10-x86_64-2.7/_openssl.c -o build/temp.macosx-10.10-x86_64-2.7/build/temp.macosx-10.10-x86_64-2.7/_openssl.o

    build/temp.macosx-10.10-x86_64-2.7/_openssl.c:433:10: fatal error: 'openssl/opensslv.h' file not found

    #include <openssl/opensslv.h>

             ^

    1 error generated.

    error: command 'clang' failed with exit status 1

    ----------------------------------------
    Command "/Users/Matt/Sites/gratipay.com/env/bin/python2.7 -c "import setuptools, tokenize;__file__='/var/folders/8r/ss3rqt2d6czc6drrl9g5q64c0000gn/T/pip-JfPZr8-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/8r/ss3rqt2d6czc6drrl9g5q64c0000gn/T/pip-7FNBIJ-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/Matt/Sites/gratipay.com/env/bin/../include/site/python2.7" failed with error code 1 in /var/folders/8r/ss3rqt2d6czc6drrl9g5q64c0000gn/T/pip-JfPZr8-build
make: *** [env] Error 1
@aandis
Copy link
Contributor

aandis commented Sep 24, 2016

@mattbk #4095 ;)

@mattbk
Copy link
Contributor Author

mattbk commented Sep 24, 2016

Thanks @aandis! It looks like phusion/passenger#1630 (comment) doesn't work anymore:

Matt@Miranda~/Sites/gratipay.com$ brew link openssl --force
Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
  -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib

Boo Homebrew/brew#612.

@mattbk
Copy link
Contributor Author

mattbk commented Sep 24, 2016

We're looking better, thanks to https://medium.com/@zlwaterfield/openssl-with-el-capitan-456bf68bf43a#.ciztcw2zb:

SOLUTION
After installing openssl with homebrew, create this symlink below, where {version} is the version of openssl you downloaded, for example 1.0.2c
ln -s /usr/local/Cellar/openssl/{version}/include/openssl /usr/local/include/openssl

ln -s /usr/local/Cellar/openssl/1.0.2i/include/openssl /usr/local/include/openssl

@mattbk mattbk changed the title make clean env fails on OS X 11.6 (El Capitan) openssl fails during make clean env OS X 11.6 (El Capitan) Sep 24, 2016
@mattbk
Copy link
Contributor Author

mattbk commented Sep 24, 2016

Success!

screen shot 2016-09-24 at 4 19 28 pm

I don't really like the symlink solution since it's thwarting Homebrew, but it will work for now.

@mattbk mattbk closed this as completed Sep 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants