[MacPorts] #37612: ghostscript port cannot be installed
#37612: ghostscript port cannot be installed --------------------------+-------------------------------- Reporter: frankliuao@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: --------------------------+-------------------------------- Please see the log file -- Ticket URL: <https://trac.macports.org/ticket/37612> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37612: ghostscript:post-destroot failure ---------------------------+------------------------ Reporter: frankliuao@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ghostscript | ---------------------------+------------------------ Changes (by larryv@…): * owner: macports-tickets@… => takanori@… * version: 2.1.2 => * port: => ghostscript Comment: Thanks for the report. In future tickets, please remember to CC any port maintainers. {{{ :debug:main Executing org.macports.main (ghostscript) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.archivefetch (ghostscript) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (ghostscript) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (ghostscript) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (ghostscript) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (ghostscript) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (ghostscript) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.build (ghostscript) }}} This wasn’t a clean build. Can you clean first? If the subsequent install still fails, attach the new `main.log`. {{{ sudo port clean ghostscript sudo port install ghostscript }}} -- Ticket URL: <https://trac.macports.org/ticket/37612#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37612: ghostscript:post-destroot failure ---------------------------+------------------------ Reporter: frankliuao@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ghostscript | ---------------------------+------------------------ Comment (by frankliuao@…): Replying to [comment:1 larryv@…]:
Thanks for the report. In future tickets, please remember to CC any port maintainers.
{{{ :debug:main Executing org.macports.main (ghostscript) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.archivefetch (ghostscript) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (ghostscript) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (ghostscript) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (ghostscript) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (ghostscript) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (ghostscript) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.build (ghostscript) }}}
This wasn’t a clean build. Can you clean first? If the subsequent install still fails, attach the new `main.log`.
{{{ sudo port clean ghostscript sudo port install ghostscript }}}
I did clean it. Here is the new error log file. Best, Ao -- Ticket URL: <https://trac.macports.org/ticket/37612#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37612: ghostscript @9.06_1: post-destroot failure ---------------------------+------------------------ Reporter: frankliuao@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ghostscript | ---------------------------+------------------------ -- Ticket URL: <https://trac.macports.org/ticket/37612#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37612: ghostscript @9.06_1: post-destroot failure ---------------------------+------------------------ Reporter: frankliuao@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ghostscript | ---------------------------+------------------------ Comment (by jmr@…): {{{ :info:destroot 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) :info:destroot 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/gsx malformed object (unknown load command 9) }}} As I said in #37626:
It looks like you don't have the Xcode Command Line Tools installed. Please ensure that your Xcode installation is up to date, ensure that the Command Line Tools are installed and up to date, clean ghostscript, and try again.
-- Ticket URL: <https://trac.macports.org/ticket/37612#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37612: ghostscript @9.06_1: post-destroot failure ---------------------------+------------------------ Reporter: frankliuao@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ghostscript | ---------------------------+------------------------ Changes (by jmr@…): * cc: frankliuao@… (removed) * version: => 2.1.2 Comment: You don't need to Cc yourself when you are the reporter. -- Ticket URL: <https://trac.macports.org/ticket/37612#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37612: ghostscript @9.06_1: post-destroot failure ---------------------------+------------------------ Reporter: frankliuao@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ghostscript | ---------------------------+------------------------ Comment (by frankliuao@…): Replying to [comment:5 jmr@…]:
{{{ :info:destroot 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) :info:destroot 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/gsx malformed object (unknown load command 9) }}} As I said in #37626:
It looks like you don't have the Xcode Command Line Tools installed. Please ensure that your Xcode installation is up to date, ensure that the Command Line Tools are installed and up to date, clean ghostscript, and try again.
I did have Xcode installed and updated. -- Ticket URL: <https://trac.macports.org/ticket/37612#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37612: ghostscript @9.06_1: post-destroot failure ---------------------------+------------------------ Reporter: frankliuao@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ghostscript | ---------------------------+------------------------ Comment (by frankliuao@…): Replying to [comment:7 frankliuao@…]:
Replying to [comment:5 jmr@…]:
{{{ :info:destroot 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) :info:destroot 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/gsx malformed object (unknown load command 9) }}}
As I said in #37626:
It looks like you don't have the Xcode Command Line Tools installed. Please ensure that your Xcode installation is up to date, ensure that the Command Line Tools are installed and up to date, clean ghostscript, and try again.
I did have Xcode installed and updated.
I checked Xcode, it's up to date. Also I tried to clean ghostscript and tried, it's still not working. -- Ticket URL: <https://trac.macports.org/ticket/37612#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37612: ghostscript @9.06_1: post-destroot failure ---------------------------+------------------------ Reporter: frankliuao@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ghostscript | ---------------------------+------------------------ Comment (by frankliuao@…): Why cannot I modify the ticket? I checked Xcode, it's up to date. Also I tried to clean ghostscript and tried, it's still not working. The error is still :info:destroot make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.06' :info:destroot make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.06' :debug:destroot Executing proc-post-org.macports.destroot-destroot-0 :info:destroot 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) :info:destroot 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/gsx malformed object (unknown load command 9) :info:destroot Command failed: strip /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 /opt/local/var/macports/build/_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 -- Ticket URL: <https://trac.macports.org/ticket/37612#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37612: ghostscript @9.06_1: post-destroot failure ---------------------------+------------------------ Reporter: frankliuao@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ghostscript | ---------------------------+------------------------ Comment (by macsforever2000@…): Saying Xcode is "up to date" is not helpful. What version are you running? What is the output of the following? {{{ echo -e "=== $(/usr/bin/xcodebuild -version |head -n1) ===\n * '''Xcode''': $(/usr/bin/xcodebuild -version |tail -1)\n * '''llvm-gcc''': $(/usr/bin/llvm-gcc --version |head -1)\n * '''clang''': $(/usr/bin/clang --version |head -n1)" |tee /dev/tty |pbcopy }}} -- Ticket URL: <https://trac.macports.org/ticket/37612#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37612: ghostscript @9.06_1: post-destroot failure ---------------------------+------------------------ Reporter: frankliuao@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ghostscript | ---------------------------+------------------------ Comment (by frankliuao@…): Replying to [comment:10 macsforever2000@…]:
Saying Xcode is "up to date" is not helpful. What version are you running? What is the output of the following?
{{{ echo -e "=== $(/usr/bin/xcodebuild -version |head -n1) ===\n * '''Xcode''': $(/usr/bin/xcodebuild -version |tail -1)\n * '''llvm-gcc''': $(/usr/bin/llvm-gcc --version |head -1)\n * '''clang''': $(/usr/bin/clang --version |head -n1)" |tee /dev/tty |pbcopy }}}
[guest-152-3-5-51:Com_phy/hw/hw1] frankliuao% echo -e "=== $(/usr/bin/xcodebuild -version |head -n1) ===\n * '''Xcode''': $(/usr/bin/xcodebuild -version |tail -1)\n * '''llvm-gcc''': $(/usr/bin /llvm-gcc --version |head -1)\n * '''clang''': $(/usr/bin/clang --version |head -n1)" |tee /dev/tty |pbcopy Illegal variable name. -- Ticket URL: <https://trac.macports.org/ticket/37612#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37612: ghostscript @9.06_1: post-destroot failure ---------------------------+------------------------ Reporter: frankliuao@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ghostscript | ---------------------------+------------------------ Comment (by macsforever2000@…): What is the output of the following? {{{ ls -l /Developer }}} -- Ticket URL: <https://trac.macports.org/ticket/37612#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37612: ghostscript @9.06_1: post-destroot failure ---------------------------+------------------------ Reporter: frankliuao@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ghostscript | ---------------------------+------------------------ Comment (by jmr@…): Also, you only said Xcode is up to date; what about the Command Line Tools? -- Ticket URL: <https://trac.macports.org/ticket/37612#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37612: ghostscript @9.06_1: post-destroot failure ---------------------------+------------------------ Reporter: frankliuao@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ghostscript | ---------------------------+------------------------ Comment (by frankliuao@…): Replying to [comment:13 jmr@…]:
Also, you only said Xcode is up to date; what about the Command Line Tools?
[guest-152-3-5-51:Com_phy/hw/hw1] frankliuao% ls -l /Developer/ total 0 drwxrwxr-x 3 root admin 102 Aug 14 11:10 Applications drwxrwxr-x 3 root admin 102 Aug 14 11:10 Documentation drwxrwxr-x 4 root admin 136 Aug 14 11:10 Library drwxr-xr-x 4 root wheel 136 May 7 2012 SDKs drwxrwxr-x 7 root admin 238 Aug 14 11:10 usr -- Ticket URL: <https://trac.macports.org/ticket/37612#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37612: ghostscript @9.06_1: post-destroot failure ---------------------------+------------------------ Reporter: frankliuao@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ghostscript | ---------------------------+------------------------ Comment (by frankliuao@…): Replying to [comment:14 frankliuao@…]:
Replying to [comment:13 jmr@…]:
Also, you only said Xcode is up to date; what about the Command Line Tools?
[guest-152-3-5-51:Com_phy/hw/hw1] frankliuao% ls -l /Developer/ total 0 drwxrwxr-x 3 root admin 102 Aug 14 11:10 Applications drwxrwxr-x 3 root admin 102 Aug 14 11:10 Documentation drwxrwxr-x 4 root admin 136 Aug 14 11:10 Library drwxr-xr-x 4 root wheel 136 May 7 2012 SDKs drwxrwxr-x 7 root admin 238 Aug 14 11:10 usr
I don't know what you mean by command line. I use tcsh shell all the time. Also the command you sent me is too fancy, here are mine: /usr/bin/xcodebuild -version |head -n1 Xcode 4.5.2 /usr/bin/xcodebuild -version |tail -1 Build version 4G2008a /usr/bin/llvm-gcc --version |head -1 /usr/bin/llvm-gcc: Command not found. /usr/bin/gcc --version | head -1 i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) /usr/bin/clang --version |head -n1 /usr/bin/clang: Command not found. -- Ticket URL: <https://trac.macports.org/ticket/37612#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37612: ghostscript @9.06_1: post-destroot failure ---------------------------+------------------------ Reporter: frankliuao@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ghostscript | ---------------------------+------------------------ Comment (by jmr@…): So to repeat myself, it looks like you don't have the Xcode Command Line Tools installed. They are a prerequisite for using MacPorts. Go to the Xcode preferences and install them. -- Ticket URL: <https://trac.macports.org/ticket/37612#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37612: ghostscript @9.06_1: post-destroot failure ---------------------------+------------------------ Reporter: frankliuao@… | Owner: takanori@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ghostscript | ---------------------------+------------------------ Comment (by frankliuao@…): Replying to [comment:16 jmr@…]:
So to repeat myself, it looks like you don't have the Xcode Command Line Tools installed. They are a prerequisite for using MacPorts. Go to the Xcode preferences and install them.
Thanks. I thought I had already installed it. Now gs is installed. -- Ticket URL: <https://trac.macports.org/ticket/37612#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37612: ghostscript @9.06_1: post-destroot failure ---------------------------+------------------------ Reporter: frankliuao@… | Owner: takanori@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: ghostscript | ---------------------------+------------------------ Changes (by macsforever2000@…): * status: new => closed * resolution: => invalid Comment: You should uninstall your old version of Xcode in the /Developer directory too. -- Ticket URL: <https://trac.macports.org/ticket/37612#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts