[MacPorts] #20547: pkg/mpkg/dmg fails on Mac OSX 10.5

MacPorts noreply at macports.org
Mon Aug 3 23:16:58 PDT 2009


#20547: pkg/mpkg/dmg fails on Mac OSX 10.5
---------------------------------------------+------------------------------
 Reporter:  tim.rettke@…                     |       Owner:  macports-tickets@…                   
     Type:  defect                           |      Status:  new                                  
 Priority:  Low                              |   Milestone:                                       
Component:  ports                            |     Version:  1.7.1                                
 Keywords:                                   |        Port:                                       
---------------------------------------------+------------------------------
 I downloaded and installed Mac Ports on my Laptop. Then I proceeded to do
 a "/opt/local/bin/port install gtk2" which installed GTK2 and all the
 dependencies just fine. After this I wanted to build an installer so this
 compiled working version of GTK2 could be installed on other PCs.

 However, this is where it failed for me. After issuing either:

 /opt/local/bin/port pkg gtk2 OR /opt/local/bin/port mpkg it fails
 complaining that "destroot" directory does not exist. Example:

 --->  Creating pkg for gtk2-2.16.4
 Error: Target org.macports.pkg returned: shell command
 "PMResourceLocale=English
 /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
 -AppleLanguages "(English)" --root
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/destroot
 --out
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk2-2.16.4.pkg
 --resources
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/pkg_resources
 --title "gtk2-2.16.4" --info
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/Info.plist
 --target 10.3 --domain system --id org.macports.gtk2" returned error 1
 Command output: Warning: Unknown argument: -AppleLanguages
 Warning: Unknown argument: (English)
 ERROR: The specified root is invalid:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/destroot

 Error: Status 1 encountered during processing.

 To fix this I had to manually create the "destroot" directory and then it
 all worked as expected. Am I missing something here?

 Regards,

 Tim.

-- 
Ticket URL: <http://trac.macports.org/ticket/20547>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list