[MacPorts] #59050: dovecot @1.2.7: error building, openssl issue

MacPorts noreply at macports.org
Mon Sep 16 20:58:15 UTC 2019


#59050: dovecot @1.2.7: error building, openssl issue
-------------------------------+---------------------
 Reporter:  razvand            |      Owner:  (none)
     Type:  defect             |     Status:  new
 Priority:  Normal             |  Milestone:
Component:  ports              |    Version:  2.5.4
 Keywords:  dovecot, openssl,  |       Port:  dovecot
-------------------------------+---------------------
 When installing dovecot, I get an error pointing out to an OpenSSL version
 update that it can't link against. The command and output I get are:

 {{{
 razvan at jotunn:~$ sudo port install dovecot
 --->  Computing dependencies for dovecot
 --->  Building dovecot
 Error: Failed to build dovecot: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_dovecot/dovecot/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port dovecot failed
 }}}

 The error lines in the log file are:

 {{{
 :info:build ssl-proxy-openssl.c:762:38: error: incomplete definition of
 type 'struct x509_store_ctx_st'
 :info:build                 subject =
 X509_get_subject_name(ctx->current_cert);
 :info:build                                                 ~~~^
 :info:build /opt/local/include/openssl/ossl_typ.h:128:16: note: forward
 declaration of 'struct x509_store_ctx_st'
 :info:build typedef struct x509_store_ctx_st X509_STORE_CTX;
 :info:build                ^
 :info:build ssl-proxy-openssl.c:766:75: error: incomplete definition of
 type 'struct x509_store_ctx_st'
 :info:build                         i_info("Invalid certificate: %s: %s",
 X509_verify_cert_error_string(ctx->error),buf);
 :info:build
 ~~~^
 :info:build /opt/local/include/openssl/ossl_typ.h:128:16: note: forward
 declaration of 'struct x509_store_ctx_st'
 :info:build typedef struct x509_store_ctx_st X509_STORE_CTX;
 }}}

 I tried removing openssl @1.1.1c_0 (and use openssl @1.0.2* but that leads
 to many other ports being uninstalled.

 I'm using Mac OS X 10.15.6, build 18G95.

-- 
Ticket URL: <https://trac.macports.org/ticket/59050>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list