Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225607 - [java-overlay] icedtea-6.1.2 should DEPEND on GCC-4.3
Summary: [java-overlay] icedtea-6.1.2 should DEPEND on GCC-4.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 225609 (view as bug list)
Depends on:
Blocks: icedtea-tracker
  Show dependency tree
 
Reported: 2008-06-09 16:52 UTC by Eric Thibodeau
Modified: 2008-12-17 23:17 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 Eric Thibodeau 2008-06-09 16:52:10 UTC
I hit the problem described here:

http://iced-tea.org/wiki/CommonIssues#Lacking_a_valid_JDK

Textual copy:

If you get the message: 
ERROR: Your BOOTDIR environment variable does not point 
to a valid JDK for bootstrapping this build. 
A JDK 7  build must be bootstrapped using JDK 1.6.0 fcs (or later). 
Apparently, your bootstrap JDK is version 1.4 
Please update your ALT_BOOTDIR setting and start your build again. 

Then the problem is likely to be with the java binary symlinked in bootstrap/jdk1.6.0/bin/java. By default, this will link to gij, which on many systems is not 1.5 compliant: 
bootstrap/jdk1.6.0/bin/java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 (Gentoo 4.1.2 p1.0.2)

To use gcj as the JDK, you need a version which is 1.5 compliant. Only the unreleased version, 4.3, and RedHat's backport of this are. Some distributions may provide this version (e.g. Fedora, Gentoo via the GCJ overlay) while with others you will need to download and compile another copy of GCC to use this. See the  Gentoo build instructions for how to do this. Alternatively, you can pass the --with-java option to configure in order to make the symlink point to a different VM which is compliant.

-- I switched GCC compiler to 4.3 and the build went through without a problem.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-09 17:04:40 UTC
*** Bug 225609 has been marked as a duplicate of this bug. ***
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2008-12-17 23:14:01 UTC
this should not be an issue with current icedtea6 ebuilds in java overlay any more.
Comment 3 Andrew John Hughes 2008-12-17 23:17:55 UTC
This is not our ebuild but geki's.  Please close.