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

Bug 557946

Summary: dev-java/java-config: "java-config -r" listing jar files that are not present?
Product: Gentoo Linux Reporter: Sebastian Pipping <sping>
Component: Current packagesAssignee: Java team <java>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sebastian Pipping gentoo-dev 2015-08-16 17:39:22 UTC
This looks like some sort of bug to me:


# java-config -r | java-config -r | tr : " " | xargs ls -1
ls: cannot access /opt/oracle-jdk-bin-1.8.0.51/jre/lib/sunrsasign.jar: No such file or directory
ls: cannot access /opt/oracle-jdk-bin-1.8.0.51/jre/classes: No such file or directory
/opt/oracle-jdk-bin-1.8.0.51/jre/lib/charsets.jar
/opt/oracle-jdk-bin-1.8.0.51/jre/lib/jce.jar
/opt/oracle-jdk-bin-1.8.0.51/jre/lib/jsse.jar
/opt/oracle-jdk-bin-1.8.0.51/jre/lib/resources.jar
/opt/oracle-jdk-bin-1.8.0.51/jre/lib/rt.jar


Best,  S
Comment 1 Sebastian Pipping gentoo-dev 2015-08-16 17:43:38 UTC
PS: For apicheck, replacing

  $(java-config -r | tr : " ")

by

  $(java-config -r | tr : " " | xargs ls -1 2>/dev/null)

worked well over here.