| Summary: | openoffice-2.0.0 fails Building project beanshell (reference to Type is ambiguous) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Anders Christensen <gentoo> |
| Component: | Current packages | Assignee: | Gentoo Office Team <office> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | 2005.1 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Openoffice 2.0.0 still does not support building with jdk1.5. Please try 2.0.1 as that should build with jdk 1.5. Btw. The unchecked stuff is not causing the failure, that are warnings. The problem is in this case an ambiguous name. *** This bug has been marked as a duplicate of 76270 *** Thanks a lot! This procedure was the solution for me: # java-config --list-available-vms # java-config --set-system-vm=blackdown-jdk-1.4.2.02 # /usr/sbin/env-update && source /etc/profile # emerge openoffice ./Anders. |
Hi developers, When I try to compile openoffice, it fails. As suggested, I've also tried compiling with CFLAGS="-Xlint:unchecked" emerge openoffice but the same error occurs. I'm compiling on a Dell D810 centrino. Beneath you'll find some info & the errormessage... Any sugestions? #### df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda5 13871636 7567180 6304456 55% / udev 257116 156 256960 1% /dev /dev/sda6 9827520 4750576 4577728 51% /home shm 257116 0 257116 0% /dev/shm #### uname -a Linux localhost 2.6.14-gentoo-r4 #7 SMP PREEMPT Sun Dec 25 14:40:06 Local time zone must be set-- i686 Intel(R) Pentium(R) M processor 1.86GHz GenuineIntel GNU/Linux #### cat /etc/make.conf CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -mcpu=pentium3 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ...bla ...bla SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acpi afs alsa apm avi bash-completion bluetooth hal cdb cdparanoia cdr crypt cups divx4linux dv dvd dvdr dvdread encode fdftk gphoto2 gpm gps gstreamer imap java javascript kde lirc mad matrox mmap mp3 mpeg msn nas nptl ogg oss pcmcia qt quicktime readline samba snmp speex spell ssl tcpd tetex truetype v4l vcd vorbis wifi win32codecs xmms xvid nsplugin x86" ( [HERE THE ERROR-OUTPUT COMES]: ) ...bla ...bla ...bla ============= Building project beanshell ============= /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell mkout -- version: 1.5 touch /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/solver/680/unxlngi4.pro/inc/minormkchanged.flg ------------- mv ./unxlngi4.pro/misc/build/BeanShell ./unxlngi4.pro/misc/build/BeanShell_removeme mv: cannot stat `./unxlngi4.pro/misc/build/BeanShell': No such file or directory rm -rf ./unxlngi4.pro/misc/build/BeanShell_removeme mkdir: cannot create directory `./unxlngi4.pro/misc/': File exists cd ./unxlngi4.pro/misc/build && ( sh -c "gunzip -c ../../../download/bsh-2.0b1-src.tar.gz | tar -xvf - ") && touch so_unpacked_ooo_beanshell BeanShell/ BeanShell/asm/ BeanShell/asm/src/ ........ [!!!! "good lines" cut out here !!!!] ........ BeanShell/classes/ META-INF/ META-INF/MANIFEST.MF make writeable... echo dummy > ./unxlngi4.pro/misc/build/BeanShell/makefile.mk.dummy touch ./unxlngi4.pro/misc/build/BeanShell/makefile.mk.dummy echo dummy > ./unxlngi4.pro/misc/build/BeanShell/makefile.mk touch ./unxlngi4.pro/misc/build/BeanShell/makefile.mk cd ./unxlngi4.pro/misc/build && cat ../../../bsh-2.0b1-src.patch | patch -b -p2 && touch so_patched_ooo_beanshell patching file BeanShell/build.xml patching file BeanShell/makefile.mk touch ./unxlngi4.pro/misc/build/so_patched_ooo_beanshell touch ./unxlngi4.pro/misc/build/so_configured_ooo_beanshell mkdir ./unxlngi4.pro/misc/build/BeanShell/ mkdir: cannot create directory `./unxlngi4.pro/misc/build/BeanShell/': File exists cd ./unxlngi4.pro/misc/build/BeanShell/ && dmake && touch so_built_ooo_beanshell ------------- /usr/bin/ant -Dprj=../../../.. -Dprjname=ooo_beanshell -Ddebug=off -Doptimize=on -Dtarget=jarall -Dsolar.update=on -Dout=../../../../unxlngi4.pro -Dinpath=unxlngi4.pro -Dproext=".pro" -Dsolar.bin=/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/solver/680/unxlngi4.pro/bin -Dsolar.jar=/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/solver/680/unxlngi4.pro/bin -Dsolar.doc=/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/solver/680/unxlngi4.pro/doc -Dcommon.jar=/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/solver/680/common.pro/bin -Dcommon.doc=/var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/solver/680/common.pro/doc -f build.xml -emacs Buildfile: build.xml 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/unxlngi4.pro/misc/build/BeanShell/classes /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.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/unxlngi4.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/unxlngi4.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/unxlngi4.pro/misc/build/BeanShell/src/bsh/BSHPrimarySuffix.java:193: warning: [deprecation] getAssignableForm(java.lang.Object,java.lang.Class) in bsh.Types has been deprecated indexVal = Types.getAssignableForm( indexVal, Integer.TYPE); ^ /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.pro/misc/build/BeanShell/src/bsh/BSHTryStatement.java:123: warning: [deprecation] getAssignableForm(java.lang.Object,java.lang.Class) in bsh.Types has been deprecated thrown = (Throwable)Types.getAssignableForm( ^ /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.pro/misc/build/BeanShell/src/bsh/BSHTryStatement.java:151: warning: [deprecation] setTypedVariable(java.lang.String,java.lang.Class,java.lang.Object,boolean) in bsh.NameSpace has been deprecated cbNameSpace.setTypedVariable( ^ /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.pro/misc/build/BeanShell/src/bsh/ClassGeneratorUtil.java:137: 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 this.superClassName = Type.getInternalName( superClass ); ^ /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.pro/misc/build/BeanShell/src/bsh/ClassGeneratorUtil.java:185: 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 interfaceNames[i]=Type.getInternalName( interfaces[i] ); ^ /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.pro/misc/build/BeanShell/src/bsh/ClassGeneratorUtil.java:362: 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(Object.class), ^ /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.pro/misc/build/BeanShell/src/bsh/ClassGeneratorUtil.java:363: 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 new Type [] { ^ /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.pro/misc/build/BeanShell/src/bsh/ClassGeneratorUtil.java:364: 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(String.class), ^ /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.pro/misc/build/BeanShell/src/bsh/ClassGeneratorUtil.java:365: 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(Object [].class), ^ /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.pro/misc/build/BeanShell/src/bsh/ClassGeneratorUtil.java:366: 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(Interpreter.class), ^ /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.pro/misc/build/BeanShell/src/bsh/ClassGeneratorUtil.java:367: 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(CallStack.class), ^ /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.pro/misc/build/BeanShell/src/bsh/ClassGeneratorUtil.java:368: 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(SimpleNode.class), ^ /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.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/unxlngi4.pro/misc/build/BeanShell/src/bsh/ClassGeneratorUtil.java:361: 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.getMethodDescriptor( ^ /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.pro/misc/build/BeanShell/src/bsh/Reflect.java:129: warning: [deprecation] getAssignableForm(java.lang.Object,java.lang.Class) in bsh.Types has been deprecated tmpArgs[i] = Types.getAssignableForm( args[i], types[i] ); ^ /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.pro/misc/build/BeanShell/src/bsh/Remote.java:143: warning: [deprecation] encode(java.lang.String) in java.net.URLEncoder has been deprecated sb.append( URLEncoder.encode( text ) ); ^ /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.pro/misc/build/BeanShell/src/bsh/util/AWTConsole.java:223: warning: [deprecation] getPeer() in java.awt.Component has been deprecated ((java.awt.peer.TextComponentPeer)getPeer()).setCaretPosition( ^ /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.pro/misc/build/BeanShell/src/bsh/util/AWTConsole.java:328: warning: [deprecation] show() in java.awt.Window has been deprecated f.show(); ^ /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.pro/misc/build/BeanShell/src/bsh/util/ClassBrowser.java:412: warning: [deprecation] show() in java.awt.Window has been deprecated f.show(); ^ /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.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. 11 errors 12 warnings BUILD FAILED /var/tmp/portage/openoffice-2.0.0/work/ooo-build-2.0.0.2/build/ooo680-m3/beanshell/unxlngi4.pro/misc/build/BeanShell/build.xml:176: Compile failed; see the compiler error output for details. Total time: 3 seconds dmake: Error code 1, while making 'ANTBUILD' '---* tg_merge.mk *---' dmake: Error code 255, while making './unxlngi4.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 !!! ERROR: app-office/openoffice-2.0.0 failed. !!! Function src_compile, Line 194, Exitcode 2 !!! Build failed !!! If you need support, post the topmost build error, NOT this status message.