Bug#570588: ant -diagnostics returns with error code != 0
Matthias Klose
doko at ubuntu.com
Fri Feb 19 22:13:22 UTC 2010
Package: ant
Version: 1.8.0-1
Severity: serious
The openjdk-6 build fails with:
(cd ./langtools/make && \
/usr/bin/make
JDK_TOPDIR=/scratch/packages/openjdk/b18/x/openjdk-6-6b18~pre1/build/openjdk-ecj/jdk
JDK_MAKE_SHARED_DIR=/scratch/packages/openjdk/b18/x/openjdk-6-6b18~pre1/build/openjdk-ecj/jdk/make/common/shared
EXTERNALSANITYCONTROL=true TARGET_CLASS_VERSION=5 MILESTONE=fcs BUILD_NUMBER=b18
JDK_BUILD_NUMBER=b18 FULL_VERSION=1.6.0_18-b18 PREVIOUS_JDK_VERSION=1.6.0
JDK_VERSION=1.6.0_18 JDK_MKTG_VERSION=6u18 JDK_MAJOR_VERSION=1
JDK_MINOR_VERSION=6 JDK_MICRO_VERSION=0 ARCH_DATA_MODEL=32
COOKED_JDK_UPDATE_VERSION=180 COOKED_BUILD_NUMBER=18
ALT_OUTPUTDIR=/scratch/packages/openjdk/b18/x/openjdk-6-6b18~pre1/build/openjdk-ecj/build/linux-i586/langtools
ALT_BOOTDIR=/scratch/packages/openjdk/b18/x/openjdk-6-6b18~pre1/build/bootstrap/jdk1.6.0
all)
make[3]: Entering directory
`/scratch/packages/openjdk/b18/x/openjdk-6-6b18~pre1/build/openjdk-ecj/langtools/make'
JAVA_HOME=/scratch/packages/openjdk/b18/x/openjdk-6-6b18~pre1/build/bootstrap/jdk1.6.0
ANT_OPTS=-Djava.io.tmpdir='/scratch/packages/openjdk/b18/x/openjdk-6-6b18~pre1/build/openjdk-ecj/build/linux-i586/langtools/build/ant-tmp'
/usr/bin/ant -diagnostics >
/scratch/packages/openjdk/b18/x/openjdk-6-6b18~pre1/build/openjdk-ecj/build/linux-i586/langtools/build/ant-diagnostics.log
make[3]: *** [build] Error 1
ant -diagnostics now return with 1, not with 0 as in ant-1.7. I don't see any
documentation that this change was intended. severity serious because it's a
regression and breaks existing builds.
More information about the pkg-java-maintainers
mailing list