Source: ruby-whitewash
Version: 2.1-2
Severity: important
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ruby3.3

Hi,

We are about to enable building against ruby3.3 on unstable. During a test
rebuild, ruby-whitewash was found to fail to build in that situation. This bug
is being reported as important, but will be upgraded to serious soon.

To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
> /<<PKGBUILDDIR>>/lib/whitewash.rb:125:in `<class:Whitewash>': undefined 
> method `untaint' for an instance of String (NoMethodError)
> 
>            File.join(RbConfig::CONFIG['datadir'].untaint, 'ruby-whitewash'),
>                                                 ^^^^^^^^
>       from /<<PKGBUILDDIR>>/lib/whitewash.rb:18:in `<top (required)>'
>       from 
> <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in
>  `require'
>       from 
> <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in
>  `require'
>       from /<<PKGBUILDDIR>>/spec/spec_helper.rb:3:in `<top (required)>'
>       from 
> <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in
>  `require'
>       from 
> <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in
>  `require'
>       from /<<PKGBUILDDIR>>/spec/whitewash_spec.rb:1:in `<top (required)>'
>       from 
> <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in
>  `require'
>       from 
> <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in
>  `require'
>       from debian/ruby-tests.rb:3:in `block in <main>'
>       from debian/ruby-tests.rb:3:in `each'
>       from debian/ruby-tests.rb:3:in `<main>'
> ERROR: Test "ruby3.3" failed: 


The full build log is available at
https://people.debian.org/~terceiro/ruby3.3/ruby-whitewash/ruby-whitewash_2.1-2+rebuild1733833446_amd64.build

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to