Source: ruby-listen
Version: 3.2.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-r...@lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-listen was found to fail to build in that situation.

This does not seem related to ruby3.0, though.

Relevant part (hopefully):
>      Failure/Error:
>        expect(wrapper.listen do
>          mv 'dir1/file1.rb', 'dir2/file1.rb'
>          mv 'dir2/file2.rb', 'dir1/file2.rb'
>        end).to eq expected
> 
>        expected: {:added=>["dir1/file2.rb", "dir2/file1.rb"], :modified=>[], 
> :removed=>["dir1/file1.rb", "dir2/file2.rb"]}
>             got: {:added=>[], :modified=>[], :removed=>[]}
> 
>        (compared using ==)
> 
>        Diff:
> 
>        @@ -1,4 +1,4 @@
>        -:added => ["dir1/file2.rb", "dir2/file1.rb"],
>        +:added => [],
>         :modified => [],
>        -:removed => ["dir1/file1.rb", "dir2/file2.rb"],
>        +:removed => [],
>      # ./spec/acceptance/listen_spec.rb:181:in `block (7 levels) in <top 
> (required)>'
>      # ./spec/acceptance/listen_spec.rb:171:in `block (7 levels) in <top 
> (required)>'
>      # ./spec/acceptance/listen_spec.rb:17:in `block (4 levels) in <top 
> (required)>'
>      # ./spec/support/fixtures_helper.rb:20:in `fixtures'
>      # ./spec/acceptance/listen_spec.rb:17:in `block (3 levels) in <top 
> (required)>'
> 
> Finished in 2 minutes 15.6 seconds (files took 0.57718 seconds to load)
> 318 examples, 1 failure, 1 pending
> 
> Failed examples:
> 
> rspec './spec/acceptance/listen_spec.rb[1:1:3:2:6:1]' # Listen with one 
> listen dir force_polling option to true with default ignore options two dirs 
> with files in listen dir listens to multiple file moves
> 
> Randomized with seed 30022
> 
> /usr/bin/ruby2.7 
> -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib
>  /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec 
> --pattern ./spec/\*\*/\*_spec.rb  --exclude-pattern 
> ./spec/lib/listen/adapter/\{darwin,windows\}_spec.rb --format documentation 
> failed
> ERROR: Test "ruby2.7" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-listen/ruby-listen_3.2.1-1+rebuild1633385884_amd64.build.txt

Attachment: signature.asc
Description: PGP signature

Reply via email to