[MacPorts] #37205: can't build openjdk6: command execution failed
#37205: can't build openjdk6: command execution failed ---------------------------+-------------------------------- Reporter: dougmencken@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ---------------------------+-------------------------------- I tried to `port install openjdk6' and got: ---> Configuring openjdk6 ---> Building openjdk6 Error: org.macports.build for port openjdk6 returned: command execution failed Please see the log file for port openjdk6 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_openjdk6/openjdk6/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port openjdk6 failed # uname -a Darwin powermacs-power-mac-g5.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh main.log is attached -- Ticket URL: <https://trac.macports.org/ticket/37205> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37205: openjdk6: java: Bad CPU type in executable ----------------------------+----------------------- Reporter: dougmencken@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: openjdk6 | ----------------------------+----------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => landonf@… * port: => openjdk6 Old description:
I tried to `port install openjdk6' and got:
---> Configuring openjdk6 ---> Building openjdk6 Error: org.macports.build for port openjdk6 returned: command execution failed Please see the log file for port openjdk6 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_openjdk6/openjdk6/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port openjdk6 failed
# uname -a Darwin powermacs-power-mac-g5.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh
main.log is attached
New description: I tried to `port install openjdk6' and got: {{{ ---> Configuring openjdk6 ---> Building openjdk6 Error: org.macports.build for port openjdk6 returned: command execution failed Please see the log file for port openjdk6 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_openjdk6/openjdk6/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port openjdk6 failed # uname -a Darwin powermacs-power-mac-g5.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh }}} main.log is attached -- Comment: Interesting, the log says: {{{ :info:build /opt/local/share/java/apache-ant/bin/ant: line 332: /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 332: /opt/local/share/java/openjdk6_bootstrap/jre/bin/java: Unknown error: 0 :info:build /opt/local/share/java/apache-ant/bin/ant: line 332: /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 332: /opt/local/share/java/openjdk6_bootstrap/jre/bin/java: Unknown error: 0 }}} But because this was not a clean attempt, could you please [http://guide.macports.org/chunked/project.html#project.tickets.prerequisites clean and try again]? -- Ticket URL: <https://trac.macports.org/ticket/37205#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37205: openjdk6: java: Bad CPU type in executable ----------------------------+----------------------- Reporter: dougmencken@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: openjdk6 | ----------------------------+----------------------- Comment (by dougmencken@…):
But because this was not a clean attempt, could you please [http://guide.macports.org/chunked/project.html#project.tickets.prerequisites clean and try again]?
The same after port clean --all openjdk6: {{{ sh-3.2# man port sh-3.2# port clean --all openjdk6 ---> Cleaning openjdk6 sh-3.2# port install openjdk6 ---> Computing dependencies for openjdk6 ---> Fetching archive for openjdk6 ---> Attempting to fetch openjdk6-b20_1.darwin_9.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/openjdk6 ---> Attempting to fetch openjdk6-b20_1.darwin_9.ppc.tbz2 from http://lil.fr.packages.macports.org/openjdk6 ---> Attempting to fetch openjdk6-b20_1.darwin_9.ppc.tbz2 from http://packages.macports.org/openjdk6 ---> Fetching distfiles for openjdk6 ---> Attempting to fetch openjdk-6-src-b20-21_jun_2010.tar.gz from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/openjdk6 ---> Attempting to fetch jdk6-jaxp-b20.zip from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/openjdk6 ---> Attempting to fetch jdk6-jaxws-b20.zip from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/openjdk6 ---> Attempting to fetch jdk6-jaf-b20.zip from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/openjdk6 ---> Verifying checksum(s) for openjdk6 ---> Extracting openjdk6 ---> Applying patches to openjdk6 ---> Configuring openjdk6 ---> Building openjdk6 Error: org.macports.build for port openjdk6 returned: command execution failed Please see the log file for port openjdk6 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_openjdk6/openjdk6/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port openjdk6 failed }}} And yes, {{{ sh-3.2# pwd /opt/local/share/java/openjdk6_bootstrap sh-3.2# file ./jre/bin/java ./jre/bin/java: Mach-O executable i386 }}} which cannot be executed on my machine. -- Ticket URL: <https://trac.macports.org/ticket/37205#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37205: openjdk6: java: Bad CPU type in executable ----------------------------+----------------------- Reporter: dougmencken@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: openjdk6 | ----------------------------+----------------------- Comment (by pixilla@…): The resources at [https://github.com/hgomez/obuildfactory/wiki hgomez / obuildfactory] may help. -- Ticket URL: <https://trac.macports.org/ticket/37205#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37205: openjdk6: java: Bad CPU type in executable ----------------------------+----------------------- Reporter: dougmencken@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: openjdk6 | ----------------------------+----------------------- Comment (by jmr@…): I'm guessing the bootstrap doesn't contain ppc code? -- Ticket URL: <https://trac.macports.org/ticket/37205#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37205: openjdk6: java: Bad CPU type in executable ----------------------------+----------------------- Reporter: dougmencken@… | Owner: landonf@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: duplicate | Keywords: Port: openjdk6 | ----------------------------+----------------------- Changes (by jmr@…): * status: new => closed * resolution: => duplicate Comment: #28218 -- Ticket URL: <https://trac.macports.org/ticket/37205#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts