[DRE-maint] Bug#1106396: syncache: does not work for Trixie with Ruby 3.3
William Desportes
williamdes at wdes.fr
Sat May 24 10:39:06 BST 2025
Package: syncache
Version: 1.4-1
Severity: grave
Tags: sid, trixie, patch
Found: 1.4-1.1
Found: 1.4-1.2
Ruby 3.2 removed taint and untaint methods:
https://bugs.ruby-lang.org/issues/16131#note-3
I installed syncache today, and it outputs this right after the package
install:
syncache-drb[43005]: /usr/bin/syncache-drb:114:in `block in
set_options': undefined method `untaint' for an instance of String
(NoMethodError)
syncache-drb[43005]: @pidfile = arg.dup.untaint
syncache-drb[43005]: ^^^^^^^^
syncache-drb[43005]: from
/usr/lib/ruby/3.3.0/getoptlong.rb:863:in `block in each'
syncache-drb[43005]: from <internal:kernel>:187:in `loop'
syncache-drb[43005]: from
/usr/lib/ruby/3.3.0/getoptlong.rb:860:in `each'
syncache-drb[43005]: from /usr/bin/syncache-drb:97:in
`set_options'
syncache-drb[43005]: from /usr/bin/syncache-drb:200:in `run'
syncache-drb[43005]: from /usr/bin/syncache-drb:218:in `<main>'
systemd[1]: syncache.service: Control process exited, code=exited,
status=1/FAILURE
Removing ".untaint" from the file makes the service work.
--
William Desportes
More information about the Pkg-ruby-extras-maintainers
mailing list