Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#59049 closed defect (fixed)

synergy @1.8.8-stable fails to build: error: member access into incomplete type 'SSL' (aka 'ssl_st')

Reported by: crashcoredump (This is a private repo used to bookmark other repos for further use.) Owned by: yan12125 (Chih-Hsuan Yen)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: synergy

Description

From /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_synergy/synergy/main.log:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_synergy/synergy/work/synergy-core-1.8.8-
stable/src/lib/net/SecureSocket.cpp:810:46: error: member access into incomplete type 'SSL' (aka 'ssl_st')
:info:build         STACK_OF(SSL_CIPHER) * cStack = m_ssl->m_ssl->session->ciphers;
:info:build                                                     ^
:info:build /opt/local/include/openssl/ossl_typ.h:147:16: note: forward declaration of 'ssl_st'
:info:build typedef struct ssl_st SSL;
:info:build                ^
:info:build 1 error generated.

Change History (6)

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Milestone: MacPorts 2.6.0

The Milestone field is for use by Macports team members only, please do not set it.

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Cc: yan12125 added

Looks like an openssl 1.1.1 issue.

comment:3 Changed 5 years ago by mf2k (Frank Schima)

It looks like this port is missing a dependency on open/libressl entirely.

Last edited 5 years ago by mf2k (Frank Schima) (previous) (diff)

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

Cc: yan12125 removed
Owner: set to yan12125
Status: newassigned

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

Resolution: fixed
Status: assignedclosed

In a4b6fcb658f253f43195bc9f3c99f5dd5b5f47ed/macports-ports (master):

synergy: update to 1.10.3

  • OpenSSL 1.1 compatibility
  • gmock/gtest are now unzipped [1]
  • patch-CMakeLists.txt.diff no longer needed as those lines are removed upstream [2]
  • Updated handling of OpenSSL after [3]; uses dynamic linking
  • patch-src-lib-platform-OSXScreen.mm.diff no longer needed [4]
  • Remove other unused patches

[1] https://github.com/symless/synergy-core/commit/d37920364d849464503d7edfbdea9367539e5901
[2] https://github.com/symless/synergy-core/commit/e779b2b49a16def63cf1a047b2fd311ce945e060
[3] https://github.com/symless/synergy-core/commit/c79ef74392843182ab4a34b807ca603776e50779
[4] https://github.com/symless/synergy-core/commit/72c394208f71e4156334793e2d2642ba534f9f5a

Closes: #59049

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

In 1beb0cc6a91f2dd160e2ca9089ef08b527207de3/macports-ports (master):

synergy: requires C++ 11

Ref: #59049

Note: See TracTickets for help on using tickets.