Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev-qt/qtnetwork::libressl emake fails with LibreSSL 4.0.0 #573

Closed
blucybrb14de opened this issue Oct 16, 2024 · 2 comments
Closed

dev-qt/qtnetwork::libressl emake fails with LibreSSL 4.0.0 #573

blucybrb14de opened this issue Oct 16, 2024 · 2 comments

Comments

@blucybrb14de
Copy link

blucybrb14de commented Oct 16, 2024

Looks like dev-qt/qtnetwork fails to compile against dev-libs/libressl-4.0.0, presumably due to an undefined function.

Might be similar to #571, due to a similar undefined function and shared dependencies. Using equery depgraph, it looks like it depends on app-crypt/mit-krb5.

dev-qt/qtbase: dev-qt/qtbase-6.7.3-r2

app-crypt/mit-krb5: app-crypt/mit-krb5-1.21.3-r1

inxi-output.log

qtnetwork-5.15-14-r1.log

Error Message:

/qtbase-everywhere-src-5.15.14/src/network/socket/qtcpsocket.h -o .moc/moc_qtcpsocket.cpp
/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network/ssl/qsslsocket_openssl_symbols.cpp:149:17: error:
      use of undeclared identifier 'EVP_PKEY_param_check'; did you mean 'q_EVP_PKEY_param_check'?
  149 | DEFINEFUNC(int, EVP_PKEY_param_check, EVP_PKEY_CTX *ctx, ctx, return 0, return)
      |                 ^~~~~~~~~~~~~~~~~~~~
      |                 q_EVP_PKEY_param_check
/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network/ssl/qsslsocket_openssl_symbols_p.h:196:33: note:
      expanded from macro 'DEFINEFUNC'
  196 |     ret q_##func(arg) { funcret func(a); }
      |                                 ^
/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network/ssl/qsslsocket_openssl_symbols.cpp:149:1: note:
      'q_EVP_PKEY_param_check' declared here
  149 | DEFINEFUNC(int, EVP_PKEY_param_check, EVP_PKEY_CTX *ctx, ctx, return 0, return)
      | ^
/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network/ssl/qsslsocket_openssl_symbols_p.h:196:9: note:
      expanded from macro 'DEFINEFUNC'
  196 |     ret q_##func(arg) { funcret func(a); }
      |         ^
<scratch space>:63:1: note: expanded from here
   63 | q_EVP_PKEY_param_check
      | ^
/usr/lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_USE_SYSTEM_PROXIES -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_NETWORK_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_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB --include /var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/src/network/.moc/moc_predefs.h -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/mkspecs/linux-clang -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network/kernel -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include/QtNetwork -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include/QtNetwork -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include/QtNetwork/5.15.14 -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include/QtNetwork/5.15.14/QtNetwork -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include/QtNetwork/5.15.14 -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include/QtNetwork/5.15.14/QtNetwork -I/usr/include/qt5/QtCore/5.15.14 -I/usr/include/qt5/QtCore/5.15.14/QtCore -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/include/c++/v1 -I/usr/lib/clang/19/include -I/usr/include /var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network/socket/qsocks5socketengine_p.h -o .moc/moc_qsocks5socketengine_p.cpp
/usr/lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_USE_SYSTEM_PROXIES -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_NETWORK_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_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB --include /var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/src/network/.moc/moc_predefs.h -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/mkspecs/linux-clang -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network/kernel -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include/QtNetwork -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include/QtNetwork -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include/QtNetwork/5.15.14 -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include/QtNetwork/5.15.14/QtNetwork -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include/QtNetwork/5.15.14 -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include/QtNetwork/5.15.14/QtNetwork -I/usr/include/qt5/QtCore/5.15.14 -I/usr/include/qt5/QtCore/5.15.14/QtCore -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/include/c++/v1 -I/usr/lib/clang/19/include -I/usr/include /var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network/access/qnetworkaccessmanager.h -o .moc/moc_qnetworkaccessmanager.cpp
/usr/lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_USE_SYSTEM_PROXIES -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_NETWORK_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_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB --include /var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/src/network/.moc/moc_predefs.h -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/mkspecs/linux-clang -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network/kernel -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include/QtNetwork -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include/QtNetwork -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include/QtNetwork/5.15.14 -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include/QtNetwork/5.15.14/QtNetwork -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include/QtNetwork/5.15.14 -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include/QtNetwork/5.15.14/QtNetwork -I/usr/include/qt5/QtCore/5.15.14 -I/usr/include/qt5/QtCore/5.15.14/QtCore -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/include/c++/v1 -I/usr/lib/clang/19/include -I/usr/include /var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network/socket/qnativesocketengine_p.h -o .moc/moc_qnativesocketengine_p.cpp
/usr/lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_USE_SYSTEM_PROXIES -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_NETWORK_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_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB --include /var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/src/network/.moc/moc_predefs.h -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/mkspecs/linux-clang -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network/kernel -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include/QtNetwork -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include/QtNetwork -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include/QtNetwork/5.15.14 -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include/QtNetwork/5.15.14/QtNetwork -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include/QtNetwork/5.15.14 -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include/QtNetwork/5.15.14/QtNetwork -I/usr/include/qt5/QtCore/5.15.14 -I/usr/include/qt5/QtCore/5.15.14/QtCore -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/include/c++/v1 -I/usr/lib/clang/19/include -I/usr/include /var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network/socket/qhttpsocketengine_p.h -o .moc/moc_qhttpsocketengine_p.cpp
/usr/lib64/qt5/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_USE_SYSTEM_PROXIES -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_NETWORK_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_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB --include /var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/src/network/.moc/moc_predefs.h -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/mkspecs/linux-clang -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network/kernel -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include/QtNetwork -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include/QtNetwork -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include/QtNetwork/5.15.14 -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/include/QtNetwork/5.15.14/QtNetwork -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include/QtNetwork/5.15.14 -I/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/include/QtNetwork/5.15.14/QtNetwork -I/usr/include/qt5/QtCore/5.15.14 -I/usr/include/qt5/QtCore/5.15.14/QtCore -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/include/c++/v1 -I/usr/lib/clang/19/include -I/usr/include /var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14/src/network/socket/qudpsocket.h -o .moc/moc_qudpsocket.cpp
1 error generated.
make: *** [Makefile:24175: .obj/qsslsocket_openssl_symbols.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: dev-qt/qtnetwork-5.15.14-r1::libressl failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qtnetwork-5.15.14-r1::libressl'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtnetwork-5.15.14-r1::libressl'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14_build/src/network'
 * S: '/var/tmp/portage/dev-qt/qtnetwork-5.15.14-r1/work/qtbase-everywhere-src-5.15.14'

Any solutions or workarounds, much appreciated.

@stefan11111
Copy link

happens here too

@orbea
Copy link
Contributor

orbea commented Oct 16, 2024

I updated the OpenBSD patches for the affected files, it should work now. Thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants