Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#51358 closed defect (invalid)

qt5-base fails to build with libressl

Reported by: bK4gYuRo Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: qt5-qtbase


qt5-base fails to build on Yosemite with libressl 2.3.4 with the following error:

:info:build /Applications/ -c -pipe -st
dlib=libc++ -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -O2 -std=c++1z -isysroot /Applications/Xcod -mmacosx-version-min=10.10 -fno-excep
CORE_LIB -I. -I../moc -I../../../include/QtDBus/5.6.0 -I../../../include/QtDBus/5.6.0/QtDBus -I../../../include/QtCore/
5.6.0 -I../../../include/QtCore/5.6.0/QtCore -I../../../include -I../../../include/QtDBus -I../../../include/QtCore -I.
moc -I../../../mkspecs/macx-clang -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_re
lease_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.6.0/lib -o .obj/qdbuscpp2xml.o qdbuscpp2xml.cpp
:info:build ssl/qsslcontext_openssl.cpp:349:33: error: use of undeclared identifier 'SSL_CTRL_SET_CURVES'
:info:build                                 SSL_CTRL_SET_CURVES,
:info:build                                 ^
:info:build 1 error generated.

Potential workaround is documented here:

I would need help to create and try a patch based on the workaround

Attachments (1)

main.log (1.9 MB) - added by bK4gYuRo 5 years ago.
build log

Download all attachments as: .zip

Change History (7)

Changed 5 years ago by bK4gYuRo

Attachment: main.log added

build log

comment:1 Changed 5 years ago by bK4gYuRo

Sorry, I mistyped port name, it's qt5-qtbase

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

Keywords: libressl removed
Owner: changed from macports-tickets@… to mcalhoun@…
Port: qt5-qtbase added; qt5-base removed

In the future, please Cc the port maintainers (port info --maintainers qt5-qtbase), if any.

comment:3 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Status: newassigned

According to the Qt mailing list and a related bug report (which has a patch), the conclusion seems to be that this is more or less an issue for LibreSSL to fix.
More recently,a patch was submitted to support LibreSSL, but it was rejected.
The current plan is to support LibreSSL more fully with a new backend.

I am inclined to wait for the upstream developers to come up with a solution and incorporate any fix they come up with.

comment:4 Changed 4 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: invalid
Status: assignedclosed

For the time being, let us close this ticket.
We can revisit this issue if the upstream developers follow through with the plan to have some sort of support for libressl.

comment:5 Changed 4 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Has duplicate #52645.

comment:6 Changed 4 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

In c7a77304/macports-ports:

qt5*: add openssl variant

Some users might not want to use OpenSSL because
of licensing issues with GPL.
See #53369

Some users may have LibreSSL installed, which conflicts with OpenSSL
and is currently incompatible with Qt.
See #51358

Note: See TracTickets for help on using tickets.