[DRE-maint] Bug#1016306: ruby-text-format: FTBFS: /usr/lib/ruby/3.0.0/psych/class_loader.rb:99:in `find': Tried to load unspecified class: Date (Psych::DisallowedClass)

Lucas Nussbaum lucas at debian.org
Fri Jul 29 19:15:02 BST 2022


Source: ruby-text-format
Version: 1.0.0-5
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220728 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules clean
> dh clean --buildsystem=ruby --with ruby
>    dh_auto_clean -O--buildsystem=ruby
> 	dh_ruby --clean
> /usr/lib/ruby/3.0.0/psych/class_loader.rb:99:in `find': Tried to load unspecified class: Date (Psych::DisallowedClass)
> 	from /usr/lib/ruby/3.0.0/psych/class_loader.rb:28:in `load'
> 	from (eval):2:in `date'
> 	from /usr/lib/ruby/3.0.0/psych/scalar_scanner.rb:60:in `tokenize'
> 	from /usr/lib/ruby/3.0.0/psych/visitors/to_ruby.rb:65:in `deserialize'
> 	from /usr/lib/ruby/3.0.0/psych/visitors/to_ruby.rb:128:in `visit_Psych_Nodes_Scalar'
> 	from /usr/lib/ruby/3.0.0/psych/visitors/visitor.rb:30:in `visit'
> 	from /usr/lib/ruby/3.0.0/psych/visitors/visitor.rb:6:in `accept'
> 	from /usr/lib/ruby/3.0.0/psych/visitors/to_ruby.rb:35:in `accept'
> 	from /usr/lib/ruby/3.0.0/psych/visitors/to_ruby.rb:345:in `block in revive_hash'
> 	from /usr/lib/ruby/3.0.0/psych/visitors/to_ruby.rb:343:in `each'
> 	from /usr/lib/ruby/3.0.0/psych/visitors/to_ruby.rb:343:in `each_slice'
> 	from /usr/lib/ruby/3.0.0/psych/visitors/to_ruby.rb:343:in `revive_hash'
> 	from /usr/lib/ruby/3.0.0/psych/visitors/to_ruby.rb:407:in `revive'
> 	from /usr/lib/ruby/3.0.0/psych/visitors/to_ruby.rb:213:in `visit_Psych_Nodes_Mapping'
> 	from /usr/lib/ruby/3.0.0/psych/visitors/visitor.rb:30:in `visit'
> 	from /usr/lib/ruby/3.0.0/psych/visitors/visitor.rb:6:in `accept'
> 	from /usr/lib/ruby/3.0.0/psych/visitors/to_ruby.rb:35:in `accept'
> 	from /usr/lib/ruby/3.0.0/psych/visitors/to_ruby.rb:318:in `visit_Psych_Nodes_Document'
> 	from /usr/lib/ruby/3.0.0/psych/visitors/visitor.rb:30:in `visit'
> 	from /usr/lib/ruby/3.0.0/psych/visitors/visitor.rb:6:in `accept'
> 	from /usr/lib/ruby/3.0.0/psych/visitors/to_ruby.rb:35:in `accept'
> 	from /usr/lib/ruby/3.0.0/psych.rb:362:in `safe_load'
> 	from /usr/lib/ruby/3.0.0/psych.rb:595:in `block in safe_load_file'
> 	from /usr/lib/ruby/3.0.0/psych.rb:594:in `open'
> 	from /usr/lib/ruby/3.0.0/psych.rb:594:in `safe_load_file'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/yaml.rb:6:in `load_gemspec'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:124:in `load_gemspec'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:37:in `block in initialize'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:36:in `chdir'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:36:in `initialize'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:24:in `new'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:24:in `initialize'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:238:in `new'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:238:in `block in installers'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:237:in `map'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:237:in `installers'
> 	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:119:in `clean'
> 	from /usr/bin/dh_ruby:91:in `<main>'
> dh_auto_clean: error: dh_ruby --clean returned exit code 1
> make: *** [debian/rules:6: clean] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/07/28/ruby-text-format_1.0.0-5_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220728;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220728&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



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