Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-997

pyOpenSSL v0.13 does not work with new version of openssl (1.0.2d) and El Captain

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.5.3
    • Fix Version/s: 4.7.0, 4.6.1
    • Component/s: None
    • Labels:
      None

      Description

      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?

        Attachments

          Activity

            People

            • Assignee:
              gideon Gideon Juve (Inactive)
              Reporter:
              rafsilva Rafael Ferreira da Silva
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: