now depend-java-query doesn't accepts several DEPEND versions which looks well from portage's point of view. Reproducible: Always Steps to Reproduce: Run one of: 1. depend-java-query 'virtual/jdk:=' 2. depend-java-query 'virtual/jdk:*' Actual Results: And it fails with error "Couldn't find a VM dep" Inspired by Bug 541644.
Neither of those makes sense for Java. :* doesn't because all Java software requires a minimum VM version, even if it's something ancient like 1.3 and this is used to set the -source (DEPEND) and -target (RDEPEND) flags. := doesn't for the same reason, plus the fact that Java VMs are highly backwards compatible at runtime. On rare occasions, we have to restrict DEPEND because the build breaks against newer VMs but I don't recall ever having to do that for RDEPEND.
Created attachment 402108 [details, diff] A propoused patch to fix the issue Here is a propoused patch.
(In reply to James Le Cuirot from comment #1) > Neither of those makes sense for Java. > > :* doesn't because all Java software requires a minimum VM version, even if > it's something ancient like 1.3 and this is used to set the -source (DEPEND) > and -target (RDEPEND) flags. > > := doesn't for the same reason, plus the fact that Java VMs are highly > backwards compatible at runtime. On rare occasions, we have to restrict > DEPEND because the build breaks against newer VMs but I don't recall ever > having to do that for RDEPEND. Ok, so the DEPEND in the Bug 541644 just supposed to be wrong... thanks for quick reply.