Bug#357457: openoffice.org-gcj: Can't finish post-installation -- missing file /usr/lib/jvm/java-gcj/bin/gcj

2006-03-17 Thread Max Gilead
Package: openoffice.org-gcj
Version: 2.0.2-1
Severity: grave
Justification: renders package unusable


Post-installation breaks with this error message:
Setting up openoffice.org-gcj (2.0.2-1) ...
/var/lib/dpkg/info/openoffice.org-gcj.postinst: line 7: 
/usr/lib/jvm/java-gcj/bin/gcj: No such file or directory
find: /usr/share/gcj-: No such file or directory
java.io.IOException: cannot create temporary file
   at java.io.File.createTempFile(java.lang.String, java.lang.String, 
java.io.File) (/usr/lib/libgcj.so.6.0.0)
   at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
   at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
openoffice.org-gcj: error merging classmaps
dpkg: error processing openoffice.org-gcj (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 openoffice.org-gcj
E: Sub-process /usr/bin/dpkg returned an error code (1)

GCJ is installed at:
# which gcj
/usr/bin/gcj

Installation completes successfully after:
#cd /usr/lib/jvm/java-gcj/bin/
#ln -s /usr/bin/gcj

Regards,
Max

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages openoffice.org-gcj depends on:
ii  java-gcj-compat   1.0.51-1   Java runtime environment using GIJ
ii  libc6 2.3.6-3GNU C Library: Shared libraries an
ii  libgcc1   1:4.0.3-1  GCC support library
ii  libgcj6   4.0.3-1Java runtime library for use with 
ii  openoffice.org-core   2.0.2-1OpenOffice.org office suite archit
ii  openoffice.org-java-common2.0.2-1OpenOffice.org office suite Java s
ii  zlib1g1:1.2.3-11 compression library - runtime

openoffice.org-gcj recommends no packages.

-- no debconf information


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



Bug#357457: openoffice.org-gcj: Can't finish post-installation -- missing file /usr/lib/jvm/java-gcj/bin/gcj

2006-03-17 Thread Rene Engelhard
merge 357457 356984 357024 357067 357159 357160 357290
thanks

Hi,

Am Freitag 17 März 2006 15:01 schrieb Max Gilead:
 Post-installation breaks with this error message:
 Setting up openoffice.org-gcj (2.0.2-1) ...
 /var/lib/dpkg/info/openoffice.org-gcj.postinst: line 7:
 /usr/lib/jvm/java-gcj/bin/gcj: No such file or directory find:
 /usr/share/gcj-: No such file or directory
 java.io.IOException: cannot create temporary file
at java.io.File.createTempFile(java.lang.String, java.lang.String,
 java.io.File) (/usr/lib/libgcj.so.6.0.0) at
 gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0) at
 gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
 openoffice.org-gcj: error merging classmaps
 dpkg: error processing openoffice.org-gcj (--configure):
  subprocess post-installation script returned error exit status 1
 Errors were encountered while processing:
  openoffice.org-gcj
 E: Sub-process /usr/bin/dpkg returned an error code (1)

Already reported as:

#356984: openoffice.org-gcj: Uninstallable because of missing gcj symlink 
Package: openoffice.org-gcj (openoffice.org-gcj 2.0.2-1); Severity: grave; 
Reported by: Philipp Weis [EMAIL PROTECTED]; Tags: pending; Merged with 
#357024, #357067, #357159, #357160, #357290. 
#357024: openoffice.org-gcj: post-installation script fails 
Package: openoffice.org-gcj (openoffice.org-gcj 2.0.2-1); Severity: grave; 
Reported by: Csillag Kristof [EMAIL PROTECTED]; Tags: pending; Merged 
with #356984, #357067, #357159, #357160, #357290. 
#357067: openoffice.org-gcj: installation problems: gcj: No such file or 
directory 
Package: openoffice.org-gcj (openoffice.org-gcj 2.0.2-1); Severity: grave; 
Reported by: Peter Van Eynde [EMAIL PROTECTED]; Tags: pending; Merged 
with #356984, #357024, #357159, #357160, #357290. 
#357159: openoffice.org-gcj installation fails 
Package: openoffice.org-gcj (openoffice.org-gcj 2.0.2-1); Severity: grave; 
Reported by: Michael Kallas [EMAIL PROTECTED]; Tags: pending; Merged 
with #356984, #357024, #357067, #357160, #357290. 
#357160: Missing postinstall script dependency. 
Package: openoffice.org-gcj (openoffice.org-gcj 2.0.2-1); Severity: grave; 
Reported by: Charles L Wilcox [EMAIL PROTECTED]; Tags: pending; Merged with 
#356984, #357024, #357067, #357159, #357290. 
#357290: openoffice.org-gcj: fails to install 
Package: openoffice.org-gcj (openoffice.org-gcj 2.0.2-1); Severity: grave; 
Reported by: Henrique de Moraes Holschuh [EMAIL PROTECTED]; Tags: pending; 
Merged with #356984, #357024, #357067, #357159, #357160.

 GCJ is installed at:
 # which gcj
 /usr/bin/gcj

 Installation completes successfully after:
 #cd /usr/lib/jvm/java-gcj/bin/
 #ln -s /usr/bin/gcj

That's a workaround, yes. The proper fix is just to use gij, which I'll do
with 2.0.2-2.

Regards,

Rene
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  [EMAIL PROTECTED] | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73