[MacPorts] #54875: Building with cmake on Xcode 9: Symbol not found: _utimensat (was: glfw-devel: Symbol not found: _utimensat)

MacPorts noreply at macports.org
Wed Sep 20 20:02:22 UTC 2017


#54875: Building with cmake on Xcode 9: Symbol not found: _utimensat
-------------------------------------------+-----------------------
  Reporter:  mf2k                          |      Owner:  michaelld
      Type:  defect                        |     Status:  new
  Priority:  Normal                        |  Milestone:
 Component:  ports                         |    Version:
Resolution:                                |   Keywords:  sierra
      Port:  cmake cmake-devel libarchive  |
-------------------------------------------+-----------------------
Changes (by raimue):

 * cc: toby@… (added)
 * keywords:   => sierra
 * port:  glfw => cmake cmake-devel libarchive


Comment:

 The issue only occurs if cmake was built with Xcode 9 on macOS 10.12. If
 you get a binary archive from the buildbots, they have been built with
 Xcode 8 and they will not show this problem.

 I doubt cmake 3.9.3 will resolve this, as the merge requests in the
 [https://gitlab.kitware.com/cmake/cmake/issues/17101 cmake upstream
 ticket] have not been merged yet. Also, we are using the external
 libarchive and not the one bundled with cmake. As I understand this bug we
 will need to [https://github.com/libarchive/libarchive/pull/953 patch
 libarchive] to resolve it completely.

 Please mark other reports for the same issue in other ports using cmake as
 duplicate of this one as it has the most informative discussion.

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


More information about the macports-tickets mailing list