After the project is built, a libthriftqt5.so library is built and installed, libthriftqt5.so: linux-vdso.so.1 (0x00007f8e4b245000) ... libQt5Network.so.5 => /usr/lib64/libQt5Network.so.5 (0x00007f8e4b03b000) libQt5Core.so.5 => /usr/lib64/libQt5Core.so.5 (0x00007f8e4aa00000) ...
I mean, technically it isn't blocking qt5-removal since without declaring the dependencies we could cleanup Qt5 any time thus breaking your package. Qt5 support exists since 2014, before that it was Qt4.
I think it is enough to build with --without-qt5 flag. this will solve the automagic problem as well.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9e15a75e6f60417f941868ae1761ab70a1116b2 commit d9e15a75e6f60417f941868ae1761ab70a1116b2 Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2025-03-05 01:23:28 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-10 00:21:10 +0000 dev-libs/thrift: add 0.21.0 * Use github tarball over missing test files. * Drop test patches and use CMAKE_SKIP_TESTS instead. * Comprehensily set cmakeargs and use WITH_OPTION over BUILD_OPTION to stop cmake looking for the dependencies despite the feature being disabled. Bug: https://bugs.gentoo.org/943012 Bug: https://bugs.gentoo.org/938100 Bug: https://bugs.gentoo.org/949634 Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/40903 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/thrift/Manifest | 1 + .../thrift/files/thrift-0.21.0-gcc15-cstdint.patch | 52 +++++++++++++++ dev-libs/thrift/thrift-0.21.0.ebuild | 73 ++++++++++++++++++++++ 3 files changed, 126 insertions(+)