Opened 15 years ago
Closed 15 years ago
#20547 closed defect (duplicate)
pkg/mpkg/dmg fails on Mac OSX 10.5
Reported by: | tim.rettke@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | base | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: |
Description (last modified by tobypeterson)
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.
Change History (3)
comment:1 Changed 15 years ago by tobypeterson
Description: | modified (diff) |
---|
comment:2 Changed 15 years ago by tim.rettke@…
comment:3 Changed 15 years ago by blb@…
Component: | ports → base |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Dup of #10881 (fixed for the next MacPorts release).
Note: See
TracTickets for help on using
tickets.
Actually, if "autocleanup" is set to "no" in macports.conf then this issue does not occur.
User error, but still it is not clear from the error message what is going on.
Tim.