Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945125 - media-video/kaffeine-2.0.19 is KF5 based instead of KF6
Summary: media-video/kaffeine-2.0.19 is KF5 based instead of KF6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 945134 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-11-27 15:58 UTC by David Philippi
Modified: 2024-11-27 17:51 UTC (History)
2 users (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 David Philippi 2024-11-27 15:58:51 UTC
emerge --depclean wants to remove dev-qt/qtsql-5.15.16 as not required and keeps the lib as kaffeine still uses it.
Recompiling kaffeine then fails due to not finding qtsql. Seems like the ebuild needs a dependency on it. Looks like it used to be one of the prior qt-base version.

Reproducible: Always

Steps to Reproduce:
1. emerge kaffeine-2.0.19
2. emerge -C qtsql
3. try to emerge kaffeine again



It's obviously simple to just keep qtsql around, I use --depclean -p and manually remove anyway. But I neither want qtsql in my world file nor have a false positive all the time.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-27 16:11:44 UTC
FWIW, the dep is there in 2.0.19 (which also has Qt6).
Comment 2 David Philippi 2024-11-27 16:44:25 UTC
I don't know what you mean by that. I just synced to be sure and my kaffeine-2.0.19.ebuild does depend on qt6 but not on dev-qt/qtsql. Just on sql use flag in qtbase.
Comment 3 Andreas Sturmlechner gentoo-dev 2024-11-27 16:45:18 UTC
Invalid, then.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-27 16:47:48 UTC
What I meant was that the version in ~arch doesn't have this problem, just the stable one does.

I.e. it got fixed when porting to qt6. That version is correct. It was just a note.

The stable one is still wrong.
Comment 5 David Philippi 2024-11-27 16:53:48 UTC
emerge --info states:
ACCEPT_KEYWORDS="amd64 ~amd64"

To my knowledge this means im on unstable? And it doesn't change the fact that I use the ebuild from portage which does miss a dependency. Building kaffeine fails in the configure phase without qtsql.
Just performed a rebuild, ldd /usr/bin/kaffeine also still links to Qt5 while the ebuild mandates QTMIN=6.7.2

Doesn't look correct to me.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-27 17:18:47 UTC
Then that is a completely different issue again? 

The deps for the ~arch version look correct as qtbase[sql] is the correct dependency for qt6 (the splitting of packages/components changed).

If the ~arch ebuild is using qt5 wrongly, then that is its own bug that should be filed separately.

Having no logs or output isn't helping the confusion here either.
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-27 17:20:06 UTC
Ah, but your original bug was about 2.0.19. Okay, so it's the same issue, but your analysis is wrong.
Comment 8 Andreas Sturmlechner gentoo-dev 2024-11-27 17:30:21 UTC
sigh... they really tricked me there
Comment 9 Andreas Sturmlechner gentoo-dev 2024-11-27 17:37:53 UTC
*** Bug 945134 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2024-11-27 17:39:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6f27914abcafa1fcb554272da2b9ae5811eb4f7

commit a6f27914abcafa1fcb554272da2b9ae5811eb4f7
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-11-27 17:36:36 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-11-27 17:38:57 +0000

    media-video/kaffeine: drop 2.0.19
    
    Closes: https://bugs.gentoo.org/945125
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-video/kaffeine/Manifest               |  1 -
 media-video/kaffeine/kaffeine-2.0.19.ebuild | 58 -----------------------------
 2 files changed, 59 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d6285258e672aa88572d2eeeb3c048d259c777e

commit 2d6285258e672aa88572d2eeeb3c048d259c777e
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-11-27 17:36:16 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-11-27 17:38:57 +0000

    media-video/kaffeine: add 2.1.0_pre20241125
    
    Bug: https://bugs.gentoo.org/945125
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-video/kaffeine/Manifest                      |  1 +
 .../kaffeine/kaffeine-2.1.0_pre20241125.ebuild     | 53 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)
Comment 11 David Philippi 2024-11-27 17:40:18 UTC
So I attributed it to the wrong source and the ebuild was wrongly converted to qt6?
Comment 12 Andreas Sturmlechner gentoo-dev 2024-11-27 17:51:19 UTC
(In reply to David Philippi from comment #11)
> So I attributed it to the wrong source and the ebuild was wrongly converted
> to qt6?
Yes, a packaging mistake due to live ebuild already synced to KF6-based git master, but v2.0.19 (tag) still made from a 2.0.x stable branch. Thanks for filing the bug.