Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912335 - dev-java/felix-framework-7.0.5-r1[test] fails to build (asm-4 in JAVA_TEST_GENTOO_CLASSPATH)
Summary: dev-java/felix-framework-7.0.5-r1[test] fails to build (asm-4 in JAVA_TEST_GE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-08-16 02:20 UTC by Jonathan Lovelace
Modified: 2023-08-16 06:00 UTC (History)
0 users

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


Attachments
dev-java:felix-framework-7.0.5-r1:20230816-020449.log (dev-java:felix-framework-7.0.5-r1:20230816-020449.log,7.26 KB, text/plain)
2023-08-16 02:20 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,8.18 KB, text/plain)
2023-08-16 02:21 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2023-08-16 02:20:38 UTC
Created attachment 867925 [details]
dev-java:felix-framework-7.0.5-r1:20230816-020449.log

With FEATURES=test enabled, =dev-java/felix-framework-7.0.5-r1 fails to build:

>>> Compiling source in /var/tmp/portage/dev-java/felix-framework-7.0.5-r1/work/org.apache.felix.framework-7.0.5 ...
!!! ERROR: Package asm-4 was not found!
 * ERROR: dev-java/felix-framework-7.0.5-r1::gentoo failed (compile phase):
 *   java-config --classpath=asm-4,junit-4,easymock-2.5,mockito failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2415:  Called java-pkg-simple_src_compile
 *   environment, line  874:  Called java-pkg-simple_getclasspath
 *   environment, line  827:  Called java-pkg_getjars '--build-only' '--with-dependencies' 'asm-4,junit-4,easymock-2.5,mockito'
 *   environment, line 1735:  Called die
 * The specific snippet of code:
 *       [[ $? != 0 ]] && die "java-config --classpath=${pkgs} failed";

The only reference to 'asm-4' is in the JAVA_TEST_GENTOO_CLASSPATH variable. I guess it needs to be updated to refer to the same SLOT of dev-java/asm as is referred to in $DEPEND?
Comment 1 Jonathan Lovelace 2023-08-16 02:21:02 UTC
Created attachment 867926 [details]
emerge-info.txt
Comment 2 Larry the Git Cow gentoo-dev 2023-08-16 06:00:49 UTC
The bug has been closed via the following commit(s):

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

commit e1ce175dadcd9e832132b46f19be472f8e1942fd
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2023-08-16 05:18:20 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2023-08-16 06:00:44 +0000

    dev-java/felix-framework: adjust JAVA_TEST_GENTOO_CLASSPATH
    
    Closes: https://bugs.gentoo.org/912335
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/32333
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/felix-framework/felix-framework-7.0.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)