failure building OpenJDK6

David Orriss Jr codethought at gmail.com
Mon Nov 1 18:08:06 PDT 2010


OpenJDK6 is failing to build on Snow Leopard.  This is a new install of
MacPorts and the first time I've tried to installed OpenJDK6 from macports
in my environment.

I have found the following ticket and appear to be having similar issues to
this defect but no resolution appears to have been found or at least
documented that I can find.  Can someone please help me resolve this?

http://trac.macports.org/ticket/20956


>>>Recursively making CORBA build @ Sun Oct 31 21:21:13 PDT 2010 ...
../../../common/shared/Defs-bsd.gmk:138: "WARNING: Value of JDK_IMPORT_PATH
cannot be empty, check or set ALT_JDK_IMPORT_PATH"
make[5]: *** No rule to make target `-j4'.  Stop.
make[4]: *** [sa_stuff] Error 2
make[3]: *** [product] Error 2
make[2]: *** [generic_build2] Error 2
make[1]: *** [product] Error 2
make: *** [hotspot-build] Error 2

Followed shortly after by:

18 warnings
make[3]: *** [build] Error 1
make[2]: *** [build] Error 1
make[1]: *** [build] Error 1
make: *** [corba-build] Error 2
shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/./"
&& /usr/bin/make -j4 all
ALT_BOOTDIR="/opt/local/share/java/openjdk6_bootstrap"
ALT_BINARY_PLUGS_PATH="/opt/local/share/java/icedtea6-plugs/jre/lib/rt-closed.jar"
ANT_HOME="/opt/local/share/java/apache-ant"
ALT_FREETYPE_HEADERS_PATH="/opt/local/include"
ALT_FREETYPE_LIB_PATH="/opt/local/lib" ALT_CUPS_HEADERS_PATH="/usr/include"
ALT_MOTIF_DIR="/opt/local" ALT_X11_PATH="/opt/local" ALT_DEVTOOLS_PATH=/usr
ALT_CACERTS_FILE=/System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts
NO_DOCS=true HOTSPOT_BUILD_JOBS=4 " returned error 2
Error: Target org.macports.build returned: shell command failed
Warning: the following items did not execute (for openjdk6):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Log for openjdk6 is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/main.log
Error: Status 1 encountered during processing.



-- 
David Orriss Jr.

My blog: http://www.codethought.com/blog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20101101/e2e1babe/attachment.html>


More information about the macports-users mailing list