Bug #20854
Updated by nobu (Nobuyoshi Nakada) 5 days ago
I noticed in ruby 3.4.0 preview 2 that some bundled gems weren't being installed any more. I'm running in the same environment each time and bundled gems are installed fine with 3.3 or with the mentioned commit reverted. I bisected this from a version that did install the gems to commit:007c75ce4c66243e41144c6977e5ccbf4ab71c93 007c75ce4c66243e41144c6977e5ccbf4ab71c93 . The comment in that commit does indicate that it's mean to skip games if the gems are not found or can't be built but the final message is 'not found in bundled_gems'. I'm unsure if this is this is working as intended. When my build finishes I see the following line in the log: ``` installing bundled gem cache: /home/user/ruby/build/.rubies/bisect/lib/ruby/gems/3.4.0+0/cache skipped bundled gems: bigdecimal-3.1.8.gem not found in bundled_gems debug-1.9.2.gem not found in bundled_gems nkf-0.2.0.gem not found in bundled_gems/rac racc-1.8.1.gem not found in bundled_gems rbs-3.6.1.gem not found in bundled_gems syslog-0.1.2.gem not found in bundled_gems typeprof-0.30.0.gem not found in bundled_gems ``` I see racc in bundled gems and cached in downloads. I don't see any files named gem.build_complete or errors concerning gem building or missing C extensions in my build logs. Is there additional configure flags or dependencies I need to include the bundled gems in the upcoming 3.4.0 ruby release? I followed the instructions at: https://docs.ruby-lang.org/en/master/contributing/building_ruby_md.html to build: ``` git clean -dxf git checkout -f autoreconf -fi mkdir build pushd build ../configure --prefix=(pwd)/.rubies/bisect make -j(nproc) make install popd find build/.rubies/bisect -name 'racc' | grep . ```