Opened 12 years ago

Closed 11 years ago

#35877 closed defect (invalid)

ghostscript: strip: object: gsc malformed object (unknown load command 9)

Reported by: pierre-yves.burgi@… Owned by: takanori@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: ghostscript

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

sh-3.2# port install ghostscript--->  Computing dependencies for ghostscript
--->  Staging ghostscript into destroot
Error: org.macports.destroot for port ghostscript returned: command execution failed

OS 10.7.4

Attachments (1)

main.log (834.9 KB) - added by pierre-yves.burgi@… 12 years ago.
ghostscipt error log

Download all attachments as: .zip

Change History (6)

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

Description: modified (diff)
Keywords: ghostscript removed
Owner: changed from macports-tickets@… to takanori@…
Port: ghostscript added
Summary: Processing of port ghostscript failedghostscript: strip: object: gsc malformed object (unknown load command 9)

This was not a clean build attempt (the log contains lines that say "Skipping completed"). Please "sudo port clean ghostscript" and try again.

If you still get the same error in the new log—that is:

strip: object: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/destroot/opt/local/bin/gsc malformed object (unknown load command 9)

then we'll need to look into your strip command and see why it cannot understand load command 9. Perhaps you've inadvertently replaced Xcode's strip command with a much older version.

Changed 12 years ago by pierre-yves.burgi@…

Attachment: main.log added

ghostscipt error log

comment:2 in reply to:  1 Changed 12 years ago by pierre-yves.burgi@…

Replying to ryandesign@…:

This was not a clean build attempt (the log contains lines that say "Skipping completed"). Please "sudo port clean ghostscript" and try again.

If you still get the same error in the new log—that is:

strip: object: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/destroot/opt/local/bin/gsc malformed object (unknown load command 9)

then we'll need to look into your strip command and see why it cannot understand load command 9. Perhaps you've inadvertently replaced Xcode's strip command with a much older version.

Thanks. However,

--->  Staging ghostscript into destroot
Error: org.macports.destroot for port ghostscript returned: command execution failed

not solved.

Enclosed: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/main.log

P.-Y.

Last edited 12 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 12 years ago by jmroot (Joshua Root)

You don't appear to have the Xcode Command Line Tools installed. Please install them, and then clean ghostscript again before trying the install.

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Did that help?

comment:5 Changed 11 years ago by takanori@…

Resolution: invalid
Status: newclosed

no response from the reporter

Note: See TracTickets for help on using tickets.