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
I don't quite understand how rubygems works in regards to resolving this, but it looks like it's falling back to libv8-node-22.7.0.3-aarch64-linux and then failing (on aarch64 alpine, rubygems 3.5.18, Ruby 3.3.5):
$ gem install mini_racer --version 0.17.0.pre
Fetching mini_racer-0.17.0.pre.gem
Fetching libv8-node-22.7.0.3-aarch64-linux.gem
Successfully installed libv8-node-22.7.0.3-aarch64-linux
Building native extensions. This could take a while...
ERROR: Error installing mini_racer:
ERROR: Failed to build gem native extension.
current directory: /usr/local/bundle/gems/mini_racer-0.17.0.pre/ext/mini_racer_extension
/usr/local/bin/ruby extconf.rb
checking for -lpthread... yes
checking for whether -Wl,--exclude-libs=ALL is accepted as LDFLAGS... no
creating Makefile
current directory: /usr/local/bundle/gems/mini_racer-0.17.0.pre/ext/mini_racer_extension
make DESTDIR\= sitearchdir\=./.gem.20240909-122-f6akgp sitelibdir\=./.gem.20240909-122-f6akgp clean
current directory: /usr/local/bundle/gems/mini_racer-0.17.0.pre/ext/mini_racer_extension
make DESTDIR\= sitearchdir\=./.gem.20240909-122-f6akgp sitelibdir\=./.gem.20240909-122-f6akgp
compiling mini_racer_extension.cc
mini_racer_extension.cc: In function 'VALUE rb_heap_snapshot(VALUE, VALUE)':
mini_racer_extension.cc:1659:35: warning: 'rb_io::fd' is deprecated: rb_io_descriptor [-Wdeprecated-declarations]
1659 | FileOutputStream stream(fptr->fd);
| ^~
In file included from mini_racer_extension.cc:4:
/usr/local/include/ruby-3.3.0/ruby/io.h:154:9: note: declared here
154 | int fd;
| ^~
mini_racer_extension.cc:1659:35: warning: 'rb_io::fd' is deprecated: rb_io_descriptor [-Wdeprecated-declarations]
1659 | FileOutputStream stream(fptr->fd);
| ^~
/usr/local/include/ruby-3.3.0/ruby/io.h:154:9: note: declared here
154 | int fd;
| ^~
mini_racer_extension.cc:1659:35: warning: 'rb_io::fd' is deprecated: rb_io_descriptor [-Wdeprecated-declarations]
1659 | FileOutputStream stream(fptr->fd);
| ^~
/usr/local/include/ruby-3.3.0/ruby/io.h:154:9: note: declared here
154 | int fd;
| ^~
linking shared-object mini_racer_extension.so
/usr/lib/gcc/aarch64-alpine-linux-musl/13.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: cannot find /usr/local/bundle/gems/libv8-node-22.7.0.3-aarch64-linux/vendor/v8/aarch64-linux-musl/libv8/obj/libv8_monolith.a: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:265: mini_racer_extension.so] Error 1
make failed, exit code 2
Gem files will remain installed in /usr/local/bundle/gems/mini_racer-0.17.0.pre for inspection.
Results logged to /usr/local/bundle/extensions/aarch64-linux-musl/3.3.0/mini_racer-0.17.0.pre/gem_make.out
The text was updated successfully, but these errors were encountered:
Probably already known, just wanted to make sure it's tracked…
I was looking at why builds broke for mini_racer for aarch64-arm musl, e.g. https://github.com/rubyjs/mini_racer/actions/runs/10763648835. Looks like no
aarch64-linux-musl
packages got pushed to rubygems (>= 22.5.1.0): https://rubygems.org/gems/libv8-node/versionsI don't quite understand how rubygems works in regards to resolving this, but it looks like it's falling back to
libv8-node-22.7.0.3-aarch64-linux
and then failing (on aarch64 alpine, rubygems 3.5.18, Ruby 3.3.5):The text was updated successfully, but these errors were encountered: