mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
v1.1.0rc does not build on macOS 10.12.6 #476
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @debohman on GitHub (Aug 23, 2023).
It seems to come from here in
c/tools/brotli.c:The logic does not allow for no
utimensat()except on_WIN32.@debohman commented on GitHub (Aug 23, 2023):
Seems that the existence of
utimensat()should be conditioned on_ATFILE_SOURCE.@debohman commented on GitHub (Aug 23, 2023):
Something like this:
@eustas commented on GitHub (Aug 23, 2023):
Hmmm, interesting. CI is happy: https://github.com/google/brotli/actions/runs/5927009396/job/16069573052#step:4:134
@eustas commented on GitHub (Aug 23, 2023):
Thanks for your investigation. Unfortunately, "_ATFILE_SOURCE" seems to be specific to glibc. Investigating further.
@eustas commented on GitHub (Aug 23, 2023):
Hi, could you check that https://github.com/google/brotli/pull/1067 works for you?
@debohman commented on GitHub (Aug 23, 2023):
Yes, you are right about
_ATFILE_SOURCE.Unfortunately, #1067 does not work. The basis of this problem is that
utimensat()does not exist, so we need to test for that. Perhaps a config file can be generated by cmake?@eustas commented on GitHub (Aug 24, 2023):
How about new revision? It is closer to your proposal.
@debohman commented on GitHub (Aug 24, 2023):
Yes, that works fine for me.