[MacPorts] #57263: clang-6.0: error: 'utimensat' is only available on macOS 10.13 or newer (was: clang-6.0 does not build on Mojave)

MacPorts noreply at macports.org
Sat Oct 6 14:52:42 UTC 2018


#57263: clang-6.0: error: 'utimensat' is only available on macOS 10.13 or newer
------------------------+----------------------
  Reporter:  eesatfan   |      Owner:  jeremyhu
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.5.4
Resolution:             |   Keywords:
      Port:  clang-6.0  |
------------------------+----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * cc: larryv (added)
 * owner:  (none) => jeremyhu
 * port:  clang-6.0 dependency of qt5 => clang-6.0


Old description:

> Error: Failed to build clang-6.0: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-6.0/clang-6.0/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port qt5 failed

New description:

 {{{
 Error: Failed to build clang-6.0: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-6.0/clang-6.0/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port qt5 failed
 }}}

--

Comment:

 It built fine on our Mojave build server.

 The problem on your system seems to be:

 {{{
 error: 'utimensat' is only available on macOS 10.13 or newer
 }}}

 and you have configured your MacPorts to use the 10.11 deployment target.
 Did you do that deliberately? If not, remove the line
 `macosx_deployment_target 10.11` from your macports.conf file.

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


More information about the macports-tickets mailing list