[DRE-maint] Bug#1110808: ruby-wikicloth: FTBFS: ERROR: Test "ruby3.3" failed: Error: test: google charts math tag(WikiClothTest): NoMethodError: undefined method `exists?' for class File

Lucas Nussbaum lucas at debian.org
Mon Aug 11 08:43:49 BST 2025


Source: ruby-wikicloth
Version: 0.8.3+dfsg-1
Severity: serious
Justification: FTBFS
Tags: forky sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20250809 ftbfs-forky

Hi,

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

The full build log is available from:
http://qa-logs.debian.net/2025/08/09/ruby-wikicloth_0.8.3+dfsg-1_unstable.log

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

-- 
Relevant part of the build log (hopefully):
> Error: test: google charts math tag(WikiClothTest): NoMethodError: undefined method `exists?' for class File
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth/extensions/math.rb:12:in `block in <class:MathExtension>'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth/wiki_buffer/html_element.rb:85:in `instance_exec'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth/wiki_buffer/html_element.rb:85:in `to_html'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth/wiki_buffer.rb:161:in `add_char'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth.rb:140:in `add_current_char'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth.rb:87:in `block (2 levels) in render'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth.rb:87:in `each_char'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth.rb:87:in `block in render'
> /usr/share/rubygems-integration/all/gems/i18n-1.14.7/lib/i18n.rb:353:in `with_locale'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth.rb:69:in `render'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth.rb:109:in `to_html'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth/parser.rb:95:in `method_missing'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/test/wiki_cloth_test.rb:96:in `block in <class:WikiClothTest>'
> ===============================================================================
> Unknown error on line 1 row 13: WikiCloth::WikiBuffer
> E
> ===============================================================================
> Error: test: links and references(WikiClothTest): FrozenError: can't modify frozen String: ""
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth/wiki_buffer/var.rb:83:in `gsub!'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth/wiki_buffer/var.rb:83:in `to_html'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth/wiki_buffer.rb:161:in `add_char'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth.rb:140:in `add_current_char'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth.rb:87:in `block (2 levels) in render'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth.rb:87:in `each_char'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth.rb:87:in `block in render'
> /usr/share/rubygems-integration/all/gems/i18n-1.14.7/lib/i18n.rb:353:in `with_locale'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth.rb:69:in `render'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth.rb:109:in `to_html'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/lib/wikicloth/parser.rb:95:in `method_missing'
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/test/wiki_cloth_test.rb:229:in `block in <class:WikiClothTest>'
> ===============================================================================
> Unknown error on line 1 row 32: WikiCloth::WikiBuffer
> F
> ===============================================================================
> Failure: test: math tag(WikiClothTest): <false> is not true.
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/test/wiki_cloth_test.rb:223:in `rescue in block in <class:WikiClothTest>'
>      220:       data = wiki.to_html
>      221:       assert true
>      222:     rescue
>   => 223:       assert false
>      224:     end
>      225:   end
>      226: 
> /build/reproducible-path/ruby-wikicloth-0.8.3+dfsg/test/wiki_cloth_test.rb:219:in `block in <class:WikiClothTest>'
> ===============================================================================
> Finished in 0.075626763 seconds.
> -------------------------------------------------------------------------------
> 41 tests, 105 assertions, 1 failures, 2 errors, 0 pendings, 0 omissions, 0 notifications
> 92.6829% passed
> -------------------------------------------------------------------------------
> 542.14 tests/s, 1388.40 assertions/s
> rake aborted!
> Command failed with status (1): [ruby -w -I"lib" /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb "test/wiki_cloth_test.rb" ]
> /usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
> Tasks: TOP => default => test
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.3" failed: 



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