Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building on macOS 10.11 and older fails due to missing clock_gettime #267

Closed
trodemaster opened this issue Jan 23, 2021 · 1 comment
Closed
Labels
bug report Something isn't working

Comments

@trodemaster
Copy link

We recently added libfido2 to macports (https://ports.macports.org/port/libfido2/summary) and discovered that it fails to build on with macOS 10.11 and older. It appears other build targets like OpenBSD have worked around this issue and ideally older macOS versions should be supported as well.

What version of libfido2 are you using?
1.6.0

What operating system are you running?
macOS 10.11

What application are you using in conjunction with libfido2?
OpenSSH 8.4p1

How does the problem manifest itself?
When building on the target systems.

#error "please provide an implementation of clock_gettime() for your platform"
 ^
1 error generated.

Is the problem reproducible?
Yes

What are the steps that lead to the problem?
Building via the stated process

Does the problem happen with different authenticators?
N/A

@trodemaster trodemaster added the bug report Something isn't working label Jan 23, 2021
@martelletto
Copy link
Contributor

1.6.0 won't work on POSIX-like systems that lack clock_gettime(). The good news is that 1.5.0 should work, and future releases of libfido2 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something isn't working
Development

No branches or pull requests

2 participants