Baseruby is required after patching configure.in
It sometimes happens, that during packaging Ruby, it is necessary to patch configure.in (we are doing so in Fedora, there are patches in Debian, RVM does so occasionally as well). Unfortunately, since rev 42685, if the configure.in is patched, it has newer timestamp than sizes.c and therefore sizes.c should be regenerated. For that Ruby is required. Unfortunately, miniruby is not build yet at that stage and we don't want to have other Ruby on the system, due to possible bootstrapping issues.
I can workaround it by
touch sizes.c after the patch is applied, but is there change to remove/fix this dependency? Thanks.
#5 [ruby-core:57658] Updated by vo.x (Vit Ondruch) over 3 years ago
nobu (Nobuyoshi Nakada) wrote:
Not only sizes.c, you need BASERUBY to generate some source files after touching template files.
It's your responsibility.
Yes, it may happen that I may need to change some template for whatever reason, but configure.in is probably one of the first files which needs to be changed for whatever reason. For example similar patch like this one  is applied to Fedora's package for ages. Not sure if that makes sense to propose it upstream.