Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 439228 - dev-java/gcj-jdk-4.6.3-r1 fails to build
Summary: dev-java/gcj-jdk-4.6.3-r1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-22 07:09 UTC by Patrick Lauer
Modified: 2012-10-23 19:34 UTC (History)
0 users

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


Attachments
recomend installing a different gcj-jdk instead (gcj-jdk-4.6.3-r1.ebuild.patch,738 bytes, patch)
2012-10-22 09:00 UTC, Ralph Sennhauser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2012-10-22 07:09:06 UTC
As far as I can tell pulled in for IcedTea, needs user interaction in a way that can break lots of things. Very naughty.

>>> Emerging (21 of 31) dev-java/gcj-jdk-4.6.3-r1
 * Your current GCC version is not set to 4.6.3 via gcc-config
 * Please read http://www.gentoo.org/doc/en/gcc-upgrading.xml before you set it
4.7.2 != 4.6.3
 * ERROR: dev-java/gcj-jdk-4.6.3-r1 failed (setup phase):
 *   gcc 4.6.3 must be selected via gcc-config
 * 
 * Call stack:
 *                 ebuild.sh, line  93:  Called pkg_setup
 *   gcj-jdk-4.6.3-r1.ebuild, line  32:  Called die
 * The specific snippet of code:
 *              die "gcc ${PV} must be selected via gcc-config"
Comment 1 Ralph Sennhauser (RETIRED) gentoo-dev 2012-10-22 09:00:17 UTC
Created attachment 327132 [details, diff]
recomend installing a different gcj-jdk instead

How about this?
Comment 2 Ralph Sennhauser (RETIRED) gentoo-dev 2012-10-23 19:33:33 UTC
Looking at it we actually no longer need to corresponding gcc to be the active one if we make better use of gcc-config. Fixed in cvs. Thanks for the report.

*gcj-jdk-4.6.3-r2 (23 Oct 2012)
*gcj-jdk-4.5.4 (23 Oct 2012)

  23 Oct 2012; Ralph Sennhauser <sera@gentoo.org> +gcj-jdk-4.5.4.ebuild,
  +gcj-jdk-4.6.3-r2.ebuild:
  Don't require corresponding gcc to be active. #439228
  Backport various fixes to 4.5.4.