[Bug 2098878] [NEW] Deprecated exists? call in ruby >= 3.2.0 causes dependent build failure
Julia Sarris
2098878 at bugs.launchpad.net
Wed Feb 19 16:37:25 UTC 2025
Public bug reported:
[ Impact ]
* Starting in ruby 3.2.0, the exists? method was deprecated in favor
of exist?. As a consequence, the "blade_file_options" method fails.
* The rails package depends on ruby-blade, and is currently FTBFS
because of this issue.
* This occurs in Noble and Oracular because of their ruby versions.
The attached debdiff is for oracular.
[ Test Plan ]
* Install the patched ruby-blade and attempt to use the
blade_file_options method. If the patch was successful the
method not exist error will no longer occur.
[ Where problems could occur ]
* Problems could occur if this patch were to be applied to releases where
the corresponding ruby version is less than 3.2.0.
* Currently, in ruby >= 3.2.0, blade_file_options fails outright.
The risk of regression is low because the method is currently nonfunctional.
[ Other Info ]
* It's a small change, but blade is an important part of rails' build process.
We currently cannot build rails from source in either Noble or Oracular without the
resolution of this issue.
** Affects: ruby-blade (Ubuntu)
Importance: High
Assignee: Ubuntu Sponsors (ubuntu-sponsors)
Status: New
** Tags: regression-update
** Attachment added: "ruby-blade_0.7.1-5ubuntu0.24.10.1.debdiff"
https://bugs.launchpad.net/bugs/2098878/+attachment/5858789/+files/ruby-blade_0.7.1-5ubuntu0.24.10.1.debdiff
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is a bug assignee.
https://bugs.launchpad.net/bugs/2098878
Title:
Deprecated exists? call in ruby >= 3.2.0 causes dependent build
failure
Status in ruby-blade package in Ubuntu:
New
Bug description:
[ Impact ]
* Starting in ruby 3.2.0, the exists? method was deprecated in favor
of exist?. As a consequence, the "blade_file_options" method fails.
* The rails package depends on ruby-blade, and is currently FTBFS
because of this issue.
* This occurs in Noble and Oracular because of their ruby versions.
The attached debdiff is for oracular.
[ Test Plan ]
* Install the patched ruby-blade and attempt to use the
blade_file_options method. If the patch was successful the
method not exist error will no longer occur.
[ Where problems could occur ]
* Problems could occur if this patch were to be applied to releases where
the corresponding ruby version is less than 3.2.0.
* Currently, in ruby >= 3.2.0, blade_file_options fails outright.
The risk of regression is low because the method is currently nonfunctional.
[ Other Info ]
* It's a small change, but blade is an important part of rails' build process.
We currently cannot build rails from source in either Noble or Oracular without the
resolution of this issue.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ruby-blade/+bug/2098878/+subscriptions
More information about the Ubuntu-sponsors
mailing list