[DRE-maint] Bug#952044: ruby-browser: FTBFS: ERROR: Test "ruby2.7" failed: Invalid gemspec in [browser.gemspec]: No such file or directory - git
Pirate Praveen
praveen at onenetbeyond.org
Mon Jul 13 12:49:02 BST 2020
On Sun, 23 Feb 2020 08:43:58 +0100 Lucas Nussbaum <lucas at debian.org>
wrote:
> Source: ruby-browser
> Version: 2.5.3-1
> Severity: serious
> Justification: FTBFS on amd64
> Tags: buster sid
> Usertags: ftbfs-20200222 ftbfs-buster
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
> Relevant part (hopefully):
> > Invalid gemspec in [browser.gemspec]: No such file or directory -
git
> > sh: 1: git: not found
> >
GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-browser/usr/share/rubygems-integration/all:/var/lib/gems/2.7.0:/usr/lib/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 -e gem\ \"browser\"
> >
> >
┌──────────────────────────────────────────────────────────────────────────────┐
> > │ Run tests for ruby2.7 from debian/ruby-tests.rake │
> >
└──────────────────────────────────────────────────────────────────────────────┘
> >
> > RUBYLIB=.
GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-browser/usr/share/rubygems-integration/all:/var/lib/gems/2.7.0:/usr/lib/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 -S rake -f debian/ruby-tests.rake
> > /usr/bin/ruby2.7 -w -I"test"
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb"
"test/browser_test.rb" "test/middleware_test.rb" "test/rails_test.rb" -v
> >
/usr/share/rubygems-integration/all/gems/actionpack-5.2.3/lib/action_dispatch/middleware/stack.rb:37:
warning: Using the last argument as keyword parameters is deprecated;
maybe ** should be added to the call
> >
/usr/share/rubygems-integration/all/gems/actionpack-5.2.3/lib/action_dispatch/middleware/static.rb:111:
warning: The called method `initialize' is defined here
> > SimpleCov failed with exit 1
> >
/usr/share/rubygems-integration/all/gems/activesupport-5.2.3/lib/active_support/concern.rb:130:in
`included': Cannot define multiple 'included' blocks for a Concern
(ActiveSupport::Concern::MultipleIncludedBlocks)
> > from /<<PKGBUILDDIR>>/lib/browser/action_controller.rb:9:in
`<module:ActionController>'
I'm able to reproduce it with latest upstream relase 4.2 as well.
Breaks with rails 5 and 6 as well. I suspect the issue is missing build
dependency minitest-autotest which is not packaged. Upstream test suite
is passing, even with lower versions of rack and rack-test (modifying
gemspec) to match versions in archive.
More information about the Pkg-ruby-extras-maintainers
mailing list