[MacPorts] #32103: mumble @1.2.2 fails destroot

MacPorts noreply at macports.org
Fri Dec 2 01:17:04 PST 2011


#32103: mumble @1.2.2 fails destroot
----------------------------------+-----------------------------------------
  Reporter:  gotyaoi@…            |       Owner:  ryandesign@…           
      Type:  defect               |      Status:  closed                 
  Priority:  Normal               |   Milestone:                         
 Component:  ports                |     Version:  2.0.3                  
Resolution:  fixed                |    Keywords:  haspatch               
      Port:  mumble               |  
----------------------------------+-----------------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Ok, after some testing, I've concluded that all users would have
 experienced destroot failures with this port. Usually the directory
 ${prefix}${applications_dir} would not exist, so users would get this
 destroot error:
 {{{
 Error: Target org.macports.destroot returned: error copying
 "/opt/local/var/macports/build/_path_to_aqua_mumble/mumble/work/mumble-1.2.2/release/Mumble.app"
 to "/opt/local/Applications/MacPorts/Mumble.app": no such file or
 directory
 }}}
 If the user for some reason did have that directory, then they'd instead
 get this destroot error:
 {{{
 Error: No files have been installed in the destroot directory!
 Error: Please make sure that this software supports 'make install
 DESTDIR=${destroot}' or implement an alternative destroot mechanism in the
 Portfile.
 Error: Files might have been installed directly into your system, check
 before proceeding.
 }}}
 And in that case, Mumble would have been successfully installed in
 ${prefix}${applications_dir} but not registered to the port. So the patch
 I attached here is correct for both fixing the destroot and for cleaning
 up the unregistered app if it existed. Committed in r87719.

-- 
Ticket URL: <https://trac.macports.org/ticket/32103#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list