[MacPorts] #68928: glib2 @2.78.0: error: implicit declaration of function 'utimensat' is invalid in C99 (was: glib2 build problem on OSX 10.13)

MacPorts noreply at macports.org
Sun Dec 17 13:40:51 UTC 2023


#68928: glib2 @2.78.0: error: implicit declaration of function 'utimensat' is
invalid in C99
---------------------+----------------------
  Reporter:  tufty   |      Owner:  mascguy
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.8.1
Resolution:          |   Keywords:
      Port:  glib2   |
---------------------+----------------------
Changes (by ryandesign):

 * owner:  (none) => mascguy
 * status:  new => assigned


Old description:

> Trying to install glib2 as a dependency, I get a build error, log
> attached.  -Werror=implicit-function-declaration is kicking up on
> function utimensat(), as far as I can tell this should be getting picked
> up from <sys/stat.h> but fr some reason it isn't.
>
> command line :
>
> sudo port install glib2 +quartz -x11

New description:

 Trying to install glib2 as a dependency, I get a build error, log
 attached.  -Werror=implicit-function-declaration is kicking up on function
 utimensat(), as far as I can tell this should be getting picked up from
 <sys/stat.h> but fr some reason it isn't.

 command line :

 {{{
 sudo port install glib2 +quartz -x11
 }}}

--

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


More information about the macports-tickets mailing list