Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949634 - dev-libs/thrift-0.20.0: automagic depend on two qt5 libs
Summary: dev-libs/thrift-0.20.0: automagic depend on two qt5 libs
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL: https://github.com/apache/thrift/comm...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: qt5-removal
  Show dependency tree
 
Reported: 2025-02-11 21:44 UTC by Victor Kustov
Modified: 2025-03-10 00:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Kustov 2025-02-11 21:44:03 UTC
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)
...
Comment 1 Andreas Sturmlechner gentoo-dev 2025-02-12 23:31:45 UTC
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.
Comment 2 Victor Kustov 2025-02-13 13:22:39 UTC
I think it is enough to build with --without-qt5 flag. this will solve the automagic problem as well.
Comment 3 Larry the Git Cow gentoo-dev 2025-03-10 00:22:55 UTC
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(+)