Hi,
Ruby currently fails to build due to removal of GCC from buildroot. The
build failure is due to one test case [1] which fails now and which
should be probably fixed to pass even without GCC.
However, digging into this, I wonder if Ruby should have "BR: gcc" or
"BR: gcc-c++". The thing is, that Ruby is checking presence of C++
compiler during its configuration phase. When I was asking upstream what
is the reason for that [2], the answer was that some extension/gems
might use C++. Generally, for distribution purpose, I think that it does
not really make sense and every extension should be configured
separately, therefore we should have just "BR: gcc", i.e. no C++
compiler available during build. However, I am not really sure if this
is going to break something or not. I have tried to build
rubygem-eventmachine at it seems to build just fine, but what else might
be broken?
Anyway, for now, I'll probably stick with "BR: gcc" and we can change to
"BR: gcc-c++" later, if we discover it causes real troubles.
Vít
[1]
https://bugzilla.redhat.com/show_bug.cgi?id=1606143#c4
[2]
https://bugs.ruby-lang.org/issues/14590