Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-46292

5.5.0 beta fails to build with LibreSSL

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 5.5.0 Beta
    • Fix Version/s: None
    • Component/s: Network: SSL
    • Labels:
      None
    • Environment:
      Linux, libressl version is 2.1.6

      Description

      x86_64-pc-linux-gnu-g++ -c -include .pch/Qt5Network -pipe -O2 -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exc
      eptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_USING_NAMESPACE -DQT_BUILD_NETWORK_LIB -DQT_BUILDING_QT -D
      QT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED
      _BEFORE=0x050000 -DQT_USE_SYSTEM_PROXIES -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I.
      -isystem /usr/x86_64-pc-linux-gnu/include/mysql -I../../include -I../../include/QtNetwork -I../../include/QtNetwork/5.5.0 -I../../in
      clude/QtNetwork/5.5.0/QtNetwork -Ikernel -I../../include/QtCore/5.5.0 -I../../include/QtCore/5.5.0/QtCore -I../../include/QtCore -I.m
      oc -I../../mkspecs/linux-g++ -o .obj/qsslcontext_openssl.o ssl/qsslcontext_openssl.cpp
      x86_64-pc-linux-gnu-g++ -c -include .pch/Qt5Network -pipe -O2 -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exc
      eptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_USING_NAMESPACE -DQT_BUILD_NETWORK_LIB -DQT_BUILDING_QT -D
      QT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED
      _BEFORE=0x050000 -DQT_USE_SYSTEM_PROXIES -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I.
      -isystem /usr/x86_64-pc-linux-gnu/include/mysql -I../../include -I../../include/QtNetwork -I../../include/QtNetwork/5.5.0 -I../../in
      clude/QtNetwork/5.5.0/QtNetwork -Ikernel -I../../include/QtCore/5.5.0 -I../../include/QtCore/5.5.0/QtCore -I../../include/QtCore -I.m
      oc -I../../mkspecs/linux-g++ -o .obj/qsslellipticcurve_openssl.o ssl/qsslellipticcurve_openssl.cpp
      ssl/qsslcontext_openssl.cpp: In static member function 'static QSslContext* QSslContext::fromConfiguration(QSslSocket::SslMode, const
      QSslConfiguration&, bool)':
      ssl/qsslcontext_openssl.cpp:347:33: error: 'SSL_CTRL_SET_CURVES' was not declared in this scope
      SSL_CTRL_SET_CURVES,
      ^
      Makefile:22091: recipe for target '.obj/qsslcontext_openssl.o' failed
      make[2]: *** [.obj/qsslcontext_openssl.o] Error 1
      make[2]: *** Waiting for unfinished jobs....

      No idea if there's an equivalent for that define or if there's a reason libressl doesn't have it.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-46292
          # Subject Branch Project Status CR V

            Activity

              People

              • Assignee:
                richmoore Richard Moore (qtnetwork)
                Reporter:
                heirecka Heiko Becker
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes