hg: bsd-port/bsd-port/jdk: . Add the missing define and endef lines for binary_file_verification on
Greg Lewis
glewis at eyesbeyond.com
Wed Mar 9 05:37:32 PST 2011
On Wed, Mar 09, 2011 at 09:33:24AM +0100, Henri Gomez wrote:
> > With this change I can build again on MacOS X. ?Pointy hat to me for
> > somehow leaving out the define and endef lines.
>
> :-)
>
>
> I still get the following error while building with OpenJDK 1.7 as bootstrap :
>
> (cd ./langtools/make && \
> make JDK_TOPDIR=/Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/jdk
> JDK_MAKE_SHARED_DIR=/Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/jdk/make/common/shared
> EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7
> TARGET_CLASS_VERSION=7 MILESTONE=internal BUILD_NUMBER=b00
> JDK_BUILD_NUMBER=b00
> FULL_VERSION=1.7.0-internal-henri_2011_03_09_09_27-b00
> PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0 JDK_MKTG_VERSION=7
> JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0
> PREVIOUS_MAJOR_VERSION=1 PREVIOUS_MINOR_VERSION=6
> PREVIOUS_MICRO_VERSION=0 ARCH_DATA_MODEL=64 COOKED_BUILD_NUMBER=0
> ANT_HOME="/usr/share/ant"
> ALT_OUTPUTDIR=/Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools
> ALT_BOOTDIR=/Library/Java/JavaVirtualMachines/openjdk-1.7-i586/Contents/Home
> all)
> JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk-1.7-i586/Contents/Home
> ANT_OPTS=-Djava.io.tmpdir='/Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/ant-tmp'
> /usr/share/ant/bin/ant -diagnostics >
> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/ant-diagnostics.log
> ; \
> JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk-1.7-i586/Contents/Home
> ANT_OPTS=-Djava.io.tmpdir='/Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/ant-tmp'
> /usr/share/ant/bin/ant -version >>
> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/ant-diagnostics.log
> JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk-1.7-i586/Contents/Home
> ANT_OPTS=-Djava.io.tmpdir='/Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/ant-tmp'
> /usr/share/ant/bin/ant -Djdk.version=1.7.0
> -Dfull.version='1.7.0-internal-henri_2011_03_09_09_27-b00'
> -Dmilestone=internal -Dbuild.number=b00 -Djavac.target=7
> -Djavac.source=7
> -Dboot.java.home=/Library/Java/JavaVirtualMachines/openjdk-1.7-i586/Contents/Home
> -Dimport.jdk=/Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/jdk
> -Dbuild.dir=/Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build
> -Ddist.dir=/Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/dist
> build
> Buildfile: /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/langtools/make/build.xml
>
> -def-pcompile:
> [mkdir] Created dir:
> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/toolclasses
> [javac] Compiling 2 source files to
> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/toolclasses
> [javac] warning: [options] bootstrap class path not set in
> conjunction with -source 1.6
> [javac] 1 warning
>
> ...
>
>
> build-bootstrap-javac:
> [mkdir] Created dir:
> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/bootstrap/gensrc
> [mkdir] Created dir:
> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/bootstrap/classes
> [pcompile] Generating 7 resource files to
> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/bootstrap/gensrc
> [copy] Copying 1 file to
> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/bootstrap/gensrc
> [pcompile] Generating 1 resource files to
> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/bootstrap/gensrc
> [javac] Compiling 297 source files to
> /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/langtools/build/bootstrap/classes
> [javac] /Users/henri/Documents/jenkins/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/langtools/src/share/classes/com/sun/tools/javac/nio/JavacPathFileManager.java:326:
> cannot find symbol
> [javac] if (!Files.exists(path))
> [javac]
>
> Do you use OpenJDK 1.6 or 1.7 as bootstrap now ?
I'm bootstrapping with the openjdk6 port from MacPorts.
--
Greg Lewis Email : glewis at eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : glewis at FreeBSD.org
More information about the bsd-port-dev
mailing list