Bug#461042: antlr: FTBFS: antlr/ActionElement.java:1: error: The type java.lang.Object cannot be resolved.

Michael Koch konqueror at gmx.de
Wed Jan 16 14:36:12 UTC 2008


Hello,


On Wed, Jan 16, 2008 at 09:49:39AM +0100, Lucas Nussbaum wrote:
>  > antlr/WildcardElement.java:30: error: String cannot be resolved to a type
>  > 	public void setLabel(String label_) {
>  > 	                     ^^^^^^
>  > antlr/WildcardElement.java:34: error: String cannot be resolved to a type
>  > 	public String toString() {
>  > 	       ^^^^^^
>  > antlr/ZeroOrMoreBlock.java:28: error: String cannot be resolved to a type
>  > 	public String toString() {
>  > 	       ^^^^^^
>  > antlr/ZeroOrMoreBlock.java:29: error: The method toString() is undefined for the type BlockWithImpliedExitPath
>  > 	return super.toString() + "*";
>  > 	             ^^^^^^^^
>  > 4422 problems (4416 errors, 6 warnings)
>  > make[1]: *** [make_with_gcj] Error 1
>  > make[1]: Leaving directory `/build/user/antlr-2.7.7'
>  > make: *** [build-stamp] Error 2
>  > dpkg-buildpackage: failure: debian/rules build gave error exit status 2

That is a bug introduced in gcj-4.2 4.2.2-6. It will be fixed in next
version. Matthias already found the issue.


Cheers,
Michael





More information about the pkg-java-maintainers mailing list