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

Bug 124258

Summary: sun-jdk ebuilds: unconditional eerror in pkg_postinst
Product: Gentoo Linux Reporter: Martin von Gagern <Martin.vGagern>
Component: [OLD] DevelopmentAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin von Gagern 2006-02-27 06:23:06 UTC
Most sun-jdk ebuilds currently contained in the portage tree unconditionally issue an eerror in pkg_postinst:

> Some parts of Sun's JDK require virtual/x11 and/or virtual/lpr to be installed.
> Be careful which Java libraries you attempt to use.

This is not an error, especially not without any previous check. Until yesterday this just affected the colors of stars I never even looked at, so I never cared, but with ELOG configured, I get an email containing error messages, which might cause a lot of confusion for some users.
Comment 1 Martin von Gagern 2006-02-27 07:02:38 UTC
*** Bug 124263 has been marked as a duplicate of this bug. ***
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2006-03-12 05:36:41 UTC
sun-jdk, sun-jre-bin, ibm-jdk-bin and ibm-jre-bin changed to use ewarn instead of eerror. Thanks for reporting this.