[DRE-maint] Bug#1031472: ruby-omniauth-facebook: FTBFS: ERROR: Test "ruby3.1" failed.
Lucas Nussbaum
lucas at debian.org
Fri Feb 17 07:02:15 GMT 2023
Source: ruby-omniauth-facebook
Version: 4.0.0-2.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230216 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby3.1 │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-omniauth-facebook/usr/share/rubygems-integration/all:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -e gem\ \"omniauth-facebook\"
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.1 from debian/ruby-tests.rb │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-omniauth-facebook/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-omniauth-facebook/usr/share/rubygems-integration/all:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 debian/ruby-tests.rb
> mv example/Gemfile.lock example/.gem2deb.Gemfile.lock
> Mocha deprecation warning at <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:160:in `require': Require 'mocha/test_unit', 'mocha/minitest' or 'mocha/api' instead of 'mocha/setup'.
> Run options: --seed 19466
>
> # Running:
>
> EE...........E..................DEPRECATED: Use assert_nil if expecting nil from /<<PKGBUILDDIR>>/test/strategy_test.rb:455. This will fail in Minitest 6.
> .....EE.................................E
>
> Finished in 0.091243s, 800.0599 runs/s, 1183.6503 assertions/s.
>
> 1) Error:
> SignedRequestTests::CookiePresentTest#test_parses_the_access_code_out_from_the_cookie:
> NameError: uninitialized constant SignedRequestHelpers::MultiJson
>
> encoded_payload = base64_encode_url(MultiJson.encode(payload))
> ^^^^^^^^^
> Did you mean? MultiXml
> /<<PKGBUILDDIR>>/test/strategy_test.rb:396:in `signed_request'
> /<<PKGBUILDDIR>>/test/strategy_test.rb:435:in `setup'
>
> 2) Error:
> SignedRequestTests::CookiePresentTest#test_throws_an_error_if_the_algorithm_is_unknown:
> NameError: uninitialized constant SignedRequestHelpers::MultiJson
>
> encoded_payload = base64_encode_url(MultiJson.encode(payload))
> ^^^^^^^^^
> Did you mean? MultiXml
> /<<PKGBUILDDIR>>/test/strategy_test.rb:396:in `signed_request'
> /<<PKGBUILDDIR>>/test/strategy_test.rb:435:in `setup'
>
> 3) Error:
> SignedRequestTests::MissingCodeInCookieRequestTest#test_calls_fail!_when_a_code_is_not_included_in_the_cookie:
> NameError: uninitialized constant SignedRequestHelpers::MultiJson
>
> encoded_payload = base64_encode_url(MultiJson.encode(payload))
> ^^^^^^^^^
> Did you mean? MultiXml
> /<<PKGBUILDDIR>>/test/strategy_test.rb:396:in `signed_request'
> /<<PKGBUILDDIR>>/test/strategy_test.rb:481:in `setup'
>
> 4) Error:
> SignedRequestTest#test_signed_request_parse:
> NameError: uninitialized constant SignedRequestTest::MultiJson
>
> @expected_payload = MultiJson.decode(fixture('payload.json'))
> ^^^^^^^^^
> Did you mean? MultiXml
> /<<PKGBUILDDIR>>/test/signed_request_test.rb:8:in `setup'
>
> 5) Error:
> SignedRequestTest#test_signed_request_payload:
> NameError: uninitialized constant SignedRequestTest::MultiJson
>
> @expected_payload = MultiJson.decode(fixture('payload.json'))
> ^^^^^^^^^
> Did you mean? MultiXml
> /<<PKGBUILDDIR>>/test/signed_request_test.rb:8:in `setup'
>
> 6) Error:
> SignedRequestTests::UnknownAlgorithmInCookieRequestTest#test_calls_fail!_when_an_algorithm_is_unknown:
> NameError: uninitialized constant SignedRequestHelpers::MultiJson
>
> encoded_payload = base64_encode_url(MultiJson.encode(payload))
> ^^^^^^^^^
> Did you mean? MultiXml
> /<<PKGBUILDDIR>>/test/strategy_test.rb:396:in `signed_request'
> /<<PKGBUILDDIR>>/test/strategy_test.rb:500:in `setup'
>
> 73 runs, 108 assertions, 0 failures, 6 errors, 0 skips
> mv example/.gem2deb.Gemfile.lock example/Gemfile.lock
> ERROR: Test "ruby3.1" failed.
The full build log is available from:
http://qa-logs.debian.net/2023/02/16/ruby-omniauth-facebook_4.0.0-2.1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230216;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230216&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-ruby-extras-maintainers
mailing list