Opened 5 years ago
Closed 11 months ago
#59050 closed defect (fixed)
dovecot @1.2.7: error building, openssl issue
Reported by: | razvand (Razvan Deaconescu) | Owned by: | jdberry |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | Cc: | yan12125 (Chih-Hsuan Yen) | |
Port: | dovecot |
Description
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@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.
Attachments (2)
Change History (9)
Changed 5 years ago by razvand (Razvan Deaconescu)
comment:1 Changed 5 years ago by mf2k (Frank Schima)
Keywords: | dovecot openssl removed |
---|
comment:2 Changed 5 years ago by mf2k (Frank Schima)
Owner: | set to jdberry |
---|---|
Status: | new → assigned |
comment:3 Changed 5 years ago by mf2k (Frank Schima)
Cc: | yan12125 added |
---|
comment:4 Changed 5 years ago by mnott
Problem persists on MacOS Catalina. A clean install of macports, then install dovecot => same error.
comment:5 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)
Maybe newer dovecot2
can fit your needs? dovecot
is a legacy port providing dovecot 1.x, which receives no updates since 8 years ago (1).
comment:6 Changed 5 years ago by razvand (Razvan Deaconescu)
Thanks for your answer. In installed dovecot2
and uninstalled dovecot
. It works now.
comment:7 Changed 11 months ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Dovecot build log