[MacPorts] #39405: Space character in packagemaker_path attribute in macports.conf breaks mpkg and mdmg
MacPorts
noreply at macports.org
Mon Jun 10 07:27:08 PDT 2013
#39405: Space character in packagemaker_path attribute in macports.conf breaks mpkg
and mdmg
--------------------------------+--------------------------------
Reporter: jaakko.pero@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Keywords: PackageMaker space | Port:
--------------------------------+--------------------------------
For example, if there's a line like this:
{{{
packagemaker_path /opt/Auxiliary\ Tools/PackageMaker.app
}}}
in macports.conf, then for example the execution of port -d mpkg zlib
simply stops after these lines:
{{{
---> Creating pkg for zlib-1.2.8
DEBUG: Can't run pkg on this port without elevated privileges. Escalating
privileges back to root.
DEBUG: euid changed to: 0. egid changed to: 0.
}}}
WORKAROUND:
If the directory is renamed and the line on macports.conf is changed to:
{{{
packagemaker_path /opt/AuxiliaryTools/PackageMaker.app
}}}
Then the execution of continues as expected:
{{{
---> Creating pkg for zlib-1.2.8
DEBUG: Can't run pkg on this port without elevated privileges. Escalating
privileges back to root.
DEBUG: euid changed to: 0. egid changed to: 0.
DEBUG: Calling
/opt/AuxiliaryTools/PackageMaker.app/Contents/MacOS/PackageMaker for zlib
pkg
...
}}}
--
Ticket URL: <https://trac.macports.org/ticket/39405>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list