Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937044 - dev-java/antlr-tool-4.9.3-r2: QA Notice: java-pkg_ensure-dep: The ebuild is attempting to use jol-core, which is not declared with a SLOT in [RP]DEPEND and --build-only wasn't given.
Summary: dev-java/antlr-tool-4.9.3-r2: QA Notice: java-pkg_ensure-dep: The ebuild is a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-08-01 08:15 UTC by Agostino Sarubbo
Modified: 2024-08-08 08:33 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,73.95 KB, text/plain)
2024-08-01 08:15 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-08-01 08:15:04 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-java/antlr-tool-4.9.3-r2 java-pkg_ensure-dep issue.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)
Comment 1 Agostino Sarubbo gentoo-dev 2024-08-01 08:15:05 UTC
Created attachment 898743 [details]
build.log

build log and emerge --info
Comment 2 Volkmar W. Pogatzki 2024-08-01 11:02:55 UTC
Guess this comes from java-pkg-simple.eclass 
where ${buildonly_jars} is missing --build-only


# add test dependencies if USE FLAG 'test' is set
if has test ${JAVA_PKG_IUSE} && use test; then
	for dependency in ${JAVA_TEST_GENTOO_CLASSPATH}; do
		classpath="${classpath}:$(java-pkg_getjars ${buildonly_jars}\
				${deep_jars} ${dependency})"
	done
fi
Comment 3 Larry the Git Cow gentoo-dev 2024-08-08 08:33:57 UTC
The bug has been closed via the following commit(s):

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

commit 0bf1108f186e357184017acef105296ee3d736df
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-08-07 08:16:28 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-08-08 08:30:35 +0000

    dev-java/antlr-tool: test dependencies use java-pkg_getjars with '--build-only'
    
    Closes: https://bugs.gentoo.org/937044
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/antlr-tool/antlr-tool-4.9.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)