I am clueless as to what's causing this?
Please note that I tried to build it in a clean environment. But couldn't get these tests to pass, neither in ruby2.7.2 or ruby3.0~preview1.
Hi, cloud you tell us what environment (OS, distribution, version, CPU, terminal, etc.) you are using? Thanks
Right, sorry for not mentioning this earlier.
I am running Debian Sid. Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz with 16 gigs of RAM (in case that's of any help).
I co-maintain Ruby in Debian and I wanted to upload v2.7.2 but stumbled upon these failures. However, 2.7.1 just builds fine!
Interestingly, I get the same error with 3.0.0~preview1 as well.
Thanks. I tested make && make check on Debian sid x86_64 on Docker on WSL2, but couldn't reproduce the issue. I'm not familiar with the deb packaging process, so can you explain how to reproduce the issue?
Note that the build directory is added to PATH during the test. So, the problem occurs typically (1) when there is no system ruby (such as /usr/bin/ruby), and (2) when the executable being built is renamed, for example, by ./configure --program-suffix=something.
Sorry for the inconvenience. This is a bug of the tests. I'm assigning @aycabta (aycabta .).