Problems self-hosting OpenJDK7 on OSX 10.5.5

Michael Franz mvfranz at gmail.com
Mon Nov 10 10:49:52 PST 2008


Ben,

I had the same problem.  My solution was to create ~/.ant/ant.conf and
put ANT_ARGS=-diagnostics in it.

I don't know why this works.  I posted this earlier so you can search
for it in the archives.

Michael



On 11/6/08, Ben Evans <benjamin.john.evans at googlemail.com> wrote:
> Hi,
>
> I'm trying to follow Landon's instructions at:
> http://landonf.bikemonkey.org/code/java/SoyLatte_Meets_OpenJDK.20080819.htmlfor
> building OpenJDK 7 on a Mac.
>
> I'm successfully able to build it using SoyLatte, but when I try to rerun
> the build after having successfully installed the new j2sdk, ie self-hosting
> via:
>
> CatBasket:bsd-port boxcat$ make ALT_BOOTDIR=/usr/local/openjdk17-2008-11-06
> ALT_BINARY_PLUGS_PATH=/Users/boxcat/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=1
> ALT_JDK_IMPORT_PATH=/usr/local/openjdk17-2008-11-06
>
> Then I get the following output:
>
> [.. settings, etc]
>
> build-bootstrap-javac:
>     [mkdir] Created dir:
> /Users/boxcat/projects/jdk7-clean/bsd-port/build/bsd-i586/langtools/build/bootstrap/gensrc
>     [mkdir] Created dir:
> /Users/boxcat/projects/jdk7-clean/bsd-port/build/bsd-i586/langtools/build/bootstrap/classes
>  [pcompile] Generating 7 resource files to
> /Users/boxcat/projects/jdk7-clean/bsd-port/build/bsd-i586/langtools/build/bootstrap/gensrc
>      [copy] Copying 1 file to
> /Users/boxcat/projects/jdk7-clean/bsd-port/build/bsd-i586/langtools/build/bootstrap/gensrc
>  [pcompile] Generating 1 resource files to
> /Users/boxcat/projects/jdk7-clean/bsd-port/build/bsd-i586/langtools/build/bootstrap/gensrc
>     [javac] Compiling 8 source files to
> /Users/boxcat/projects/jdk7-clean/bsd-port/build/bsd-i586/langtools/build/bootstrap/classes
>
> BUILD FAILED
> /Users/boxcat/projects/jdk7-clean/bsd-port/langtools/make/build.xml:177: The
> following error occurred while executing this line:
> /Users/boxcat/projects/jdk7-clean/bsd-port/langtools/make/build.xml:414: The
> following error occurred while executing this line:
> /Users/boxcat/projects/jdk7-clean/bsd-port/langtools/make/build.xml:452: The
> following error occurred while executing this line:
> /Users/boxcat/projects/jdk7-clean/bsd-port/langtools/make/build.xml:501:
> Compile failed; see the compiler error output for details.
>
> Total time: 2 seconds
> make[2]: *** [build] Error 1
> make[1]: *** [langtools-build] Error 2
> make: *** [build_product_image] Error 2
> CatBasket:bsd-port boxcat$
>
> I can't even seem to find any compiler output.
>
> Can anyone see what's causing this problem? Please point me at a "How to Ask
> For Help" doc if one exists, or tell me what other information would be
> useful in diagnosing the problem.
>
> Thanks,
>
> Ben
>

-- 
Sent from Gmail for mobile | mobile.google.com



More information about the bsd-port-dev mailing list