You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should actually be x86_64-linux-gnu, not x86_64-linux. As a result, the build ends in failure:
Don't know how to build task 'native:x86_64-linux' (See the list of available tasks with `rake --tasks`)
Did you mean? native:x86_64-linux-gnu
/tmp/rb-sys-dock/bundle/ruby/3.4.0/gems/rake-13.2.1/exe/rake:27:in '<top (required)>'
/usr/local/rbenv/versions/3.4.1/bin/bundle:25:in 'Kernel#load'
/usr/local/rbenv/versions/3.4.1/bin/bundle:25:in '<main>'
This distinction is important because gems compiled with x86_64-linux can work both on GNU and musl systems, but x86_64-linux-gnu is intended for GNU systems.
This probably can be solved by:
Changing RUBY_TARGET from an ENV to an ARG.
Having rb-sys-dock pass in -e RUBY_TARGET.
The text was updated successfully, but these errors were encountered:
rake-compiler-dock images now make a distinction between GNU and
musl builds. Add a `-gnu` extension to `RUBY_TARGET` to make
it possible to run:
```
rb-sys-dock --platform x86_64-linux-gnu --directory . --build
```
Closesoxidize-rb#510
In this CI job, the
oxidize-rb/actions/cross-gem@v1
action runs:This now correctly pulls down the image
rbsys/x86_64-linux-gnu:0.9.109
, which is an alias forrbsys/x86_64-linux:0.9.109
.However, the
RUBY_TARGET
is set here:rb-sys/docker/Dockerfile.x86_64-linux
Line 4 in c167547
This should actually be
x86_64-linux-gnu
, notx86_64-linux
. As a result, the build ends in failure:This distinction is important because gems compiled with
x86_64-linux
can work both on GNU and musl systems, butx86_64-linux-gnu
is intended for GNU systems.This probably can be solved by:
RUBY_TARGET
from anENV
to anARG
.rb-sys-dock
pass in-e RUBY_TARGET
.The text was updated successfully, but these errors were encountered: