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

Bug 3744

Summary: Postgresql 7.2.1 refuses to compile with JDK 1.4 even with USE-"-java"
Product: Gentoo Linux Reporter: Leigh Dyer <lsd>
Component: Current packagesAssignee: Ryan Phillips (RETIRED) <rphillips>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Leigh Dyer 2002-06-14 18:37:42 UTC
 
Comment 1 Leigh Dyer 2002-06-14 18:42:58 UTC
I accidentally hit the Commit button without putting in the description, so I'll
do it here.

I have Sun's 1.4.0 JDK installed. When trying to emerge postgresql 7.2.1, it
wanted to install 1.3.1, which is fine - apparently there are compile problems
with 1.4.0. However, I then tried to emerge postgresql with USE="-java". The
1.3.1 JDK dependency went away, but postgresql fails with the following message:

* Cannot build with Sun JDK 1.4.0, use an 1.3.x JDK instead.

Looking in the ebuild, this check is in pkg_setup(), but it's run regardless of
whether java is wanted in the ebuild or not.
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2002-06-16 23:06:17 UTC
Thanks for that catch... Should be fixed now.