Source: ruby-safe-yaml Version: 1.0.5-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: debian-r...@lists.debian.org Usertags: ruby3.0
Hi, We are about to enable building against ruby3.0 on unstable. During a test rebuild, ruby-safe-yaml 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): > ArgumentError: > wrong number of arguments (given 0, expected 2) > # ./lib/safe_yaml/safe_to_ruby_visitor.rb:14:in `initialize' > # ./lib/safe_yaml/psych_resolver.rb:25:in `new' > # ./lib/safe_yaml/psych_resolver.rb:25:in `native_resolve' > # ./lib/safe_yaml/resolver.rb:12:in `resolve_node' > # ./lib/safe_yaml/resolver.rb:55:in `block in resolve_seq' > # ./lib/safe_yaml/resolver.rb:55:in `each' > # ./lib/safe_yaml/resolver.rb:55:in `inject' > # ./lib/safe_yaml/resolver.rb:55:in `resolve_seq' > # ./lib/safe_yaml/psych_resolver.rb:17:in `resolve_root' > # ./lib/safe_yaml/resolver.rb:16:in `resolve_node' > # ./lib/safe_yaml/load.rb:151:in `load' > # ./lib/safe_yaml.rb:29:in `safe_load' > # ./spec/safe_yaml_spec.rb:7:in `safe_load_round_trip' > # ./spec/safe_yaml_spec.rb:725:in `block (4 levels) in <top (required)>' > > Finished in 0.12951 seconds (files took 0.22092 seconds to load) > 134 examples, 11 failures > > Failed examples: > > rspec ./spec/safe_yaml_spec.rb:318 # Psych safe_load with special whitelisted > tags defined will allow objects to be deserialized for whitelisted tags > rspec ./spec/safe_yaml_spec.rb:330 # Psych safe_load with special whitelisted > tags defined will not allow non-whitelisted objects to be embedded within > objects with whitelisted tags > rspec ./spec/safe_yaml_spec.rb:372 # Psych safe_load with special whitelisted > tags defined with the :raise_on_unknown_tag option enabled does not raise an > exception as long as all tags are whitelisted > rspec ./spec/safe_yaml_spec.rb:415 # Psych safe_load with special whitelisted > tags defined with the :raise_on_unknown_tag option enabled with whitelisted > custom class does not raise an exception on the non-specific '!' tag > rspec ./spec/safe_yaml_spec.rb:458 # Psych safe_load when options are passed > direclty to #load which differ from the defaults (or, for example, when > certain tags are whitelisted) goes with the default option when it is not > overridden > rspec ./spec/safe_yaml_spec.rb:464 # Psych safe_load when options are passed > direclty to #load which differ from the defaults (or, for example, when > certain tags are whitelisted) allows the default option to be overridden on a > per-call basis > rspec ./spec/safe_yaml_spec.rb:688 # Psych whitelist! with a Class as its > argument successfully deserializes the specified class > rspec ./spec/safe_yaml_spec.rb:699 # Psych whitelist! with a Class as its > argument works for ranges > rspec ./spec/safe_yaml_spec.rb:704 # Psych whitelist! with a Class as its > argument works for regular expressions > rspec ./spec/safe_yaml_spec.rb:709 # Psych whitelist! with a Class as its > argument works for multiple classes > rspec ./spec/safe_yaml_spec.rb:714 # Psych whitelist! with a Class as its > argument works for arbitrary Exception subclasses > > debian/ruby-tests.rb:16:in `block in <main>': unhandled exception > from debian/ruby-tests.rb:14:in `each' > from debian/ruby-tests.rb:14:in `<main>' > ERROR: Test "ruby3.0" failed: The full build log is available at https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-safe-yaml/ruby-safe-yaml_1.0.5-1+rebuild1633394716_amd64.build.txt
signature.asc
Description: PGP signature