Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 936557

Summary: java-utils-2: QA Notice: java-pkg_ensure-dep: The ebuild is attempting to use junit-4, which is not declared with a SLOT in [RP]DEPEND and --build-only wasn't given.
Product: Gentoo Linux Reporter: Volkmar W. Pogatzki <gentoo>
Component: EclassesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal CC: ago, fordfrog, gentoo
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/37718
https://bugs.gentoo.org/show_bug.cgi?id=936812
Whiteboard:
Package list:
Runtime testing required: ---

Description Volkmar W. Pogatzki 2024-07-23 15:04:23 UTC
"QA Notice: java-pkg_ensure-dep: The ebuild is attempting to use junit-4, which is not declared with a SLOT in [RP]DEPEND and --build-only wasn't given."

This message appears in (almost?) all build logs with junit:4 involved.
Does that mean the following line needs to be enhanced with --build-only?

local cp=$(java-pkg_getjars --with-dependencies ${junit}${pkgs})


Or would it need another JAVA_PKG_E_DEPEND?
Comment 1 Volkmar W. Pogatzki 2024-07-24 07:50:19 UTC
*** Bug 936575 has been marked as a duplicate of this bug. ***
Comment 2 Larry the Git Cow gentoo-dev 2024-07-26 09:00:07 UTC
The bug has been closed via the following commit(s):

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

commit bf0b78ed5ac69775135c0a1ecca7be8b16afc7e2
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-07-25 10:17:45 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-07-26 08:59:50 +0000

    java-utils-2.eclass: fix ejunit_(), java-pkg_getjars --build-only
    
    Closes: https://bugs.gentoo.org/936557
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/37718
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 eclass/java-utils-2.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)