[DRE-maint] unproducible FTBFS

375gnu 375gnu at gmail.com
Wed Mar 14 18:54:10 UTC 2012


Hello!

I've packaged gem ``raindrops'' but it FTBFS on buildd. Although there are
three different kinds of problem the most important is the following:
https://buildd.debian.org/status/fetch.php?pkg=ruby-raindrops&arch=i386&ver=0.8.0-1&stamp=1330270618

If you the corresponding code (see below) you'll notice that env['rack.logger']
is not set. So the question is "why rack on buildd doesn't set
env['rack.logger']?" Any ideas? It's not changed by raindrops itself...

I'm building using gbp+cowbuilder and debuild on ``real'' linux-amd64, but also
tried to build in kvm on linux-i386 and kfreebsd-amd64. All builds was
successful.

Sorry for my english :(

==
./debian/ruby-raindrops//usr/lib/ruby/vendor_ruby/raindrops/watcher.rb:181:in
`aggregator_thread': undefined method `error' for nil:NilClass
(NoMethodError)
       from ./debian/ruby-raindrops//usr/lib/ruby/vendor_ruby/raindrops/watcher.rb:167:in
`initialize'
       from ./debian/ruby-raindrops//usr/lib/ruby/vendor_ruby/raindrops/watcher.rb:167:in
`new'
       from ./debian/ruby-raindrops//usr/lib/ruby/vendor_ruby/raindrops/watcher.rb:167:in
`aggregator_thread'
       from ./debian/ruby-raindrops//usr/lib/ruby/vendor_ruby/raindrops/watcher.rb:144:in
`call'
       from ./debian/ruby-raindrops//usr/lib/ruby/vendor_ruby/raindrops/watcher.rb:144:in
`synchronize'
       from ./debian/ruby-raindrops//usr/lib/ruby/vendor_ruby/raindrops/watcher.rb:144:in
`call'
       from /usr/lib/ruby/vendor_ruby/rack/mock.rb:72:in `request'
       from /usr/lib/ruby/vendor_ruby/rack/mock.rb:56:in `get'
       from ./test/test_watcher.rb:61:in `test_active_html'



raindrops/watcher.rb
144> @start.synchronize { @thr ||= aggregator_thread(env["rack.logger"]) }

def aggregator_thread(logger)
...
181> logger.error "#{e.class} #{e.inspect}"
...
end

-- 
https://375gnu.wordpress.com/
https://launchpad.net/~375gnu/+archive/ppa



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