[MacPorts] #52613: Guile-2.0.13 fails to build on Sierra

MacPorts noreply at macports.org
Sun Jan 15 13:19:17 UTC 2017


#52613: Guile-2.0.13 fails to build on Sierra
-------------------------+--------------------------------
  Reporter:  mouse07410  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.4
Resolution:  fixed       |   Keywords:  sierra
      Port:  guile       |
-------------------------+--------------------------------

Comment (by neverpanic):

 In [changeset:"8b7f401ee9079d65b713bff165f89af982cca216/macports-ports"
 8b7f401/macports-ports]:
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="8b7f401ee9079d65b713bff165f89af982cca216"
 guile: Fix build on Sierra

 macOS Sierra introduces a mkostemp(3) function which is used when
 present. Contrary to the GNUlib version of mkostemp(3) that was used
 previously, this version fails with 'invalid argument' when flags other
 than from a specified set are passed. From mktemp(3):

 | The mkostemp() function is like mkstemp() but allows specifying
 | additional open(2) flags (defined in <fcntl.h>). The permitted flags
 | are O_APPEND, O_SHLOCK, O_EXLOCK and O_CLOEXEC.

 Apply a patch that avoids unsupported flags to fix this problem.

 Closes: https://trac.macports.org/ticket/52613
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/52613#comment:41>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list