Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#58989 closed defect (fixed)

fetchmail fails to build

Reported by: hbsimon (Horst Simon) Owned by: Chih-Hsuan Yen <yan12125@…>
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: fetchmail

Description (last modified by jmroot (Joshua Root))

--->  Building fetchmail
Error: Failed to build fetchmail: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_fetchmail/fetchmail/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port fetchmail failed

Attachments (1)

main.log.gz (7.6 KB) - added by hbsimon (Horst Simon) 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by hbsimon (Horst Simon)

Attachment: main.log.gz added

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Description: modified (diff)
Port: fetchmail added

Should just need to use SSLv23_client_method instead of SSLv2_client_method.

comment:2 Changed 5 years ago by Chih-Hsuan Yen <yan12125@…>

Owner: set to Chih-Hsuan Yen <yan12125@…>
Resolution: fixed
Status: newclosed

In 7e2af7d4d8436685b1c8746bf3822ac611596847/macports-ports (master):

fetchmail: fix building with OpenSSL 1.1

The upstream check for SSLv2 works fine, restore it.

Checking OPENSSL_NO_SSL2 no longer works as it's not defined since
OpenSSL 1.1 [1].

[1] https://github.com/openssl/openssl/commit/45f55f6a5bdcec411ef08a6f8aae41d5d3d234ad#diff-c0d4e88884f8898e95e454af119f0bf0L299

Closes: #58989

comment:3 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Thanks for the report and sorry for the inconvenience. It should have been fixed.

Should just need to use SSLv23_client_method instead of SSLv2_client_method.

I think it's better to still raise an error message instead of switch to newer protocols if a user specifies such an ancient protocol.

Note: See TracTickets for help on using tickets.