[MacPorts] #10881: BUG: pkg/mpkg/dmg/mdmg/rpm/dpkg commands skip destroot

MacPorts trac at macosforge.org
Fri Feb 22 08:01:54 PST 2008


#10881: BUG: pkg/mpkg/dmg/mdmg/rpm/dpkg commands skip destroot
--------------------------------+-------------------------------------------
  Reporter:  dcurtis at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect             |      Status:  new                                  
  Priority:  Normal             |   Milestone:  MacPorts base bugs                   
 Component:  base               |     Version:                                       
Resolution:                     |    Keywords:  mpkg destroot                        
--------------------------------+-------------------------------------------
Comment (by dbruce at tampabay.rr.com):

 I still can't make a dmg of my port (tuxmath) even with the above work-
 arounds.  Is there currently a functioning way to do this?

 Here's what I did:[[BR]]
 sudo port mdmg tuxmath - ran into the problems above with the missing
 directories for tuxmath itself as well as for many of the dep libs. After
 creating all these dirs manually with mkdir, here's what I get:


 {{{
 janis-lehtinens-imac:~ dbruce$ sudo port clean tuxmath[[BR]]
 --->  Cleaning tuxmath[[BR]]
 janis-lehtinens-imac:~ dbruce$ sudo port -f destroot tuxmath[[BR]]
 --->  Fetching tuxmath[[BR]]
 --->  Verifying checksum(s) for tuxmath[[BR]]
 --->  Extracting tuxmath[[BR]]
 --->  Configuring tuxmath[[BR]]
 --->  Building tuxmath with target all[[BR]]
 --->  Staging tuxmath into destroot[[BR]]
 janis-lehtinens-imac:~ dbruce$ sudo port mdmg tuxmath[[BR]]
 --->  Creating pkg for tuxmath-1.6.1[[BR]]
 --->  Creating pkg for expat-2.0.1[[BR]]
 (... skipping lots of Creating pkg for *...)[[BR]]
 --->  Creating pkg for zlib-1.2.3[[BR]]
 --->  Creating disk image for tuxmath-1.6.1[[BR]]
 Error: Target org.macports.mdmg returned: shell command "ditto -rsrcFork
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_tuxmath/work/tuxmath-1.6.1.mpkg
 '/Volumes/tuxmath-1.6.1 3/tuxmath-1.6.1.mpkg'" returned error 1
 Command output: ditto: /Volumes/tuxmath-1.6.1
 3/tuxmath-1.6.1.mpkg/Contents/Packages/tuxmath-1.6.1.pkg/Contents/Archive.pax.gz:
 No space left on device

 }}}


 (the disk is definitely not full)


 So -[[BR]]
 1. For the packages that fail to create the needed dir, what needs to be
 added to the Portfile?[[BR]]
 2. Is there something beyond "sudo port -f destroot tuxmath; sudo port dmg
 tuxmath" I need to do?[[BR]]


 David Bruce - dbruce at tampabay.rr.com

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/10881#comment:17>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list