Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1684 - postgresql virtual/jdk dependency
Summary: postgresql virtual/jdk dependency
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-11 13:42 UTC by Dave Lee
Modified: 2007-09-22 16:11 UTC (History)
1 user (show)

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 Dave Lee 2002-04-11 13:42:01 UTC
the postgresql-7.2 ebuild fails to build because the DEPEND variable lists
"=virtual/jdk-1.3".  Error is:

Calculating world dependencies |
!!! Error: couldn't find match for =virtual/jdk-1.3 in dev-db/postgresql-7.2-r2

I fixed this by prepending ">" before the "=" to become ">=virtual/jdk-1.3". 
Dont know if this is the correct solution.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-04-12 23:25:13 UTC
What version of portage are you using?  I'm using 1.8.19 and I can't replicate
this problem.
Comment 2 Dave Lee 2002-04-13 08:56:51 UTC
I am now using portage 1.8.19 but wasd using 1.8.16 when I filed this bug.  I
didnt state that it is postgresql-7.2-r1 that I am getting this error with. 
when I try to emerge postgresql-7.2-r2 portage attempts to download
sun-jdk-1.3.1-r3 to fill the =virtual/jdk-1.3* dependency.  I already have
ibm-jdk-1.3.1 that should fill the =virtual/jdk-1.3* dependency need.  so the
lastest postgresql ebuild doesnt seem to have this bug, but instead seems to be
encountering another bug that is not recognizing my ibm-jdk as a virtual/jdk.  I
think postgresql-7.2-r1 may be failing due to the fact the dependency is listed
as =virtual/jdk-1.3 and not =virtual/jdk-1.3* since my jdk is ibm-jdk-1.3.1
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-04-16 11:35:03 UTC
>=virtual/jdk-1.3 is incorrect. Postgresql-7.2 will only work with the 1.3
series of JDKs. This appears to work like a charm in Portage 1.8.8-r1.