| Summary: | dev-java/javacup-11b_p20160615: fails to compile on x86 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sam James <sam> |
| Component: | Current packages | Assignee: | Java team <java> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | fordfrog, gentoo |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 933673 | ||
| Attachments: |
build.log
patch, not for production!! this is only for testing on x86 |
||
|
Description
Sam James
2024-07-19 05:37:18 UTC
Created attachment 898028 [details, diff]
patch, not for production!! this is only for testing on x86
To analyze this error I'd like to see if javacup can build on that x86 machine using the bundled bin/JFlex.jar instead Gentoo's version.
Could you please try the following procedure on that x86 machine:
- unmerge both jflex and javacup
- apply the attached patch
- run "ebuild javacup-11_p20160615-r1.ebuild clean compile"
If it does I would continue with packaging dependencies for a jflex-1.9.1 vbump.
(In reply to Sam James from comment #0) > [...] > > Reading "flex/Lexer.jflex" > Exception in thread "main" java.lang.NoSuchMethodError: > 'java_cup.runtime.Symbol > java_cup.runtime.SymbolFactory.newSymbol(java.lang.String, int, > java_cup.runtime.Symbol, java.lang.Object)' > at > jflex.LexParse$CUP$LexParse$actions. > CUP$LexParse$do_action_part00000000(LexParse.java:1415) > at > jflex.LexParse$CUP$LexParse$actions.CUP$LexParse$do_action(LexParse.java: > 3399) > at jflex.LexParse.do_action(LexParse.java:940) > at java_cup.runtime.lr_parser.parse(lr_parser.java:584) > at jflex.Main.generate(Main.java:67) > at jflex.Main.generate(Main.java:394) > at jflex.Main.main(Main.java:411) > [...] This looks pretty much the same as https://github.com/gentoo/gentoo/pull/32820#issuecomment-2126581765 which was solved by pinning the dependency to >=dev-java/jflex-1.6.1-r3:0 Can the error be reproduced on a clean x86 system with no jflex and no javacup installed? Would it help to disable flex' tests on x86? |