[DRE-maint] Bug#921806: ruby-api-pagination: FTBFS (failing tests)
Santiago Vila
sanvila at debian.org
Sat Feb 9 00:16:07 GMT 2019
Package: src:ruby-api-pagination
Version: 4.2.0-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --buildsystem=ruby --with ruby
dh_update_autotools_config -i -O--buildsystem=ruby
dh_auto_configure -i -O--buildsystem=ruby
dh_ruby --configure
dh_auto_build -i -O--buildsystem=ruby
dh_ruby --build
dh_ruby --build
dh_auto_test -i -O--buildsystem=ruby
dh_ruby --test
fakeroot debian/rules binary-indep
dh binary-indep --buildsystem=ruby --with ruby
dh_testroot -i -O--buildsystem=ruby
dh_prep -i -O--buildsystem=ruby
[... snipped ...]
ArgumentError:
unknown keywords: count, page
Shared Example Group: "an endpoint with a middle page" called from ./spec/rails_spec.rb:58
# ./spec/rails_spec.rb:56:in `block (5 levels) in <top (required)>'
Finished in 0.20069 seconds (files took 1.92 seconds to load)
56 examples, 27 failures
Failed examples:
rspec ./spec/rails_spec.rb:30 # NumbersController GET #index without enough items to give more than one page should list all numbers in the response body
rspec ./spec/rails_spec.rb:26 # NumbersController GET #index without enough items to give more than one page should give a Per-Page header
rspec ./spec/rails_spec.rb:22 # NumbersController GET #index without enough items to give more than one page should give a Total header
rspec ./spec/rails_spec.rb:18 # NumbersController GET #index without enough items to give more than one page should not paginate
rspec ./spec/rails_spec.rb:91 # NumbersController GET #index with custom response headers should give a X-Total-Count header
rspec ./spec/rails_spec.rb:99 # NumbersController GET #index with custom response headers should give a X-Per-Page header
rspec ./spec/rails_spec.rb:107 # NumbersController GET #index with custom response headers should give a X-Page header
rspec ./spec/rails_spec.rb:118 # NumbersController GET #index configured not to include the total should not include a Total header
rspec ./spec/rails_spec.rb:63 # NumbersController GET #index providing a block yields to the block instead of implicitly rendering
rspec './spec/rails_spec.rb[1:1:2:1:3]' # NumbersController GET #index with existing Link headers behaves like an endpoint with existing Link headers should give a Total header
rspec './spec/rails_spec.rb[1:1:2:1:1]' # NumbersController GET #index with existing Link headers behaves like an endpoint with existing Link headers should keep existing Links
rspec './spec/rails_spec.rb[1:1:2:1:2]' # NumbersController GET #index with existing Link headers behaves like an endpoint with existing Link headers should contain pagination Links
rspec './spec/rails_spec.rb[1:1:3:1:1:3]' # NumbersController GET #index with enough items to paginate when on the first page behaves like an endpoint with a first page should give a link with rel "last"
rspec './spec/rails_spec.rb[1:1:3:1:1:6]' # NumbersController GET #index with enough items to paginate when on the first page behaves like an endpoint with a first page should list the first page of numbers in the response body
rspec './spec/rails_spec.rb[1:1:3:1:1:4]' # NumbersController GET #index with enough items to paginate when on the first page behaves like an endpoint with a first page should give a link with rel "next"
rspec './spec/rails_spec.rb[1:1:3:1:1:5]' # NumbersController GET #index with enough items to paginate when on the first page behaves like an endpoint with a first page should give a Total header
rspec './spec/rails_spec.rb[1:1:3:1:1:1]' # NumbersController GET #index with enough items to paginate when on the first page behaves like an endpoint with a first page should not give a link with rel "first"
rspec './spec/rails_spec.rb[1:1:3:1:1:2]' # NumbersController GET #index with enough items to paginate when on the first page behaves like an endpoint with a first page should not give a link with rel "prev"
rspec './spec/rails_spec.rb[1:1:3:2:1:2]' # NumbersController GET #index with enough items to paginate when on the last page behaves like an endpoint with a last page should not give a link with rel "next"
rspec './spec/rails_spec.rb[1:1:3:2:1:3]' # NumbersController GET #index with enough items to paginate when on the last page behaves like an endpoint with a last page should give a link with rel "first"
rspec './spec/rails_spec.rb[1:1:3:2:1:6]' # NumbersController GET #index with enough items to paginate when on the last page behaves like an endpoint with a last page should list the last page of numbers in the response body
rspec './spec/rails_spec.rb[1:1:3:2:1:5]' # NumbersController GET #index with enough items to paginate when on the last page behaves like an endpoint with a last page should give a Total header
rspec './spec/rails_spec.rb[1:1:3:2:1:4]' # NumbersController GET #index with enough items to paginate when on the last page behaves like an endpoint with a last page should give a link with rel "prev"
rspec './spec/rails_spec.rb[1:1:3:2:1:1]' # NumbersController GET #index with enough items to paginate when on the last page behaves like an endpoint with a last page should not give a link with rel "last"
rspec './spec/rails_spec.rb[1:1:3:3:1:3]' # NumbersController GET #index with enough items to paginate when somewhere comfortably in the middle behaves like an endpoint with a middle page should list a middle page of numbers in the response body
rspec './spec/rails_spec.rb[1:1:3:3:1:2]' # NumbersController GET #index with enough items to paginate when somewhere comfortably in the middle behaves like an endpoint with a middle page should give a Total header
rspec './spec/rails_spec.rb[1:1:3:3:1:1]' # NumbersController GET #index with enough items to paginate when somewhere comfortably in the middle behaves like an endpoint with a middle page should give all pagination links
Randomized with seed 3414
/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-api-pagination returned exit code 1
make: *** [debian/rules:6: binary-indep] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
(The above is just how the build ends and not necessarily the most relevant part)
The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-api-pagination.html
where you can get a full build log if you need it.
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.
Thanks.
More information about the Pkg-ruby-extras-maintainers
mailing list