[GH-ISSUE #600] 1.82 clock_gettime build failure on macOS 10.12 Sierra #338

Closed
opened 2026-03-04 01:44:31 +03:00 by kerem · 4 comments
Owner

Originally created by @ilovezfs on GitHub (May 14, 2017).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/600

Version 1.82 (and 1.81) fails to build on macOS 10.12 Sierra with the following error:

cache.cpp:62:10: error: no matching function for call to 'clock_gettime'
  return clock_gettime(clk_id, ts);
         ^~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/time.h:177:5: note: candidate function not viable: no known conversion from 'int' to 'clockid_t' for 1st argument
int clock_gettime(clockid_t __clock_id, struct timespec *__tp);
    ^

Full build log is here: https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/1325/version=sierra/testReport/junit/brew-test-bot/sierra/install_s3fs/

Originally created by @ilovezfs on GitHub (May 14, 2017). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/600 Version 1.82 (and 1.81) fails to build on macOS 10.12 Sierra with the following error: ``` cache.cpp:62:10: error: no matching function for call to 'clock_gettime' return clock_gettime(clk_id, ts); ^~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/time.h:177:5: note: candidate function not viable: no known conversion from 'int' to 'clockid_t' for 1st argument int clock_gettime(clockid_t __clock_id, struct timespec *__tp); ^ ``` Full build log is here: https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/1325/version=sierra/testReport/junit/brew-test-bot/sierra/install_s3fs/
kerem closed this issue 2026-03-04 01:44:31 +03:00
Author
Owner

@ggtakec commented on GitHub (May 28, 2017):

@ilovezfs Fixed this problem by #611.
Please try to check this.
And Travis CI setting change is tracked with #601.

<!-- gh-comment-id:304504960 --> @ggtakec commented on GitHub (May 28, 2017): @ilovezfs Fixed this problem by #611. Please try to check this. And Travis CI setting change is tracked with #601.
Author
Owner
<!-- gh-comment-id:304505606 --> @ilovezfs commented on GitHub (May 28, 2017): @ggtakec fix looks good: Before: https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/2078/version=sierra/console After: https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/2079/version=sierra/console
Author
Owner

@ggtakec commented on GitHub (May 28, 2017):

@ilovezfs Thank you for test and reply.
If you have a problem about s3fs, please post new issue.
Regards,

<!-- gh-comment-id:304506355 --> @ggtakec commented on GitHub (May 28, 2017): @ilovezfs Thank you for test and reply. If you have a problem about s3fs, please post new issue. Regards,
Author
Owner

@ilovezfs commented on GitHub (May 28, 2017):

You're welcome!

<!-- gh-comment-id:304506382 --> @ilovezfs commented on GitHub (May 28, 2017): You're welcome!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#338
No description provided.