Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 803161 - dev-java/antlr-3.5.2-r1 cannot be compiled
Summary: dev-java/antlr-3.5.2-r1 cannot be compiled
Status: RESOLVED DUPLICATE of bug 742554
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-21 03:37 UTC by Yuan Liao (Leo3418)
Modified: 2021-07-21 03:50 UTC (History)
0 users

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


Attachments
The build log (build.log,2.21 KB, text/plain)
2021-07-21 03:37 UTC, Yuan Liao (Leo3418)
Details
'emerge --info' output (emerge--info.txt,14.31 KB, text/plain)
2021-07-21 03:38 UTC, Yuan Liao (Leo3418)
Details
'emerge -pqv' output (emerge-pqv.txt,58 bytes, text/plain)
2021-07-21 03:38 UTC, Yuan Liao (Leo3418)
Details
The eclass debug log (eclass-debug.log,1.99 KB, text/plain)
2021-07-21 03:39 UTC, Yuan Liao (Leo3418)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuan Liao (Leo3418) 2021-07-21 03:37:45 UTC
Created attachment 725380 [details]
The build log

dev-java/antlr-3.5.2-r1 depends on dev-java/stringtemplate:4, which is also registered to depend on antlr-runtime.jar from antlr-3.5.  This circular dependency can be broken down in emerge's dependency resolution thanks to PDEPEND in stringtemplate's ebuild, but it still causes an issue for the java-pkg-simple_getclasspath eclass function when antlr is being merged.  This function calls java-pkg_getjars with the '--with-dependencies' option (as shown in the build log), so in the antlr ebuild, a classpath for stringtemplate and its dependencies will be generated.  But antlr, as a dependency of stringtemplate, is yet to be installed on the system, resulting in a "Package antlr-3.5 was not found" error.  Hence the dev-java/antlr-3.5.2-r1 package cannot be compiled.
Comment 1 Yuan Liao (Leo3418) 2021-07-21 03:38:03 UTC
Created attachment 725383 [details]
'emerge --info' output
Comment 2 Yuan Liao (Leo3418) 2021-07-21 03:38:42 UTC
Created attachment 725386 [details]
'emerge -pqv' output
Comment 3 Yuan Liao (Leo3418) 2021-07-21 03:39:05 UTC
Created attachment 725389 [details]
The eclass debug log
Comment 4 Yuan Liao (Leo3418) 2021-07-21 03:50:04 UTC
Just found another bug ticket for stringtemplate which should be for the same issue but did not show up to me in the bug submission interface.  I guess this can be marked as a duplicate of that ticket.  Sorry for any inconvenience or surprise!

*** This bug has been marked as a duplicate of bug 742554 ***