emerge system -vuD Calculating system dependencies ...done! >>> emerge (1 of 8) dev-java/java-sdk-docs-1.3.1 to / !!! j2sdk-1_3_1-doc.zip not found in /var/portage/distfiles !!! dev-java/java-sdk-docs-1.3.1 has fetch restriction turned on. !!! This probably means that this ebuild's files must be downloaded !!! manually. See the comments in the ebuild for more information. * Please download j2sdk-1_3_1-doc.zip from http://java.sun.com/j2se/1.3/docs.html and move it to /var/portage/distfiles stehus / # nano /var/portage/distfiles/j2sdk-1_3_1-doc.zip --------- Following instructions to get j2sdk-1_3_1-doc.zip from http://java.sun.com/j2se/1.3/docs.html leads nowhere since that file is not provided there any more. You can find it as online text though at http://java.sun.com/j2se/1.3/download.html but that doesnt really help with emerge. Trying to use package.provided doesnt help also as it seems the entry is ignored (due to the fetchrestrictions or is this another bug?) # emerge system -vuDp These are the packages that I would merge, in order: Calculating system dependencies ...done! [ebuild NSF ] dev-java/java-sdk-docs-1.3.1 0 kB [ebuild U ] dev-libs/libxslt-1.1.15 [1.1.14-r2] +crypt -debug +python -static 1,780 kB [ebuild NS ] sys-kernel/gentoo-sources-2.6.13-r5 -build +doc -symlink (-ultra1) 207 kB [ebuild U ] media-gfx/graphviz-1.16-r1 [1.16] +tcltk 4,284 kB [ebuild U ] dev-db/mysql-4.1.14 [4.0.25-r2] +berkdb -big-tables -cluster -debug +doc -extraengine -geometry -minimal +perl +readline (-selinux) +ssl -static +tcpd -utf8 16,724 kB [ebuild U ] dev-perl/DBD-mysql-2.9007 [2.9003] 114 kB [ebuild U ] app-doc/doxygen-1.4.4 [1.4.2] +doc +qt -tetex 2,787 kB [ebuild NSF ] dev-java/sun-jdk-1.3.1.16 -browserplugin +doc -mozilla +nsplugin 26,035 kB Reproducible: Always Steps to Reproduce: 1. emerge system -vpuD tries to install dev-java/sun-jdk-1.3.1.16 which depends on 1-3-1 docs without it being in .../distfiles Actual Results: Failing to install Expected Results: remove the dep or BS fetchrestriction if sun themselves doesnt even provide the file (?)
*** Bug 110781 has been marked as a duplicate of this bug. ***
It seems that the EOL process for 1.3 has started. The docs should become available somewhere in http://java.sun.com/products/archive/. Until a new url is found you can disable the doc use flag in dev-java/sun-jdk-1.3.1.16 to prevent java-sdk-docs from being pulled in.
We don't have 1.2 or 1.3 jdks in the main tree any more so I just removed 1.2 and 1.3 slots of java-sdk-docs..