"gem install mini_racer" Fails on Ubuntu 24.04 #7768
-
Hi There! I'm chasing a Problem that happens with the packaged ruby on Ubuntu 24.04. I'm not sure if it is a packaging bug in Ubuntu or a packaging issue in libv8-node or a Problem in rubygems itself – nevertheless I think it probably affects lots of people (or at least I expect it to). Bear with me to the end of the analysis. ReproducingReproducing is simple and works reliable in x86_64 linux and on aarch64 macos:
The file mentioned in the Makefile is Analysismini_racer depends on libv8-node which in its .gem-File contains the During installation of mini_racer it tries to build the The offending line in the Makefile reads
containing the incorrect To generate the Makefile,
And indeed
The Information in
however on the Version installed via
The change in behavior between Ubuntu 22.04 and 24.04 is therefore also triggered by change in the post-processing done in Looking at the changes tests I guess that this was a deliberate change to remove the "special"-Meaning of "having no suffix at all == gnu" and making it explicit. If this is the case, the root-cause is either a packaging-bug in Ubuntu, which should write an arch-Value I /think/ it is probably the latter because I guess the Ubuntu-Package is build against libc (gnu) while the Best regards, PS. I have searched for information on this issue all day and did not find anything exactly related. Please apologize if I missed the relevant existing discussion because I did not know what to search for. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Just as I finished writing I checked the PR Tab on I still hope that it helps people to find the right solution in the future. |
Beta Was this translation helpful? Give feedback.
Just as I finished writing I checked the PR Tab on
libv8-node
and found rubyjs/libv8-node#36 which handles this exact issue. Therefore I will close this discussion.I still hope that it helps people to find the right solution in the future.