Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936490 - dev-java/antlr-runtime-4.9.3 fails tests with jdk:24
Summary: dev-java/antlr-runtime-4.9.3 fails tests with jdk:24
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: TESTFAILURE
Depends on:
Blocks: jdk24
  Show dependency tree
 
Reported: 2024-07-22 13:56 UTC by Agostino Sarubbo
Modified: 2024-07-23 23:26 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,284.86 KB, text/plain)
2024-07-22 13:56 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-07-22 13:56:54 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-java/antlr-runtime-4.9.3 fails tests.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-07-22 13:56:55 UTC
Created attachment 898109 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-07-22 13:56:56 UTC
Error(s) that match a know pattern:


FAILURES!!!
junit.framework.AssertionFailedError
junit.framework.AssertionFailedError: [Java:LargeLexer] Parse output is incorrect: expectedOutput:<>; actualOutput:<[@0,0:4='KW400',<402>,1:0]
Comment 3 Volkmar W. Pogatzki 2024-07-22 16:16:47 UTC
Tests pass with openjdk:21
Comment 4 Volkmar W. Pogatzki 2024-07-22 16:18:54 UTC
(In reply to Agostino Sarubbo from comment #0)
> https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/
> 
> Issue: dev-java/antlr-runtime-4.9.3 fails tests.
> Discovered on: amd64 (internal ref: gcc14_tinderbox)
> System: GCC-14-SYSTEM
> (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)
> 
> Info about the issue:
> https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015

Could wee please get the GENTOO_VM=openjdk-bin-24 mentioned for this tinderbox?
Comment 5 Yuan Liao (Leo3418) 2024-07-23 23:26:25 UTC
If we want to resolve this bug by bumping ANTLR to the latest upstream version 4.13.1 and keep running the tests, we will need to be able to run JUnit 5 tests because the upstream has migrated to JUnit 5 as of 4.11.0.

https://github.com/antlr/antlr4/commit/4d5a6bf3c208582aafe3aeb4d106b4bc10254112