[DRE-maint] Bug#738747: ruby-activesupport-3.2: breaks packages build-depending on ruby-activesupport

Nitesh A Jain niteshjain92 at gmail.com
Wed Feb 12 17:01:47 UTC 2014


-----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-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-foreigner.log
Type: text/x-log
Size: 1098 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20140212/ee3b3f8e/attachment.bin>


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