Summary: | dev-java/jessie-1.0.0-r2 does not emerge with doc USE flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | mike |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
jessie-1.0.0-r2/temp/environment |
Description
Juergen Rose
2009-01-13 10:38:06 UTC
Created attachment 178338 [details]
build.log
Created attachment 178340 [details]
jessie-1.0.0-r2/temp/environment
> [32;01m*[0m Using: blackdown-jdk-1.4.2 Can you try with sun-jdk? You can specify which jdk you prefer to use in: /etc/java-config-2/build/jdk.conf See: http://www.gentoo.org/doc/en/java.xml#doc_chap4_sect3 -weisso I thought that jdk was set with 'java-config 3' to Sun JDK 1.6.0.11. But I will check tomorrow /etc/java-config-2/build/jdk.conf at cheetah. I can't check it from home. /etc/java-config-2/build/jdk.conf was empty (everything was commented out): root@cheetah:/root(11)# cat /etc/java-config-2/build/jdk.conf # User jdk configuration file # You can specify which jdk you prefer to use # see http://www.gentoo.org/doc/en/java.xml#doc_chap4_sect3 for more info # # example: #1.3=sun-jdk-1.4 ibm-jdk-bin #1.4=blackdown-jdk #1.5=sun-jdk #or if you want everything with sun-jdk #*=sun-jdk Now I removed the hash mark at the beginning aof the last line of /etc/java-config-2/build/jdk.conf. So I have now: ... #1.3=sun-jdk-1.4 ibm-jdk-bin #1.4=blackdown-jdk #1.5=sun-jdk #or if you want everything with sun-jdk *=sun-jdk And I tried to reemerge jessie, but it fails with the same error. I think not the virtual machine (jdk) is the problem but the fact, that emerge can not handle the URLs correctly: javadoc: Error fetching URL: http://www.gnu.org/software/gnu-crypto/manual/api/package-list javadoc: Error fetching URL: http://java.sun.com/j2se/1.4.2/docs/api/package-list (In reply to comment #5) > javadoc: Error fetching URL: > http://www.gnu.org/software/gnu-crypto/manual/api/package-list > javadoc: Error fetching URL: > http://java.sun.com/j2se/1.4.2/docs/api/package-list > I don't get this error in Portage 2.2_rc21 in ~x86 I also don't get this in Portage 2.1.6.4 in x86 are you able to 'wget' the files? -weisso Yes, no problem. I still can't reproduce this on either ~arch or arch Portage, as well as trying behind 2 different firewalls. Do you get other fetch errors with other pkgs? -weisso Hi Mike, probably it is firewall related problem: I have not problem to pass firewall with ssh and http. Everything else seems to be difficult, e.g. I have to tunnel rsync. I can't emerge jessie with doc flag at two computers in the institute which has a proxy. Perhaps javadoc does not work behind a proxy. I found the following link: http://jira.codehaus.org/browse/MPJAVADOC-34 I have no problems to get the files with wget, look at the following lines: root@cheetah:/root(38)# wget http://www.gnu.org/software/gnu-crypto/manual/api/package-list --2009-01-20 11:20:53-- http://www.gnu.org/software/gnu-crypto/manual/api/package-list Connecting to 10.101.10.254:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 629 [text/plain] Saving to: `package-list' 100%[==================================================================================================================>] 629 --.-K/s in 0.005s 2009-01-20 11:20:53 (127 KB/s) - `package-list' saved [629/629] root@cheetah:/root(39)# wget http://java.sun.com/j2se/1.4.2/docs/api/package-list --2009-01-20 11:21:12-- http://java.sun.com/j2se/1.4.2/docs/api/package-list Connecting to 10.101.10.254:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2695 (2.6K) [text/plain] Saving to: `package-list.1' 100%[==================================================================================================================>] 2,695 --.-K/s in 0s 2009-01-20 11:21:12 (105 MB/s) - `package-list.1' saved [2695/2695] root@cheetah:/root(40)# emerge -vD dev-java/jessie These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-java/jessie-1.0.0-r2 USE="doc*" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB ... make[1]: Leaving directory `/var/tmp/portage/dev-java/jessie-1.0.0-r2/work/jessie-1.0.0' make -j2 apidoc mkdir -p apidoc javadoc -d apidoc/ -classpath :/usr/share/gnu-crypto/lib/javax-security.jar:/usr/share/gnu-crypto/lib/gnu-crypto.jar:/usr/share/gnu-crypto/lib/javax-crypto.jar: -sourcepath . -bottom "<div style=\"float: left;\"><em>Verbatim copying and distribution of this documentation is permitted in any medium.</em></div><div style=\"margin-top: 10px; margin-bottom: 10px; float: right; text-align: right;\"<a href=\"http://metastatic.org/source/jessie/\"><img src=\"http://metastatic.org/images/jessie-small.png\" width=\"150\" height=\"52\" alt=\"Jessie: A Free Software Implementation of the JSSE\" style=\"border: none;\" /></a></div>" -windowtitle "Jessie API documentation, version 1.0.0" -link http://www.gnu.org/software/gnu-crypto/manual/api/ -link http://java.sun.com/j2se/1.4.2/docs/api/ -breakiterator -group "JSSE API" javax.net:javax.net.ssl:javax.security.cert -group "Jessie Provider" org.metastatic.jessie:org.metastatic.jessie.https javax.net javax.net.ssl javax.security.cert org.metastatic.jessie org.metastatic.jessie.https Loading source files for package javax.net... Loading source files for package javax.net.ssl... Loading source files for package javax.security.cert... Loading source files for package org.metastatic.jessie... Loading source files for package org.metastatic.jessie.https... Constructing Javadoc information... javadoc: Error fetching URL: http://www.gnu.org/software/gnu-crypto/manual/api/package-list javadoc: Error fetching URL: http://java.sun.com/j2se/1.4.2/docs/api/package-list Standard Doclet version 1.4.2-03 ... 2 errors 2 warnings make: *** [apidoc] Error 1 Regards Juergen Have you set your Proxy settings correctly in /etc/make.conf See: http://www.gentoo.org/doc/en/faq.xml#proxy -weisso Hi Mike, I set: http_proxy="http://10.101.10.254:3128" ftp_proxy="http://10.101.10.254:3128" The proxy works without authentification, but the problem persists. I suppose that javadoc ignores the proxy configuration in the environment and in make.conf. Juergen (In reply to comment #11) > Hi Mike, > > I set: > > http_proxy="http://10.101.10.254:3128" > ftp_proxy="http://10.101.10.254:3128" > > The proxy works without authentification, but the problem persists. I suppose > that javadoc ignores the proxy configuration in the environment and in > make.conf. > > Juergen > Set java.net.useSystemProxies in ${JAVA_HOME}/jre/lib/net.properties to true. ${JAVA_HOME}/jre/lib/net.properties is at my system /etc/java-config-2/current-system-vm/jre/lib/net.properties and /etc/java-config-2/current-system-vm /usr/lib/jvm/sun-jdk-1.6 In the first step I set in java.net.useSystemProxies in ${JAVA_HOME}/jre/lib/net.properties/lib/net.properties java.net.useSystemProxies=true, then I tried to emerge jessie, nothing changed. In the second step I set in java.net.useSystemProxies in ${JAVA_HOME}/jre/lib/net.properties http.proxyHost=10.101.10.254 and http.proxyPort=3128, then I tried to emerge jessie, nothing changed. In the third step I set in java.net.useSystemProxies in ${JAVA_HOME}/jre/lib/net.properties/lib/net.properties ftp.proxyHost=10.101.10.254 and ftp.proxyPort=3128, then I tried to emerge jessie, nothing changed. I still get: "javadoc -d apidoc/ -classpath :/usr/share/gnu-crypto/lib/javax-security.jar:/usr/share/gnu-crypto/lib/gnu-crypto.jar:/usr/share/gnu-crypto/lib/javax-crypto.jar: -sourcepath . -bottom "<div style=\"float: left;\"><em>Verbatim copying and distribution of this documentation is permitted in any medium.</em></div><div style=\"margin-top: 10px; margin-bottom: 10px; float: right; text-align: right;\"<a href=\"http://metastatic.org/source/jessie/\"><img src=\"http://metastatic.org/images/jessie-small.png\" width=\"150\" height=\"52\" alt=\"Jessie: A Free Software Implementation of the JSSE\" style=\"border: none;\" /></a></div>" -windowtitle "Jessie API documentation, version 1.0.0" -link http://www.gnu.org/software/gnu-crypto/manual/api/ -link http://java.sun.com/j2se/1.4.2/docs/api/ -breakiterator -group "JSSE API" javax.net:javax.net.ssl:javax.security.cert -group "Jessie Provider" org.metastatic.jessie:org.metastatic.jessie.https javax.net javax.net.ssl javax.security.cert org.metastatic.jessie org.metastatic.jessie.https Loading source files for package javax.net... Loading source files for package javax.net.ssl... Loading source files for package javax.security.cert... Loading source files for package org.metastatic.jessie... Loading source files for package org.metastatic.jessie.https... Constructing Javadoc information... javadoc: Error fetching URL: http://www.gnu.org/software/gnu-crypto/manual/api/package-list javadoc: Error fetching URL: http://java.sun.com/j2se/1.4.2/docs/api/package-list ... Generating apidoc/index-all.html... /var/tmp/portage/dev-java/jessie-1.0.0-r2/work/jessie-1.0.0/./javax/net/ssl/TrustManagerFactory.java:197: warning - Tag @see: missing #: "Security.getProperty(java.lang.String)" /var/tmp/portage/dev-java/jessie-1.0.0-r2/work/jessie-1.0.0/./javax/net/ssl/TrustManagerFactory.java:197: warning - Tag @see: can't find Security.getProperty(java.lang.String) in javax.net.ssl.TrustManagerFactory ... Generating apidoc/stylesheet.css... 2 errors 2 warnings make: *** [apidoc] Error 1 jessie was obsolete and removed |