Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189913 - [java-overlay] easymock-2.2 circular dependancy with junit-4 w/ USE=test
Summary: [java-overlay] easymock-2.2 circular dependancy with junit-4 w/ USE=test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2007-08-23 09:08 UTC by Kim Robertson
Modified: 2007-08-25 09:54 UTC (History)
0 users

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


Attachments
Fixed the test flag (easymock-2.2.ebuild,2.01 KB, text/plain)
2007-08-23 09:10 UTC, Kim Robertson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Robertson 2007-08-23 09:08:25 UTC
easymock-2.2 causes a circular dependancy with junit-4. The test flag of easymock requires >=dev-java/junit-4. junit in turn needs CDEPEND="dev-java/hamcrest", which needs CDEPEND=">=dev-java/easymock-2.2....



Reproducible: Always

Steps to Reproduce:
Emerge easymock without hamcrest and junit-4* installed.
Comment 1 Kim Robertson 2007-08-23 09:10:34 UTC
Created attachment 128932 [details]
Fixed the test flag

Ebuild fixes the test flag so that it works correctly.
Comment 2 Miroslav Šulc gentoo-dev 2007-08-25 09:54:42 UTC
Thanks for the report and for the fix :-)

I put that into overlay and bumped easymock to 2.3. I also added fix to be able to run tests with junit-4.4.