[DRE-maint] Bug#1022320: ruby-puppet-syntax: FTBFS: ERROR: Test "ruby3.1" failed: Failure/Error: expect(res[:warnings]).to match([])

Lucas Nussbaum lucas at debian.org
Sun Oct 23 13:44:26 BST 2022


Source: ruby-puppet-syntax
Version: 3.1.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221023 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
>      Failure/Error: expect(res[:warnings]).to match([])
> 
>        expected ["/<<PKGBUILDDIR>>/lib/puppet-syntax/templates.rb:72: warnin...gument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.\n"] to match []
>        Diff:
>        @@ -1 +1,2 @@
>        +/<<PKGBUILDDIR>>/lib/puppet-syntax/templates.rb:72: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.\n/<<PKGBUILDDIR>>/lib/puppet-syntax/templates.rb:72: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.\n
>      # ./spec/puppet-syntax/templates_spec.rb:71:in `block (2 levels) in <top (required)>'
> 
> Finished in 0.25139 seconds (files took 1.18 seconds to load)
> 40 examples, 4 failures
> 
> Failed examples:
> 
> rspec ./spec/puppet-syntax/templates_spec.rb:17 # PuppetSyntax::Templates should return nothing from a valid file
> rspec ./spec/puppet-syntax/templates_spec.rb:25 # PuppetSyntax::Templates should ignore NameErrors from unbound variables
> rspec ./spec/puppet-syntax/templates_spec.rb:49 # PuppetSyntax::Templates should read more than one valid file
> rspec ./spec/puppet-syntax/templates_spec.rb:67 # PuppetSyntax::Templates should ignore a TypeError
> 
> /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.10.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.1" failed: 


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/ruby-puppet-syntax_3.1.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221023;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221023&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