Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44608 - sun-j2sdk-1.4.2 wants outdated doc
Summary: sun-j2sdk-1.4.2 wants outdated doc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-13 15:16 UTC by Axel Reimann
Modified: 2004-03-16 20:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Reimann 2004-03-13 15:16:21 UTC
emerge -p -u sun-j2sdk

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N F  ] dev-java/java-sdk-docs-1.4.1
[ebuild  N    ] dev-java/blackdown-jdk-1.4.1
[ebuild  N    ] dev-java/sun-j2sdk-1.4.2

java-sdk-docs-1.4.1 are no longer available
which cazses the entire emerge process to stall

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Chris Aniszczyk (RETIRED) gentoo-dev 2004-03-13 16:33:20 UTC
Hrmm, when is blackdown-jdk coming up when you do an emerge -p -u sun-jd2sdk? That doesn't make sense... 

output of emerge -p sun-j2sdk

output of java-config -L

please ;)
Comment 2 Axel Reimann 2004-03-13 22:13:51 UTC
That's an easy one :)
The output of emerge is just the same as the one shown above,
and java-config -L returns with an empty line.
Comment 3 Axel Reimann 2004-03-13 22:24:12 UTC
The blackdown dependency seems to have its cause in a missing javac:

bash-2.05b# emerge --nodeps sun-j2sdk
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/sun-j2sdk-1.4.2 to /
jc_options: javac not found
 * Set java-config to use a jdk not a jre

!!! ERROR: dev-java/sun-j2sdk-1.4.2 failed.
!!! Function pkg_setup, Line 63, Exitcode 0
!!! The version of java set by java-config doesn't contain javac
Comment 4 Axel Reimann 2004-03-13 22:36:28 UTC
Now that's silly. In order to install Sun Java I have
to install javacc which installs a blackdown-java jre.
Then in turn the sun-j2sdk still insists I have to install
a java-sdk:

>>> emerge (1 of 1) dev-java/sun-j2sdk-1.4.2 to /
jc_options: javac not found
 * Set java-config to use a jdk not a jre

After installing blackdown-java sdk as well:
-------------------------------------------
bash-2.05b# java-config -L
[blackdown-jre-1.4.1] "Blackdown JRE 1.4.1" (/etc/env.d/java/20blackdown-jre-1.4.1)
[blackdown-jdk-1.4.1] "Blackdown JDK 1.4.1" (/etc/env.d/java/20blackdown-jdk-1.4.1) *
-------------------------------------------

The ebuild finally proceeds asking me to download
the sources myself (that's fine with me).
I only get this far, however, when I install a java-sdk 
in order to install java.

After a repeated 'emerge rsync' today I do not depend
on the outdated doc file anymore:
> emerge sun-j2sdk
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/sun-j2sdk-1.4.2 to /
>>> Unpacking source...
 * Please download j2sdk-1_4_2-mozilla_headers-unix.zip from http://wwws.sun.com/software/java2/download.html to /usr/portage/distfiles
 * Please download j2sdk-1_4_2-src-scsl.zip from http://wwws.sun.com/software/java2/download.html to /usr/portage/distfiles
 * Please download j2sdk-1_4_2-bin-scsl.zip from http://wwws.sun.com/software/java2/download.html to /usr/portage/distfiles

Therefore, the original bug report has become invalid...
Comment 5 Chris Aniszczyk (RETIRED) gentoo-dev 2004-03-16 20:27:53 UTC
fixed