Opened 14 years ago
Closed 14 years ago
#27466 closed defect (worksforme)
can't build latest OpenJDK 6
Reported by: | henri.gomez@… | Owned by: | landonf (Landon Fuller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | openjdk6 |
Description
I removed my local port after ticket #20956 was resolved and tried to build openjdk6 from macports depot.
https://trac.macports.org/ticket/20956#comment:69
I got the following error :
:info:build Rebuilding /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/build/bsd-amd64/corba/lib/amd64/libioser12.so because of /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/build/bsd-amd64/corba/tmp/sun/com.sun.corba.se.internal.io/ioser12/obj64/.files_compiled mapfile-vers:info:build /usr/bin/gcc -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -pipe -fno-omit-frame-pointer -D_LITTLE_ENDIAN -Damd64 -DARCH='"amd64"' -D_ALLBSD_SOURCE -DRELEASE='"1.6.0"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -D_LP64=1 -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/build/bsd-amd64/corba/tmp/sun/c om.sun.corba.se.internal.io/ioser12/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../. ./src/share/javavm/include -I../../../../src/solaris/javavm/include -ICClassHeaders -I/opt/local/share/java/openjdk6_bootstrap/include -I/op t/local/share/java/openjdk6_bootstrap/include/darwin -I../../../../src/share/native/common -I../../../../src/solaris/native/common -I../../. ./../src/share/native/com/sun/corba/se/internal/io -I../../../../src/solaris/native/com/sun/corba/se/internal/io -L/opt/local/var/macpor ts/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/build/bsd-amd64/corba/lib/amd64 -dynamiclib - o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/build/bsd-amd64/corba/li b/amd64/libioser12.so /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/b uild/bsd-amd64/corba/tmp/sun/com.sun.corba.se.internal.io/ioser12/obj64/ioser.o -L/opt/local/share/java/openjdk6_bootstrap/jre/lib/amd64/server -ljvm -L/opt/local/share/java/openjdk6_bootstrap/jre/lib/amd64 -ljava -L/opt/local/share/java/openjdk6_bootstrap/jre/lib/amd64/server -ljvm:info:build ld: warning: directory '/opt/local/share/java/openjdk6_bootstrap/jre/lib/amd64/server' following -L not found :info:build ld: warning: directory '/opt/local/share/java/openjdk6_bootstrap/jre/lib/amd64' following -L not found :info:build ld: warning: directory '/opt/local/share/java/openjdk6_bootstrap/jre/lib/amd64/server' following -L not found :info:build ld: library not found for -ljvm :info:build collect2: ld returned 1 exit status :info:build make[4]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/ build/bsd-amd64/corba/lib/amd64/libioser12.so] Error 1 :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 shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_openjdk6/work/./" && /usr/bin/make ARCH_DATA_MODEL="64" ALT_BOOTDIR="/opt/local/share/java/openjdk6_bootstrap" ALT_JDK_IMPORT_PATH="/opt/local/share/java/openjdk6_bootstrap" ALT_BINARY_PLUGS_PATH="/opt/local/share/java/icedtea6-plugs/jre/lib/rt-closed.jar" ALT_DROPS_DIR="/opt/local/var/macports/distfiles/openjdk6" 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 LANG="C" BUILD_NUMBER="b20" MILESTONE=fcs 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"
Change History (6)
comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to landonf@… |
---|---|
Port: | openjdk6 added |
comment:2 Changed 14 years ago by henri.gomez@…
comment:3 Changed 14 years ago by landonf (Landon Fuller)
What did you change to get the port to build?
comment:4 Changed 14 years ago by henri.gomez@…
I could build openjdk6 on a machine in 64bits mode (10.5.0 Darwin Kernel Version 10.5.0: Fri Nov 5 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_X86_64 x86_64) but it still fail on a 32 bits mode machine (10.5.0 Darwin Kernel Version 10.5.0: Fri Nov 5 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_I386 i386)
Where could I get the portfiles, so I could try to figure what's wrong ?
Note there is no /opt/local/share/java/openjdk6_bootstrap/jre/lib/amd64 on openjdk6-bootstrap, only /opt/local/share/java/openjdk6_bootstrap/jre/lib/i386
comment:5 Changed 14 years ago by henri.gomez@…
I cleanup all my macports environment on my 32bits machine and build worked.
You could close this ticket, sorry for the noise ;(
comment:6 Changed 14 years ago by mf2k (Frank Schima)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
More on this.
I rebuild OpenJDK 6 using a local MacPorts with various patches found on #20956 thread and it works.
I notice on my localport, a local openjdk6_bootstrap.
Could it be related ?