Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73337 - jsch seemed to fail because it didn't have javax.crypto.*
Summary: jsch seemed to fail because it didn't have javax.crypto.*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on: 86799
Blocks:
  Show dependency tree
 
Reported: 2004-12-04 06:30 UTC by Joshua Koalsh
Modified: 2005-03-29 05:42 UTC (History)
1 user (show)

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 Joshua Koalsh 2004-12-04 06:30:37 UTC
do not have gnu-crypto installed.
java-config -L
[blackdown-jre-1.3.1] "Blackdown JRE 1.3.1" (/etc/env.d/java/20blackdown-jre-1.3.1)
[kaffe-1.1.4] "Kaffe 1.1.4" (/etc/env.d/java/20kaffe-1.1.4)
[ibm-jdk-bin-1.4.2] "IBM JDK 1.4.2" (/etc/env.d/java/20ibm-jdk-bin-1.4.2) *


Below is some output from the compiler...

   [javac]     68.       SecretKeyFactory keyfactory=SecretKeyFactory.getInstance("DESede");
    [javac]               ^--------------^
    [javac] *** Semantic Error: Type "com.jcraft.jsch.jce.SecretKeyFactory" was not found.


    [javac]     69.       SecretKey _key=keyfactory.generateSecret(keyspec);
    [javac]               ^-------^
    [javac] *** Semantic Error: Type "com.jcraft.jsch.jce.SecretKey" was not found.


    [javac]     71.                    javax.crypto.Cipher.ENCRYPT_MODE:
    [javac]                            ^----------^
    [javac] *** Semantic Error: "crypto" is either a misplaced package name or a non-existent entity. An expression name is expected in this context.


    [javac]     72.                    javax.crypto.Cipher.DECRYPT_MODE),
    [javac]                            ^----------^
    [javac] *** Semantic Error: "crypto" is either a misplaced package name or a non-existent entity. An expression name is expected in this context.


Reproducible: Always
Steps to Reproduce:
emerge jsch
Actual Results:  
started to compile things then errors showed up.


emerge info
Portage 2.0.51-r3 (default-ppc-2004.1, gcc-3.4.1, glibc-2.3.3.20040420-r2,
2.6.7-gentoo-r9 ppc)
=================================================================
System uname: 2.6.7-gentoo-r9 ppc 750CXe
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.3-r3
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=750 -pipe -mpowerpc-gfxopt -mmultiple -mstring"
CHOST="powerpc-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/lib/jboss
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=750 -pipe -mpowerpc-gfxopt -mmultiple -mstring"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa arts berkdb cdr dvd esd f77 fortran gdbm gif gnome-libs gpm gtk
guile imlib jikes jpeg libwww motif mozilla nls oggvorbis opengl pam perl png
ppc python readline sdl slang ssl tcpd tetex truetype"
Comment 1 Joshua Koalsh 2004-12-04 06:44:04 UTC
Upon further analaysis i have found this to be a bug with the jikes compiler. It is not getting classpath information.
Comment 2 Heitzso 2005-03-22 08:19:30 UTC
How do you fix this?  If you un-emerge jikes, jsch
just goes and picks it up again.  gcompris depends
on jsch.  jsch depends on jikes.  and something in
this mix is still broken as of Mar 22 05.

Email me if you need my particular env.  Core of the
error is similar to this one, however.
Comment 3 Kevin 2005-03-22 17:00:28 UTC
Me too on this.  Some env details: ppc, kernel 2.6.9-gentoo-dev-r1.  More provided on request.
Comment 4 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-29 05:42:41 UTC
fixed in jsch-0.1.18, thanks for the report and for using gentoo.