Source: ruby-gon Version: 6.4.0-2 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240728 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > NoMethodError: > undefined method `routes' for nil:NilClass > > Rails.application.routes.url_helpers.instance_methods.each > do |meth| > ^^^^^^^ > # > ./debian/ruby-gon/usr/share/rubygems-integration/all/gems/gon-6.4.0/lib/gon/jbuilder/parser.rb:48:in > `eval_controller_url_helpers' > # > ./debian/ruby-gon/usr/share/rubygems-integration/all/gems/gon-6.4.0/lib/gon/jbuilder/parser.rb:18:in > `parse!' > # > ./debian/ruby-gon/usr/share/rubygems-integration/all/gems/gon-6.4.0/lib/gon/jbuilder.rb:18:in > `handler' > # > ./debian/ruby-gon/usr/share/rubygems-integration/all/gems/gon-6.4.0/lib/gon.rb:96:in > `jbuilder' > # ./spec/gon/jbuilder_spec.rb:47:in `block (4 levels) in <top > (required)>' > > Finished in 0.19589 seconds (files took 1.09 seconds to load) > 72 examples, 7 failures > > Failed examples: > > rspec ./spec/gon/basic_spec.rb:302 # Gon#check_for_rabl_and_jbuilder should > be able to handle constants array (symbols) > rspec ./spec/gon/global_spec.rb:139 # Gon::Global with jbuilder and rabl > works fine with jbuilder > rspec ./spec/gon/jbuilder_spec.rb:14 # Gon.jbuilder render jbuilder templates > render json from jbuilder template > rspec ./spec/gon/jbuilder_spec.rb:19 # Gon.jbuilder render jbuilder templates > render json from jbuilder template with locals > rspec ./spec/gon/jbuilder_spec.rb:27 # Gon.jbuilder render jbuilder templates > render json from jbuilder template with locals > rspec ./spec/gon/jbuilder_spec.rb:32 # Gon.jbuilder render jbuilder templates > render json from jbuilder template with controller methods > rspec ./spec/gon/jbuilder_spec.rb:45 # Gon.jbuilder render jbuilder templates > render json from jbuilder template with a partial > > /usr/bin/ruby3.1 > -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib > /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec > ./spec/gon/basic_spec.rb ./spec/gon/global_spec.rb > ./spec/gon/jbuilder_spec.rb ./spec/gon/rabl_spec.rb > ./spec/gon/templates_spec.rb ./spec/gon/watch_spec.rb --color --format doc > --require spec_helper failed > ERROR: Test "ruby3.1" failed: The full build log is available from: http://qa-logs.debian.net/2024/07/28/ruby-gon_6.4.0-2_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240728;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240728&fusertaguser=lu...@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.