[DRE-maint] Bug#996527: sup-mail: FTBFS: ERROR: Test "ruby2.7" failed: NameError: uninitialized constant ActiveSupport
Antonio Terceiro
terceiro at debian.org
Fri Oct 15 00:56:08 BST 2021
Source: sup-mail
Version: 1.0-3
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, sup-mail was found to fail to build in that situation.
This seems unrelated to ruby3.0, since the ruby2.7 tests already fail.
Relevant part (hopefully):
> /usr/bin/ruby2.7 /usr/bin/gem2deb-test-runner
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby2.7 from debian/ruby-tests.rb │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> RUBYLIB=/<<PKGBUILDDIR>>/debian/sup-mail/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/sup-mail/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 debian/ruby-tests.rb
> tput: No value for $TERM and no -T specified
> tput: No value for $TERM and no -T specified
> Some YAML tests are skipped on Ruby 2.1.0 and newer.
> Run options: --seed 8439
>
> # Running:
>
> ............[2021-10-05 02:07:09 +0000] WARNING: URI.escape is obsolete
> [2021-10-05 02:07:09 +0000] WARNING: found invalid date in potential mbox split line, not splitting: "From sea to shining sea\n"
> [2021-10-05 02:07:09 +0000] WARNING: found invalid date in potential mbox split line, not splitting: "From bob at bob.com I get only spam.\n"
> ..[2021-10-05 02:07:09 +0000] WARNING: URI.escape is obsolete
> .[2021-10-05 02:07:09 +0000] WARNING: DEPRECATED: Use assert_nil if expecting nil from /<<PKGBUILDDIR>>/test/test_header_parsing.rb:72. This will fail in Minitest 6.
> ....E/usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
> [2021-10-05 02:07:09 +0000] WARNING: No crypto set up, crypto will not be tested. Reason: ["Environment variable 'GPG_AGENT_INFO' not set, is gpg-agent running?", "If gpg-agent is running, try $ export `cat ~/.gpg-agent-info`"]
> ./usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
> [2021-10-05 02:07:09 +0000] WARNING: No crypto set up, crypto will not be tested. Reason: ["Environment variable 'GPG_AGENT_INFO' not set, is gpg-agent running?", "If gpg-agent is running, try $ export `cat ~/.gpg-agent-info`"]
> ./usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
> [2021-10-05 02:07:09 +0000] WARNING: No crypto set up, crypto will not be tested. Reason: ["Environment variable 'GPG_AGENT_INFO' not set, is gpg-agent running?", "If gpg-agent is running, try $ export `cat ~/.gpg-agent-info`"]
> ./usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
> [2021-10-05 02:07:09 +0000] WARNING: No crypto set up, crypto will not be tested. Reason: ["Environment variable 'GPG_AGENT_INFO' not set, is gpg-agent running?", "If gpg-agent is running, try $ export `cat ~/.gpg-agent-info`"]
> ./usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
> [2021-10-05 02:07:09 +0000] WARNING: No crypto set up, crypto will not be tested. Reason: ["Environment variable 'GPG_AGENT_INFO' not set, is gpg-agent running?", "If gpg-agent is running, try $ export `cat ~/.gpg-agent-info`"]
> ./usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
> [2021-10-05 02:07:09 +0000] WARNING: No crypto set up, crypto will not be tested. Reason: ["Environment variable 'GPG_AGENT_INFO' not set, is gpg-agent running?", "If gpg-agent is running, try $ export `cat ~/.gpg-agent-info`"]
> .[2021-10-05 02:07:09 +0000] WARNING: problem reading message sup-faked-df001467cbd7d1c987812838111e7731
> [2021-10-05 02:07:09 +0000] WARNING: Message is in sup-test://test_messages at 0
> ..[2021-10-05 02:07:09 +0000] WARNING: problem reading message sup-faked-b4f27f6a974091c7c1c67484b827eb61
> [2021-10-05 02:07:09 +0000] WARNING: Message is in sup-test://test_messages at 0
> .
>
> Finished in 0.164684s, 176.0946 runs/s, 613.2951 assertions/s.
>
> 1) Error:
> Redwood::TestYamlRegressions#test_yamling_hash:
> NameError: uninitialized constant ActiveSupport
> /usr/lib/ruby/vendor_ruby/rr/integrations/minitest_4.rb:48:in `block (2 levels) in hook'
> /usr/lib/ruby/vendor_ruby/rr/integrations/minitest_4.rb:56:in `block (2 levels) in hook'
> /usr/lib/ruby/vendor_ruby/minitest/test.rb:96:in `block (3 levels) in run'
> /usr/lib/ruby/vendor_ruby/minitest/test.rb:195:in `capture_exceptions'
> /usr/lib/ruby/vendor_ruby/minitest/test.rb:95:in `block (2 levels) in run'
> /usr/lib/ruby/vendor_ruby/minitest.rb:270:in `time_it'
> /usr/lib/ruby/vendor_ruby/minitest/test.rb:94:in `block in run'
> /usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
> /usr/lib/ruby/vendor_ruby/minitest/test.rb:211:in `with_info_handler'
> /usr/lib/ruby/vendor_ruby/minitest/test.rb:93:in `run'
> /usr/lib/ruby/vendor_ruby/minitest.rb:1029:in `run_one_method'
> /usr/lib/ruby/vendor_ruby/minitest.rb:339:in `run_one_method'
> /usr/lib/ruby/vendor_ruby/minitest.rb:326:in `block (2 levels) in run'
> /usr/lib/ruby/vendor_ruby/minitest.rb:325:in `each'
> /usr/lib/ruby/vendor_ruby/minitest.rb:325:in `block in run'
> /usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
> /usr/lib/ruby/vendor_ruby/minitest.rb:352:in `with_info_handler'
> /usr/lib/ruby/vendor_ruby/minitest.rb:324:in `run'
> /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `block in __run'
> /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `map'
> /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `__run'
> /usr/lib/ruby/vendor_ruby/minitest.rb:141:in `run'
> /usr/lib/ruby/vendor_ruby/minitest.rb:68:in `block in autorun'
>
> Error:
> Redwood::TestYamlRegressions#test_yamling_hash:
> NameError: uninitialized constant ActiveSupport
> /usr/lib/ruby/vendor_ruby/rr/integrations/minitest_4.rb:48:in `block (2 levels) in hook'
> /usr/lib/ruby/vendor_ruby/rr/integrations/minitest_4.rb:66:in `block (2 levels) in hook'
> /usr/lib/ruby/vendor_ruby/minitest/test.rb:103:in `block (4 levels) in run'
> /usr/lib/ruby/vendor_ruby/minitest/test.rb:195:in `capture_exceptions'
> /usr/lib/ruby/vendor_ruby/minitest/test.rb:102:in `block (3 levels) in run'
> /usr/lib/ruby/vendor_ruby/minitest/test.rb:101:in `each'
> /usr/lib/ruby/vendor_ruby/minitest/test.rb:101:in `block (2 levels) in run'
> /usr/lib/ruby/vendor_ruby/minitest.rb:270:in `time_it'
> /usr/lib/ruby/vendor_ruby/minitest/test.rb:94:in `block in run'
> /usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
> /usr/lib/ruby/vendor_ruby/minitest/test.rb:211:in `with_info_handler'
> /usr/lib/ruby/vendor_ruby/minitest/test.rb:93:in `run'
> /usr/lib/ruby/vendor_ruby/minitest.rb:1029:in `run_one_method'
> /usr/lib/ruby/vendor_ruby/minitest.rb:339:in `run_one_method'
> /usr/lib/ruby/vendor_ruby/minitest.rb:326:in `block (2 levels) in run'
> /usr/lib/ruby/vendor_ruby/minitest.rb:325:in `each'
> /usr/lib/ruby/vendor_ruby/minitest.rb:325:in `block in run'
> /usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
> /usr/lib/ruby/vendor_ruby/minitest.rb:352:in `with_info_handler'
> /usr/lib/ruby/vendor_ruby/minitest.rb:324:in `run'
> /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `block in __run'
> /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `map'
> /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `__run'
> /usr/lib/ruby/vendor_ruby/minitest.rb:141:in `run'
> /usr/lib/ruby/vendor_ruby/minitest.rb:68:in `block in autorun'
>
> 29 runs, 101 assertions, 0 failures, 1 errors, 0 skips
> ERROR: Test "ruby2.7" failed.
The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/sup-mail/sup-mail_1.0-3+rebuild1633399576_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/20211014/bd82411d/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list