Package: gcj-4.1
Version: 4.1.2-8
Severity: normal

rmic fails with the following error:

~$ grmic-4.1 -d classes/core -classpath 
/home/marcus/src/debian/build-area/libmx4j-java-3.0.2/classes/core:/home/marcus/src/debian/build-area/libmx4j-java-3.0.2/lib:/home/marcus/src/debian/build-area/libmx4j-java-3.0.2/dist/lib/mx4j-impl.jar:/home/marcus/src/debian/build-area/libmx4j-java-3.0.2/dist/lib/mx4j-jmx.jar:/home/marcus/src/debian/build-area/libmx4j-java-3.0.2/dist/lib/mx4j.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/commons-logging.jar:/usr/share/java/servlet-api-2.4.jar:/usr/share/java/bcel.jar:/usr/share/java/jython.jar:/usr/share/java/gnumail.jar:/usr/share/java/activation.jar:/usr/share/java/axis.jar:/usr/share/java/jaxrpc.jar:/usr/share/java/saaj.jar:/usr/lib/jvm/java-gcj/lib/tools.jar
 --iiop -g -always -verbose javax.management.remote.rmi.RMIServerImpl
Package javax.management.remote.rmi, name RMIServer impl RMIServerImpl
Exception in thread "main" java.lang.InternalError: 
gnu.classpath.tools.rmic.SourceGiopRmicCompiler: no resource templates/Stub.jav
   at gnu.classpath.tools.rmic.Generator.getResource(libgcj-tools.so.71)
   at 
gnu.classpath.tools.rmic.SourceGiopRmicCompiler.generateStub(libgcj-tools.so.71)
   at gnu.classpath.tools.rmic.SourceGiopRmicCompiler.run(libgcj-tools.so.71)
   at gnu.classpath.tools.rmic.Main.run(libgcj-tools.so.71)
   at gnu.classpath.tools.rmic.Main.main(libgcj-tools.so.71)

Looking at the source file
libjava/classpath/tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
it does try to load the resource:

  public String generateStub()
    {
      String template = getResource("Stub.jav");

There is a templates/Stub.jav resource in the sources as well.

(Note: the -force option to rmic above is needed in my case as a
workaround for PR32198.)

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-rc3-melech (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gcj-4.1 depends on:
ii  ecj                     3.3~M7-2         standalone version of the Eclipse 
ii  gcc-4.1                 4.1.2-11         The GNU C compiler
ii  gcj-4.1-base            4.1.2-8          The GNU Compiler Collection (gcj b
ii  gij-4.1                 4.1.2-8          The GNU Java bytecode interpreter
ii  java-common             0.25             Base of all Java packages
ii  libc6                   2.5-9            GNU C Library: Shared libraries
ii  libc6-dev               2.5-9            GNU C Library: Development Librari
ii  libgcc1                 1:4.2-20070528-1 GCC support library
ii  libgcj-bc               4.1.2-4          Link time only library for use wit
ii  libgcj7-1               4.1.2-8          Java runtime library for use with 
ii  libgcj7-dev             4.1.2-8          Java development headers and stati
ii  libgcj7-jar             4.1.2-8          Java runtime library for use with 
ii  libmagic1               4.20-8           File type determination library us
ii  zlib1g                  1:1.2.3-15       compression library - runtime

Versions of packages gcj-4.1 recommends:
ii  ecj-gcj                       3.3~M7-2   standalone version of the Eclipse 
ii  fastjar                       2:0.95-1   Jar creation utility

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to