Details
-
Bug
-
Resolution: Fixed
-
P4: Low
-
6.4
-
None
-
-
086a71d82 (tqtc/lts-6.2), 5d7ea8de1 (6.4), 190e5af11 (dev)
Description
Configuring with
-developer-build -no-optimize-debug -ccache -submodules qtbase,qtdeclarative,qt5compat -- -DFEATURE_openssl_linked=ON -Wno-dev --log-level=NOTICE
I get errors when linking tst_qsslkey:
Linking CXX executable qtbase/tests/auto/network/ssl/qsslkey/tst_qsslkey FAILED: qtbase/tests/auto/network/ssl/qsslkey/tst_qsslkey : && /usr/lib/icecc/bin/c++ -g -Wl,--enable-new-dtags qtbase/tests/auto/network/ssl/qsslkey/CMakeFiles/tst_qsslkey.dir/tst_qsslkey_autogen/mocs_compilation.cpp.o qtbase/tests/auto/network/ssl/qsslkey/CMakeFiles/tst_qsslkey.dir/tst_qsslkey.cpp.o -o qtbase/tests/auto/network/ssl/qsslkey/tst_qsslkey -Wl,-rpath,.../qtbase/lib qtbase/lib/libQt6Test.so.6.5.0 qtbase/lib/libQt6Network.so.6.5.0 qtbase/lib/libQt6Core.so.6.5.0 -lpthread && : /usr/bin/ld: qtbase/tests/auto/network/ssl/qsslkey/CMakeFiles/tst_qsslkey.dir/tst_qsslkey.cpp.o: in function `(anonymous namespace)::q_BIO_new(bio_method_st const*)': .../qtbase/tests/auto/network/ssl/shared/qopenssl_symbols.h:315: undefined reference to `BIO_new'
and similar for many other symbols (BIO_free, BIO_write, …).
Initially reported on mailing list by thiago who also notes "they don't even try to link to the library."
This is presumably fall-out from the transition to plugin-based SSL backends.
There are also several deprecation warnings against tst_qsslkey.cpp's use of various symbols defined in qtbase/tests/auto/network/ssl//shared/qopenssl_symbols.h
Attachments
For Gerrit Dashboard: QTBUG-105046 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
446369,2 | Try fixing auto-tests that need resolving openssl symbols | dev | qt/qtbase | Status: MERGED | +2 | 0 |
446601,2 | Try fixing auto-tests that need resolving openssl symbols | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
446608,2 | Try fixing auto-tests that need resolving openssl symbols | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |