Opened 11 years ago

Last modified 11 years ago

#37205 closed defect

openjdk6: java: Bad CPU type in executable — at Version 1

Reported by: dougmencken@… Owned by: landonf@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: openjdk6

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (2)

Changed 11 years ago by dougmencken@…

Attachment: main.log added

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to landonf@…
Port: openjdk6 added
Summary: can't build openjdk6: command execution failedopenjdk6: java: Bad CPU type in executable

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 clean and try again?

Note: See TracTickets for help on using tickets.