Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879567 - media-sound/lmms-1.2.2 media-sound/lmms-9999 missing dependency in ebuild
Summary: media-sound/lmms-1.2.2 media-sound/lmms-9999 missing dependency in ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-04 13:09 UTC by deim
Modified: 2024-07-31 21:17 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 deim 2022-11-04 13:09:43 UTC
Had problem with compiling ebuilds and found solution.
Please add to dependency list:
dev-qt/qttest:5


Reproducible: Always

Steps to Reproduce:
1. emerge ebuild on saystem w-o preinstalled dev-qt/qttest:5

Actual Results:  
build error qttest not found

Expected Results:  
flawless installation

Don't have log but it happened over and over with any version but adding suggested dependency solved this issue
Comment 1 Larry the Git Cow gentoo-dev 2024-07-31 21:17:59 UTC
The bug has been closed via the following commit(s):

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

commit 5cff97f8ec69978d0b899b54e4aff82587592b69
Author:     Eli Schwartz <eschwartz@gentoo.org>
AuthorDate: 2024-07-31 17:12:04 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-07-31 21:16:53 +0000

    media-sound/lmms: add missing testsuite dependency
    
    It needs dev-qt/qttest in order to link tests successfully. And there is
    also a cmake warning that Qt5::Test was linked to, but not found, and
    that's a bug -- due to cmake's excellent, world-class type safety, this
    is NOT obviously a detectable error when you can simply assume maybe it
    means `-lQt5::Test`, but in the minimum version that the live ebuild
    uses, the fact that the string name includes "::" means cmake can and in
    fact does error out since "::" is reserved for imported libraries.
    
    So the live ebuild actually fails to configure without qttest, but even
    the versioned release would error out when running the testsuite and
    attempting to compile the test program. Of course, the versioned release
    also doesn't *connect* the testsuite, and one of the test cases appears
    to fail anyway even if you manually cd and run it by hand.
    
    Naturally, there is no buildsystem option to disable this. Instead, we
    use a filthy sed to the test directory when not building tests.
    
    Closes: https://bugs.gentoo.org/879567
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 media-sound/lmms/lmms-1.2.2-r2.ebuild | 24 +++++++++++++++++++++++-
 media-sound/lmms/lmms-9999.ebuild     | 20 +++++++++++++++++++-
 2 files changed, 42 insertions(+), 2 deletions(-)