| Summary: | Eclipse-sdk-3.0. build fails with JDK 1.4.2 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andreas Niess <bgzll> |
| Component: | [OLD] Development | Assignee: | Karl Trygve Kalleberg (RETIRED) <karltk> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | alan.schmitt, bert |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Patch for the expression problem | ||
Created attachment 33816 [details]
Patch for the expression problem
Patch that incorporates the above mentioned changes.
I confirm that this minor change works for me (using blackdown 1.4.2_rc1). Fixed for rc1, rc2 and rc3. |
Due to an error in eclipse-sdk-3.0.0_rc2.ebuild portage fails to recognize the sun-jdk-1.4.2 In line 49: elif [ ${major} -ge ] && [ ${minor} -ge 4 ] && [ ${patch} -ge 2 ] ; then should be elif [ ${major} -ge 1 ] && [ ${minor} -ge 4 ] && [ ${patch} -ge 2 ] ; then Reproducible: Always Steps to Reproduce: 1. emerge =sun-jdk-1.4.2.04-r2 2. emerge =eclipse-sdk-3.0.0_rc2 3. Actual Results: The ebuild fails: /usr/sbin/ebuild.sh: line 48: [: 1: unary operator expected !!! ERROR: dev-util/eclipse-sdk-3.0.0_rc2 failed. !!! Function pkg_setup, Line 51, Exitcode 2 !!! Detected JDK (1.4.2_04) is too old to compile Eclipse, need at least 1.4.2!