kawa fails to build in rawhide now with the following error (while building javadocs)...
java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(libgcj.so.7rh) at gnu.classpath.tools.gjdoc.Main.startDoclet(gnu-classpath-tools-gjdoc-0.7.7.jar.so) at gnu.classpath.tools.gjdoc.Main.start(gnu-classpath-tools-gjdoc-0.7.7.jar.so) at gnu.classpath.tools.gjdoc.Main.main(gnu-classpath-tools-gjdoc-0.7.7.jar.so) Caused by: java.lang.NoClassDefFoundError: gnu.classpath.tools.gjdoc.expr.Evaluator at java.lang.Class.initializeClass(libgcj.so.7rh) at gnu.classpath.tools.gjdoc.FieldDocImpl.constantValue(gnu-classpath-tools-gjdoc-0.7.7.jar.so) at gnu.classpath.tools.gjdoc.FieldDocImpl.constantValue(gnu-classpath-tools-gjdoc-0.7.7.jar.so) at gnu.classpath.tools.doclets.htmldoclet.HtmlDoclet.printMemberDetails(gnu-classpath-tools-gjdoc-0.7.7.jar.so) at gnu.classpath.tools.doclets.htmldoclet.HtmlDoclet.printClassPage(gnu-classpath-tools-gjdoc-0.7.7.jar.so) at gnu.classpath.tools.doclets.htmldoclet.HtmlDoclet.run(gnu-classpath-tools-gjdoc-0.7.7.jar.so) at gnu.classpath.tools.doclets.AbstractDoclet.startInstance(gnu-classpath-tools-gjdoc-0.7.7.jar.so) at gnu.classpath.tools.doclets.AbstractDoclet.start(gnu-classpath-tools-gjdoc-0.7.7.jar.so) at java.lang.reflect.Method.invoke(libgcj.so.7rh) ...3 more Caused by: java.lang.ClassNotFoundException: antlr.CharScanner not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/share/java/com-sun-javadoc-0.7.7.jar,file:/usr/share/java/com-sun-tools-doclets-Taglet-0.7.7.jar,file:/usr/share/java/gnu-classpath-tools-gjdoc-0.7.7.jar,file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.so.7rh) at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh) at java.lang.ClassLoader.loadClass(libgcj.so.7rh) at java.lang.ClassLoader.loadClass(libgcj.so.7rh) at java.lang.VMClassLoader.defineClass(libgcj.so.7rh) at java.lang.ClassLoader.defineClass(libgcj.so.7rh) at java.security.SecureClassLoader.defineClass(libgcj.so.7rh) at java.net.URLClassLoader.findClass(libgcj.so.7rh) at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh) at java.lang.ClassLoader.loadClass(libgcj.so.7rh) at java.lang.ClassLoader.loadClass(libgcj.so.7rh) at java.lang.Class.initializeClass(libgcj.so.7rh) ...11 more make: *** [install-javadoc-html] Error 5
I'm hoping that adding antlr to the classpath somewhere will fix this.
Is this a known regression?
AG
Hi,
On Thu, 2006-10-05 at 10:29 -0700, Anthony Green wrote:
kawa fails to build in rawhide now with the following error (while building javadocs)... [...] I'm hoping that adding antlr to the classpath somewhere will fix this.
Is this a known regression?
Talked to Stepan today who saw the same thing while building the java-gnome packages. He said adding Build-Requires: antlr helped in his case.
Cheers,
Mark
Mark> Talked to Stepan today who saw the same thing while building the Mark> java-gnome packages. He said adding Build-Requires: antlr helped in his Mark> case.
How about the appended?
I haven't pushed a package since before we switched over to brew... maybe someone else could check this in and send it off.
Tom
Index: gjdoc.spec =================================================================== RCS file: /cvs/dist/rpms/gjdoc/devel/gjdoc.spec,v retrieving revision 1.44 diff -u -r1.44 gjdoc.spec --- gjdoc.spec 1 Oct 2006 20:19:14 -0000 1.44 +++ gjdoc.spec 5 Oct 2006 18:12:49 -0000 @@ -2,7 +2,7 @@
Name: gjdoc Version: 0.7.7 -Release: 10 +Release: 11 URL: http://savannah.gnu.org/projects/classpath/ License: GPL Summary: GNU Javadoc @@ -17,6 +17,7 @@ BuildPrereq: antlr BuildRequires: java-devel Requires: libgcj >= 4.0.0-8 +Requires: antlr
%description A documentation generation system for "javadoc"-style comments. @@ -65,6 +66,9 @@ %endif
%changelog +* Thu Oct 05 2006 Tom Tromey tromey@redhat.com - 0.7.7-11 +- require antlr + * Sun Oct 01 2006 Jesse Keating jkeating@redhat.com - 0.7.7-10 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
On Thu, 2006-10-05 at 12:07 -0600, Tom Tromey wrote:
Mark> Talked to Stepan today who saw the same thing while building the Mark> java-gnome packages. He said adding Build-Requires: antlr helped in his Mark> case.
How about the appended?
This is only part of the solution. The rest of the problem is that gjdoc users are forced to put antlr on their classpath when they run. Isn't there some other magic way of making this work?
AG
Anthony> This is only part of the solution. The rest of the problem is that Anthony> gjdoc users are forced to put antlr on their classpath when they run. Anthony> Isn't there some other magic way of making this work?
I read the gjdoc script and it sure looks like it is doing the right thing.
So, this is weird. Is your use not going via the script somehow?
Tom
On Thu, 2006-10-05 at 12:46 -0600, Tom Tromey wrote:
Anthony> This is only part of the solution. The rest of the problem is that Anthony> gjdoc users are forced to put antlr on their classpath when they run. Anthony> Isn't there some other magic way of making this work?
I read the gjdoc script and it sure looks like it is doing the right thing.
So, this is weird. Is your use not going via the script somehow?
That's right. This is through ant.
AG
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Anthony Green wrote:
So, this is weird. Is your use not going via the script somehow?
That's right. This is through ant.
That shouldn't matter as ant cannot do this programmatically, it just calls the javadoc script.
- -- Sincerely,
David Walluck david@zarb.org
On Thu, 2006-05-10 at 12:07 -0600, Tom Tromey wrote:
Mark> Talked to Stepan today who saw the same thing while building the Mark> java-gnome packages. He said adding Build-Requires: antlr helped in his Mark> case.
How about the appended?
I haven't pushed a package since before we switched over to brew... maybe someone else could check this in and send it off.
The fixed gjdoc RPM -- containing a Requires: antlr -- should hit rawhide tomorrow.
Thanks,
Andrew
java-devel@lists.fedoraproject.org