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

Undefined symbols for gssapi

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.14.0 Alpha
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      FreeBSD 12.0
    • Platform/s:
      Other
    • Commits:
      1a8f4a3c8fa30265e7f184373c738dbc3574663a (qt/qtbase/5.15)

      Description

      We tried 5.14.0-alpha1 on our CI systems. FreeBSD 12.0 fails to build here.

      17:41:38 — .obj/qkeysequence.o —
      17:41:38 CCACHE_SLOPPINESS="pch_defines,time_macros${CCACHE_SLOPPINESS+,$CCACHE_SLOPPINESS}" CCACHE_CPP2=true ccache clang++ -c -Xclang -include-pch -Xclang .pch/Qt5Gui/c+.pch -pipe -g -std=c+1z -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fno-exceptions -Wall -Wextra -Wdate-time -Winconsistent-missing-override -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DENABLE_PIXMAN_DRAWHELPERS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_CORE_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -I../3rdparty/md4c -I../3rdparty/zlib/src -I../3rdparty/VulkanMemoryAllocator -I../../include -I../../include/QtGui -I../../include/QtGui/5.14.0 -I../../include/QtGui/5.14.0/QtGui -I.tracegen -I/usr/local/include -I/usr/local/include/libdrm -I../../include/QtCore/5.14.0 -I../../include/QtCore/5.14.0/QtCore -I../../include/QtCore -I.moc -I../3rdparty/libpng -I/usr/home/governikus/jenkins/workspace/default_Review_Libs_FreeBSD/build/dist/include -I/usr/local/include -I../../mkspecs/freebsd-clang -o .obj/qkeysequence.o kernel/qkeysequence.cpp
      17:41:38 — .obj/qinternalmimedata.o —
      17:41:38 CCACHE_SLOPPINESS="pch_defines,time_macros${CCACHE_SLOPPINESS+,$CCACHE_SLOPPINESS}" CCACHE_CPP2=true ccache clang++ -c -Xclang -include-pch -Xclang .pch/Qt5Gui/c+.pch -pipe -g -std=c+1z -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fno-exceptions -Wall -Wextra -Wdate-time -Winconsistent-missing-override -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DENABLE_PIXMAN_DRAWHELPERS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_CORE_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -I../3rdparty/md4c -I../3rdparty/zlib/src -I../3rdparty/VulkanMemoryAllocator -I../../include -I../../include/QtGui -I../../include/QtGui/5.14.0 -I../../include/QtGui/5.14.0/QtGui -I.tracegen -I/usr/local/include -I/usr/local/include/libdrm -I../../include/QtCore/5.14.0 -I../../include/QtCore/5.14.0/QtCore -I../../include/QtCore -I.moc -I../3rdparty/libpng -I/usr/home/governikus/jenkins/workspace/default_Review_Libs_FreeBSD/build/dist/include -I/usr/local/include -I../../mkspecs/freebsd-clang -o .obj/qinternalmimedata.o kernel/qinternalmimedata.cpp
      17:41:38 — .obj/qkeymapper.o —
      17:41:38 CCACHE_SLOPPINESS="pch_defines,time_macros${CCACHE_SLOPPINESS+,$CCACHE_SLOPPINESS}" CCACHE_CPP2=true ccache clang++ -c -Xclang -include-pch -Xclang .pch/Qt5Gui/c+.pch -pipe -g -std=c+1z -fvisibility=hidden -fvisibility-inlines-hidden -pthread -fno-exceptions -Wall -Wextra -Wdate-time -Winconsistent-missing-override -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DENABLE_PIXMAN_DRAWHELPERS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_CORE_LIB -DQT_CORE_LIB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -I../3rdparty/md4c -I../3rdparty/zlib/src -I../3rdparty/VulkanMemoryAllocator -I../../include -I../../include/QtGui -I../../include/QtGui/5.14.0 -I../../include/QtGui/5.14.0/QtGui -I.tracegen -I/usr/local/include -I/usr/local/include/libdrm -I../../include/QtCore/5.14.0 -I../../include/QtCore/5.14.0/QtCore -I../../include/QtCore -I.moc -I../3rdparty/libpng -I/usr/home/governikus/jenkins/workspace/default_Review_Libs_FreeBSD/build/dist/include -I/usr/local/include -I../../mkspecs/freebsd-clang -o .obj/qkeymapper.o kernel/qkeymapper.cpp
      17:41:38 — sub-network-make_first —
      17:41:38 /usr/bin/ld: error: undefined symbol: GSS_C_NT_HOSTBASED_SERVICE
      17:41:38 >>> referenced by qauthenticator.cpp:1638 (kernel/qauthenticator.cpp:1638)
      17:41:38 >>> .obj/qauthenticator.o:(qGssapiStartup(QAuthenticatorPrivate*, QString const&))
      17:41:38 /usr/bin/ld: error: undefined symbol: gss_import_name
      17:41:38 >>> referenced by qauthenticator.cpp:1640 (kernel/qauthenticator.cpp:1640)
      17:41:38 >>> .obj/qauthenticator.o:(qGssapiStartup(QAuthenticatorPrivate*, QString const&))
      17:41:38 /usr/bin/ld: error: undefined symbol: gss_init_sec_context
      17:41:38 >>> referenced by qauthenticator.cpp:1667 (kernel/qauthenticator.cpp:1667)
      17:41:38 >>> .obj/qauthenticator.o:(qGssapiContinue(QAuthenticatorPrivate*, QByteArray const&))
      17:41:38 /usr/bin/ld: error: undefined symbol: gss_release_buffer
      17:41:38 >>> referenced by qauthenticator.cpp:1683 (kernel/qauthenticator.cpp:1683)
      17:41:38 >>> .obj/qauthenticator.o:(qGssapiContinue(QAuthenticatorPrivate*, QByteArray const&))
      17:41:38 /usr/bin/ld: error: undefined symbol: gss_release_name
      17:41:38 >>> referenced by qauthenticator.cpp:1687 (kernel/qauthenticator.cpp:1687)
      17:41:38 >>> .obj/qauthenticator.o:(qGssapiContinue(QAuthenticatorPrivate*, QByteArray const&))
      17:41:38 /usr/bin/ld: error: undefined symbol: gss_delete_sec_context
      17:41:38 >>> referenced by qauthenticator.cpp:1689 (kernel/qauthenticator.cpp:1689)
      17:41:38 >>> .obj/qauthenticator.o:(qGssapiContinue(QAuthenticatorPrivate*, QByteArray const&))
      17:41:38 /usr/bin/ld: error: undefined symbol: gss_release_name
      17:41:38 >>> referenced by qauthenticator.cpp:1694 (kernel/qauthenticator.cpp:1694)
      17:41:38 >>> .obj/qauthenticator.o:(qGssapiContinue(QAuthenticatorPrivate*, QByteArray const&))
      17:41:38 /usr/bin/ld: error: undefined symbol: gss_display_status
      17:41:38 >>> referenced by qauthenticator.cpp:1612 (kernel/qauthenticator.cpp:1612)
      17:41:38 >>> .obj/qauthenticator.o:(q_GSSAPI_error_int(char const*, unsigned int, int))
      17:41:38 /usr/bin/ld: error: undefined symbol: gss_release_buffer
      17:41:38 >>> referenced by qauthenticator.cpp:1614 (kernel/qauthenticator.cpp:1614)
      17:41:38 >>> .obj/qauthenticator.o:(q_GSSAPI_error_int(char const*, unsigned int, int))
      17:41:38 clang++: error: linker command failed with exit code 1 (use -v to see invocation)
      17:41:38 *** [../../lib/libQt5Network.so.5.14.0] Error code 1

      configure systems to find it.

      Checking for KRB5 GSSAPI support... yes
      ...
      GSSAPI ................................. yes

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            manordheim Mårten Nordheim
            Reporter:
            misery André Klitzing
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes