[DRE-maint] Bug#713154: ruby-sinatra: FTBFS: tests failed

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Jun 22 11:56:22 UTC 2013


Source: ruby-sinatra
Version: 1.3.2-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
>  fakeroot debian/rules binary
> dh binary --buildsystem=ruby --with ruby
>    dh_testroot -O--buildsystem=ruby
>    dh_prep -O--buildsystem=ruby
>    dh_auto_install -O--buildsystem=ruby
> /usr/lib/ruby/vendor_ruby/gem2deb.rb:17: warning: setting Encoding.default_external
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:31: warning: method redefined; discarding old visit_String
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:4: warning: previous definition of visit_String was here
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:39: warning: method redefined; discarding old register
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:12: warning: previous definition of register was here
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:43: warning: method redefined; discarding old format_time
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:16: warning: previous definition of format_time was here
> /usr/lib/ruby/1.9.1/rubygems/syck_hack.rb:115: warning: method redefined; discarding old to_s
> /usr/lib/ruby/1.9.1/rubygems/syck_hack.rb:44: warning: previous definition of to_s was here
>   Entering dh_ruby --install
> install -d /«PKGBUILDDIR»/debian/ruby-sinatra/usr/lib/ruby/vendor_ruby
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/main.rb /«PKGBUILDDIR»/debian/ruby-sinatra/usr/lib/ruby/vendor_ruby/sinatra/main.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/showexceptions.rb /«PKGBUILDDIR»/debian/ruby-sinatra/usr/lib/ruby/vendor_ruby/sinatra/showexceptions.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/images/404.png /«PKGBUILDDIR»/debian/ruby-sinatra/usr/lib/ruby/vendor_ruby/sinatra/images/404.png
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/images/500.png /«PKGBUILDDIR»/debian/ruby-sinatra/usr/lib/ruby/vendor_ruby/sinatra/images/500.png
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/base.rb /«PKGBUILDDIR»/debian/ruby-sinatra/usr/lib/ruby/vendor_ruby/sinatra/base.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra/version.rb /«PKGBUILDDIR»/debian/ruby-sinatra/usr/lib/ruby/vendor_ruby/sinatra/version.rb
> install -D -m644 /«PKGBUILDDIR»/lib/sinatra.rb /«PKGBUILDDIR»/debian/ruby-sinatra/usr/lib/ruby/vendor_ruby/sinatra.rb
> /usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> no such file to load -- sass: skipping sass tests
> no such file to load -- rdoc: skipping rdoc tests
> no such file to load -- redcloth: skipping textile tests
> no such file to load -- builder: skipping builder tests
> no such file to load -- slim: skipping slim tests
> no such file to load -- redcarpet: skipping markdown tests with Tilt::RedcarpetTemplate
> no such file to load -- rdiscount: skipping markdown tests with Tilt::RDiscountTemplate
> no such file to load -- bluecloth: skipping markdown tests with Tilt::BlueClothTemplate
> no such file to load -- kramdown: skipping markdown tests with Tilt::KramdownTemplate
> no such file to load -- maruku: skipping markdown tests with Tilt::MarukuTemplate
> no such file to load -- less: skipping less tests
> no such file to load -- markaby: skipping markaby tests
> no such file to load -- liquid: skipping liquid tests
> no such file to load -- creole: skipping creole tests
> no such file to load -- erubis: skipping erubis tests
> no such file to load -- sass: skipping scss tests
> no such file to load -- nokogiri: skipping nokogiri tests
> no such file to load -- radius: skipping radius tests
> no such file to load -- coffee-script: skipping coffee tests
> no such file to load -- haml: skipping haml tests
> Loaded suite debian/ruby-tests
> Started
>         SECURITY WARNING: No secret option provided to Rack::Session::Cookie.
>         This poses a security threat. It is strongly recommended that you
>         provide a secret to prevent exploits that may be possible from crafted
>         cookies. This will not be supported in future versions of Rack, and
>         future versions will even invalidate your existing user cookies.
> 
>         Called from: /usr/lib/ruby/vendor_ruby/rack/builder.rb:86:in `new'.
> 
> ...................................................................................................................................................................................................................................................................................................................................................................................................................................................F...F....................................................................................................................................................................................................................................
> Finished in 2.777408 seconds.
> 
>   1) Failure:
> test_Calculates_the_Content_Length_using_the_bytesize_of_the_body(ResponseTest) [./test/response_test.rb:40]:
> <["Hello", "World!", "\342\234\210"]> expected but was
> <#<Rack::BodyProxy:0x2ab18426dad0
>  @block=
>   #<Proc:0x0000000000000000@/usr/lib/ruby/vendor_ruby/rack/response.rb:79>,
>  @body=
>   #<Sinatra::Response:0x2ab18426dfd0
>    @block=nil,
>    @body=["Hello", "World!", "\342\234\210"],
>    @chunked=false,
>    @header={"Content-Length"=>"14"},
>    @length=0,
>    @status=200,
>    @writer=
>     #<Proc:0x00002ab181c4a6a0@/usr/lib/ruby/vendor_ruby/rack/response.rb:27>>,
>  @closed=false>>.
> 
>   2) Failure:
> test_initializes_with_200_text_html_and_empty_body(ResponseTest) [./test/response_test.rb:12]:
> <"text/html"> expected but was
> <nil>.
> 
> 668 tests, 1294 assertions, 2 failures, 0 errors
> ERROR: Test "ruby1.8" failed. Exiting.
> dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/tmp returned exit code 1
> make: *** [binary] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/06/20/ruby-sinatra_1.3.2-2_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



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