in Mac OS El Captain, pegasus build fails with the following message:
[exec] OpenSSL/crypto/x509.h:17:10: fatal error: 'openssl/ssl.h' file not found
[exec] #include <openssl/ssl.h>
[exec] ^
[exec] 1 error generated.
[exec] error: command 'clang' failed with exit status 1
Then, once openssl is updated the new error message is:
[exec] OpenSSL/crypto/crl.c:6:23: error: static declaration of 'X509_REVOKED_dup' follows non-static declaration
[exec] static X509_REVOKED * X509_REVOKED_dup(X509_REVOKED *orig) {
[exec] ^
[exec] /usr/local/include/openssl/x509.h:751:15: note: previous declaration is here
[exec] X509_REVOKED *X509_REVOKED_dup(X509_REVOKED *rev);
[exec] ^
[exec] 1 error generated.
[exec] error: command 'clang' failed with exit status 1
To fix that, I had to replace pyOpenSSL-0.13 by pyOpenSSL-0.14.
As I'm not sure how this could impact other parts of the system, I did not commit my fixes.
Could you please, crosscheck if this is the best solution?