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.
(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.
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.