Replies: 1 comment
-
I think this issue was pushed upstream to fsnotify/fsevents#65. I guess we can close it and reopen if needed. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey folks, so I'm facing an issue with few of the testcontainers dependencies,
fsevents
andgo-m1cpu
wherein they are failing to build with errorheader file not found
. Errors attached below:go-m1cpu
is direct testcontainers dependency butfsevents
is used by docker compose API which is being imported in testcontainers-go.Below is my machine info:
I have tried updating/installing XCode and CLTs but still it fails to build.
Possible issue being :
In the newer versions of MacOS the headers files have been moved from
/usr/include
to Xcode bundle under/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk
.So fsevents is failing to build since its possibly trying to find the files in the original location.
This changed has been applied for new Mac and Xcode versions 10 and above.
Check release notes.
I have even tried setting appropriate
CGO_CFLAGS
andCGO_LDFLAGS
before running :but that doesn't seem to resolve the issue as well.
If any of you have come across such related errors, please lemme know!
Beta Was this translation helpful? Give feedback.
All reactions