Opened 5 years ago

Closed 5 years ago

#58987 closed defect (fixed)

elinks @0.11.7_5: build fails against openssl 1.1.1

Reported by: ShadSterling (Shad Sterling) Owned by: yan12125 (Chih-Hsuan Yen)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: majoc-at-astro (majoc-at-astro), mopihopi
Port: elinks

Description

This seems to be the critical portion of the log:

:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_elinks/elinks/work/elinks-0.11.7/src/network/ssl'
:info:build       [CC]   src/network/ssl/socket.o
:info:build socket.c:70:25: error: incomplete definition of type 'struct ssl_st'
:info:build         ((ssl_t *) socket->ssl)->options |= SSL_OP_NO_TLSv1;
:info:build         ~~~~~~~~~~~~~~~~~~~~~~~^
:info:build /opt/local/include/openssl/ossl_typ.h:147:16: note: forward declaration of 'struct ssl_st'
:info:build typedef struct ssl_st SSL;
:info:build                ^
:info:build socket.c:148:40: error: incomplete definition of type 'struct ssl_st'
:info:build                         SSL_CTX *ctx = ((SSL *) socket->ssl)->ctx;
:info:build                                        ~~~~~~~~~~~~~~~~~~~~~^
:info:build /opt/local/include/openssl/ossl_typ.h:147:16: note: forward declaration of 'struct ssl_st'
:info:build typedef struct ssl_st SSL;
:info:build                ^
:info:build 2 errors generated.
:info:build make[3]: *** [socket.o] Error 1

Attachments (1)

main.log (85.7 KB) - added by ShadSterling (Shad Sterling) 5 years ago.

Download all attachments as: .zip

Change History (9)

Changed 5 years ago by ShadSterling (Shad Sterling)

Attachment: main.log added

comment:1 Changed 5 years ago by kencu (Ken)

Summary: elinks build fails: incomplete definition of type 'struct ssl_stelinks @0.11.7_5: build fails against openssl 1.1.1

comment:2 Changed 5 years ago by kencu (Ken)

comment:4 Changed 5 years ago by kencu (Ken)

see also 58988

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

Owner: set to yan12125
Status: newassigned

I pushed a fix for elinks-devel. You may want to try it out.

comment:6 Changed 5 years ago by majoc-at-astro (majoc-at-astro)

Cc: majoc-at-astro added

comment:7 Changed 5 years ago by mopihopi

Cc: mopihopi added

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

Resolution: fixed
Status: assignedclosed

In d5387543b0bd9269006e07e5d5e35448cb40220a/macports-ports (master):

elinks: fix building with OpenSSL 1.1

By backporting upstream patches like elinks-devel.

Closes: #58987

Note: See TracTickets for help on using tickets.