Opened 16 years ago

Closed 16 years ago

Last modified 14 years ago

#14739 closed defect (duplicate)

Port MPKG Creation error

Reported by: jpollock1@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.6.0
Keywords: mpkg package Cc:
Port:

Description (last modified by jmroot (Joshua Root))

Attempting to use sudo port mpkg nmap to create an install metapackage for nmap. Receive an error about English language. Error:

sudo port mpkg nmap
--->  Creating pkg for nmap-4.50
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_net_nmap/work/destroot --out /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nmap/work/nmap-4.50.pkg  --resources /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nmap/work/pkg_resources --title "nmap-4.50" --info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nmap/work/Info.plist --target 10.3 --domain system --id org.macports.nmap" returned error 1
Command output: Warning: Unknown argument: -AppleLanguages
Warning: Unknown argument: (English)

Where are these arguments stored? Any ideas?

System is MacBook Pro 1.8Ghtz Mac OS X 10.5.2

Change History (4)

comment:1 in reply to:  description Changed 16 years ago by jpollock1@…

Replying to jpollock1@mac.com:

Attempting to use sudo port mpkg nmap to create an install metapackage for nmap. Receive an error about English language. Error: sudo port mpkg nmap ---> Creating pkg for nmap-4.50 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_net_nmap/work/destroot --out /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nmap/work/nmap-4.50.pkg --resources /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nmap/work/pkg_resources --title "nmap-4.50" --info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nmap/work/Info.plist --target 10.3 --domain system --id org.macports.nmap" returned error 1 Command output: Warning: Unknown argument: -AppleLanguages Warning: Unknown argument: (English)

Where are these arguments stored? Any ideas?

System is MacBook Pro 1.8Ghtz Mac OS X 10.5.2

Have figured out the issue, though error doesn't match the resolution. I removed all ports and reinstalled them using the -k option (to not clean the port after install) and now mpkg works fine. Interesting since the error is from packagemaker about the language.

Seem to be solved.

Jason Pollock JPollock1@…

comment:2 Changed 16 years ago by afb@…

Resolution: duplicate
Status: newclosed

Duplicate, #10881

The warnings about "-AppleLanguages English" is unfortunate, but are a workaround to bugs in PackageMaker.app on Leopard where it otherwise creates packages in the current language only.

comment:3 Changed 15 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

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

Component: portsbase
Description: modified (diff)
Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.