root@cheetah:/root(30)# emerge -vuDN jessie ... [ebuild R ] dev-java/jessie-1.0.0-r2 USE="doc*" 0 kB ... 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 ... Generating apidoc/stylesheet.css... 2 errors 2 warnings make: *** [apidoc] Error 1 ... !!! When you file a bug report, please include the following information: GENTOO_VM=blackdown-jdk-1.4.2 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:" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" Reproducible: Always root@cheetah:/root(11)# emerge --info Portage 2.1.6.5 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo i686) ================================================================= System uname: Linux-2.6.28-gentoo-i686-AMD_Athlon-tm-_XP_1800+-with-glibc2.0 Timestamp of tree: Tue, 13 Jan 2009 02:35:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.4.4-r15, 2.5.2-r8 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.1-r1 sys-apps/sandbox: 1.3.2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" FFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo rsync://gd.tuwien.ac.at/opsys/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://gentoo.oregonstate.edu" LDFLAGS="-Wl,-O1" LINGUAS="de fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/n4g /usr/local/portage/layman/science /usr/local/portage/layman/java-overlay /usr/local/portage/layman/zugaina /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount bash-completion beagle berkdb bjam blas bluetooth bonobo boo boost branding bzip2 c++ cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli corba cracklib cran crypt cups curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi doc dri ds3490 dv dvb dvd dvdr dvdread dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples exif expat extra fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx galago gd gdal gdbm geos gif gimp gimpprint ginac glade glitz gml gmp gnokii gnome gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened harness hddtemp hdf hdf5 hlapi http iconv icq icu id3 ide imagemagick imap innodb ipv6 irda irmc isdnlog ithreads jabber java jbig john jpeg jpeg2k kde kde4 kerberos kexi keyring ladspa lame lapack latex lcms ldap libffi libgda libnotify libsamplerate lirc lm_sensors lua lzo lzw mad maildir math matroska matrox midi mikmod mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs numarray numeric obex ocaml octave odbc ogdi ogg ole opengl openmp pam pcre pda pdf perl plotutils plugins png posix postgres postscript ppds pppd preview-latex proj projectx pstricks python qhull qt3 qt3support qt4 quicktime readline reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl session slang slp sndfile snmp soup sox speex spell spl sqlite sse ssl startup-notification stlport subtitles subversion suexec svg sysfs t1lib tcl tcpd tex theora threads thunderbird tidy tiff tk truetype unicode usb userlocales utempter v4l2 vorbis win32codecs wmf wxwindows x86 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" LIRC_DEVICES="hauppauge" NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2ee java xml" USERLAND="GNU" VIDEO_CARDS="mga matrox vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS root@cheetah:/root(12)# java-config -L The following VMs are available for generation-2: 1) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2] 2) Sun JDK 1.5.0.17 [sun-jdk-1.5] *) Sun JDK 1.6.0.11 [sun-jdk-1.6]
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