[DRE-maint] Bug#996159: ruby-batch-loader: FTBFS: ERROR: Test "ruby2.7" failed: Failure/Error: result = schema.execute(query)

Antonio Terceiro terceiro at debian.org
Mon Oct 11 15:46:23 BST 2021


Source: ruby-batch-loader
Version: 2.0.1+dfsg-2
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, ruby-batch-loader was found to fail to build in that situation.

This does not seem related to ruby3.0, but it would be nice to ensure
that the package also builds against ruby3.0. To do this locally, you
can install ruby-all-dev from experimental on an unstable system or
build chroot.

Relevant part (hopefully):
>      Failure/Error: result = schema.execute(query)
> 
>      NameError:
>        uninitialized constant GraphQL::StaticValidation::Validator::Timeout
>      # /<<PKGBUILDDIR>>/spec/graphql_spec.rb:35:in `test'
>      # /<<PKGBUILDDIR>>/spec/graphql_spec.rb:10:in `block (2 levels) in <top (required)>'
>      # ------------------
>      # --- Caused by: ---
>      # NameError:
>      #   uninitialized constant GraphQL::StaticValidation::Validator::Timeout
>      #   /<<PKGBUILDDIR>>/spec/graphql_spec.rb:35:in `test'
> 
> Finished in 2.55 seconds (files took 0.36125 seconds to load)
> 31 examples, 2 failures
> 
> Failed examples:
> 
> rspec /<<PKGBUILDDIR>>/spec/graphql_spec.rb:14 # GraphQL integration resolves BatchLoader fields lazily with GraphQL Interpreter
> rspec /<<PKGBUILDDIR>>/spec/graphql_spec.rb:9 # GraphQL integration resolves BatchLoader fields lazily
> 
> Randomized with seed 40838
> 
> /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 --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-batch-loader/ruby-batch-loader_2.0.1+dfsg-2+rebuild1633375571_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/6b5ae2d6/attachment.sig>


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