Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950615 - dev-java/open-test-reporting-events-0.2.0_pre1: unsupported MAVEN_PROVIDES format
Summary: dev-java/open-test-reporting-events-0.2.0_pre1: unsupported MAVEN_PROVIDES fo...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-03-05 10:09 UTC by Fabio Rossi
Modified: 2025-03-05 15:56 UTC (History)
2 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 Fabio Rossi 2025-03-05 10:09:23 UTC
currently MAVEN_PROVIDES is a multiline string while only open-test-reporting-events-0.2.0_pre1 implements it as an array. This generates an exception with java-ebuilder in org.gentoo.java.ebuilder.portage.PortageParser.parseEbuild
Comment 1 Volkmar W. Pogatzki 2025-03-05 12:08:31 UTC
Have you tried with java-ebuilder-9999?
If that one works, please reassign this bug there asking for a new release.

I gave up using java-ebuilder some time ago, so cannot tell.
Comment 2 Fabio Rossi 2025-03-05 14:08:19 UTC
Yes, using 9999

Parsing portage tree @ /usr/portage ...
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
	at org.gentoo.java.ebuilder.portage.PortageParser.parseEbuild(PortageParser.java:401)
	at org.gentoo.java.ebuilder.portage.PortageParser.parsePackage(PortageParser.java:422)
	at org.gentoo.java.ebuilder.portage.PortageParser.parseCategory(PortageParser.java:240)
	at org.gentoo.java.ebuilder.portage.PortageParser.parseCategories(PortageParser.java:225)
	at org.gentoo.java.ebuilder.portage.PortageParser.parseTree(PortageParser.java:145)
	at org.gentoo.java.ebuilder.Main.refreshCache(Main.java:380)
	at org.gentoo.java.ebuilder.Main.main(Main.java:48)
make: *** [cache.mk:5: /var/lib/java-ebuilder/cache/pre-stage1-cache.raw] Error 1

BTW open-test-reporting-events-0.2.0_pre1 is the only one using array format for MAVEN_PROVIDES. All the other packages are using multiline string format, e.g. dev-java/ant-1.10.15.
Comment 3 Volkmar W. Pogatzki 2025-03-05 14:22:27 UTC
(In reply to Fabio Rossi from comment #2)
> Yes, using 9999
> [...]
> BTW open-test-reporting-events-0.2.0_pre1 is the only one using array format
> for MAVEN_PROVIDES. All the other packages are using multiline string
> format, e.g. dev-java/ant-1.10.15.

Ah, good you found the reason. Will you please provide a pull request adjusting it, possibly combined with vbump to final 0.2.0?

BTW: For bumping to latest JUnit5 we'd need to package the other modules as well which would need immutables/immutables packaged.