Description of problem: Package sdformat fails to build from source in Fedora Rawhide. Version-Release number of selected component (if applicable): 6.0.0-12.fc37 Steps to Reproduce: koji build --scratch f38 sdformat-6.0.0-12.fc37.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/sdformat cd /builddir/build/BUILD/sdformat-6.0.0/redhat-linux-build/sdf/1.5 && /usr/bin/ruby /builddir/build/BUILD/sdformat-6.0.0/tools/xmlschema.rb -s /builddir/build/BUILD/sdformat-6.0.0/sdf/1.5 -i /builddir/build/BUILD/sdformat-6.0.0/sdf/1.5/audio_sink.sdf -o /builddir/build/BUILD/sdformat-6.0.0/redhat-linux-build/sdf/1.5 /builddir/build/BUILD/sdformat-6.0.0/tools/xmlschema.rb:268:in `<main>': undefined method `exists?' for File:Class (NoMethodError) elsif !File.exists?(infile) ^^^^^^^^ Did you mean? exist? gmake[2]: *** [sdf/1.5/CMakeFiles/schema1_5.dir/build.make:129: sdf/1.5/actor.xsd] Error 1 The File.exists? method is removed in Ruby 3.2 (https://docs.ruby-lang.org/en/3.2/NEWS_md.html#label-Removed+methods, https://bugs.ruby-lang.org/issues/17391). Please see upstream PR https://github.com/gazebosim/sdformat/pull/1216.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle. Changing version to 38.
FEDORA-2023-7a5ead94a2 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-7a5ead94a2
FEDORA-2023-7a5ead94a2 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.