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

Bug 118993

Summary: openoffice emerge fails (version 2.0)
Product: Gentoo Linux Reporter: Andreas Wuest <KickMeToAndy>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreas Wuest 2006-01-14 07:38:18 UTC
Hello,

emerging openoffice fails with the attached error. error occurs after the
beanshell project build. problem seems to be an ambiguos usage of the
class java.lang.reflect.Type. probably due to a not fully qualified class 
import.

.....

checkjjt:

jjtree:

checkjj:

javacc:

builddir:

compile:
Compiling 143 source files to /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi6.pro/misc/build/BeanShell/classes
/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi6.pro/misc/build/BeanShell/src/bsh/BshMethod.java:306: warning: [deprecation] getAssignableForm(java.lang.Object,java.lang.Class) in bsh.Types has been deprecated
                                        argValues[i] = Types.getAssignableForm(
                                                            ^
/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi6.pro/misc/build/BeanShell/src/bsh/BshMethod.java:387: warning: [deprecation] getAssignableForm(java.lang.Object,java.lang.Class) in bsh.Types has been deprecated
                                ret = Types.getAssignableForm( ret, (Class)returnType );
                                           ^
/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi6.pro/misc/build/BeanShell/src/bsh/BSHEnhancedForStatement.java:66: warning: [deprecation] setTypedVariable(java.lang.String,java.lang.Class,java.lang.Object,boolean) in bsh.NameSpace has been deprecated
                                eachNameSpace.setTypedVariable(


......

/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi6.pro/misc/build/BeanShell/src/bsh/ClassGeneratorUtil.java:369: reference to Type is ambiguous, both class java.lang.reflect.Type in java.lang.reflect and class bsh.org.objectweb.asm.Type in bsh.org.objectweb.asm match
                                        Type.getType(Boolean.TYPE) 
                                        ^
/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi6.pro/misc/build/BeanShell/src/bsh/ClassGeneratorUtil.java:369: cannot find symbol
symbol  : method getType(java.lang.Class<java.lang.Boolean>)
location: interface java.lang.reflect.Type
                                        Type.getType(Boolean.TYPE) 


.....


/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi6.pro/misc/build/BeanShell/src/bsh/util/Util.java:83: warning: [deprecation] show() in java.awt.Window has been deprecated
        win.show();
           ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
20 errors
12 warnings

BUILD FAILED
/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi6.pro/misc/build/BeanShell/build.xml:176: Compile failed; see the compiler error output for details.

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

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell
make: *** [stamp/build] Error 1
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-14 07:42:51 UTC
2.0.0 won't compile against Java 1.5.

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