Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132765 - dev-db/xindice-1.0-r3 fails with java migration-overlay
Summary: dev-db/xindice-1.0-r3 fails with java migration-overlay
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 132767 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-09 02:08 UTC by Jan Callewaert
Modified: 2006-07-01 11: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 Jan Callewaert 2006-05-09 02:08:52 UTC
dev-db/xindice-1.0-r3 fails to compile. It seems it doesn't use the new system, since there is no *Using sun-jdk-... at the beginning of the emerge.

$ sudo emerge xindice -av

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-db/xindice-1.0-r3  USE="-doc" 0 kB

Total size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]
>>> Emerging (1 of 1) dev-db/xindice-1.0-r3 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking xml-xindice-1.0.tar.gz ;-)
 * This has only been tested with Sun's JDK!
 * Good luck if you use another VM
>>> Unpacking source...
>>> Unpacking xml-xindice-1.0.tar.gz to /var/tmp/portage/xindice-1.0-r3/work
 * Applying xindice-1.0-r3.patch ...                                         [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/xindice-1.0-r3/work/xml-xindice-1.0 ...
Buildfile: build.xml

init:

idl:

prepare:
    [mkdir] Created dir: /var/tmp/portage/xindice-1.0-r3/work/xml-xindice-1.0/java/classes

clean-jar:
   [delete] Deleting: /var/tmp/portage/xindice-1.0-r3/work/xml-xindice-1.0/java/lib/xindice.jar

src:
     [echo] Compiling Source
    [javac] Compiling 324 source files to /var/tmp/portage/xindice-1.0-r3/work/xml-xindice-1.0/java/classes
    [javac] /var/tmp/portage/xindice-1.0-r3/work/xml-xindice-1.0/java/src/org/apache/xindice/core/filer/BTreeFiler.java:233: 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)
    [javac]       private Iterator enum;
    [javac]                        ^
    [javac] /var/tmp/portage/xindice-1.0-r3/work/xml-xindice-1.0/java/src/org/apache/xindice/core/filer/BTreeFiler.java:238: enum types must not be local
    [javac]             enum = keys.iterator();
    [javac]             ^
... (many more)



 $ emerge --info
Portage 2.1_pre10-r5 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r6 i686)
=================================================================
System uname: 2.6.16-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -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/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache confcache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="nl_BE"
LC_ALL="nl_BE.utf8"
LINGUAS="nl en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/my_portage /usr/local/overlays/initng-portage /usr/local/overlays/migration-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 cddb cdparanoia cdr clamd cli crypt css cups curl dbus directfb double-precision dri dts dvd dvdr dvdread emboss encode exif fam ffmpeg flac foomaticdb gdbm gif gimpprint glut gmp gpgme gpm hal icu imagemagick imap imlib innodb ipv6 isdnlog java javascript jpeg jpeg2k junit kde kdeenablefinal kdepim kdexdeltas kipi kqemu libclamav libg++ libvisual libwww lm_sensors mad matroska mikmod mmx moznomail moznoxft mp3 mpeg mpi mplayer music musicbrainz mysql ncurses network nls nntp nptl nsplugin ntfs nvidia ofx ogg oggvorbis openexr opengl oss pam pam_console pcre pdf pdflib perl php pic png ppds pppd python qt quicktime rar rdesktop readline reflection ruby samba sasl sdl session skins slp smp smtp spell spl sql sse sse2 ssl subject-rewrite subtitles subversion svg symlink tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb vcd visualization vorbis win32codecs wmf xattr xcomposite xine xml xml2 xorg xscreensaver xsl xv xvid zeroconf zlib elibc_glibc initng_plugins_also initng_plugins_bash_launcher initng_plugins_chdir initng_plugins_chroot initng_plugins_conflict initng_plugins_cpout initng_plugins_critical initng_plugins_cron initng_plugins_daemon initng_plugins_dev initng_plugins_dllaunch initng_plugins_envparser initng_plugins_find initng_plugins_fstat initng_plugins_history initng_plugins_idleprobe initng_plugins_initctl initng_plugins_interactive initng_plugins_iparser initng_plugins_last initng_plugins_limit initng_plugins_logfile initng_plugins_netprobe initng_plugins_ngc2 initng_plugins_pause initng_plugins_pidfile initng_plugins_reload initng_plugins_renice initng_plugins_rlparser initng_plugins_simple_launcher initng_plugins_stcmd initng_plugins_stdout initng_plugins_suid initng_plugins_syncron initng_plugins_syslog initng_plugins_unneeded input_devices_keyboard input_devices_mouse kernel_linux linguas_nl linguas_en userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

# java-config-1 -L
[sun-jdk-1.4.2.10] "Sun JDK 1.4.2.10" (/etc/env.d/java/20sun-jdk-1.4.2.10) *

# java-config-2 -L
1) Sun JDK 1.4.2.10 [sun-jdk-1.4] (/usr/share/java-config-2/vm/sun-jdk-1.4)
*) Sun JDK 1.5.0.06 [sun-jdk-1.5] (/usr/share/java-config-2/vm/sun-jdk-1.5)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-09 02:50:59 UTC
*** Bug 132767 has been marked as a duplicate of this bug. ***
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2006-07-01 11:46:54 UTC
Fixed in CVS. Give it a bit to propogate to the mirrors. Thanks for reporting.