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

Bug 78550

Summary: emerge of app-office/openoffice-1.1.4 fails during compile
Product: Gentoo Linux Reporter: Dan Eisenhut <daniel.eisenhut>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dan Eisenhut 2005-01-18 11:05:01 UTC
Performing "emerge openoffice" fails for openoffice-1.1.4.  See "Actual Results" section for the error message.



Reproducible: Always
Steps to Reproduce:
1. emerge openoffice

Actual Results:  
=============
Building project sandbox
=============
/var/tmp/portage/openoffice-1.1.4/work/sandbox/com/sun/star/lib/sandbox
mkout -- version: 1.3
Making dpj...

------------------------------
Making: ../../../../../unxlngi4.pro/misc/lib_sandbox.dpc
dmake subdmake=true  -f makefile.mk strip="true" product="full" depend=t ALLDPC
------------------------------
No Dependencies
javac -classpath
".:../../../../../unxlngi4.pro/class:/opt/sun-jdk-1.5.0.01/jre/lib/rt.jar:." -d
../../../../../unxlngi4.pro/class  AudioProxy.java                             
      Cachable.java       ClassContext.java                             
ClassContextImpl.java                           ClassContextProxy.java         
           CodeSource.java                                 Disposable.java     
   ExecutionContext.java                      Holder.java                      
                  ImageProducerProxy.java                        JarEntry.java 
                                     JarInputStream.java                       
        Permission.java                                
PermissionCollection.java                  ProtectionDomain.java               
           Resource.java           ResourceImpl.java                           
  ResourceProxy.java                              ResourceViewer.java          
             SandboxMessageHandler.java                  SandboxThreadGroup.java
       SandboxSecurity.java                           
SandboxSecurityException.java           WeakRef.java                           
               WeakTable.java                                         
WeakEntry.java                                         XImage.java
ClassContextImpl.java:307: 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)
                    java.util.Enumeration enum = m_class_path_jars.elements();
                                          ^
ClassContextImpl.java:308: 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)
                    while (enum.hasMoreElements())
                           ^
ClassContextImpl.java:310: 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)
                        ClassContext context = (ClassContext)enum.nextElement();
                                                             ^
3 errors
dmake:  Error code 1, while making
'../../../../../unxlngi4.pro/misc/lib_sandbox_dummy.java'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making
/var/tmp/portage/openoffice-1.1.4/work/sandbox/com/sun/star/lib/sandbox

!!! ERROR: app-office/openoffice-1.1.4 failed.
!!! Function src_compile, Line 371, Exitcode 1
!!! Build failed!
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
openoffice-1.1.4 should compile and merge in correctly.

# emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.4.3-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles/
ftp://gentoo.itdnet.net/gentoo/ ftp://gentoo.mirrored.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm avi berkdb bitmap-fonts crypt cups encode f77 font-server foomaticdb
fortran gdbm gif gpm gtk gtk2 imlib ipv6 java jpeg libg++ libwww mad mikmod
motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline sdl slang spell ssl svga tcpd tiff truetype truetype-fonts
type1-fonts x86 xml2 xmms xv zlib"

sun-jdk-1.5.0.01 is installed on this system.  This emerge also failed on
another system as well, but with a different compile error (it has
sun-jdk-1.4.2.06).  I will add that error message and info to this bug report
when I get back to that system.
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2005-01-18 11:07:21 UTC

*** This bug has been marked as a duplicate of 76270 ***