Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 54723
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Karl Trygve Kalleberg (RETIRED) <karltk@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andreas Niess <aniess@online.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
eclipse-ebuild.patch Patch for the expression problem text/plain Bert Geens (theBlackDragon) 2004-06-22 04:37 0000 164 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 54723 depends on: Show dependency tree
Bug 54723 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-06-22 04:21 0000
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!

------- Comment #1 From Bert Geens (theBlackDragon) 2004-06-22 04:37:08 0000 -------
Created an attachment (id=33816) [details]
Patch for the expression problem

Patch that incorporates the above mentioned changes.

------- Comment #2 From Alan Schmitt 2004-06-22 08:22:48 0000 -------
I confirm that this minor change works for me (using blackdown 1.4.2_rc1).

------- Comment #3 From Karl Trygve Kalleberg (RETIRED) 2004-06-22 11:57:21 0000 -------
Fixed for rc1, rc2 and rc3. 

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug