[MacPorts] #51142: port install ghostscript fails on 10.11.4
#51142: port install ghostscript fails on 10.11.4 ---------------------------+-------------------------------- Reporter: steve.sisak@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: ElCapitan | Port: ghostscript ---------------------------+-------------------------------- I just attempted a clean install of MacPorts (never installed) then ImageMagick -- Xcode 7.3 release Install failed with ghostscript, did a clean and reinstall of ghostscript alone Install failed with: MBP-R:~ sgs$ sudo port install ghostscript ---> Computing dependencies for ghostscript ---> Building ghostscript Error: org.macports.build for port ghostscript returned: command execution failed Please see the log file for port ghostscript for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port ghostscript failed -- Ticket URL: <https://trac.macports.org/ticket/51142> MacPorts <https://www.macports.org/> Ports system for OS X
#51142: port install ghostscript fails on 10.11.4 ----------------------------+-------------------------------- Reporter: steve.sisak@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: ElCapitan Port: ghostscript | ----------------------------+-------------------------------- Comment (by steve.sisak@…): Scouring the log a bit more, I think I found the cause and a workaround. If you look near the end of the log, you'd see it dies trying ti access /Application/Xcode As a developer, I have multiple version of Xcode installed and the active version was renamed "Xcode 7.3" I tried making an alias named Xcode and then "Xcode"pointing to the original install, which failed with a permissions error. I finally renamed "Xcode 7.3.app" back to "Xcode.app" and ghostscript built as did the rest of ImageMagick. I haven't dug into the port, but I'm guessing there's either a hard-coded path to Xcode (rather than using the tools) or a quoting error because of the space in the name. Hopefully this is enough to reproduce the problem. HTH, -Steve -- Ticket URL: <https://trac.macports.org/ticket/51142#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51142: ghostscript: build fails when Xcode.app is renamed so that it contains a space ----------------------------+-------------------------------- Reporter: steve.sisak@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: ghostscript | ----------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * keywords: ElCapitan => * resolution: => invalid Old description:
I just attempted a clean install of MacPorts (never installed) then ImageMagick -- Xcode 7.3 release
Install failed with ghostscript, did a clean and reinstall of ghostscript alone
Install failed with:
MBP-R:~ sgs$ sudo port install ghostscript ---> Computing dependencies for ghostscript ---> Building ghostscript Error: org.macports.build for port ghostscript returned: command execution failed Please see the log file for port ghostscript for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port ghostscript failed
New description: I just attempted a clean install of MacPorts (never installed) then ImageMagick -- Xcode 7.3 release Install failed with ghostscript, did a clean and reinstall of ghostscript alone Install failed with: {{{ MBP-R:~ sgs$ sudo port install ghostscript ---> Computing dependencies for ghostscript ---> Building ghostscript Error: org.macports.build for port ghostscript returned: command execution failed Please see the log file for port ghostscript for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port ghostscript failed }}} -- Comment: This problem occurred because you renamed Xcode containing a space. Don't do that. Spaces in paths cause problems for lots of UNIX software. -- Ticket URL: <https://trac.macports.org/ticket/51142#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts