Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146411 - dev-java/gnu-crypto-2.0.1 failed
Summary: dev-java/gnu-crypto-2.0.1 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-05 09:11 UTC by Carsten Lohrke (RETIRED)
Modified: 2006-09-10 02:34 UTC (History)
0 users

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 Carsten Lohrke (RETIRED) gentoo-dev 2006-09-05 09:11:32 UTC
CLASSPATH=.:/var/tmp/portage/gnu-crypto-2.0.1/work/gnu-crypto-2.0.1/jce/javax-crypto.jar:/var/tmp/portage/gnu-crypto-2.0.1/work/gnu-crypto-2.0.1/security/javax-security.jar /etc/java-config-2/current-system-vm/bin/javac  gnu/crypto/cipher/CipherFactory.java
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
CLASSPATH=.:/var/tmp/portage/gnu-crypto-2.0.1/work/gnu-crypto-2.0.1/jce/javax-crypto.jar:/var/tmp/portage/gnu-crypto-2.0.1/work/gnu-crypto-2.0.1/security/javax-security.jar /etc/java-config-2/current-system-vm/bin/javac  gnu/crypto/exp/ust/UST.java
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
CLASSPATH=.:/var/tmp/portage/gnu-crypto-2.0.1/work/gnu-crypto-2.0.1/jce/javax-crypto.jar:/var/tmp/portage/gnu-crypto-2.0.1/work/gnu-crypto-2.0.1/security/javax-security.jar /etc/java-config-2/current-system-vm/bin/javac  gnu/crypto/jce/GnuCrypto.java
./gnu/crypto/sasl/ClientMechanism.java:143: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.ClientMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslClient; overridden method does not throw javax.security.sasl.SaslException
   public Object getNegotiatedProperty(final String propName) throws SaslException {
                 ^
./gnu/crypto/sasl/ServerMechanism.java:150: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.ServerMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslServer; overridden method does not throw javax.security.sasl.SaslException
   public Object getNegotiatedProperty(final String propName) throws SaslException {
                 ^
./gnu/crypto/sasl/anonymous/AnonymousClient.java:61: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.ClientMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslClient; overridden method does not throw javax.security.sasl.SaslException
public class AnonymousClient extends ClientMechanism implements SaslClient {
       ^
./gnu/crypto/sasl/crammd5/CramMD5Client.java:66: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.ClientMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslClient; overridden method does not throw javax.security.sasl.SaslException
public class CramMD5Client extends ClientMechanism implements SaslClient {
       ^
./gnu/crypto/sasl/plain/PlainClient.java:60: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.ClientMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslClient; overridden method does not throw javax.security.sasl.SaslException
public class PlainClient extends ClientMechanism implements SaslClient {
       ^
./gnu/crypto/sasl/srp/SRPClient.java:88: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.ClientMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslClient; overridden method does not throw javax.security.sasl.SaslException
public class SRPClient extends ClientMechanism implements SaslClient {
       ^
./gnu/crypto/sasl/anonymous/AnonymousServer.java:60: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.ServerMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslServer; overridden method does not throw javax.security.sasl.SaslException
public class AnonymousServer extends ServerMechanism implements SaslServer {
       ^
./gnu/crypto/sasl/crammd5/CramMD5Server.java:67: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.ServerMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslServer; overridden method does not throw javax.security.sasl.SaslException
public class CramMD5Server extends ServerMechanism implements SaslServer {
       ^
./gnu/crypto/sasl/plain/PlainServer.java:66: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.ServerMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslServer; overridden method does not throw javax.security.sasl.SaslException
public class PlainServer extends ServerMechanism implements SaslServer {
       ^
./gnu/crypto/sasl/srp/SRPServer.java:82: getNegotiatedProperty(java.lang.String) in gnu.crypto.sasl.ServerMechanism cannot implement getNegotiatedProperty(java.lang.String) in javax.security.sasl.SaslServer; overridden method does not throw javax.security.sasl.SaslException
public class SRPServer extends ServerMechanism implements SaslServer {
       ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
10 errors
make[1]: *** [gnu/crypto/jce/GnuCrypto.class] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnu-crypto-2.0.1/work/gnu-crypto-2.0.1/source'
make: *** [all-recursive] Error 1


I'm using sun-jdk-1.5.0.08.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-09-05 09:48:38 UTC
(In reply to comment #0)
> I'm using sun-jdk-1.5.0.08.
> 

You shouldn't (be able to) use 1.5 with gen-1 ebuild which this is.

> CLASSPATH=.:/var/tmp/portage/gnu-crypto-2.0.1/work/gnu-crypto-2.0.1/jce/javax-crypto.jar:/var/tmp/portage/gnu-crypto-2.0.1/work/gnu-crypto-2.0.1/security/javax-security.jar
> /etc/java-config-2/current-system-vm/bin/javac  gnu/crypto/exp/ust/UST.java
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.

Seems it uses JAVAC variable. java-pkg.eclass was recently patched to set that variable properly, did you sync recently? Because here it uses /opt/blackdown-jdk-1.4.2.03/bin/javac which is my gen-1 system vm.
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2006-09-10 02:34:08 UTC
Both gnu-crypto-2.0.1-r2 (uses 1.5) and gnu-crypto-2.0.1 (uses 1.4) build fine here so assuming this as fixes. Please reopen if you still have issues.