Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 96747

Summary: libgnome-java-2.10.1 fails against sun-jdk-1.5.0.03 (javadoc generation fails)
Product: Gentoo Linux Reporter: kfm
Component: [OLD] DevelopmentAssignee: Java team <java>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info output

Description kfm 2005-06-21 19:05:03 UTC
Hi. I've become interested in learning more about the java-gnome bindings and duly decided to unmask the 2.10.1 stack as follows:

 =dev-java/libglade-java-2.10.1
 =dev-java/libgconf-java-2.10.1
 =dev-java/libgtk-java-2.6.2-r1
 =dev-java/libgnome-java-2.10.1
 =dev-java/java-gnome-2.10.1

Having established that this works with a 1.4 series jdk I decided to clean everything out and try with sun-jdk-1.5.0.03 (as I am not particularly interested in earlier versions of Java). It built libgtk-java OK then failed on libgnome-java. In fact, it specifically appears to fail when building the index for the documentation of this component. Here's a excerpt which shows the point of failure (the numerous messages showing each html document after "About.html" have been edited out to keep this fairly concise):

---
javadoc \
-d doc/api \
 \
-sourcepath ./src/java \
-windowtitle "Java-Gnome 2.10.1 API Reference" \
        -doctitle "Java-Gnome 2.10.1 API Reference" \
        -footer "" \
        -public \
        -classpath /usr/share/libgtk-java-2.6/lib/gtk2.6-2.6.2.jar:./src/java:src/java \
        org.gnu.gnome \
        org.gnu.gnome.event
Creating destination directory: "doc/api/"
Loading source files for package org.gnu.gnome...
Loading source files for package org.gnu.gnome.event...
Constructing Javadoc information...
Standard Doclet version 1.5.0_03
Building tree for all the packages and classes...
Generating doc/api/org/gnu/gnome//About.html...

[snip]

Building index for all the packages and classes...
Generating doc/api/overview-tree.html...
Generating doc/api/index-all.html...
java.util.MissingResourceException: Can't find resource for bundle com.sun.tools.doclets.formats.html.resources.standard, key doclet.malformed_html_link_tag
        at java.util.ResourceBundle.getObject(ResourceBundle.java:326)
        at java.util.ResourceBundle.getString(ResourceBundle.java:286)
        at com.sun.tools.doclets.internal.toolkit.util.MessageRetriever.getText(MessageRetriever.java:114)
        at com.sun.tools.doclets.internal.toolkit.util.MessageRetriever.getText(MessageRetriever.java:92)
        at com.sun.tools.doclets.internal.toolkit.util.MessageRetriever.getText(MessageRetriever.java:81)
        at com.sun.tools.doclets.internal.toolkit.util.MessageRetriever.warning(MessageRetriever.java:290)
        at com.sun.tools.doclets.formats.html.HtmlDocletWriter.redirectRelativeLinks(HtmlDocletWriter.java:1526)
        at com.sun.tools.doclets.formats.html.HtmlDocletWriter.commentTagsToString(HtmlDocletWriter.java:1438)
        at com.sun.tools.doclets.formats.html.HtmlDocletWriter.printCommentTags(HtmlDocletWriter.java:1397)
        at com.sun.tools.doclets.formats.html.HtmlDocletWriter.printSummaryComment(HtmlDocletWriter.java:1370)
        at com.sun.tools.doclets.formats.html.HtmlDocletWriter.printSummaryComment(HtmlDocletWriter.java:1366)
        at com.sun.tools.doclets.formats.html.AbstractIndexWriter.printComment(AbstractIndexWriter.java:192)
        at com.sun.tools.doclets.formats.html.AbstractIndexWriter.printDescription(AbstractIndexWriter.java:164)
        at com.sun.tools.doclets.formats.html.AbstractIndexWriter.generateContents(AbstractIndexWriter.java:89)
        at com.sun.tools.doclets.formats.html.SingleIndexWriter.generateIndexFile(SingleIndexWriter.java:76)
        at com.sun.tools.doclets.formats.html.SingleIndexWriter.generate(SingleIndexWriter.java:52)
        at com.sun.tools.doclets.formats.html.HtmlDoclet.generateOtherFiles(HtmlDoclet.java:103)
        at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:122)
        at com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.java:64)
        at com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:42)
        at com.sun.tools.doclets.standard.Standard.start(Standard.java:23)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
        at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
        at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
        at com.sun.tools.javadoc.Start.begin(Start.java:128)
        at com.sun.tools.javadoc.Main.execute(Main.java:41)
        at com.sun.tools.javadoc.Main.main(Main.java:31)
make[1]: *** [doc-stamp] Error 1
make[1]: Leaving directory `/var/tmp/portage/libgnome-java-2.10.1/work/libgnome-java-2.10.1'
make: *** [all] Error 2
---

I'm not sure whether the java-gnome bindings are intended to support Java5, nor do I have a lot of experience with java in general. But, as the jar package seems to build OK, I'm filing this in the hope that this failure can somehow be dealt with in a relatively undemanding fashion, short of sticking with jdk-1.4! I'll attach the output of emerge --info also.
Comment 1 kfm 2005-06-21 19:07:32 UTC
Created attachment 61695 [details]
emerge --info output

The output of emerge --info from my workstation (mostly x86 packages, with some
exceptions).
Comment 2 Thomas Matthijs (RETIRED) gentoo-dev 2005-09-10 10:58:26 UTC
works from the 1.5  overlay
1.5 is not supported from the main tree and package.masked