Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 124743

Summary: openoffice-2.0.2_rc3-r1 failed while openoffice-2.0.2_rc3 was compiled and works.
Product: Gentoo Linux Reporter: Peter Volkov (RETIRED) <pva>
Component: [OLD] UnspecifiedAssignee: Gentoo Office Team <office>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter Volkov (RETIRED) gentoo-dev 2006-03-02 22:54:26 UTC
Hello.

Two days ago I've managed to compile openoffice-2.0.2_rc3. Now I'd like to rebuild new revision. During compilation I have this problem:

=========================================================================

compile:
compiling and jarring
Created dir: /home/misc/porttmp/portage/openoffice-2.0.2_rc3-r1/work/ooo-build-oob680.3.0/build/oob680-m3/xt/unxlngi6.pro/misc/build/xt-20051206/stage/xt
Compiling 380 source files to /home/misc/porttmp/portage/openoffice-2.0.2_rc3-r1/work/ooo-build-oob680.3.0/build/oob680-m3/xt/unxlngi6.pro/misc/build/xt-20051206/stage/xt
/home/misc/porttmp/portage/openoffice-2.0.2_rc3-r1/work/ooo-build-oob680.3.0/build/oob680-m3/xt/unxlngi6.pro/misc/build/xt-20051206/src/xt/java/com/jclark/xsl/expr/PatternList.java:129: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
                for (Enumeration enum =
                                 ^
/home/misc/porttmp/portage/openoffice-2.0.2_rc3-r1/work/ooo-build-oob680.3.0/build/oob680-m3/xt/unxlngi6.pro/misc/build/xt-20051206/src/xt/java/com/jclark/xsl/expr/PatternList.java:130: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
                         nameRules.elements();  enum.hasMoreElements(); ) {
                                                ^
/home/misc/porttmp/portage/openoffice-2.0.2_rc3-r1/work/ooo-build-oob680.3.0/build/oob680-m3/xt/unxlngi6.pro/misc/build/xt-20051206/src/xt/java/com/jclark/xsl/expr/PatternList.java:131: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
                    append((Vector)enum.nextElement(), ppb, obj);
                                   ^
/home/misc/porttmp/portage/openoffice-2.0.2_rc3-r1/work/ooo-build-oob680.3.0/build/oob680-m3/xt/unxlngi6.pro/misc/build/xt-20051206/src/xt/java/com/jclark/xsl/tr/AppendAction.java:19: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
        for (Enumeration enum = sequence.elements();
                         ^
/home/misc/porttmp/portage/openoffice-2.0.2_rc3-r1/work/ooo-build-oob680.3.0/build/oob680-m3/xt/unxlngi6.pro/misc/build/xt-20051206/src/xt/java/com/jclark/xsl/tr/AppendAction.java:20: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
             enum.hasMoreElements();)
             ^
/home/misc/porttmp/portage/openoffice-2.0.2_rc3-r1/work/ooo-build-oob680.3.0/build/oob680-m3/xt/unxlngi6.pro/misc/build/xt-20051206/src/xt/java/com/jclark/xsl/tr/AppendAction.java:21: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
            ((Action)enum.nextElement()).invoke(context, sourceNode, result);
                     ^
6 errors

BUILD FAILED
/home/misc/porttmp/portage/openoffice-2.0.2_rc3-r1/work/ooo-build-oob680.3.0/build/oob680-m3/xt/unxlngi6.pro/misc/build/xt-20051206/build.xml:305: Compile failed; see the compiler error output for details.

Total time: 2 seconds
dmake:  Error code 1, while making 'ANTBUILD'
'---* tg_merge.mk *---'
dmake:  Error code 255, while making './unxlngi6.pro/misc/build/so_built_xt'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /home/misc/porttmp/portage/openoffice-2.0.2_rc3-r1/work/ooo-build-oob680.3.0/build/oob680-m3/xt
make: *** [stamp/build] Error 1

========================= end of error message ==========================

Yes. I have sun-jdk-1.5.0 as system VM. But I do not change java VM too often, and I did not updated java between OO builds.

Below is emerge --info:

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.12.0_pre16
ccache version 2.3 [disabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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="-O2 -mtune=pentium-m -fomit-frame-pointer -mcpu=pentium-m -pipe"
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/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -mtune=pentium-m -fomit-frame-pointer -mcpu=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.citkit.ru/pub/Linux/gentoo/ ftp://mirror.gentoo.ru/pub/mirror/gentoo/ http://ftp.du.se/pub/os/gentoo ftp://ftp.du.se/pub/os/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.pudas.net/gentoo"
LANG="ru_RU.UTF-8"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/misc/porttmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/NetUp"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acl alsa apm arts audiofile avi bash-completion browserplugin bzip2 cdparanoia cdr crypt cups curl dbus divx4linux dv dvd eds emboss encode ethereal exif expat fam ffmpeg firefox flac foomaticdb gd gif gimpprint glibc-omitfp glut gmp gnome gstreamer gtk gtk2 gtkhtml guile hal idea idn imagemagick ipv6 java jce jpeg jpeg2k kde kdeenablefinal lcms libg++ libwww linuxthreads-tls lzo mad matroska mhash mikmod mmx mng mozdevelop mozsvg mp3 mpeg nls nptl nsplugin offensive ogg oggvorbis openexr opengl oss pam pcmcia pda pdflib pic plotutils png ppds python qt quicktime readline real rtc sdl snmp spell sse sse2 ssl svg tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis win32codecs wmf xml2 xprint xv xvid zlib linguas_ru userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS

TIA.
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2006-03-03 00:53:44 UTC
This is being caused by the fact that you use jdk-1.5 as your main jdk. Setting the system jdk to 1.4 before merging should fix this.
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2006-03-03 01:01:16 UTC
Of course you are right.

I just wanted to note, that previos revision of this version compiled fine here.
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2006-03-04 12:32:54 UTC
Actually OOo should build fine with sun-jdk-1.5 now. Could you please try out rc4, the Changelog list quite some fixes in regard to the xt-stuff.