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

Bug 189913

Summary: [java-overlay] easymock-2.2 circular dependancy with junit-4 w/ USE=test
Product: Gentoo Linux Reporter: Kim Robertson <kim>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: InOverlay
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fixed the test flag

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.