emerge of app-office/openoffice-3.2.1-r1 failed: BUILD FAILED /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/transex3/java/l10nconv/build.xml:35: The following error occurred while executing this line: jar:file:/usr/share/ant-core/lib/ant.jar!/org/apache/tools/ant/antlib.xml:1: Premature end of file. Total time: 0 seconds dmake: Error code 1, while making 'ANTBUILD' ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/transex3/java/l10nconv rmdir /var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/56JhcNlxZI make: *** [stamp/build] Error 1 GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.22" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
Created attachment 255339 [details] emerge --info
Created attachment 255341 [details] emerge -pqv openoffice
Created attachment 255343 [details] build.log
Can you still reproduce this? This sounds more like a local ant-install problem.
Yes, I'm have tryed more than three times to install openoffice, but everytime it aborts with a build error.
Same build error with libreoffice-3.3.1: BUILD FAILED /var/tmp/portage/app-office/libreoffice-3.3.1/work/libreoffice-build-3.3.1.2/build/libreoffice-3.3.1.2/l10ntools/java/jpropex/build.xml:35: The following error occurred while executing this line: jar:file:/usr/share/ant-core/lib/ant.jar!/org/apache/tools/ant/antlib.xml:1: Premature end of file. Total time: 0 seconds dmake: Error code 1, while making 'ANTBUILD' ----------------------------------------------------------------------- Oh dear - something failed during the build - sorry ! For more help with debugging build errors, please see the section in: http://wiki.documentfoundation.org/Development it seems that the error is inside 'l10ntools', please re-run build inside this module to isolate the error and/or test your fix: ----------------------------------------------------------------------- /bin/bash cd /var/tmp/portage/app-office/libreoffice-3.3.1/work/libreoffice-build-3.3.1.2/build/libreoffice-3.3.1.2 source ./LinuxX86Env.Set.sh cd l10ntools build when the problem is isolated and fixed exit and re-run 'make' from the top-level sometimes (sadly) it is necessary to rm -Rf unxlngi6.pro in a module. make: *** [stamp/build] Error 1 * ERROR: app-office/libreoffice-3.3.1 failed (compile phase): * Build failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 8477: Called die * The specific snippet of code: * make || die "Build failed" * * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.3.1', * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.3.1'. !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.24" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="" and of course, the output of emerge --info * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-3.3.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.3.1/temp/environment'. * S: '/var/tmp/portage/app-office/libreoffice-3.3.1/work/libreoffice-build-3.3.1.2' >>> Failed to emerge app-office/libreoffice-3.3.1, Log file:
Created attachment 268671 [details] build.log build.log from libreoffice-3.3.1
Created attachment 269519 [details] build.log
Created attachment 269521 [details] build.log
Created attachment 269545 [details] emerge --info New emerge --info with FEATURES='-ccache' MAKEOPTS="-j1"
Created attachment 269547 [details] emerge -pqv libreoffice New emerge --pqv libreoffice with FEATURES='-ccache' MAKEOPTS="-j1"
Created attachment 269551 [details] build.log New build.log with FEATURES='-ccache' MAKEOPTS="-j1"
Are you still getting this with more recent releases (maybe even 3.4.1)?
This should not happen anymore in 3.4 and laters. I tried all java combos with even internal/external libs and could not hit it on buildservers. Please feel free to reopen this bug or open new one if the issue is still present for you.