Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405349 - dev-java/gcj-jdk-4.5.3 fails to build with gcc-4.6. Please upgrade to 4.6.2
Summary: dev-java/gcj-jdk-4.5.3 fails to build with gcc-4.6. Please upgrade to 4.6.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-23 00:01 UTC by Thierry Norret
Modified: 2012-06-05 18:46 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 Thierry Norret 2012-02-23 00:01:22 UTC
Trying compiling gcj-jdk-4.5.3 with gcc 4.6.2 fails

Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-java/gcj-jdk-4.5.3
>>> Failed to emerge dev-java/gcj-jdk-4.5.3, Log file:
>>>  '/usr/portage/log/dev-java:gcj-jdk-4.5.3:20120222-234607.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.10, 0.12, 0.16
 * Package:    dev-java/gcj-jdk-4.5.3
 * Repository: gentoo
 * Maintainer: gnu_andrew@member.fsf.org java@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox
 * Your current GCC version is not set to 4.5.3 via gcc-config
 * Please read http://www.gentoo.org/doc/en/gcc-upgrading.xml before you set it
4.6.2 != 4.5.3
 * ERROR: dev-java/gcj-jdk-4.5.3 failed (setup phase):
 *   gcc 4.5.3 must be selected via gcc-config
 * 
 * Call stack:
 *              ebuild.sh, line  85:  Called pkg_setup
 *   gcj-jdk-4.5.3.ebuild, line  31:  Called die
 * The specific snippet of code:
 *   		die "gcc ${PV} must be selected via gcc-config"
 * 
 * If you need support, post the output of 'emerge --info =dev-java/gcj-jdk-4.5.3',
 * the complete build log and the output of 'emerge -pqv =dev-java/gcj-jdk-4.5.3'.
 * The complete build log is located at '/usr/portage/log/dev-java:gcj-jdk-4.5.3:20120222-234607.log'.
 * The ebuild environment file is located at '/usr/portage/tmpfs/portage/dev-java/gcj-jdk-4.5.3/temp/die.env'.
 * S: '/usr/portage/tmpfs/portage/dev-java/gcj-jdk-4.5.3/work/gcj-jdk-4.5.3'

Rename the ebuild in gcc-jdk-4.6.2 solve the problem

Reproducible: Always




emerge --info

Portage 2.1.10.44 (default/linux/amd64/10.0, gcc-4.6.2, glibc-2.13-r4, 3.2.1-gentoo-r2 x86_64)
=================================================================
System uname: Linux-3.2.1-gentoo-r2-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.0.3
Timestamp of tree: Wed, 22 Feb 2012 16:45:02 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1, 4.6.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-perso
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=9 --load-average=9.0 --with-bdeps y"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ ftp://gentoo.imj.fr/pub/gentoo/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j9 -l9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/portage/tmpfs"
PORTDIR="/usr/portage/tree"
PORTDIR_OVERLAY="/usr/portage/local/perso"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif gpm gstreamer gtk iconv ipv6 jpeg lcms libnotify lm_sensors mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds pppd readline sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype udev unicode usb userlocales vorbis x264 xcb xml xorg xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Benda Xu gentoo-dev 2012-05-17 10:32:17 UTC
Hi, Thierry,

You can use java-overlay for the moment as a temperary workaround.
Comment 2 Ralph Sennhauser (RETIRED) gentoo-dev 2012-06-05 18:46:03 UTC
Moved 4.6 from java-overlay to tree. ebuild for masked gcc-4.7.0 can be found in the java-overlay.