Opened 11 years ago

Closed 11 years ago

#42028 closed defect (invalid)

ghostscript @9.10: destroot fails

Reported by: jmgant@… Owned by: takanori@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: ghostscript

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

I am trying to install ghostscript. It fails. I am running 10.9. Is the following information helpful? I am fairly new at this.

_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/destroot/opt/local/bin/gsx
:info:destroot Exit code: 1
:error:destroot org.macports.destroot for port ghostscript returned: command execution failed
:debug:destroot Error code: NONE
:debug:destroot Backtrace: command execution failed
    while executing
"$post $targetname"
:info:destroot Warning: targets not executed for ghostscript: org.macports.activate org.macports.destroot org.macports.install
:notice:destroot Please see the log file for port ghostscript for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/main.log

Attachments (2)

main.log (74.0 KB) - added by jmgant@… 11 years ago.
ghostscript main.log
main.2.log (851.8 KB) - added by jmgant@… 11 years ago.
ghostscript log

Download all attachments as: .zip

Change History (9)

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

Description: modified (diff)
Keywords: ghostscript removed
Owner: changed from macports-tickets@… to takanori@…
Port: ghostscript added
Summary: ghostscript 9.10ghostscript @9.10: destroot fails

No. That only tells us that an error occurred, not what error occurred. Please attach the main.log file; that should hopefully tell us why it failed.

Changed 11 years ago by jmgant@…

Attachment: main.log added

ghostscript main.log

comment:2 in reply to:  1 Changed 11 years ago by jmgant@…

Replying to ryandesign@…:

No. That only tells us that an error occurred, not what error occurred. Please attach the main.log file; that should hopefully tell us why it failed.

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

This was not a clean attempt and you should clean and try again.

If the log still contains the line that says "strip: ... malformed object (unknown load command 9)" then this suggests that your strip command is too old to deal with the types of objects produced by your compiler, and you should reinstall strip. I assume it's part of the Xcode command line tools, so you'd need to reinstall those.

comment:4 in reply to:  3 Changed 11 years ago by jmgant@…

Replying to ryandesign@…:

This was not a clean attempt and you should clean and try again.

If the log still contains the line that says "strip: ... malformed object (unknown load command 9)" then this suggests that your strip command is too old to deal with the types of objects produced by your compiler, and you should reinstall strip. I assume it's part of the Xcode command line tools, so you'd need to reinstall those.

I reinstalled xcode, pointed xcode-select to the working directory. I am using xcode 5.0.2. I did a clean install of ghostscript. here is the new log.

Changed 11 years ago by jmgant@…

Attachment: main.2.log added

ghostscript log

comment:5 Changed 11 years ago by jmgant@…

I am actually trying to install Amarok and Ghostscript is a dependency. I have gs installed already in /usr. Is there a way to make MacPorts recognize my installed gs? I actually have no need for a macports installation if Ghostscript except as a dependency to Amarok.

comment:6 Changed 11 years ago by jmgant@…

the error was on my end. I fixed my xcode and gs installed.

comment:7 Changed 11 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.