Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92346 - eclipse-sdk-3.1_pre6.ebuild dependency issue with GCC
Summary: eclipse-sdk-3.1_pre6.ebuild dependency issue with GCC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Development Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-12 03:03 UTC by Jari-Matti Mäkelä
Modified: 2005-07-13 07:16 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 Jari-Matti Mäkelä 2005-05-12 03:03:28 UTC
This error comes always after emerge --sync. The ebuild file is wrong. I've used this Eclipse version for a quite long time now and it really doesn't need gcc 4.0 - gcc 3.4.3-20050110 works just fine. It's easy to fix, just remove the gcj-line from the ebuild dependencies.

Reproducible: Always
Steps to Reproduce:
1. Eclipse-sdk-3.1_pre6 installed & in world
2. emerge --sync
3. emerge -DuNtp world

Actual Results:  
Calculating world dependencies |
!!! All ebuilds that could satisfy ">=sys-devel/gcc-4.0.0_beta20050305" 
have bee
n masked.
!!! One of the following masked packages is required to complete your 
request:
- sys-devel/gcc-4.0.0 (masked by: package.mask, -* keyword)
# Jeremy Huddleston <eradicator@gentoo.org> (28 Jan 2004)
# Added alpha 4.0 gcc by request for testing.  It is not ready for prime 
time,
# so if you use it and it breaks your system it's your fault.

- sys-devel/gcc-4.0.1_beta20050507 (masked by: package.mask, -* keyword)

For more information, see MASKED PACKAGES section in the emerge man page 
or 
section 2.2 "Software Availability" in the Gentoo Handbook.
!!!    (dependency required by "dev-util/eclipse-sdk-3.1_pre6" [ebuild])


!!! Problem with ebuild dev-util/eclipse-sdk-3.1_pre6
!!! Possibly a DEPEND/*DEPEND problem.

Expected Results:  
no dependency errors

My system:

gcc 3.4.3-20050110
Sun jdk 1.5.0_03-b07 (doesn't compile with it, but can be used as a user java
environment)
2005.0 profile
Comment 1 Martin Wienold 2005-05-25 10:25:07 UTC
Just a gues (since you did not include `emerge info
`) that you have gcj enabled.
Try `USE="-gcj" emerge eclipse-sdk` and it should work without removing the gcj
line.
:)
Comment 2 Jari-Matti Mäkelä 2005-05-27 01:11:53 UTC
Yes, I had the gcj enabled. I just wondered, why there is such a restriction, as
the script really works with older gcj & gcc as well.
Comment 3 Martin Wienold 2005-06-01 12:44:57 UTC
Well, i'm just guessing (again) but the 'gcj' USEflag here realy means that
eclipse would be build with gcj (read: native binary) and not with javac.
gcc is only used for the SWT part of eclipse.
Comment 4 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2005-07-13 07:16:17 UTC
Yeah, the gcj useflag was added while we were experimenting with building all of
eclipse-sdk using it. We didn't finish this in time for 3.1 final release, so
we've removed it now. 

Sorry for the inconvenience.