[MacPorts] #39405: Space character in packagemaker_path attribute in macports.conf breaks mpkg and mdmg
#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
#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: base | Version: 2.1.3 Resolution: | Keywords: PackageMaker space Port: | ----------------------------+-------------------------------- Changes (by jmr@…): * component: ports => base -- Ticket URL: <https://trac.macports.org/ticket/39405#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#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: base | Version: 2.1.3 Resolution: | Keywords: Port: | ----------------------------+-------------------------------- Changes (by macsforever2000@…): * keywords: PackageMaker space => -- Ticket URL: <https://trac.macports.org/ticket/39405#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#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: base | Version: 2.1.3 Resolution: | Keywords: Port: | ----------------------------+-------------------------------- Comment (by ryandesign@…): I'm not surprised; spaces in paths are not a good idea for the command line world and much software does not support it. -- Ticket URL: <https://trac.macports.org/ticket/39405#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts