Opened 19 years ago
Last modified 9 years ago
#4360 closed defect
iTerm install failed--error copying during destroot — at Initial Version
Reported by: | cthe24@… | Owned by: | waqar@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: | iTerm |
Description
I tried to install iTerm using: %: sudo port install -dv iTerm
It failed, with this error (see log file for more): Error: Target com.apple.destroot returned: error copying "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_aqua_iTerm/ work/iTerm/build/iTerm.app": no such file or directory
I found iTerm.app in .../build/Default/, and edited the Portfile accorrdingly. Below is the contents of Portfile.diff (created according to instructions in docs):
--- Portfile 2005-04-08 17:38:38.000000000 -0400 +++ Portfile.1 2005-08-09 15:24:51.000000000 -0400 @@ -29,6 +29,6 @@
destroot {
xinstall -d -m 755 ${destroot}/Applications/DarwinPorts
- file copy ${build.dir}/build/${name}.app \
+ file copy ${build.dir}/build/Default/${name}.app \
${destroot}/Applications/DarwinPorts/${name}.app
}
This is my Portfile.diff to resolve this bug.