[MacPorts] #4360: BUG: iTerm 0.8.1_0 install failed--error copying during destroot

MacPorts noreply at macports.org
Thu Mar 24 07:11:27 PDT 2016


#4360: BUG: iTerm 0.8.1_0 install failed--error copying during destroot
-----------------------+---------------------
  Reporter:  cthe24@…  |      Owner:  waqar@…
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  1.0
Resolution:  fixed     |   Keywords:
      Port:  iTerm     |
-----------------------+---------------------
Changes (by ryandesign@…):

 * port:   => iTerm


Old 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
>  }

New 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
  }
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/4360#comment:8>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list