[MacPorts] #68179: emacs @29.1_1: Symbol not found: _clock_gettime (was: emacs @29.1_1: does not work on Mac OS El Capitan 10.11.6)

MacPorts noreply at macports.org
Sun May 19 09:49:13 UTC 2024


#68179: emacs @29.1_1: Symbol not found: _clock_gettime
-----------------------+-----------------------
  Reporter:  rudi1602  |      Owner:  drkp
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.1
Resolution:            |   Keywords:  elcapitan
      Port:  emacs     |
-----------------------+-----------------------

Comment (by ryandesign):

 Replying to [comment:3 ryandesign]:
 > If emacs requires `clock_gettime` now, legacysupport provides an
 implementation of it. In fact,
 [changeset:e325f15cc8253b1eacef9bc0a9a5de770e778d6e/macports-ports
 legacysupport was added to this port] over a year ago.

 However this port only uses legacysupport on Darwin 13 (OS X 10.9) and
 earlier, and you're using Darwin 15 (OS X 10.11). Maybe changing the line
 `legacysupport.newest_darwin_requires_legacy 13` to
 `legacysupport.newest_darwin_requires_legacy 15` is the solution.

 Another user has reported the same problem in #70022; maybe we can confirm
 the solution there.


 Replying to [comment:4 rudi1602]:
 > I have XCode 8.2.1 and thought Command Line Tools are available by
 default.

 If you install Xcode, you can also use `clang` and `xcodebuild` and other
 tools from the command line.

 Command Line Tools is the name of a separate package available from Apple
 that installs those command line tools (minus `xcodebuild`) without the
 need to install the full Xcode.

 MacPorts can build most ports with either of these. If both are available,
 MacPorts will use the Command Line Tools, unless the port indicates that
 it requires the full Xcode, in which case it will use the full Xcode and
 cannot be built if only the Command Line Tools are installed.

 > There is only a warning left after successful install. I attached a
 screenshot. Can you say what it means?

 You can learn about that warning at the WimplicitFunctionDeclaration wiki
 page.

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


More information about the macports-tickets mailing list