Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547282 - dev-java/jmock-2.6.1 tries to pull in virtual/jdk-1.6 & virtual/jre-1.6
Summary: dev-java/jmock-2.6.1 tries to pull in virtual/jdk-1.6 & virtual/jre-1.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-21 10:26 UTC by Attila Tóth
Modified: 2015-04-22 10:22 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 Attila Tóth 2015-04-21 10:26:59 UTC
As dev-java/jmock-2.6.1 became stable it tries to pull in virtual/jdk-1.6 & virtual/jre-1.6 on my systems.
The ebuild RDEPENDs on virtual/jre:1.6 and DEPENDs on virtual/jdk:1.6.

While previous version in another slot (dev-java/jmock-1.1.0-r2) accepts new versions of jre and jdk. Those ebuilds contain:
RDEPEND >=virtual/jre-1.6 & DEPEND >=virtual/jdk-1.6

Relevant information: I'm using portage-2.2.18 and also using the science overlay.

I don't know if it is really the intended behavior, but I suspect it's not.
Comment 1 James Le Cuirot gentoo-dev 2015-04-21 10:39:53 UTC
You're right, bug #213175 says that 2.6 should not be restricted to 1.6.
Comment 2 Patrice Clement gentoo-dev 2015-04-22 10:22:50 UTC
+  22 Apr 2015; Patrice Clement <monsieurp@gentoo.org> jmock-2.6.1.ebuild:
+  Remove hard SLOTs depends on virtual/{jdk-jre} in favour of normal deps. Fix
+  bug 547282.
+

patrice@vmint ~/gentoo-x86/dev-java/jmock $ grep virtual jmock-2.6.1.ebuild
RDEPEND=">=virtual/jre-1.6
DEPEND=">=virtual/jdk-1.6

Portage should behave as expected now. Please sync your tree and thanks for reporting the bug.