Source: ruby-rabl
Version: 0.13.1-1.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-rabl was found to fail to build in that situation.

To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
> /usr/bin/ruby3.0 /usr/bin/gem2deb-test-runner
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby3.0                          
>  │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-rabl/usr/share/rubygems-integration/all:/var/lib/gems/3.0.0:/usr/local/lib/ruby/gems/3.0.0:/usr/lib/ruby/gems/3.0.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.0.0:/usr/share/rubygems-integration/3.0.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0
>  ruby3.0 -e gem\ \"rabl\"
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.0 from debian/ruby-test-files.yaml                      
>  │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-rabl/usr/lib/ruby/vendor_ruby:. 
> GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-rabl/usr/share/rubygems-integration/all:/var/lib/gems/3.0.0:/usr/local/lib/ruby/gems/3.0.0:/usr/lib/ruby/gems/3.0.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.0.0:/usr/share/rubygems-integration/3.0.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0
>  ruby3.0 -ryaml -e YAML.load_file\(\"debian/ruby-test-files.yaml\"\).each\ 
> \{\ \|f\|\ require\ f\ \}
> .......................................................E.E.............................................................................E............................................................................................................................................................................
> ERROR
>  Rabl::Builder #glue asserts that it generates the glue attributes => On 
> subject #<Rabl::Builder:0x00005636fc13eb90>,
> unexpected method invocation:
>   object_to_engine(#<User:0x00005636fc13fd60 @age=24, @city="irvine", 
> @name="rabl", @first="bob", @float=1234.56, 
> @hobbies=[#<Hobby:0x00005636fc13f838 @name="Photography">], 
> @twitter="rablgem">, root: false)
> expected invocations:
> - object_to_engine(#<User:0x00005636fc13fd60 @age=24, @city="irvine", 
> @name="rabl", @first="bob", @float=1234.56, 
> @hobbies=[#<Hobby:0x00005636fc13f838 @name="Photography">], 
> @twitter="rablgem">, {:root=>false}) occured
>  at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
> at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
> at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
> at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
> at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
> at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in 
> run_sub_contexts'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
> at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
> at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
> at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
> at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
> at /<<PKGBUILDDIR>>/test/builder_test.rb:233:in `block (3 levels) in <top 
> (required)>'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:49:in `to_hash'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:248:in `cache_results'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:55:in `block in to_hash'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:119:in `merge_engines_into_result'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:35:in `engines'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:113:in `compile_settings'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:113:in `each'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:114:in `block in compile_settings'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:186:in `glue'
> at /usr/lib/ruby/vendor_ruby/rr/injections/double_injection.rb:161:in 
> `object_to_engine'
> at /usr/lib/ruby/vendor_ruby/rr/injections/double_injection.rb:45:in 
> `dispatch_method'
> at /usr/lib/ruby/vendor_ruby/rr/injections/double_injection.rb:226:in 
> `dispatch_method'
> at /usr/lib/ruby/vendor_ruby/rr/method_dispatches/method_dispatch.rb:28:in 
> `call'
> at 
> /usr/lib/ruby/vendor_ruby/rr/method_dispatches/base_method_dispatch.rb:93:in 
> `double_not_found_error'
> 
> ERROR
>  Rabl::Builder #glue asserts that it does not generate new attributes if no 
> glue attributes are present => On subject #<Rabl::Builder:0x00005636fc20a1c8>,
> unexpected method invocation:
>   object_to_engine(#<User:0x00005636fc13fd60 @age=24, @city="irvine", 
> @name="rabl", @first="bob", @float=1234.56, 
> @hobbies=[#<Hobby:0x00005636fc13f838 @name="Photography">], 
> @twitter="rablgem">, root: false)
> expected invocations:
> - object_to_engine(#<User:0x00005636fc13fd60 @age=24, @city="irvine", 
> @name="rabl", @first="bob", @float=1234.56, 
> @hobbies=[#<Hobby:0x00005636fc13f838 @name="Photography">], 
> @twitter="rablgem">, {:root=>false}) occured
>  at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
> at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
> at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
> at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
> at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
> at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in 
> run_sub_contexts'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
> at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
> at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
> at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
> at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
> at /<<PKGBUILDDIR>>/test/builder_test.rb:246:in `block (3 levels) in <top 
> (required)>'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:49:in `to_hash'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:248:in `cache_results'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:55:in `block in to_hash'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:119:in `merge_engines_into_result'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:35:in `engines'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:113:in `compile_settings'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:113:in `each'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:114:in `block in compile_settings'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:186:in `glue'
> at /usr/lib/ruby/vendor_ruby/rr/injections/double_injection.rb:161:in 
> `object_to_engine'
> at /usr/lib/ruby/vendor_ruby/rr/injections/double_injection.rb:45:in 
> `dispatch_method'
> at /usr/lib/ruby/vendor_ruby/rr/injections/double_injection.rb:226:in 
> `dispatch_method'
> at /usr/lib/ruby/vendor_ruby/rr/method_dispatches/method_dispatch.rb:28:in 
> `call'
> at 
> /usr/lib/ruby/vendor_ruby/rr/method_dispatches/base_method_dispatch.rb:93:in 
> `double_not_found_error'
> 
> ERROR
>  Rabl::Engine with defaults #partial asserts that it creates object from 
> partial and passes local => On subject #<Rabl::Engine:0x00005636fc4d4b60>,
> unexpected method invocation:
>   object_to_engine(#<User:0x00005636fc4c6038 @age=12, @city="LA", 
> @name="leo", @first="bob", @float=1234.56, 
> @hobbies=[#<Hobby:0x00005636fc4c5c50 @name="Photography">], 
> @twitter="rablgem">, {:locals=>{:foo=>"bar"}, :source=>nil, 
> :source_location=>nil, :template=>"foo/bar"})
> expected invocations:
> - object_to_engine(#<User:0x00005636fc4c6038 @age=12, @city="LA", 
> @name="leo", @first="bob", @float=1234.56, 
> @hobbies=[#<Hobby:0x00005636fc4c5c50 @name="Photography">], 
> @twitter="rablgem">, locals: {:foo=>"bar"}, source: nil, source_location: 
> nil, template: "foo/bar") occured
>  at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
> at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
> at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
> at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
> at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
> at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in 
> run_sub_contexts'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in 
> run_sub_contexts'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
> at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
> at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
> at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
> at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
> at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
> at /<<PKGBUILDDIR>>/test/engine_test.rb:449:in `block (4 levels) in <top 
> (required)>'
> at /usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
> at /<<PKGBUILDDIR>>/lib/rabl/template.rb:15:in `evaluate'
> at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:47:in `render'
> at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:380:in `cache_results'
> at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:48:in `block in render'
> at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:108:in `to_json'
> at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:99:in `to_dumpable'
> at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:86:in `to_hash'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:49:in `to_hash'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:248:in `cache_results'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:58:in `block in to_hash'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:113:in `compile_settings'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:113:in `each'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:114:in `block in compile_settings'
> at /<<PKGBUILDDIR>>/lib/rabl/builder.rb:152:in `node'
> at (eval):4:in `block in eval_source'
> at /<<PKGBUILDDIR>>/lib/rabl/engine.rb:281:in `partial'
> at /<<PKGBUILDDIR>>/lib/rabl/partials.rb:15:in `partial_as_engine'
> at /usr/lib/ruby/vendor_ruby/rr/injections/double_injection.rb:161:in 
> `object_to_engine'
> at /usr/lib/ruby/vendor_ruby/rr/injections/double_injection.rb:45:in 
> `dispatch_method'
> at /usr/lib/ruby/vendor_ruby/rr/injections/double_injection.rb:226:in 
> `dispatch_method'
> at /usr/lib/ruby/vendor_ruby/rr/method_dispatches/method_dispatch.rb:28:in 
> `call'
> at 
> /usr/lib/ruby/vendor_ruby/rr/method_dispatches/base_method_dispatch.rb:93:in 
> `double_not_found_error'
> 
> 305 passes, 0 failures, 3 errors in 0.165382 seconds
> ERROR: Test "ruby3.0" failed.


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-rabl/ruby-rabl_0.13.1-1.1+rebuild1633391688_amd64.build.txt

Attachment: signature.asc
Description: PGP signature

Reply via email to