[MacPorts] #54893: python35: fails to build due to "dyld: Symbol not found: _utimensat"

MacPorts noreply at macports.org
Thu Sep 28 18:06:59 UTC 2017


#54893: python35: fails to build due to "dyld: Symbol not found: _utimensat"
-------------------------+----------------------
  Reporter:  lbschenkel  |      Owner:  jmroot
      Type:  defect      |     Status:  reopened
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.4.1
Resolution:              |   Keywords:
      Port:  python35    |
-------------------------+----------------------

Comment (by lbschenkel):

 Hello again, I found a workaround. The idea is not mine, I saw the same
 issue happened with Homebrew and saw how the people over there fixed it.
 They made a global environment override to "help" autotools:
 https://github.com/Homebrew/brew/pull/3182/files

 So I tried including this in the Portfile:
 {{{
 configure.env ac_cv_func_futimens=no ac_cv_func_utimensat=no
 }}}
 and it worked! It's not super elegant, but it does the job.

 Naturally this workaround just needs to be activated on 10.12 or earlier,
 since 10.13 includes the functions.

 I don't know if MacPorts has a mechanism to do this, but maybe this could
 be set by MacPorts globally to avoid having to implement the same
 workaround in all affected ports.

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


More information about the macports-tickets mailing list