[DRE-maint] Bug#996114: atig: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: NoMethodError:

Antonio Terceiro terceiro at debian.org
Mon Oct 11 13:34:39 BST 2021


Source: atig
Version: 0.6.1-6
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.0

Hi,

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

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

Relevant part (hopefully):
>      NoMethodError:
>        undefined method `rstrip' for URI:Module
>      # ./lib/atig/ofilter/short_url.rb:34:in `block in short_urls'
>      # ./lib/atig/ofilter/short_url.rb:33:in `gsub'
>      # ./lib/atig/ofilter/short_url.rb:33:in `short_urls'
>      # ./lib/atig/ofilter/short_url.rb:18:in `call'
>      # ./spec/ofilter/short_url_spec.rb:72:in `block (2 levels) in <top (required)>'
> 
> Top 10 slowest examples (5.52 seconds, 81.4% of total time):
>   Atig::Db::Statuses should cleanup
>     4.68 seconds ./spec/db/statuses_spec.rb:174
>   Atig::Db::Statuses should have uniq tid/sid when removed
>     0.10701 seconds ./spec/db/statuses_spec.rb:164
>   Atig::Db::Statuses should remove by id
>     0.09703 seconds ./spec/db/statuses_spec.rb:159
>   Atig::Db::Statuses should have unique tid
>     0.09698 seconds ./spec/db/statuses_spec.rb:73
>   Atig::Db::Statuses should call listeners
>     0.09557 seconds ./spec/db/statuses_spec.rb:41
>   Atig::Db::Statuses should not contain duplicate
>     0.08973 seconds ./spec/db/statuses_spec.rb:56
>   Atig::Db::Statuses should be found by id
>     0.08836 seconds ./spec/db/statuses_spec.rb:64
>   Atig::Db::Statuses should be found by tid
>     0.08785 seconds ./spec/db/statuses_spec.rb:114
>   Atig::Db::Statuses should be found all
>     0.08773 seconds ./spec/db/statuses_spec.rb:83
>   Atig::Db::Statuses should be found by user
>     0.08682 seconds ./spec/db/statuses_spec.rb:118
> 
> Top 10 slowest example groups:
>   Atig::Db::Statuses
>     0.39621 seconds average (5.94 seconds / 15 examples) ./spec/db/statuses_spec.rb:6
>   Atig::Db::Lists
>     0.03312 seconds average (0.33123 seconds / 10 examples) ./spec/db/lists_spec.rb:5
>   Atig::Db::Followings when updated users
>     0.03086 seconds average (0.30862 seconds / 10 examples) ./spec/db/followings_spec.rb:20
>   Atig::Db::Followings when it is empty
>     0.01675 seconds average (0.01675 seconds / 1 example) ./spec/db/followings_spec.rb:5
>   Atig::OFilter::EscapeUrl
>     0.00924 seconds average (0.01848 seconds / 2 examples) ./spec/ofilter/escape_url_spec.rb:9
>   Atig::Command::Favorite
>     0.00507 seconds average (0.02536 seconds / 5 examples) ./spec/command/favorite_spec.rb:5
>   Atig::Command::Autofix
>     0.00423 seconds average (0.00846 seconds / 2 examples) ./spec/command/autofix_spec.rb:5
>   Atig::Command::Destroy when remove recently tweet
>     0.00284 seconds average (0.00851 seconds / 3 examples) ./spec/command/destroy_spec.rb:21
>   Atig::Command::Thread
>     0.00218 seconds average (0.01524 seconds / 7 examples) ./spec/command/thread_spec.rb:5
>   Atig::Command::Status
>     0.00181 seconds average (0.01087 seconds / 6 examples) ./spec/command/status_spec.rb:5
> 
> Finished in 6.78 seconds (files took 0.38496 seconds to load)
> 182 examples, 5 failures
> 
> Failed examples:
> 
> rspec ./spec/ofilter/escape_url_spec.rb:26 # Atig::OFilter::EscapeUrl escape only url
> rspec ./spec/ofilter/short_url_spec.rb:17 # Atig::OFilter::ShortUrl when no-login bitly should shorten url by bitly
> rspec ./spec/ofilter/short_url_spec.rb:35 # Atig::OFilter::ShortUrl when no-login bitly with size should only shorten large url
> rspec ./spec/ofilter/short_url_spec.rb:53 # Atig::OFilter::ShortUrl when login bitly should only shorten large url
> rspec ./spec/ofilter/short_url_spec.rb:71 # Atig::OFilter::ShortUrl when login bitly with size should only shorten large url
> 
> /usr/bin/ruby3.0 -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 failed
> ERROR: Test "ruby3.0" failed: 


The build full is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/atig/atig_0.6.1-6+rebuild1633373168_amd64.build.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20211011/84156ac7/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list