Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936557 - 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.
Summary: java-utils-2: QA Notice: java-pkg_ensure-dep: The ebuild is attempting to use...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-07-23 15:04 UTC by Volkmar W. Pogatzki
Modified: 2024-07-31 06:48 UTC (History)
3 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 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(-)