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

Bug 483322

Summary: net-p2p/freenet-0.7.5_p1455 requires dev-java/bcprov:1.48 or >=dev-java/bcprov-1.49:0 - FileUtil.java:28: error: cannot find symbol org.bouncycastle.crypto.io.CipherInputStream;
Product: Gentoo Linux Reporter: Dennis Nezic <dennisn>
Component: Current packagesAssignee: Thomas Sachau <tommy>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dennis Nezic 2013-09-02 03:52:21 UTC
I wasn't able to compile this version of freenet with bcprov-1.45.

 [javac] /var/tmp/portage/net-p2p/freenet-0.7.5_p1455/work/fred-official-build01455/src/freenet/support/io/       FileUtil.java:28: error: cannot find symbol
    [javac] import org.bouncycastle.crypto.io.CipherInputStream;
    [javac]                                  ^
    [javac]   symbol:   class CipherInputStream
    [javac]   location: package org.bouncycastle.crypto.io

Upgrading to the latest dev-java/bcprov-1.49-r2 fixed things. I guess we should upgrade the bouncycastle (bcprov) dependency to bcprov-1.49 ish?

Reproducible: Always
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-02 08:43:23 UTC
org.bouncycastle.crypto.io.CipherInputStream is available in:

dev-java/bcprov-1.48-r1 (/usr/share/bcprov-1.48/lib/bcprov.jar)
dev-java/bcprov-1.49-r2 (/usr/share/bcprov/lib/bcprov.jar)

So, one of both (:1.48 or >=1.49:0) should suffice; if you can, prefer :1.48.
Comment 2 Thomas Sachau gentoo-dev 2013-09-07 13:43:06 UTC
thanks for the report, version requirement to 1.49 raised