Opened 11 months ago
Closed 11 months ago
#68928 closed defect (worksforme)
glib2 @2.78.0: error: implicit declaration of function 'utimensat' is invalid in C99
Reported by: | tufty (Simon Stapleton) | Owned by: | tufty (Simon Stapleton) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | glib2 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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
Attachments (1)
Change History (5)
Changed 11 months ago by tufty (Simon Stapleton)
comment:1 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | set to mascguy |
Status: | new → assigned |
Summary: | glib2 build problem on OSX 10.13 → glib2 @2.78.0: error: implicit declaration of function 'utimensat' is invalid in C99 |
comment:2 Changed 11 months ago by tufty (Simon Stapleton)
I think I'm going to tentatively put this one down to user error. I just updated my system, and now everything works. Looking back through the update list, I see xcode tools 10.1 followed by xcode tools 8.2, which s the el cap version for some reason, and then with the last update, back to 10.1. So my bugged compilation seems to be caused by using teh el cap xcode tools on high sierra, i think, maybe. In any case, "it works now".
Merry Christmas.
comment:3 Changed 11 months ago by tufty (Simon Stapleton)
Owner: | changed from mascguy to tufty |
---|
comment:4 Changed 11 months ago by kencu (Ken)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
great you sorted it out!
build log