Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88571 - dev-java/gnu-crypto-2.0.1 compile error with java 1.5
Summary: dev-java/gnu-crypto-2.0.1 compile error with java 1.5
Status: RESOLVED DUPLICATE of bug 79206
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-10 04:30 UTC by Sebastian Klüft
Modified: 2005-07-17 13:06 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 Sebastian Klüft 2005-04-10 04:30:50 UTC
I decided to try java 1.5 and it seems to work fine. Maybe because i dont have that many java dependent applications installed.
However today i tried to emerge jedit with java 1.5 as my system vm and it failed when it got to dev-java/gnu-crypto-2.0.1 with this compile error:

./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] Fel 1
make[1]: *** Inv
Comment 1 Sebastian Klüft 2005-04-10 04:30:50 UTC
I decided to try java 1.5 and it seems to work fine. Maybe because i dont have that many java dependent applications installed.
However today i tried to emerge jedit with java 1.5 as my system vm and it failed when it got to dev-java/gnu-crypto-2.0.1 with this compile error:

./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] Fel 1
make[1]: *** Inväntar oavslutade jobb...
make[1]: Leaving directory `/var/tmp/portage/gnu-crypto-2.0.1/work/gnu-crypto-2.0.1/source'
make: *** [all-recursive] Fel 1

I have concluded that it most probably is a java 1.5 problem because it worked fine when i switched back to 1.4.2 as system vm.

emerge info:
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 10:33:00)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo/ ftp://mirror.pudas.net/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.tiscali.nl/pub/mirror/gentoo"
LC_ALL="sv_SE"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac aalib alsa apm avi berkdb bitmap-fonts bonobo cdr crypt cups curl divx4linux dvd emboss encode esd fam flac foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml guile hal imagemagick imlib ipv6 java jpeg ldap libg++ libwww mad mikmod mmx mono motif mozilla mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline ruby samba sdl slang spell sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb wmf xml2 xmms xprint xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG

Reproducible: Always
Steps to Reproduce:
1. emerge =sun-jdk-1.5.0.02
2. emerge jedit
Comment 2 Sebastian Klüft 2005-04-10 04:34:51 UTC
Ops. Didnt paste the whole error output.
But here it is:

CLASSPATH=.:/var/tmp/portage/gnu-crypto-2.0.1/work/gnu-crypto-2.0.1/jce/javax-cr ypto.jar:/var/tmp/portage/gnu-crypto-2.0.1/work/gnu-crypto-2.0.1/security/javax- security.jar /opt/sun-jdk-1.5.0.02/bin/javac  gnu/crypto/jce/hash/HavalSpi.java
./gnu/crypto/sasl/ClientMechanism.java:143: getNegotiatedProperty(java.lang.Stri ng) in gnu.crypto.sasl.ClientMechanism cannot implement getNegotiatedProperty(ja va.lang.String) in javax.security.sasl.SaslClient; overridden method does not th row javax.security.sasl.SaslException
   public Object getNegotiatedProperty(final String propName) throws SaslExcepti on {
                 ^
./gnu/crypto/sasl/ServerMechanism.java:150: getNegotiatedProperty(java.lang.Stri ng) in gnu.crypto.sasl.ServerMechanism cannot implement getNegotiatedProperty(ja va.lang.String) in javax.security.sasl.SaslServer; overridden method does not th row javax.security.sasl.SaslException
   public Object getNegotiatedProperty(final String propName) throws SaslExcepti on {
                 ^
./gnu/crypto/sasl/anonymous/AnonymousClient.java:61: getNegotiatedProperty(java. lang.String) in gnu.crypto.sasl.ClientMechanism cannot implement getNegotiatedPr operty(java.lang.String) in javax.security.sasl.SaslClient; overridden method do es 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 getNegotiatedProper ty(java.lang.String) in javax.security.sasl.SaslClient; overridden method does n ot throw javax.security.sasl.SaslException
public class CramMD5Client extends ClientMechanism implements SaslClient {
       ^
./gnu/crypto/sasl/plain/PlainClient.java:60: getNegotiatedProperty(java.lang.Str ing) in gnu.crypto.sasl.ClientMechanism cannot implement getNegotiatedProperty(j ava.lang.String) in javax.security.sasl.SaslClient; overridden method does not t hrow 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 getNegotiatedPr operty(java.lang.String) in javax.security.sasl.SaslServer; overridden method do es 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 getNegotiatedProper ty(java.lang.String) in javax.security.sasl.SaslServer; overridden method does n ot throw javax.security.sasl.SaslException
public class CramMD5Server extends ServerMechanism implements SaslServer {
       ^
./gnu/crypto/sasl/plain/PlainServer.java:66: getNegotiatedProperty(java.lang.Str ing) in gnu.crypto.sasl.ServerMechanism cannot implement getNegotiatedProperty(j ava.lang.String) in javax.security.sasl.SaslServer; overridden method does not t hrow 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] Fel 1
make[1]: *** Inv
Comment 3 Sebastian Klüft 2005-04-10 04:34:51 UTC
Ops. Didnt paste the whole error output.
But here it is:

CLASSPATH=.:/var/tmp/portage/gnu-crypto-2.0.1/work/gnu-crypto-2.0.1/jce/javax-cr ypto.jar:/var/tmp/portage/gnu-crypto-2.0.1/work/gnu-crypto-2.0.1/security/javax- security.jar /opt/sun-jdk-1.5.0.02/bin/javac  gnu/crypto/jce/hash/HavalSpi.java
./gnu/crypto/sasl/ClientMechanism.java:143: getNegotiatedProperty(java.lang.Stri ng) in gnu.crypto.sasl.ClientMechanism cannot implement getNegotiatedProperty(ja va.lang.String) in javax.security.sasl.SaslClient; overridden method does not th row javax.security.sasl.SaslException
   public Object getNegotiatedProperty(final String propName) throws SaslExcepti on {
                 ^
./gnu/crypto/sasl/ServerMechanism.java:150: getNegotiatedProperty(java.lang.Stri ng) in gnu.crypto.sasl.ServerMechanism cannot implement getNegotiatedProperty(ja va.lang.String) in javax.security.sasl.SaslServer; overridden method does not th row javax.security.sasl.SaslException
   public Object getNegotiatedProperty(final String propName) throws SaslExcepti on {
                 ^
./gnu/crypto/sasl/anonymous/AnonymousClient.java:61: getNegotiatedProperty(java. lang.String) in gnu.crypto.sasl.ClientMechanism cannot implement getNegotiatedPr operty(java.lang.String) in javax.security.sasl.SaslClient; overridden method do es 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 getNegotiatedProper ty(java.lang.String) in javax.security.sasl.SaslClient; overridden method does n ot throw javax.security.sasl.SaslException
public class CramMD5Client extends ClientMechanism implements SaslClient {
       ^
./gnu/crypto/sasl/plain/PlainClient.java:60: getNegotiatedProperty(java.lang.Str ing) in gnu.crypto.sasl.ClientMechanism cannot implement getNegotiatedProperty(j ava.lang.String) in javax.security.sasl.SaslClient; overridden method does not t hrow 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 getNegotiatedPr operty(java.lang.String) in javax.security.sasl.SaslServer; overridden method do es 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 getNegotiatedProper ty(java.lang.String) in javax.security.sasl.SaslServer; overridden method does n ot throw javax.security.sasl.SaslException
public class CramMD5Server extends ServerMechanism implements SaslServer {
       ^
./gnu/crypto/sasl/plain/PlainServer.java:66: getNegotiatedProperty(java.lang.Str ing) in gnu.crypto.sasl.ServerMechanism cannot implement getNegotiatedProperty(j ava.lang.String) in javax.security.sasl.SaslServer; overridden method does not t hrow 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] Fel 1
make[1]: *** Inväntar oavslutade jobb...
make[1]: Leaving directory `/var/tmp/portage/gnu-crypto-2.0.1/work/gnu-crypto-2. 0.1/source'
make: *** [all-recursive] Fel 1
Comment 4 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-10 06:17:37 UTC

*** This bug has been marked as a duplicate of 79206 ***