[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: javadoc errors in pbuilder



On Wed, May 24, 2006 at 09:44:34AM -0400, Charles Fry wrote:
> Hi,
> 
> My newly packaged libcolt-java (which is in the pkg-java Subversion
> repository) builds properly using dpkg-buildpackage, but when attempting
> to build with pdebuild I get the following:
> 
> 
>   [javadoc] Fetching package list for external documentation set.
>   [javadoc] java.io.IOException: Stream closed.
>   [javadoc]    at java.io.BufferedInputStream.refill(libgcj.so.7)
>   [javadoc]    at java.io.BufferedInputStream.read(libgcj.so.7)
>   [javadoc]    at gnu.java.net.LineInputStream.readLine(libgcj.so.7)
>   [javadoc]    at gnu.java.net.protocol.http.Request.readResponse(libgcj.so.7)
>   [javadoc]    at gnu.java.net.protocol.http.Request.dispatch(libgcj.so.7)
>   [javadoc]    at gnu.java.net.protocol.http.HTTPURLConnection.connect(libgcj.so.7)
>   [javadoc]    at gnu.java.net.protocol.http.HTTPURLConnection.getInputStream(libgcj.so.7)
>   [javadoc]    at java.net.URL.openStream(libgcj.so.7)
>   [javadoc]    at gnu.classpath.tools.doclets.htmldoclet.ExternalDocSet.load(lib-gnu-classpath-tools-gjdoc.so.0)
>   [javadoc]    at gnu.classpath.tools.doclets.htmldoclet.HtmlDoclet.run(lib-gnu-classpath-tools-gjdoc.so.0)
>   [javadoc]    at gnu.classpath.tools.doclets.AbstractDoclet.startInstance(lib-gnu-classpath-tools-gjdoc.so.0)
>   [javadoc]    at gnu.classpath.tools.doclets.AbstractDoclet.start(lib-gnu-classpath-tools-gjdoc.so.0)
>   [javadoc]    at java.lang.reflect.Method.invoke(libgcj.so.7)
>   [javadoc]    at gnu.classpath.tools.gjdoc.Main.startDoclet(lib-gnu-classpath-tools-gjdoc.so.0)
>   [javadoc]    at gnu.classpath.tools.gjdoc.Main.start(lib-gnu-classpath-tools-gjdoc.so.0)
>   [javadoc]    at gnu.classpath.tools.gjdoc.Main.main(lib-gnu-classpath-tools-gjdoc.so.0)
> 
> 
> And none of the javadocs are actually generated. Does anyone have any
> idea why this error is occurring, or what needs to be done to fix it?

Can it be that you are trying to link a remote javadoc location for the
core classe? Please (Build-)Depend on classpath-doc and link with the
core classes from this. This way the user has always the javadocs on his
disc without needed network. This was a discussion we made at last
FOSDEM. Sorry that we dont made this public yet, afaik.


Cheers,
Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/



Reply to: