Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 379551

Summary: [FEATURES=test] dev-ruby/activerecord-2.3.12 fails tests
Product: Gentoo Linux Reporter: Dan Wallis <mrdanwallis>
Component: New packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Full build log
emerge --info

Description Dan Wallis 2011-08-17 09:43:52 UTC
Created attachment 283655 [details]
Full build log

* Running compile phase for all ...
>>> Source compiled.
 * Running test phase for ruby18 ...
(in /var/tmp/portage/dev-ruby/activerecord-2.3.12/work/ruby18/activerecord-2.3.12)
rake aborted!
no such file to load -- rdoc/task
/var/tmp/portage/dev-ruby/activerecord-2.3.12/work/ruby18/activerecord-2.3.12/Rakefile:4
(See full trace by running task with --trace)
 * ERROR: dev-ruby/activerecord-2.3.12 failed (test phase):
 *   sqlite3 tests failed
Comment 1 Dan Wallis 2011-08-17 09:44:54 UTC
Created attachment 283657 [details]
emerge --info
Comment 2 Hans de Graaff gentoo-dev Security 2011-08-18 07:21:49 UTC
Please try 2.3.14 where I believe this should be fixed.
Comment 3 Hans de Graaff gentoo-dev Security 2011-08-18 07:22:39 UTC
A workaround is to install dev-ruby/rdoc, which should be pulled in by our rails ebuild.
Comment 4 Dan Wallis 2011-08-18 23:42:43 UTC
Thanks, will test with v2.3.14. Given the suggested workaround, should "test? (dev-ruby/rdoc)" be added to DEPEND for v2.3.12 ?
Comment 5 Hans de Graaff gentoo-dev Security 2011-08-20 17:46:41 UTC
(In reply to comment #4)
> Thanks, will test with v2.3.14. Given the suggested workaround, should "test?
> (dev-ruby/rdoc)" be added to DEPEND for v2.3.12 ?

Normally I would investigate something like that, but in this case I won't because 2.3.12 (and earlier versions) will be removed shortly due to security issues.
Comment 6 Dan Wallis 2011-08-30 10:09:08 UTC
Same test failure with v2.3.14
Comment 7 Hans de Graaff gentoo-dev Security 2011-12-27 07:43:10 UTC
(In reply to comment #3)
> A workaround is to install dev-ruby/rdoc, which should be pulled in by our
> rails ebuild.

Actually, this is the only fix that works, so I've now updated the ebuild in CVS.