#32544: openjdk6 will not install on PPC ---------------------------------------+------------------------------------ Reporter: bgodfrey@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: openjdk6 ---------------------------------------+------------------------------------ Changes (by macsforever2000@…): * owner: macports-tickets@… => landonf@… * keywords: PPC, openjdk6 => * port: openjdk-6-src-b20-21_jun_2010.tar.gz => openjdk6 Old description:
I attempted command sudo port install openjdk6 After several hours of installation of dependencies there were errors from the final step
---> Verifying checksum(s) for openjdk6 ---> Extracting openjdk6 ---> Applying patches to openjdk6 ---> Configuring openjdk6 ---> Building openjdk6 Error: Target org.macports.build returned: shell command failed (see log for details) Error: Status 1 encountered during processing.
In this selection from the main.log I see bad CPU type as one problem -
JAVA_HOME=/opt/local/share/java/openjdk6_bootstrap ANT_OPTS=-Djava.io.tmpdir='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_openjdk6/openjdk6/work/build /bsd-ppc/langtools/build/ant-tmp' /opt/local/share/java/apache- ant/bin/ant -version >> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_openjdk6/openjdk6/work/build /bsd-ppc/langtools/build/ant-diagnostics.log :info:build /opt/local/share/java/apache-ant/bin/ant: line 335: /opt/local/share/java/openjdk6_bootstrap/jre/bin/java: Bad CPU type in executable :info:build /opt/local/share/java/apache-ant/bin/ant: line 335: /opt/local/share/java/openjdk6_bootstrap/jre/bin/java: Unknown error: 0 :info:build /opt/local/share/java/apache-ant/bin/ant: line 335: /opt/local/share/java/openjdk6_bootstrap/jre/bin/java: Bad CPU type in executable :info:build /opt/local/share/java/apache-ant/bin/ant: line 335: /opt/local/share/java/openjdk6_bootstrap/jre/bin/java: Unknown error: 0 :info:build make[2]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_openjdk6/openjdk6/work/build /bsd-ppc/langtools/build/ant-diagnostics.log] Error 1 :info:build make[1]: *** [langtools-build] Error 2 :info:build make: *** [build_product_image] Error 2
ALSO -
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" (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_tarballs_ports_java_openjdk6/openjdk6/main.log
The complete main.log file is attached.
New description: I attempted command sudo port install openjdk6 After several hours of installation of dependencies there were errors from the final step {{{ ---> Verifying checksum(s) for openjdk6 ---> Extracting openjdk6 ---> Applying patches to openjdk6 ---> Configuring openjdk6 ---> Building openjdk6 Error: Target org.macports.build returned: shell command failed (see log for details) Error: Status 1 encountered during processing. }}} In this selection from the main.log I see bad CPU type as one problem - {{{ JAVA_HOME=/opt/local/share/java/openjdk6_bootstrap ANT_OPTS=-Djava.io.tmpdir='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_openjdk6/openjdk6/work/build /bsd-ppc/langtools/build/ant-tmp' /opt/local/share/java/apache-ant/bin/ant -version >> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_openjdk6/openjdk6/work/build /bsd-ppc/langtools/build/ant-diagnostics.log :info:build /opt/local/share/java/apache-ant/bin/ant: line 335: /opt/local/share/java/openjdk6_bootstrap/jre/bin/java: Bad CPU type in executable :info:build /opt/local/share/java/apache-ant/bin/ant: line 335: /opt/local/share/java/openjdk6_bootstrap/jre/bin/java: Unknown error: 0 :info:build /opt/local/share/java/apache-ant/bin/ant: line 335: /opt/local/share/java/openjdk6_bootstrap/jre/bin/java: Bad CPU type in executable :info:build /opt/local/share/java/apache-ant/bin/ant: line 335: /opt/local/share/java/openjdk6_bootstrap/jre/bin/java: Unknown error: 0 :info:build make[2]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_openjdk6/openjdk6/work/build /bsd-ppc/langtools/build/ant-diagnostics.log] Error 1 :info:build make[1]: *** [langtools-build] Error 2 :info:build make: *** [build_product_image] Error 2 ALSO - 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" (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_tarballs_ports_java_openjdk6/openjdk6/main.log }}} The complete main.log file is attached. -- -- Ticket URL: <https://trac.macports.org/ticket/32544#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS