[DRE-maint] Bug#964952: ruby-activemodel-serializers-xml: ftbfs and autopkgtest failure with rails 6 in experimental
Pirate Praveen
praveen at onenetbeyond.org
Mon Jul 13 10:40:03 BST 2020
Package: ruby-activemodel-serializers-xml
Version: 1.0.2-2
Severity: important
User: pkg-ruby-extras-maintainers at lists.alioth.debian.org
Usertags: rails6-transition
Hi,
This package's autopkgtest and rebuilds failed with rails 6 currently in
experimental. rails 6 will be uploaded to unstable in two weeks, so
please make sure this package is ready for rails 6. The severity of
this bug will be raised to serious after rails 6 is uploaded to
unstable.
Relevant errors,
mv lib .gem2deb.lib
RUBYLIB=. GEM_PATH= ruby2.7 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.7 -w -I"test"
"/usr/share/rubygems-integration/all/gems/rake-13.0.1/lib/rake/rake_test_loader.rb"
"test/active_model/xml_serialization_test.rb"
"test/active_record/xml_serialization_test.rb" -v
/usr/lib/ruby/vendor_ruby/active_model/serializers.rb:19: warning:
method redefined; discarding old eager_load!
/usr/share/rubygems-integration/all/gems/activemodel-6.0.3.1/lib/active_model.rb:69:
warning: previous definition of eager_load! was here
/usr/share/rubygems-integration/all/gems/activerecord-6.0.3.1/lib/active_record/connection_adapters/abstract/schema_definitions.rb:372:in
`column': you can't define an already defined column 'created_at'.
(ArgumentError)
from
/usr/share/rubygems-integration/all/gems/activerecord-6.0.3.1/lib/active_record/connection_adapters/abstract/schema_definitions.rb:411:in
`timestamps'
from
/tmp/autopkgtest-lxc.yvepxhjg/downtmp/build.P0Y/src/test/helper.rb:114:in
`block (2 levels) in <top (required)>'
from
/usr/share/rubygems-integration/all/gems/activerecord-6.0.3.1/lib/active_record/connection_adapters/abstract/schema_statements.rb:309:in
`create_table'
from
/usr/share/rubygems-integration/all/gems/activerecord-6.0.3.1/lib/active_record/migration.rb:890:in
`block in method_missing'
from
/usr/share/rubygems-integration/all/gems/activerecord-6.0.3.1/lib/active_record/migration.rb:858:in
`block in say_with_time'
from /usr/lib/ruby/2.7.0/benchmark.rb:293:in `measure'
from
/usr/share/rubygems-integration/all/gems/activerecord-6.0.3.1/lib/active_record/migration.rb:858:in
`say_with_time'
from
/usr/share/rubygems-integration/all/gems/activerecord-6.0.3.1/lib/active_record/migration.rb:879:in
`method_missing'
from
/tmp/autopkgtest-lxc.yvepxhjg/downtmp/build.P0Y/src/test/helper.rb:105:in
`block in <top (required)>'
from
/usr/share/rubygems-integration/all/gems/activerecord-6.0.3.1/lib/active_record/schema.rb:50:in
`instance_eval'
from
/usr/share/rubygems-integration/all/gems/activerecord-6.0.3.1/lib/active_record/schema.rb:50:in
`define'
from
/usr/share/rubygems-integration/all/gems/activerecord-6.0.3.1/lib/active_record/schema.rb:46:in
`define'
from
/tmp/autopkgtest-lxc.yvepxhjg/downtmp/build.P0Y/src/test/helper.rb:100:in
`<top (required)>'
from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in
`require'
from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in
`require'
from
/tmp/autopkgtest-lxc.yvepxhjg/downtmp/build.P0Y/src/test/active_model/xml_serialization_test.rb:1:in
`<top (required)>'
from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in
`require'
from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in
`require'
from
/usr/share/rubygems-integration/all/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:17:in
`block in <main>'
from
/usr/share/rubygems-integration/all/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in
`select'
from
/usr/share/rubygems-integration/all/gems/rake-13.0.1/lib/rake/rake_test_loader.rb:5:in
`<main>'
rake aborted!
Full logs:
https://people.debian.org/~praveen/rails6-meta-build/autopkgtest/ruby-activemodel-serializers-xml.log
https://people.debian.org/~praveen/rails6-meta-build/buildlogs/ruby-activemodel-serializers-xml.log
More information about the Pkg-ruby-extras-maintainers
mailing list