pyroscope-rs icon indicating copy to clipboard operation
pyroscope-rs copied to clipboard

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

Open korniltsev opened this issue 1 year ago • 2 comments

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 avatar Apr 05 '24 12:04 korniltsev

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.

BrianHawley avatar Apr 18 '24 13:04 BrianHawley

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

korniltsev avatar Apr 23 '24 05:04 korniltsev