#37612 closed defect (invalid)
ghostscript @9.06_1: post-destroot failure
Reported by: | frankliuao@… | Owned by: | takanori@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | ghostscript |
Description
Please see the log file
Attachments (2)
Change History (20)
Changed 12 years ago by frankliuao@…
comment:1 follow-up: 2 Changed 12 years ago by larryv (Lawrence Velázquez)
Owner: | changed from macports-tickets@… to takanori@… |
---|---|
Port: | ghostscript added |
Summary: | ghostscript port cannot be installed → ghostscript:post-destroot failure |
Version: | 2.1.2 |
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
Changed 12 years ago by frankliuao@…
Attachment: | main.2.log added |
---|
comment:2 Changed 12 years ago by frankliuao@…
Replying to 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
comment:3 Changed 12 years ago by larryv (Lawrence Velázquez)
Summary: | ghostscript:post-destroot failure → ghostscript @9.06_1: post-destroot failure |
---|
comment:5 follow-up: 7 Changed 12 years ago by jmroot (Joshua Root)
: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.
comment:6 Changed 12 years ago by jmroot (Joshua Root)
Cc: | frankliuao@… removed |
---|---|
Version: | → 2.1.2 |
You don't need to Cc yourself when you are the reporter.
comment:7 follow-up: 8 Changed 12 years ago by frankliuao@…
Replying to 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.
comment:8 Changed 12 years ago by frankliuao@…
Replying to frankliuao@…:
Replying to 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.
comment:9 Changed 12 years ago 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
comment:10 follow-up: 11 Changed 12 years ago by mf2k (Frank Schima)
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
comment:11 Changed 12 years ago by frankliuao@…
Replying to 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.
comment:12 Changed 12 years ago by mf2k (Frank Schima)
Your system is definitely messed up. What is the output of the following?
ls -l /Developer
comment:13 follow-up: 14 Changed 12 years ago by jmroot (Joshua Root)
Also, you only said Xcode is up to date; what about the Command Line Tools?
comment:14 follow-up: 15 Changed 12 years ago by frankliuao@…
Replying to 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
comment:15 Changed 12 years ago by frankliuao@…
Replying to frankliuao@…:
Replying to 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.
comment:16 follow-up: 17 Changed 12 years ago by jmroot (Joshua Root)
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.
comment:17 Changed 12 years ago by frankliuao@…
Replying to 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.
comment:18 Changed 12 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
You should uninstall your old version of Xcode in the /Developer directory too.
ghostscript cannot be installed