Summary: | dev-java/bcel-6.10.0-r1: fails to compile (Module org.apache.commons.lang not found) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/40345 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Sam James
![]() ![]() ![]() ![]() # equery f commons-lang * Searching for commons-lang ... * Contents of dev-java/commons-lang-3.14.0: /usr /usr/share /usr/share/commons-lang-3.6 /usr/share/commons-lang-3.6/lib /usr/share/commons-lang-3.6/lib/commons-lang.jar /usr/share/commons-lang-3.6/package.env /usr/share/doc /usr/share/doc/commons-lang-3.14.0 /usr/share/doc/commons-lang-3.14.0/README.md.xz # cat /usr/share/commons-lang-3.6/package.env DESCRIPTION="Commons components to manipulate core java classes" GENERATION="2" SLOT="3.6" CATEGORY="dev-java" PVR="3.14.0" LIBDIR="lib64" CLASSPATH="/usr/share/commons-lang-3.6/lib/commons-lang.jar" VM=">=virtual/jre-1.8:*" TARGET="1.8" SOURCE="1.8" MERGE_VM="openjdk-bin-17" Any idea what more info I can give? Looks like you're having eclass debugging off. It was fixed by this commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c99d89d43a9c868e3f06cbe6feb7dac70df0f534 (In reply to Volkmar W. Pogatzki from comment #2) > Looks like you're having eclass debugging off. I haven't touched anything like that. (In reply to Volkmar W. Pogatzki from comment #3) > It was fixed by this commit: > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=c99d89d43a9c868e3f06cbe6feb7dac70df0f534 It's using the latest ::gentoo commit as of an hour or two ago, though. Root cause is a mismatch in JAVA_AUTOMATIC_MODULE_NAME of older version of commons-lang-3.14.0 JAVA_AUTOMATIC_MODULE_NAME="org.apache.commons.lang3" should be: JAVA_AUTOMATIC_MODULE_NAME="org.apache.commons.lang" Adjusting this variable in commons-lang-3.14.0 would solve the error. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09cbceed85b8aea51774941470fff326cc3ccdb2 commit 09cbceed85b8aea51774941470fff326cc3ccdb2 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2025-01-28 11:16:06 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2025-01-28 18:13:22 +0000 dev-java/bcel: adjust CP_DEPEND with newer version of commons-lang There was a mismatch in JAVA_AUTOMATIC_MODULE_NAME of commons-lang-3.14.0 causing a build error. Closes: https://bugs.gentoo.org/948872 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/40345 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/bcel/{bcel-6.10.0-r1.ebuild => bcel-6.10.0-r2.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) |