Skip to content

compile error 'CLOCK_BOOTTIME' undeclared when building in conda-forge #8422

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

Closed
notestaff opened this issue Oct 25, 2023 · 0 comments · Fixed by #8427
Closed

compile error 'CLOCK_BOOTTIME' undeclared when building in conda-forge #8422

notestaff opened this issue Oct 25, 2023 · 0 comments · Fixed by #8427
Assignees
Labels
component-platform Portability layer and build scripts priority-medium Medium priority - this can be reviewed as time permits size-s Estimated task size: small (~2d)

Comments

@notestaff
Copy link

Summary

Trying to build the current mbedtls for conda-forge, I get the following compile error:

( see https://dev.azure.com/conda-forge/84710dde-1620-425b-80d0-4cf5baca359d/_apis/build/builds/811489/logs/12 for full log)

work/library/platform_util.c:269:25: error: 'CLOCK_BOOTTIME' undeclared (first use in this function); did you mean 'CLOCK_REALTIME'?
2023-10-25T19:27:33.7496057Z 269 | ret = clock_gettime(CLOCK_BOOTTIME, &tv);
2023-10-25T19:27:33.7496705Z | ^~~~~~~~~~~~~~
2023-10-25T19:27:33.7497217Z | CLOCK_REALTIME

System information

Mbed TLS version (number or commit id):
Operating system and version:
Configuration (if not default, please attach mbedtls_config.h):
Compiler and options (if you used a pre-built binary, please indicate how you obtained it):
Additional environment information:

Expected behavior

Actual behavior

Steps to reproduce

Additional information

@tom-cosgrove-arm tom-cosgrove-arm changed the title compile error 'CLOCK_BOOTTIME' undeclared compile error 'CLOCK_BOOTTIME' undeclared when building in conda-forge Oct 26, 2023
@tom-cosgrove-arm tom-cosgrove-arm self-assigned this Oct 26, 2023
@tom-cosgrove-arm tom-cosgrove-arm added component-platform Portability layer and build scripts size-s Estimated task size: small (~2d) priority-medium Medium priority - this can be reviewed as time permits labels Oct 26, 2023
tom-cosgrove-arm added a commit to tom-cosgrove-arm/mbedtls that referenced this issue Oct 26, 2023
tom-cosgrove-arm added a commit to tom-cosgrove-arm/mbedtls that referenced this issue Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-platform Portability layer and build scripts priority-medium Medium priority - this can be reviewed as time permits size-s Estimated task size: small (~2d)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants