[DRE-maint] Bug#952027: ruby-declarative: FTBFS: ERROR: Test "ruby2.5" failed: Invalid gemspec in [declarative.gemspec]: No such file or directory - git

Lucas Nussbaum lucas at debian.org
Sun Feb 23 07:44:26 GMT 2020


Source: ruby-declarative
Version: 0.0.10-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 [declarative.gemspec]: No such file or directory - git
> GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-declarative/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/ruby/gems/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0 ruby2.5 -e gem\ \"declarative\"
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby2.5 from debian/ruby-tests.rake                            │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-declarative/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-declarative/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/ruby/gems/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0 ruby2.5 -S rake -f debian/ruby-tests.rake
> /usr/bin/ruby2.5 -w -I"test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/defaults_test.rb" "test/definitions_test.rb" "test/heritage_test.rb" "test/schema_test.rb" "test/variables_test.rb" "test/test_helper.rb" -v
> Run options: -v --seed 45730
> 
> # Running:
> 
> multiple Defaults#merge!#test_0001_merges arrays automatically = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/defaults_test.rb:68. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> multiple Defaults#merge!#test_0002_what = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/defaults_test.rb:76. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> DefinitionTest#test_0001_#merge does return deep copy = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/definitions_test.rb:93. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> with only dynamic property options#test_0001_anonymous = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/defaults_test.rb:32. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> deprecation#test_0001_prints deprecation twice = 0.00 s = F
> DSLOptionsTest#test_0006_creates new array if original not existent = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/variables_test.rb:63. Use _(obj).must_equal instead. This will fail in Minitest 6.
> DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/variables_test.rb:9. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> DSLOptionsTest#test_0001_merges Merge over original = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/variables_test.rb:19. Use _(obj).must_equal instead. This will fail in Minitest 6.
> DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/variables_test.rb:9. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> DSLOptionsTest#test_0004_creates new hash if original not existent = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/variables_test.rb:44. Use _(obj).must_equal instead. This will fail in Minitest 6.
> DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/variables_test.rb:9. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> DSLOptionsTest#test_0005_appends to Array = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/variables_test.rb:54. Use _(obj).must_equal instead. This will fail in Minitest 6.
> DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/variables_test.rb:9. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> DSLOptionsTest#test_0002_accepts Procs = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/variables_test.rb:28. Use _(obj).must_equal instead. This will fail in Minitest 6.
> DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/variables_test.rb:9. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> DSLOptionsTest#test_0003_overrides original without Merge = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/variables_test.rb:35. Use _(obj).must_equal instead. This will fail in Minitest 6.
> DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/variables_test.rb:9. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> ::property still allows passing internal options#test_0001_anonymous = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/schema_test.rb:84. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> SchemaTest#test_0001_anonymous = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/schema_test.rb:39. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> SchemaTest#test_0002_anonymous = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/schema_test.rb:59. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> multiple ::defaults#test_0001_anonymous = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/schema_test.rb:108. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> HeritageTest#test_0001_anonymous = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/heritage_test.rb:17. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> DefinitionsTest#test_0002_overwrites old when called twice = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/definitions_test.rb:28. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> DefinitionsTest#test_0001_what = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/definitions_test.rb:16. Use _(obj).must_equal instead. This will fail in Minitest 6.
> DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/definitions_test.rb:18. Use _(obj).must_equal instead. This will fail in Minitest 6.
> DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/definitions_test.rb:22. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> DefinitionsTest#test_0005_#add with inherit: true and block = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/definitions_test.rb:72. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> DefinitionsTest#test_0003_#add with block = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/definitions_test.rb:39. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> DefinitionsTest#test_0004_#add with :nested instead of block = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/definitions_test.rb:50. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> DefinitionsTest#test_0006_#add with nested options followed by inherit: true = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/definitions_test.rb:81. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> with only hashes#test_0001_anonymous = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/defaults_test.rb:44. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> hash options combined with dynamic options#test_0001_anonymous = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/defaults_test.rb:18. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> #call with block#test_0001_anonymous = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/heritage_test.rb:46. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> #add options win#test_0001_anonymous = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/defaults_test.rb:58. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> dup of arguments#test_0001_anonymous = DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/heritage_test.rb:32. Use _(obj).must_equal instead. This will fail in Minitest 6.
> 0.00 s = .
> 
> Finished in 0.011357s, 2377.4725 runs/s, 3169.9634 assertions/s.
> 
>   1) Failure:
> deprecation#test_0001_prints deprecation twice [/<<PKGBUILDDIR>>/test/defaults_test.rb:96]:
> --- expected
> +++ actual
> @@ -1,3 +1,5 @@
>  "[Declarative] Defaults#merge! and #call still accept arrays and automatically prepend those. This is now deprecated, you should replace `ary` with `Declarative::Variables::Append(ary)`.
>  [Declarative] Defaults#merge! and #call still accept arrays and automatically prepend those. This is now deprecated, you should replace `ary` with `Declarative::Variables::Append(ary)`.
> +DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/defaults_test.rb:94. Use _(obj).must_equal instead. This will fail in Minitest 6.
> +DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/defaults_test.rb:96. Use _(obj).must_equal instead. This will fail in Minitest 6.
>  "
> 
> 
> 27 runs, 36 assertions, 1 failures, 0 errors, 0 skips
> rake aborted!
> Command failed with status (1): [ruby -w -I"test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/defaults_test.rb" "test/definitions_test.rb" "test/heritage_test.rb" "test/schema_test.rb" "test/variables_test.rb" "test/test_helper.rb" -v]
> 
> Tasks: TOP => default
> (See full trace by running task with --trace)
> ERROR: Test "ruby2.5" failed: 

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/ruby-declarative_0.0.10-1_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



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