Build progress on Mac OS X PowerPC

Eric Richardson ekrichardson at gmail.com
Sat Nov 14 20:48:57 PST 2009


Hello,

I have been able to get through all the patching in Icedtea 7. I am trying
to compile using the Apple JDK5 (modified layout).

There was one patch that was strange - patches/icedtea-version.patch - this
looks like
|--- openjdk/jdk/src/share/classes/sun/misc/Version.java.template~1~
2008-11-25 01:04:53.000000000 -0800
|+++ openjdk/jdk/src/share/classes/sun/misc/Version.java.template
2009-02-20 09:03:25.000000000 -0800

This file is named Version-template.java in the bsd-port.

The following is where the build stopped. Any help appreciated.

Eric

make ARCH=ppc \
    ALT_FREETYPE_LIB_PATH=/opt/local/lib \
    ALT_FREETYPE_HEADERS_PATH=/opt/local/include

#######################################################################
########################################################################
##### Entering  langtools for target  all                          #####
########################################################################
(cd  ./langtools/make && \
      /usr/bin/make JDK_TOPDIR=/Users/eric/openjdk/icedtea/openjdk-boot/jdk
JDK_MAKE_SHARED_DIR=/Users/eric/openjdk/icedtea/openjdk-boot/jdk/make/common/shared
EXTERNALSANITYCONTROL=true SOURCE_LANGUAGE_VERSION=7 TARGET_CLASS_VERSION=7
MILESTONE=fcs BUILD_NUMBER=b75 JDK_BUILD_NUMBER=b75
FULL_VERSION=1.7.0_0-bsd-b75 PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0_0
JDK_MKTG_VERSION=7u 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_JDK_UPDATE_VERSION=0
COOKED_BUILD_NUMBER=75 ANT_HOME="/usr/share/ant"
ALT_OUTPUTDIR=/Users/eric/openjdk/icedtea/openjdk-boot/build/bsd-ppc/langtools
ALT_BOOTDIR=/Users/eric/openjdk/icedtea/bootstrap/jdk1.6.0 all)
JAVA_HOME=/Users/eric/openjdk/icedtea/bootstrap/jdk1.6.0
ANT_OPTS=-Djava.io.tmpdir='/Users/eric/openjdk/icedtea/openjdk-boot/build/bsd-ppc/langtools/build/ant-tmp'
ant -diagnostics >
/Users/eric/openjdk/icedtea/openjdk-boot/build/bsd-ppc/langtools/build/ant-diagnostics.log
JAVA_HOME=/Users/eric/openjdk/icedtea/bootstrap/jdk1.6.0
ANT_OPTS=-Djava.io.tmpdir='/Users/eric/openjdk/icedtea/openjdk-boot/build/bsd-ppc/langtools/build/ant-tmp'
ant -Djdk.version=1.7.0_0 -Dfull.version='1.7.0_0-bsd-b75'
-Drelease=1.7.0_0 -Dbuild.number=b75 -Djavac.debug=true
-Ddebug.classfiles=true -Djavac.target=7 -Djavac.source=7
-Dboot.java.home=/Users/eric/openjdk/icedtea/bootstrap/jdk1.6.0
-Dbuild.dir=/Users/eric/openjdk/icedtea/openjdk-boot/build/bsd-ppc/langtools/build
-Ddist.dir=/Users/eric/openjdk/icedtea/openjdk-boot/build/bsd-ppc/langtools/dist
build
Buildfile: build.xml

-def-check:

-check-boot.java.home:

-def-pcompile:
    [mkdir] Created dir:
/Users/eric/openjdk/icedtea/openjdk-boot/build/bsd-ppc/langtools/build/toolclasses
    [javac] Compiling 2 source files to
/Users/eric/openjdk/icedtea/openjdk-boot/build/bsd-ppc/langtools/build/toolclasses

BUILD FAILED
/Users/eric/openjdk/icedtea/openjdk-boot/langtools/make/build.xml:603:
java.lang.UnsupportedClassVersionError: Bad version number in .class file

Total time: 6 seconds
make[3]: *** [build] Error 1
make[2]: *** [langtools-build] Error 2
make[1]: *** [build_product_image] Error 2
make: *** [stamps/icedtea-boot.stamp] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20091114/1e4aa63e/attachment.html 


More information about the distro-pkg-dev mailing list