[MacPorts] #20956: openjdk6: build fails on Snow Leopard with error during "corba-build"

MacPorts noreply at macports.org
Wed Nov 3 03:24:11 PDT 2010


#20956: openjdk6: build fails on Snow Leopard with error during "corba-build"
------------------------------------+---------------------------------------
 Reporter:  dmz@…                   |       Owner:  landonf@…           
     Type:  defect                  |      Status:  assigned            
 Priority:  Normal                  |   Milestone:                      
Component:  ports                   |     Version:  1.8.0               
 Keywords:                          |        Port:  openjdk6            
------------------------------------+---------------------------------------

Comment(by johnsonlaucn@…):

 Replying to [comment:33 henri.gomez@…]:
 > ok, I removed and reinstalled openjdk6_bootstrap and could go farther :
 >
 > Error is now about target `/Xusage.txt
 >
 > {{{
 > /usr/bin/make -f
 /opt/local/var/macports/build/_Users_henri_ports_java_openjdk6/work/hotspot/make/bsd/makefiles/jvmti.make
 " LP64=1 "
 GAMMADIR=/opt/local/var/macports/build/_Users_henri_ports_java_openjdk6/work/hotspot
 OS_FAMILY=bsd ARCH=x86 BUILDARCH=amd64 LIBARCH=amd64
 HOTSPOT_RELEASE_VERSION=17.0-b16 HOTSPOT_BUILD_VERSION=
 JRE_RELEASE_VERSION=1.6.0-internal-root_02_nov_2010_21_00-b00
 JvmtiOutDir=bsd_amd64_docs jvmtidocs
 > /opt/local/share/java/openjdk6_bootstrap/bin/javac -g -encoding ascii
 -source 5 -target 5 -d bsd_amd64_docs
 /opt/local/var/macports/build/_Users_henri_ports_java_openjdk6/work/hotspot/src/share/vm/prims/jvmtiGen.java
 > Generating bsd_amd64_docs/jvmti.html
 > /opt/local/share/java/openjdk6_bootstrap/bin/java -classpath
 bsd_amd64_docs jvmtiGen -IN
 /opt/local/var/macports/build/_Users_henri_ports_java_openjdk6/work/hotspot/src/share/vm/prims/jvmti.xml
 -XSL
 /opt/local/var/macports/build/_Users_henri_ports_java_openjdk6/work/hotspot/src/share/vm/prims/jvmti.xsl
 -OUT bsd_amd64_docs/jvmti.html
 > /usr/bin/make VM_SUBDIR=product
 generic_export
 > Makefile:358: target `/Xusage.txt' given more than once in the same
 rule.
 > make[3]: *** No rule to make target
 `/opt/local/var/macports/build/_Users_henri_ports_java_openjdk6/work/build
 /bsd-x86_64/hotspot/import/docs/platform/jvmti/jvmti.html', needed by
 `generic_export'.  Stop.
 > make[2]: *** [export_product] Error 2
 > make[1]: *** [hotspot-build] Error 2
 > make: *** [build_product_image] Error 2
 > shell command " cd
 "/opt/local/var/macports/build/_Users_henri_ports_java_openjdk6/work/./"
 && /usr/bin/make all
 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" 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 ALLOW_DOWNLOADS=true HOTSPOT_BUILD_JOBS=8 " returned error 2
 > Error: Target org.macports.build returned: shell command failed
 > DEBUG: Backtrace: shell command failed
 >     while executing
 > "command_exec build"
 >     (procedure "portbuild::build_main" line 8)
 >     invoked from within
 > "$procedure $targetname"
 > 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/_Users_henri_ports_java_openjdk6/main.log
 > Error: Status 1 encountered during processing.
 > }}}
 >

 It seems that the makefile wrongly detected your platform as x86_64 and
 causing a non-existed target[[BR]]
 (/opt/local/var/macports/build/_Users_henri_ports_java_openjdk6/work/build
 /bsd-x86_64/hotspot/import/docs/platform/jvmti/jvmti.html)[[BR]]
 to be executed, which should be amd64 in this case.
 The generic_export target relies on a variable named EXPORT_LIST defined
 in hotspot/make/bsd/makefiles/defs.make.
 Would you please confirm that the patch-hotspot-arch is applied correctly
 already?

-- 
Ticket URL: <https://trac.macports.org/ticket/20956#comment:35>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list