Opened 15 years ago
Last modified 15 years ago
#20547 closed defect
pkg/mpkg/dmg fails on Mac OSX 10.5 — at Initial Version
Reported by: | tim.rettke@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | base | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: |
Description
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.