[DRE-maint] Bug#1094086: ruby-shoulda-context: FTBFS: ERROR: Test "ruby3.3" failed: ............................................................................./build/reproducible-path/ruby-shoulda-context-2.0.0/test/shoulda/../../exe/convert_to_should_syntax:34:in `<main>': undefined method `exists?' for class File (NoMethodError)

Lucas Nussbaum lucas at debian.org
Fri Jan 24 20:25:22 GMT 2025


Source: ruby-shoulda-context
Version: 2.0.0-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20250124 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> ............................................................................./build/reproducible-path/ruby-shoulda-context-2.0.0/test/shoulda/../../exe/convert_to_should_syntax:34:in `<main>': undefined method `exists?' for class File (NoMethodError)
> 
> usage("File '#{file}' doesn't exist") unless File.exists?(file)
>                                                  ^^^^^^^^
> Did you mean?  exist?
> F...........................
> 
> Finished in 0.173086s, 606.6333 runs/s, 1120.8272 assertions/s.
> 
>   1) Failure:
> ConvertToShouldSyntaxTest#test_convert_to_should_syntax [test/shoulda/convert_to_should_syntax_test.rb:53]:
> Expected /has been converted/ to match "".
> 
> 105 runs, 194 assertions, 1 failures, 0 errors, 0 skips
> rake aborted!
> Command failed with status (1)
> /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)
> mv ./.gem2deb.Gemfile.lock Gemfile.lock
> ERROR: Test "ruby3.3" failed: 


The full build log is available from:
http://qa-logs.debian.net/2025/01/24/ruby-shoulda-context_2.0.0-2_unstable.log

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



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