On Apr 10, 2009, at 11:23 AM, Ben Evans wrote: BUILD SUCCESSFUL Total time: 25 seconds gnumake: *** [build] Error 2
Can you say why gnumake is reporting error status 2? Did ant complain somewhere? When I try an incremental rebuild, the last output looks something like this:
build-all-classes:
build:
BUILD SUCCESSFUL Total time: 8 seconds Control bsd i586 1.7.0-internal build_product_image build finished: Control bsd i586 1.7.0-internal all_product_build build finished: Control bsd i586 1.7.0-internal all build finished:
My davinci/sources/build.sh is enclosed, and also posted here, for comparison:
-- John
# source build.sh
# This script is originally derived from Stephen Bannasch's instructions: # http://confluence.concord.org/display/CCTR/Build+OpenJDK+Java+1.7.0+on+Mac+OS+X+10.5
# This script is placed in ../davinci/sources/ and run from there. See also: # http://mail.openjdk.java.net/pipermail/mlvm-dev/2009-April/000434.html
export LC_ALL=C export LANG=C unset CLASSPATH unset JAVA_HOME
#export ALT_BOOTDIR=/usr/local/soylatte16-amd64-1.0.3
sets=' ALT_JDK_IMPORT_PATH=/usr/local/soylatte16-i386-1.0.3 ALT_BOOTDIR=/usr/local/soylatte16-i386-1.0.3 ALT_BINARY_PLUGS_PATH=/Users/jrose/Downloads/JDK7/jdk-7-icedtea-plugs ALT_FREETYPE_HEADERS_PATH=/usr/X11R6/include ALT_FREETYPE_LIB_PATH=/usr/X11R6/lib ALT_CUPS_HEADERS_PATH=/usr/include ANT_HOME=/usr/share/ant NO_DOCS=true HOTSPOT_BUILD_JOBS=2 BUILD_LANGTOOLS=true BUILD_JAXP=false BUILD_JAXWS=false BUILD_CORBA=false BUILD_HOTSPOT=true BUILD_JDK=true ' # Execute the above sets, into the environment. for s in $sets; do eval export $s; done
# Preview sets in command line for s do case $s in *'[ ;]'*) break;; *'='*) eval "$s";; *) break;; esac done
# Incremental JVM rebuilds have trouble with *.gch files. # The *.gch file does not get regenerated unless you remove it, # even if 20 header files have changed. # This is not a problem for batch builds, of course. $BUILD_HOTSPOT && { ${REBUILD_HOTSPOT_HEADERS:-true} || rm -f $(find build -name _precompiled.incl.gch) }
# Run make, or whatever, in the resulting environment. eval "$...@-make}"
# Usage example: For a partial (re-)build of JDK only: # sh build.sh BUILD_{HOTSPOT,LANGTOOLS}=false make
|
davinci-build.sh
Description: Binary data
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev