Opened 14 years ago
Last modified 14 years ago
#27192 closed defect
openjdk6 @b16 +install failure due to missing classes in package com.sun.corba.se.internal.io — at Initial Version
Reported by: | nhojpatrick (John Patrick) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | openjdk6 |
Description
I've just tried installing openjdk6, because apple have announced that they have deprecated their implementation of java.
It looks as simple as a dependency has been removed or added for classes in the package com.sun.corba.se.internal.io.
$ sudo port install openjdk6 Password: ---> Computing dependencies for openjdk6 ---> Building openjdk6 Error: Target org.macports.build returned: shell command failed (see log for details) 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>
The log is attached but contains:
$ cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/main.log [...] :info:build # Running javah: :info:build /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/ \ :info:build 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 :info:build error: cannot access com.sun.corba.se.internal.io.IIOPInputStream :info:build class file for com.sun.corba.se.internal.io.IIOPInputStream not found :info:build javadoc: error - Class com.sun.corba.se.internal.io.IIOPInputStream not found. :info:build error: cannot access com.sun.corba.se.internal.io.IIOPOutputStream :info:build class file for com.sun.corba.se.internal.io.IIOPOutputStream not found :info:build javadoc: error - Class com.sun.corba.se.internal.io.IIOPOutputStream not found. :info:build error: cannot access com.sun.corba.se.internal.io.ObjectStreamClass :info:build class file for com.sun.corba.se.internal.io.ObjectStreamClass not found :info:build javadoc: error - Class com.sun.corba.se.internal.io.ObjectStreamClass not found. :info:build error: cannot access com.sun.corba.se.internal.io.LibraryManager :info:build class file for com.sun.corba.se.internal.io.LibraryManager not found :info:build javadoc: error - Class com.sun.corba.se.internal.io.LibraryManager not found. :info:build Error: No classes were specified on the command line. Try -help. :info:build 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 :info:build make[3]: * [build] Error 1 :info:build make[2]: * [build] Error 1 :info:build make[1]: * [build] Error 1 :info:build make: * [corba-build] Error 2 :info:build make: * Waiting for unfinished jobs.... :info:build :info:build BUILD SUCCESSFUL :info:build Total time: 7 seconds :info:build 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:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details)
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8) invoked from within
"$procedure $targetname" :info:build Warning: the following items did not execute (for openjdk6): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for openjdk6 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/main.log $
I've got the latest version of java from apple. $ java -version java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode) $
install log file