Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#12448 closed defect (duplicate)

CocoaDialog doesn't currently install correctly

Reported by: rjkroege@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: base Version: 1.5.1
Keywords: Cc: rjkroege@…, ryandesign (Ryan Carsten Schmidt)
Port:

Description

The current Portfile for CocoaDialog doesn't install successfully with 1.510.

This seems to be a problem with the mtree violation check as an inspection of the patch will show that it corrects the installation failure by asserting that destroot violates the mtree. Perhaps there is a better fix -- maybe the mtree test should be more flexible about the installation locations of cocoa/carbon apps?

Since I submit patches for CocoaDialog from time to time, here is a context diff which fixes the installation.

*** Portfile.orig       Sat Aug 11 09:38:17 2007
--- Portfile    Sat Aug 11 11:31:10 2007
***************
*** 27,34 ****
  build.args     -configuration Deployment build
  build.target   -target $name
  
  destroot      {
        xinstall -m 755 -d ${destroot}/Applications/MacPorts/
!       file copy ${worksrcpath}/build/Deployment/CocoaDialog.app \
                ${destroot}/Applications/MacPorts/
  }
--- 27,36 ----
  build.args     -configuration Deployment build
  build.target   -target $name
  
+ destroot.violate_mtree yes
+ 
  destroot      {
        xinstall -m 755 -d ${destroot}/Applications/MacPorts/
!       copy ${worksrcpath}/build/Deployment/CocoaDialog.app \
                ${destroot}/Applications/MacPorts/
  }

Change History (4)

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: rjkroege@… ryandesign@… added
Component: portsbase
Milestone: MacPorts base bugs
Owner: changed from macports-dev@… to ryandesign@…

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

The mtree check in MacPorts 1.5.1 was broken. 1.5.2 fixes it. Please upgrade ("sudo port selfupdate"). No changes to portfiles are necessary. Probably a duplicate of #12434.

comment:3 Changed 16 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.