Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288996 - [FEATURES=test failure] dev-ruby/mime-types-1.16-r1 fails to merge
Summary: [FEATURES=test failure] dev-ruby/mime-types-1.16-r1 fails to merge
Status: RESOLVED DUPLICATE of bug 298480
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-14 03:24 UTC by Daniel Lin
Modified: 2010-01-03 15:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Lin 2009-10-14 03:24:18 UTC
dev-ruby/mime-types-1.16-r1 fails merge with USE=doc

Reproducible: Always

Steps to Reproduce:
1. USE=doc emerge dev-ruby/mime-types
Actual Results:  
>>> Compiling source in /var/tmp/portage/dev-ruby/mime-types-1.16-r1/work/mime-types-1.16 ...
(in /var/tmp/portage/dev-ruby/mime-types-1.16-r1/work/mime-types-1.16)
Hoe.new {...} deprecated. Switch to Hoe.spec.
rake aborted!
undefined method `test_files' for #<Hoe:0x7fe4d5aca5a0>
/var/tmp/portage/dev-ruby/mime-types-1.16-r1/work/mime-types-1.16/Rakefile:53
(See full trace by running task with --trace)
 *
 * ERROR: dev-ruby/mime-types-1.16-r1 failed.

Expected Results:  
Successful merge, as happens without USE=doc.
Comment 1 Hans de Graaff gentoo-dev Security 2009-10-21 06:07:17 UTC
This also fails for me with USE=-doc. As far as I can tell having FEATURES=test breaks things. Daniel, can you confirm that this is also the case for you?

My suspicion is that this code is not compatible with a newer version of hoe. I currently have dev-ruby/hoe-2.3.3 installed.
Comment 2 Daniel Lin 2009-10-21 14:38:06 UTC
It's failing in src_compile, not src_test -- I don't see how FEATURES=test would be related?  Which I don't have set in /etc/make.conf or the environment anyhow.

I have dev-ruby/hoe-2.3.3 installed as well.  In my logs, mime-types was built successfully with USE=doc 5 months ago, when hoe-1.12.2 was installed.  (Whoa, where'd I get that?  I don't see it in the main tree...)
Comment 3 Hans de Graaff gentoo-dev Security 2010-01-03 15:04:21 UTC

*** This bug has been marked as a duplicate of bug 298480 ***