[MacPorts] #20956: openjdk6: build fails on Snow Leopard with error during "corba-build"
MacPorts
noreply at macports.org
Sat Oct 23 16:19:35 PDT 2010
#20956: openjdk6: build fails on Snow Leopard with error during "corba-build"
------------------------------------+---------------------------------------
Reporter: dmz@… | Owner: landonf@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port: openjdk6
------------------------------------+---------------------------------------
Comment(by kstam@…):
I just ran
sudo port install openjdk6
and I'm still getting the same error as reported above:
# Running javah:
/opt/local/share/java/openjdk6_bootstrap/bin/java -client -Xmx896m
-Xms128m -XX:PermSize=32m -XX:MaxPermSize=160m
"-Xbootclasspath/p:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/build/bsd-i586/langtools/dist/bootstrap/lib/javah.jar:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/build/bsd-i586/langtools/dist/bootstrap/lib/javadoc.jar:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/build/bsd-i586/langtools/dist/bootstrap/lib/javac.jar"
-jar
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/build/bsd-i586/langtools/dist/bootstrap/lib/javah.jar
-bootclasspath
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/build/bsd-i586/corba/classes
-d
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/build/bsd-i586/corba/tmp/sun/com.sun.corba.se.internal.io/ioser12/CClassHeaders/
\
com.sun.corba.se.internal.io.IIOPInputStream
com.sun.corba.se.internal.io.IIOPOutputStream
com.sun.corba.se.internal.io.ObjectStreamClass
com.sun.corba.se.internal.io.LibraryManager
error: cannot access com.sun.corba.se.internal.io.IIOPInputStream
class file for com.sun.corba.se.internal.io.IIOPInputStream not found
javadoc: error - Class com.sun.corba.se.internal.io.IIOPInputStream not
found.
error: cannot access com.sun.corba.se.internal.io.IIOPOutputStream
class file for com.sun.corba.se.internal.io.IIOPOutputStream not found
javadoc: error - Class com.sun.corba.se.internal.io.IIOPOutputStream not
found.
error: cannot access com.sun.corba.se.internal.io.ObjectStreamClass
class file for com.sun.corba.se.internal.io.ObjectStreamClass not found
javadoc: error - Class com.sun.corba.se.internal.io.ObjectStreamClass not
found.
error: cannot access com.sun.corba.se.internal.io.LibraryManager
class file for com.sun.corba.se.internal.io.LibraryManager not found
javadoc: error - Class com.sun.corba.se.internal.io.LibraryManager not
found.
Error: No classes were specified on the command line. Try -help.
make[4]: ***
[/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/build/bsd-i586/corba/tmp/sun/com.sun.corba.se.internal.io/ioser12/obj/.class.headers.i586]
Error 15
make[3]: *** [build] Error 1
make[2]: *** [build] Error 1
make[1]: *** [build] Error 1
make: *** [corba-build] Error 2
make: *** Waiting for unfinished jobs....
BUILD SUCCESSFUL
Total time: 3 seconds
shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/./"
&& /usr/bin/make -j2 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=2 " 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.
To report a bug, see <http://guide.macports.org/#project.tickets>
Leading up to this error I see a lot of these warnings:
common/shared/Defs-bsd.gmk:138:
"WARNING: Value of JDK_IMPORT_PATH cannot be empty, check or set
ALT_JDK_IMPORT_PATH"
which would point to the comment made above.
It would be great to have openjdk on my mac now that Apple isn't going to
support it anymore!
This was on snow leopard, with port version 1.9.1.
Please let me know if there is anything else can do to help to debug this
issue.
Cheers,
--Kurt
--
Ticket URL: <https://trac.macports.org/ticket/20956#comment:17>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list