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
Build fails under alpine Linux (w/musl libc) #90
Comments
Quite a coincidence! I've been working on getting this exact issue resolved in the past couple of days. My temporary work around just for getting a POC up is actually going ahead and implementing the pthread_getname_np method in musl. Building these as separate binaries from source, and pointing the I wonder about the need for this method in the first place... maybe there's an alternative for the commit that introduced its use? |
I think it's only used for monitoring the JVM and therefore isn't needed at all for appmetrics. I can't see how else you could identify a particular thread although maybe the way to do it is to keep a reference to all the threads we create and use that list when stopping them? |
I've run into this problem when trying to use the appmetrics nodejs package in an Alpine Linux docker image. FWIW, it seems like msul is considering supporting
|
OK everyone, been a while coming but I've sorted out our problems with Alpine and you're good to go on this.
Open new issues if you have any :-) |
…musl to not interfer with python
Observed when building appmetrics under alpine 3.10.1: RuntimeTools/appmetrics#454 (comment)
Introduced by commit 7b11cfe, but
pthread_getname_np
is not available in musl libc (only setname)Reproducible by adding this
Dockerfile
and running
docker build .
The text was updated successfully, but these errors were encountered: