Skip to content

Instantly share code, notes, and snippets.

@stepheneb
Created December 28, 2011 05:28
Show Gist options
  • Save stepheneb/1526517 to your computer and use it in GitHub Desktop.
Save stepheneb/1526517 to your computer and use it in GitHub Desktop.
error building jdk7u-osx
hg clone http://hg.openjdk.java.net/jdk7u/jdk7u-osx
cd jdk7u-osx
hg fpull -u
unset LC_ALL LANG CLASSPATH JAVA_HOME LD_LIBRARY_PATH; make ALLOW_DOWNLOADS=true SA_APPLE_BOOT_JAVA=true ALWAYS_PASS_TEST_GAMMA=true ALT_BOOTDIR=`/usr/libexec/java_home -v 1.6`
# ...
# Running javac:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -Djava.awt.headless=true -Xmx512m -Xms512m -XX:PermSize=32m -XX:MaxPermSize=160m -Xbootclasspath/p:/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/langtools/dist/bootstrap/lib/javac.jar -jar /Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/langtools/dist/bootstrap/lib/javac.jar -source 7 -target 7 -encoding ascii -Xbootclasspath:/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/classes -sourcepath /Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/gensrc:::/Users/stephen/dev/java/src/jdk7u-osx/jdk/src/macosx/classes:/Users/stephen/dev/java/src/jdk7u-osx/jdk/src/solaris/classes:/Users/stephen/dev/java/src/jdk7u-osx/jdk/src/share/classes -d /Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/classes @/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/tmp/sun/java.util.jar/.classes.list.filtered
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
mkdir -p /Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/bridge_metadata
Updating bridge support in /Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/bridge_metadata
(cd /Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/bridge_metadata; make STABLE_GEN_DIR="/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/stable_bridge_metadata" FRAMEWORKS="Foundation CoreFoundation AppKit" -f /Users/stephen/dev/java/src/jdk7u-osx/jdk/src/macosx/native/jobjc/bridgesupport.gmk all)
linking /System/Library/Frameworks/Foundation.framework/Headers
ln -s /System/Library/Frameworks/Foundation.framework/Headers Foundation.headers
linking /System/Library/Frameworks/CoreFoundation.framework/Headers
ln -s /System/Library/Frameworks/CoreFoundation.framework/Headers CoreFoundation.headers
linking /System/Library/Frameworks/AppKit.framework/Headers
ln -s /System/Library/Frameworks/AppKit.framework/Headers AppKit.headers
mkdir -p /Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/stable_bridge_metadata
generating bridge support for Foundation.headers
if [ -f /System/Library/Frameworks/Foundation.framework/Resources/BridgeSupport/FoundationFull.bridgesupport ] ; \
then cp /System/Library/Frameworks/Foundation.framework/Resources/BridgeSupport/FoundationFull.bridgesupport Foundation.bridgesupport ; \
else /usr/bin/gen_bridge_metadata -F complete --framework Foundation.framework -o Foundation.bridgesupport ; \
fi
if cmp -s Foundation.bridgesupport /Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/stable_bridge_metadata/FoundationFull.bridgesupport ; \
then : ; \
else cp Foundation.bridgesupport /Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/stable_bridge_metadata/FoundationFull.bridgesupport ; \
fi
generating bridge support for CoreFoundation.headers
if [ -f /System/Library/Frameworks/CoreFoundation.framework/Resources/BridgeSupport/CoreFoundationFull.bridgesupport ] ; \
then cp /System/Library/Frameworks/CoreFoundation.framework/Resources/BridgeSupport/CoreFoundationFull.bridgesupport CoreFoundation.bridgesupport ; \
else /usr/bin/gen_bridge_metadata -F complete --framework CoreFoundation.framework -o CoreFoundation.bridgesupport ; \
fi
if cmp -s CoreFoundation.bridgesupport /Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/stable_bridge_metadata/CoreFoundationFull.bridgesupport ; \
then : ; \
else cp CoreFoundation.bridgesupport /Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/stable_bridge_metadata/CoreFoundationFull.bridgesupport ; \
fi
generating bridge support for AppKit.headers
if [ -f /System/Library/Frameworks/AppKit.framework/Resources/BridgeSupport/AppKitFull.bridgesupport ] ; \
then cp /System/Library/Frameworks/AppKit.framework/Resources/BridgeSupport/AppKitFull.bridgesupport AppKit.bridgesupport ; \
else /usr/bin/gen_bridge_metadata -F complete --framework AppKit.framework -o AppKit.bridgesupport ; \
fi
if cmp -s AppKit.bridgesupport /Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/stable_bridge_metadata/AppKitFull.bridgesupport ; \
then : ; \
else cp AppKit.bridgesupport /Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/stable_bridge_metadata/AppKitFull.bridgesupport ; \
fi
JObjC dylib or jar out of data wrt FRAMEWORKS ( Foundation CoreFoundation AppKit ) or JObjC source ( core, generator, additions, build )
Running ant with java_home set to /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
(cd /Users/stephen/dev/java/src/jdk7u-osx/jdk/src/macosx/native/jobjc; OBJROOT="/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/JObjC.build" DSTROOT="/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/JObjC.dst" JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home STABLE_GEN_DIR="/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/stable_bridge_metadata" /usr/bin/ant -verbose all)
Apache Ant(TM) version 1.8.2 compiled on October 14 2011
Trying the default build file: build.xml
Buildfile: /Users/stephen/dev/java/src/jdk7u-osx/jdk/src/macosx/native/jobjc/build.xml
Detected Java version: 1.6 in: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Detected OS: Mac OS X
parsing buildfile /Users/stephen/dev/java/src/jdk7u-osx/jdk/src/macosx/native/jobjc/build.xml with URI = file:/Users/stephen/dev/java/src/jdk7u-osx/jdk/src/macosx/native/jobjc/build.xml
Project base dir set to: /Users/stephen/dev/java/src/jdk7u-osx/jdk/src/macosx/native/jobjc
parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
[property] Loading Environment env.
Property "-*-command-variables-*-" has not been set
[echoproperties] #Ant properties
[echoproperties] #Wed Dec 28 00:20:27 EST 2011
[echoproperties] ant.core.lib=/usr/share/ant/lib/ant.jar
[echoproperties] ant.file=/Users/stephen/dev/java/src/jdk7u-osx/jdk/src/macosx/native/jobjc/build.xml
[echoproperties] ant.file.JObjC=/Users/stephen/dev/java/src/jdk7u-osx/jdk/src/macosx/native/jobjc/build.xml
[echoproperties] ant.file.type=file
[echoproperties] ant.file.type.JObjC=file
[echoproperties] ant.home=/usr/share/ant
[echoproperties] ant.java.version=1.6
[echoproperties] ant.library.dir=/usr/share/ant/lib
[echoproperties] ant.project.default-target=install
[echoproperties] ant.project.name=JObjC
[echoproperties] ant.version=Apache Ant(TM) version 1.8.2 compiled on October 14 2011
[echoproperties] awt.nativeDoubleBuffering=true
[echoproperties] awt.toolkit=apple.awt.CToolkit
[echoproperties] basedir=/Users/stephen/dev/java/src/jdk7u-osx/jdk/src/macosx/native/jobjc
[echoproperties] env.ALLOW_DOWNLOADS=true
[echoproperties] env.ALT_BOOTDIR=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
[echoproperties] env.ALT_CORBA_DIST=/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/corba/dist
[echoproperties] env.ALT_HOTSPOT_IMPORT_PATH=/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/hotspot/import
[echoproperties] env.ALT_JAXP_DIST=/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/jaxp/dist
[echoproperties] env.ALT_JAXWS_DIST=/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/jaxws/dist
[echoproperties] env.ALT_LANGTOOLS_DIST=/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/langtools/dist
[echoproperties] env.ALT_OUTPUTDIR=/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64
[echoproperties] env.ALWAYS_PASS_TEST_GAMMA=true
[echoproperties] env.ANT_OPTS=-Xmx512m
[echoproperties] env.APXS=/usr/sbin/apxs
[echoproperties] env.ARCH_DATA_MODEL=64
[echoproperties] env.Apple_PubSub_Socket_Render=/tmp/launch-G3GWDC/Render
[echoproperties] env.BITROCK_INSTALLER=/Users/stephen/Applications/BitRock InstallBuilder Enterprise 6.2.5/bin/Builder.app
[echoproperties] env.BOOTDIR=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
[echoproperties] env.BUILD_HOTSPOT=true
[echoproperties] env.BUILD_NUMBER=b00
[echoproperties] env.BUNDLER_EDITOR=mate
[echoproperties] env.CATALINA_BASE=/Users/stephen/dev/tomcat/tomcat-6_0_26
[echoproperties] env.CATALINA_HOME=/Users/stephen/dev/tomcat/tomcat-6_0_26
[echoproperties] env.CLICOLOR=1
[echoproperties] env.COMMAND_MODE=unix2003
[echoproperties] env.COOKED_BUILD_NUMBER=0
[echoproperties] env.CUCUMBER_COLORS=passed\=blue,bold\:passed_param\=green,bold\:failed\=red\:failed_param\=red,bold\:pending\=magenta\:pending_param\=magenta,bold\:skipped\=blue\:skipped_param\=blue,bold\:comment\=grey\:tag\=cyan\:undefined\=cyan
[echoproperties] env.DEV_NULL=/dev/null
[echoproperties] env.DSTROOT=/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/JObjC.dst
[echoproperties] env.EC2_CERT=/Users/stephen/.ec2/cert-XBWCKI5LOCYDLKYZKUBONS6YXDX6VOGU.pem
[echoproperties] env.EC2_HOME=/Users/stephen/dev/bin/ec2-api-tools-1.3-57419
[echoproperties] env.EC2_PRIVATE_KEY=/Users/stephen/.ec2/pk-XBWCKI5LOCYDLKYZKUBONS6YXDX6VOGU.pem
[echoproperties] env.EDITOR=/usr/bin/emacs
[echoproperties] env.ERROR_FILE=/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/sanityCheckErrors.txt
[echoproperties] env.EXTERNALSANITYCONTROL=true
[echoproperties] env.FULL_VERSION=1.7.0-internal-stephen_2011_12_28_00_08-b00
[echoproperties] env.GEMS_SOURCE=/Users/stephen/dev/ruby/src/gems
[echoproperties] env.GEM_HOME=/Users/stephen/.rvm/gems/ruby-1.9.2-p290
[echoproperties] env.GEM_OPEN_EDITOR=mate
[echoproperties] env.GEM_PATH=/Users/stephen/.rvm/gems/ruby-1.9.2-p290\:/Users/stephen/.rvm/gems/ruby-1.9.2-p290@global
[echoproperties] env.HISTCONTROL=erasedups
[echoproperties] env.HISTSIZE=10000
[echoproperties] env.HOME=/Users/stephen
[echoproperties] env.HOMEBREW_EDITOR=mate
[echoproperties] env.IRBRC=/Users/stephen/.rvm/rubies/ruby-1.9.2-p290/.irbrc
[echoproperties] env.JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
[echoproperties] env.JAVA_MAIN_CLASS_79586=org.apache.tools.ant.launch.Launcher
[echoproperties] env.JDK_BUILD_NUMBER=b00
[echoproperties] env.JDK_HAS_MEM_INFO=true
[echoproperties] env.JDK_MAJOR_VERSION=1
[echoproperties] env.JDK_MAKE_SHARED_DIR=/Users/stephen/dev/java/src/jdk7u-osx/jdk/make/common/shared
[echoproperties] env.JDK_MICRO_VERSION=0
[echoproperties] env.JDK_MINOR_VERSION=7
[echoproperties] env.JDK_MKTG_VERSION=7
[echoproperties] env.JDK_TOPDIR=/Users/stephen/dev/java/src/jdk7u-osx/jdk
[echoproperties] env.JDK_VERSION=1.7.0
[echoproperties] env.JETTY_HOME=/Users/stephen/dev/java/jetty-6.1.24
[echoproperties] env.JEWELER_OPTS=--rspec --yard
[echoproperties] env.JSSHELL=/opt/local/bin/js
[echoproperties] env.JT_HOME=/Users/stephen/dev/java/jtreg
[echoproperties] env.JUNIT_HOME=/Users/stephen/dev/java/junit4.8.2
[echoproperties] env.LC_CTYPE=en_US.UTF-8
[echoproperties] env.LOGNAME=stephen
[echoproperties] env.LOW_MEMORY_MACHINE=false
[echoproperties] env.LSCOLORS=ExFxCxDxBxegedabagacad
[echoproperties] env.MAKEFLAGS=BUILD_HOTSPOT\=true ALT_HOTSPOT_IMPORT_PATH\=/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/hotspot/import ALT_JAXWS_DIST\=/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/jaxws/dist ALT_JAXP_DIST\=/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/jaxp/dist ALT_CORBA_DIST\=/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/corba/dist ALT_LANGTOOLS_DIST\=/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/langtools/dist ALT_OUTPUTDIR\=/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64 COOKED_BUILD_NUMBER\=0 ARCH_DATA_MODEL\=64 PREVIOUS_MICRO_VERSION\=0 PREVIOUS_MINOR_VERSION\=6 PREVIOUS_MAJOR_VERSION\=1 JDK_MICRO_VERSION\=0 JDK_MINOR_VERSION\=7 JDK_MAJOR_VERSION\=1 JDK_MKTG_VERSION\=7 JDK_VERSION\=1.7.0 PREVIOUS_JDK_VERSION\=1.6.0 FULL_VERSION\=1.7.0-internal-stephen_2011_12_28_00_08-b00 JDK_BUILD_NUMBER\=b00 BUILD_NUMBER\=b00 MILESTONE\=internal TARGET_CLASS_VERSION\=7 SOURCE_LANGUAGE_VERSION\=7 EXTERNALSANITYCONTROL\=true JDK_MAKE_SHARED_DIR\=/Users/stephen/dev/java/src/jdk7u-osx/jdk/make/common/shared JDK_TOPDIR\=/Users/stephen/dev/java/src/jdk7u-osx/jdk ALT_BOOTDIR\=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home ALWAYS_PASS_TEST_GAMMA\=true SA_APPLE_BOOT_JAVA\=true ALLOW_DOWNLOADS\=true SKIP_FASTDEBUG_BUILD\=true SKIP_DEBUG_BUILD\=true RELEASE\=1.7.0-internal
[echoproperties] env.MAKELEVEL=5
[echoproperties] env.MAKEOVERRIDES=${-*-command-variables-*-}
[echoproperties] env.MANPATH=/opt/local/share/man\:
[echoproperties] env.MAVEN_OPTS=-Xmx1024m
[echoproperties] env.MAX_VM_MEMORY=512
[echoproperties] env.MB_OF_MEMORY=8192
[echoproperties] env.MESSAGE_FILE=/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/sanityCheckMessages.txt
[echoproperties] env.MFLAGS=
[echoproperties] env.MILESTONE=internal
[echoproperties] env.MIN_VM_MEMORY=512
[echoproperties] env.MY_RUBY_HOME=/Users/stephen/.rvm/rubies/ruby-1.9.2-p290
[echoproperties] env.NODE_PATH=/usr/local/lib/node_modules\:/Users/stephen/dev/node_modules
[echoproperties] env.OBJROOT=/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/JObjC.build
[echoproperties] env.ORIG_OUTPUTDIR_BASENAME=macosx-amd64
[echoproperties] env.PAGER=/usr/bin/less
[echoproperties] env.PATH=/Users/stephen/.rvm/gems/ruby-1.9.2-p290/bin\:/Users/stephen/.rvm/gems/ruby-1.9.2-p290@global/bin\:/Users/stephen/.rvm/rubies/ruby-1.9.2-p290/bin\:/Users/stephen/.rvm/bin\:bin\:/Users/stephen/dev/bin\:/Users/stephen/dev/local/bin\:/opt/subversion/bin\:/usr/local/bin\:/usr/local/share/python\:/usr/bin\:/usr/local/mysql/bin\:/usr/sbin\:/usr/local/sbin\:/sbin\:/bin\:/usr/local/Cellar/python/2.7.1/bin\:/usr/X11R6/bin\:/Developer/Tools\:/usr/local/share/npm/bin\:/Users/stephen/dev/ruby/src/mspec.git/bin\:/Users/stephen/dev/src/depot_tools\:/Users/stephen/dev/bin/ec2-api-tools-1.3-57419
[echoproperties] env.PLATFORM=macosx
[echoproperties] env.PREVIOUS_JDK_VERSION=1.6.0
[echoproperties] env.PREVIOUS_MAJOR_VERSION=1
[echoproperties] env.PREVIOUS_MICRO_VERSION=0
[echoproperties] env.PREVIOUS_MINOR_VERSION=6
[echoproperties] env.PWD=/Users/stephen/dev/java/src/jdk7u-osx/jdk/src/macosx/native/jobjc
[echoproperties] env.RAILS_SOURCE=/Users/stephen/dev/ruby/src/gems/rails/rails-git
[echoproperties] env.RELEASE=1.7.0-internal
[echoproperties] env.RUBY_VERSION=ruby-1.9.2-p290
[echoproperties] env.SA_APPLE_BOOT_JAVA=true
[echoproperties] env.SECURITYSESSIONID=24c685
[echoproperties] env.SHELL=/bin/bash
[echoproperties] env.SHLVL=5
[echoproperties] env.SKIP_DEBUG_BUILD=true
[echoproperties] env.SKIP_FASTDEBUG_BUILD=true
[echoproperties] env.SOURCE_LANGUAGE_VERSION=7
[echoproperties] env.SPROUTCORE_DEV=/Users/stephen/dev/sc
[echoproperties] env.SSH_AUTH_SOCK=/tmp/launch-S9zFg5/Listeners
[echoproperties] env.STABLE_GEN_DIR=/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/stable_bridge_metadata
[echoproperties] env.SYSTEM_UNAME=Darwin
[echoproperties] env.TARGET_CLASS_VERSION=7
[echoproperties] env.TERM=vt100
[echoproperties] env.TERM_PROGRAM=Apple_Terminal
[echoproperties] env.TERM_PROGRAM_VERSION=273.1
[echoproperties] env.TMPDIR=/var/folders/zK/zK+A4xtxHSevr7D+EoIsPE+++TQ/-Tmp-/
[echoproperties] env.TREE_CHARSET=ASCII
[echoproperties] env.USER=stephen
[echoproperties] env.USER_RELEASE_SUFFIX=stephen_2011_12_28_00_08
[echoproperties] env.WARNING_FILE=/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/sanityCheckWarnings.txt
[echoproperties] env.__CF_USER_TEXT_ENCODING=0x1F7\:0\:0
[echoproperties] env.__array_start=0
[echoproperties] env._first=0
[echoproperties] env._second=1
[echoproperties] env.com.apple.java.jvmMode=client
[echoproperties] env.com.apple.java.jvmTask=CommandLine_Manual.java
[echoproperties] env.escape_flag=1
[echoproperties] env.rvm_archflags=-arch x86_64
[echoproperties] env.rvm_bin_path=/Users/stephen/.rvm/bin
[echoproperties] env.rvm_clang_flag=0
[echoproperties] env.rvm_debug_flag=0
[echoproperties] env.rvm_dump_environment_flag=0
[echoproperties] env.rvm_path=/Users/stephen/.rvm
[echoproperties] env.rvm_prefix=/Users/stephen
[echoproperties] env.rvm_reload_flag=0
[echoproperties] env.rvm_trace_flag=0
[echoproperties] env.rvm_verbose_flag=0
[echoproperties] env.rvm_version=1.10.0-pre
[echoproperties] file.encoding=MacRoman
[echoproperties] file.encoding.pkg=sun.io
[echoproperties] file.separator=/
[echoproperties] gopherProxySet=false
[echoproperties] java.awt.graphicsenv=apple.awt.CGraphicsEnvironment
[echoproperties] java.awt.printerjob=apple.awt.CPrinterJob
[echoproperties] java.class.path=/usr/share/ant/lib/ant-launcher.jar\:/usr/share/ant/lib/ant-antlr.jar\:/usr/share/ant/lib/ant-jmf.jar\:/usr/share/ant/lib/ant-junit.jar\:/usr/share/ant/lib/ant-junit4.jar\:/usr/share/ant/lib/ant-launcher.jar\:/usr/share/ant/lib/ant-swing.jar\:/usr/share/ant/lib/ant-testutil.jar\:/usr/share/ant/lib/ant.jar
[echoproperties] java.class.version=50.0
[echoproperties] java.endorsed.dirs=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed
[echoproperties] java.ext.dirs=/Library/Java/Extensions\:/System/Library/Java/Extensions\:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext
[echoproperties] java.home=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
[echoproperties] java.io.tmpdir=/var/folders/zK/zK+A4xtxHSevr7D+EoIsPE+++TQ/-Tmp-/
[echoproperties] java.library.path=.\:/Library/Java/Extensions\:/System/Library/Java/Extensions\:/usr/lib/java
[echoproperties] java.runtime.name=Java(TM) SE Runtime Environment
[echoproperties] java.runtime.version=1.6.0_29-b11-402-10M3527
[echoproperties] java.specification.name=Java Platform API Specification
[echoproperties] java.specification.vendor=Sun Microsystems Inc.
[echoproperties] java.specification.version=1.6
[echoproperties] java.vendor=Apple Inc.
[echoproperties] java.vendor.url=http\://www.apple.com/
[echoproperties] java.vendor.url.bug=http\://bugreport.apple.com/
[echoproperties] java.version=1.6.0_29
[echoproperties] java.vm.info=mixed mode
[echoproperties] java.vm.name=Java HotSpot(TM) 64-Bit Server VM
[echoproperties] java.vm.specification.name=Java Virtual Machine Specification
[echoproperties] java.vm.specification.vendor=Sun Microsystems Inc.
[echoproperties] java.vm.specification.version=1.0
[echoproperties] java.vm.vendor=Apple Inc.
[echoproperties] java.vm.version=20.4-b02-402
[echoproperties] jikes.class.path=\:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../Classes/alt-rt.jar\:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../Classes/alt-string.jar\:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../Classes/charsets.jar\:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../Classes/classes.jar\:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../Classes/dt.jar\:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../Classes/jce.jar\:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../Classes/jconsole.jar\:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../Classes/jsse.jar\:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../Classes/management-agent.jar\:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../Classes/ui.jar
[echoproperties] line.separator=\n
[echoproperties] mrj.build=10M3527
[echoproperties] mrj.version=1060.1.6.0_29-402
[echoproperties] os.arch=x86_64
[echoproperties] os.name=Mac OS X
[echoproperties] os.version=10.6.8
[echoproperties] path.separator=\:
[echoproperties] sun.arch.data.model=64
[echoproperties] sun.boot.class.path=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar\:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar\:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar\:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar\:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar\:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar\:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar\:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar\:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar
[echoproperties] sun.boot.library.path=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries
[echoproperties] sun.cpu.endian=little
[echoproperties] sun.cpu.isalist=
[echoproperties] sun.io.unicode.encoding=UnicodeLittle
[echoproperties] sun.java.command=org.apache.tools.ant.launch.Launcher -cp -verbose all
[echoproperties] sun.java.launcher=SUN_STANDARD
[echoproperties] sun.jnu.encoding=MacRoman
[echoproperties] sun.management.compiler=HotSpot 64-Bit Tiered Compilers
[echoproperties] sun.os.patch.level=unknown
[echoproperties] user.country=US
[echoproperties] user.dir=/Users/stephen/dev/java/src/jdk7u-osx/jdk/src/macosx/native/jobjc
[echoproperties] user.home=/Users/stephen
[echoproperties] user.language=en
[echoproperties] user.name=stephen
[echoproperties] user.timezone=
Property "env.PRODUCT_NAME" has not been set
Property "env.SRCROOT" has not been set
Property "env.CONFIGURATION" has not been set
Property "env.RC_ARCHS" has not been set
Property "env.CONFIGURATION_BUILD_DIR" has not been set
Property "env.INSTALL_PATH" has not been set
[echo] (Settings :src '.' :cfg 'Debug' :obj '/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/JObjC.build' :dst '/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/JObjC.dst/Debug')
Property "env.BENCH_MATCH" has not been set
Build sequence for target(s) `all' is [gen-pcoder, build-core, build-core-native, build-generator, run-generator, build-generated, build-additions, build-additions-native, assemble-product, all]
Complete build sequence is [gen-pcoder, build-core, build-core-native, build-generator, run-generator, build-generated, build-additions, build-additions-native, assemble-product, all, clean, clean-all, build-test-installed, build-test-native-installed, bench-installed, test-installed, all-but-gen, run-generator-old, all-test, build-test, build-test-native, install, installsrc, installhdrs, test, bench, clean-all-test, doc-core, ]
gen-pcoder:
[exec] Current OS is Mac OS X
[exec] Executing 'ruby' with arguments:
[exec] './run-and-write-if-okay'
[exec] './src/core/PrimitiveCoder.hs'
[exec] './src/core/java/com/apple/jobjc/PrimitiveCoder.java'
[exec]
[exec] The ' characters around the executable and arguments are
[exec] not part of the command.
[exec] ./run-and-write-if-okay:40:in ``': Permission denied - ./src/core/PrimitiveCoder.hs (Errno::EACCES)
[exec] from ./run-and-write-if-okay:40:in `<main>'
BUILD FAILED
/Users/stephen/dev/java/src/jdk7u-osx/jdk/src/macosx/native/jobjc/build.xml:131: exec returned: 1
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:646)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 0 seconds
make[4]: *** [/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/JObjC.build/JObjC.jar] Error 1
make[3]: *** [all] Error 1
make[2]: *** [all] Error 1
make[1]: *** [jdk-build] Error 2
make: *** [build_product_image] Error 2
@kalifg
Copy link

kalifg commented Jul 22, 2012

I had this problem and it turns out that it was trying to use the Ruby 1.9 that I installed using Homebrew. I re-ran the make command prefixed with PATH=/usr/bin:$PATH so that it used the built-in Ruby and it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment