Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346679 - app-office/libreoffice-3.3.1 fails to compile: Error code 1, while making 'ANTBUILD'
Summary: app-office/libreoffice-3.3.1 fails to compile: Error code 1, while making 'AN...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-24 17:48 UTC by Jens Meißner
Modified: 2011-08-26 20:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,4.46 KB, text/plain)
2010-11-24 17:48 UTC, Jens Meißner
Details
emerge -pqv openoffice (emerge-pqv.txt,665 bytes, text/plain)
2010-11-24 17:49 UTC, Jens Meißner
Details
build.log (build.log.gz,175.00 KB, text/plain)
2010-11-24 17:50 UTC, Jens Meißner
Details
build.log (build.log.gz,98.40 KB, application/x-gzip)
2011-04-06 06:42 UTC, Jens Meißner
Details
build.log (build.log.gz,101.33 KB, application/x-gzip)
2011-04-11 19:44 UTC, Jens Meißner
Details
build.log (build.log.gz,101.33 KB, application/octet-stream)
2011-04-11 19:46 UTC, Jens Meißner
Details
emerge --info (emerge-info.txt,4.59 KB, text/plain)
2011-04-11 20:40 UTC, Jens Meißner
Details
emerge -pqv libreoffice (emerge-pqv.txt,1.42 KB, text/plain)
2011-04-11 20:41 UTC, Jens Meißner
Details
build.log (build.log.gz,98.45 KB, application/octet-stream)
2011-04-11 20:43 UTC, Jens Meißner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Meißner 2010-11-24 17:48:12 UTC
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=""
Comment 1 Jens Meißner 2010-11-24 17:48:47 UTC
Created attachment 255339 [details]
emerge --info
Comment 2 Jens Meißner 2010-11-24 17:49:46 UTC
Created attachment 255341 [details]
emerge -pqv openoffice
Comment 3 Jens Meißner 2010-11-24 17:50:11 UTC
Created attachment 255343 [details]
build.log
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2011-03-16 23:08:56 UTC
Can you still reproduce this? This sounds more like a local ant-install problem.
Comment 5 Jens Meißner 2011-03-19 21:44:34 UTC
Yes, I'm have tryed more than three times to install openoffice, but everytime it aborts with a build error.
Comment 6 Jens Meißner 2011-04-06 06:41:17 UTC
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:
Comment 7 Jens Meißner 2011-04-06 06:42:07 UTC
Created attachment 268671 [details]
build.log

build.log from libreoffice-3.3.1
Comment 8 Jens Meißner 2011-04-11 19:44:55 UTC
Created attachment 269519 [details]
build.log
Comment 9 Jens Meißner 2011-04-11 19:46:34 UTC
Created attachment 269521 [details]
build.log
Comment 10 Jens Meißner 2011-04-11 20:40:25 UTC
Created attachment 269545 [details]
emerge --info

New emerge --info with FEATURES='-ccache' MAKEOPTS="-j1"
Comment 11 Jens Meißner 2011-04-11 20:41:17 UTC
Created attachment 269547 [details]
emerge -pqv libreoffice

New emerge --pqv libreoffice with FEATURES='-ccache' MAKEOPTS="-j1"
Comment 12 Jens Meißner 2011-04-11 20:43:26 UTC
Created attachment 269551 [details]
build.log

New build.log with FEATURES='-ccache' MAKEOPTS="-j1"
Comment 13 Andreas Proschofsky (RETIRED) gentoo-dev 2011-07-14 21:00:22 UTC
Are you still getting this with more recent releases (maybe even 3.4.1)?
Comment 14 Tomáš Chvátal (RETIRED) gentoo-dev 2011-08-26 20:06:10 UTC
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.