-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Package: ruby-activesupport-3.2 Version: 3.2.16-2 Severity: serious
Hi, I was trying to update ruby-foreigner to a new upstream and the tests were failing. The log is attached As you can see in the second line (i.e /usr/lib/ruby/vendor_ruby/active_support/test_case.rb:12:in `<module:ActiveSupport>': uninitialized constant Test::Unit::TestCase (NameError)), a "require test/unit" is missing in /usr/lib/ruby/vendor_ruby/active_support/test_case.rb You can replicate the bug by: 1) Clone the ruby-foreigner from alioth (https://alioth.debian.org/anonscm/git/pkg-ruby-extras/ruby-foreigner.git) 2) Run git-buildpackage o fix this I added the following line in /usr/lib/ruby/vendor_ruby/active_support/test_case.rb require 'test/unit' On running dpkg-buildpackage again ruby-foreigner builds successfully Cheers - -- Nitesh A Jain "Quis custodiet ipsos custodes?" http://about.me/niteshajain -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJS+6j7AAoJEAJ4e0GU9dXEaIUP/jQu/c5Reo5IwK/stMGJciPw NcZxcefsZbHfaOsRGGwMjRGHWZsQInCcXa9aaY9XWdxsTzCGGzcwzgbMb+pHXiIZ ETw2dqeCRa1V5fFlONptnG6JT+9Th4xANOhoF1JUu3rjUcskMq7Xtf9/FOemO8Pq 2Ds3IZx0H/JPnFCVYoDRAXumg6yF8ajgSwnDAz1BYe8YtoDkD5FPajjGR+fBl5WP uvudehM6erwxPSEE6yisOlQs54Ng6c41Ou3kJAtRfjBc29tp6srJdiwH6rTR/2E3 Qq3nqzf8BSm16h7yKa2xB9azaQNpSsEPTA4rntQftnLaCKp7QfMTHVQLQ3q51mr5 sFWv10Cm5hJ5goMFPRrcmsy7yaFRpSX4BpWY3rG24VOa4Y6AV7WXmGc49db+I6m9 hcnIhbTz7uKncKXeTWOu8ElqFY9/LPmudN4mHKNzajnweRWfF/uILUgb5VlMaaAf qcobWPw8Tk0nvJZ6VC2CfxCZmbfVg4mSSZyQ57RKRCh4p+SX/azu779Nrmgd/QKZ 6t1jCixdqLFtTrezULythoBCqcq0ni/JOq2EmjEC0xOp9S3vi8PVqao7xnonhBBM RxGq9AO4SToSAsprMJxIaJnHc49RlY0jE3AyncPrUzLv3FoJl1LeB/9/tjslKW0Z eKbTiJ1Xhx+bTb4oQ27Z =JHP/ -----END PGP SIGNATURE-----
Running tests for ruby1.9.1 using debian/ruby-tests.rb... /usr/lib/ruby/vendor_ruby/active_support/test_case.rb:12:in `<module:ActiveSupport>': uninitialized constant Test::Unit::TestCase (NameError) from /usr/lib/ruby/vendor_ruby/active_support/test_case.rb:11:in `<top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /home/nitesh/pkg/ruby-foreigner/ruby-foreigner/test/helper.rb:4:in `<top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /home/nitesh/pkg/ruby-foreigner/ruby-foreigner/test/foreigner/schema_dumper_test.rb:1:in `<top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from debian/ruby-tests.rb:2:in `block in <main>' from debian/ruby-tests.rb:2:in `each' from debian/ruby-tests.rb:2:in `<main>' Test "ruby1.9.1" failed. Continue building the package? (Y/N)