[MacPorts] #53398: ghostscript 9.19 build fails

MacPorts noreply at macports.org
Thu Jan 26 22:25:14 UTC 2017


#53398: ghostscript 9.19 build fails
--------------------------------------+-------------------------
 Reporter:  bruce-r-sutherland        |      Owner:
     Type:  defect                    |     Status:  new
 Priority:  Normal                    |  Milestone:
Component:  ports                     |    Version:  2.3.5
 Keywords:  command execution failed  |       Port:  ghostscript
--------------------------------------+-------------------------
 ghostscript 9.19 fails to build for me with MacPorts 2.3.5 on MacOS Sierra
 desktop computer.   I have uninstalled and reinstalled, clean all ports,
 etc but the problem persists. From the main.log file, the problem is a
 percieved error with line 423 in /usr/include/pthread.h.

 Key lines in main.log are:


 {{{
 :info:build In file included from ./base/gp_psync.c:21:
 :info:build /usr/include/pthread.h:423:25: error: expected parameter
 declarator
 :info:build __SWIFT_UNAVAILABLE_MSG("Use lazily initialized globals
 instead")
 :info:build                         ^
 :info:build /usr/include/pthread.h:423:25: error: expected ')'
 :info:build /usr/include/pthread.h:423:24: note: to match this '('
 :info:build __SWIFT_UNAVAILABLE_MSG("Use lazily initialized globals
 instead")
 :info:build                        ^
 :info:build /usr/include/pthread.h:424:51: error: expected ';' after top
 level declarator
 :info:build __OSX_AVAILABLE_STARTING(__MAC_10_4, __IPHONE_2_0)
 }}}



 Strangely, I do not have a problem compiling the save version of
 ghostscript on my laptop even though the pthread.h file is identical.

 Help would be appreciated.   Full main.log file is attached

--
Ticket URL: <https://trac.macports.org/ticket/53398>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list