Opened 15 years ago

Closed 15 years ago

#24062 closed defect (duplicate)

openjdk6 fails to build under Snow Leopard (10.6)

Reported by: chalin@… Owned by: landonf (Landon Fuller)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: openjdk6

Description

sudo port install openjdk6

yields (output when run with -d is attached):

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/./" && /usr/bin/make -j7 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=15 " returned error 2
Command output: 
build-classes-javah:
 [pcompile] Generating 8 resource files to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/build/bsd-i586/langtools/build/gensrc
    [javac] Compiling 8 source files to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/build/bsd-i586/langtools/build/classes
    [javac] Compiling 8 source files to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/build/bsd-i586/langtools/build/classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
...

Essentially there seem to be only warnings related to use of deprecation.

Attachments (1)

openjdk6-install-log.txt (279.2 KB) - added by chalin@… 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by chalin@…

Attachment: openjdk6-install-log.txt added

comment:1 Changed 15 years ago by chalin@…

Actually, there are a few errors reported in the log:

../../common/shared/Defs-bsd.gmk:138: "WARNING: Value of JDK_IMPORT_PATH cannot be empty, check or set ALT_JDK_IMPORT_PATH"
make[5]: *** make[5]: *** No rule to make target `-j15'No rule to make target `-j15'.  Stop.
...
/bin/sh: Check_ALT_JDK_IMPORT_PATH/bin/javac: No such file or directory
...
freetypecheck.c:1: error: -mstackrealign not supported in the 64bit mode

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to landonf@…
Port: openjdk6 added

Please remember to fill in the Port field and cc the maintainer.

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.