Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129693 - dev-java/flute-1.3 do not compile with sun jdk 1.5
Summary: dev-java/flute-1.3 do not compile with sun jdk 1.5
Status: RESOLVED DUPLICATE of bug 79206
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 129697 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-12 06:48 UTC by khaelin
Modified: 2006-04-12 07:26 UTC (History)
0 users

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


Attachments
Ebuild patch (flute_ebuild.patch,567 bytes, patch)
2006-04-12 06:50 UTC, khaelin
Details | Diff
Patch for sun sdk 1.5 (flute_java-1.5.patch,925 bytes, patch)
2006-04-12 06:51 UTC, khaelin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description khaelin 2006-04-12 06:48:18 UTC
The error:

    [javac] /var/tmp/portage/flute-1.3/work/flute-1.3/src/org/w3c/flute/parser/Parser.java:3500: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
    [javac] (try -source 1.4 or lower to use 'enum' as an identifier)

emerge --info:

[~] % emerge --info
Portage 2.1_pre7-r4 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-suspend2-r1 i686)
=================================================================
System uname: 2.6.16-suspend2-r1 i686 Intel(R) Celeron(R) M processor         1.50GHz
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/  http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LC_ALL="fr_FR.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm avi berkdb bitmap-fonts cli crypt ctype cups dba doc dri dvd eds emboss encode esd expat fastbuild firefox foomaticdb force-cgi-redirect freetype ftp gd gdbm gif gnome gpm gstreamer gtk gtk2 imlib isdnlog jabber jpeg libg++ libwww mad memlimit mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly offensive ogg opengl pcre pdflib perl png posix pppd python quicktime readline sdl session simplexml soap sockets spell spl sse sse2 ssl tcpd tokenizer truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs xml xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_ati video_cards_vesa video_cards_vga video_cards_fglrx"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS
Comment 1 khaelin 2006-04-12 06:50:57 UTC
Created attachment 84502 [details, diff]
Ebuild patch

Add an epatch line to use the patch provided in the second attachment.
Comment 2 khaelin 2006-04-12 06:51:58 UTC
Created attachment 84503 [details, diff]
Patch for sun sdk 1.5

Rename the var 'enum' in 'aenum' because enum is a keyword in java 1.5.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-04-12 06:52:36 UTC
*** This bug has been marked as a duplicate of 79206 ***

*** This bug has been marked as a duplicate of 79206 ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-04-12 07:26:10 UTC
*** Bug 129697 has been marked as a duplicate of this bug. ***