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

ruby gem ffi dependency has no prebuilt binary and compiles at installation time #158

Open
korniltsev opened this issue Apr 5, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@korniltsev
Copy link
Collaborator

which can fail if there are not compiler or ruby headers

steps to reproduce:

  1. get a fresh ubuntu 22.04
  2. install ruby
  3. gem install pyroscope --verbose
@korniltsev korniltsev added the bug Something isn't working label Apr 5, 2024
@BrianHawley
Copy link

For this kind of issue, you need to say which hardware platform and ruby version you are using.

https://rubygems.org/gems/pyroscope shows gems with precompiled binaries for x86_64-linux and aarch64-linux. Ubuntu 22.04 is glibc-based, IIRC, so if you have one of those hardware platforms then it should work. If it doesn't work, then we need enough information to replicate the issue.

@korniltsev
Copy link
Collaborator Author

https://rubygems.org/gems/pyroscope shows gems with precompiled binaries for x86_64-linux and aarch64-linux. Ubuntu 22.04 is glibc-based, IIRC, so if you have one of those hardware platforms then it should work. If it doesn't work, then we need enough information to replicate the issue.

it is x86_64-linux glibc

The issue is not with the pyroscope depdendency - this one is pulled as a correct arch specific binary.
The issue is with the ffi dependency of pyroscope which is not downloaded as a binary

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

No branches or pull requests

2 participants