[Pkg-octave-devel] Bug#681355: octave-java: Not working on architecture armel

Lutz Kohl lutzikohli at spambog.de
Thu Jul 12 14:28:49 UTC 2012


Package: octave-java
Version: 1.2.8-3
Severity: normal

Invoking

 javaclasspath

in octave on architecture armel produces the error

octave:3> javaclasspath
error: `java_invoke' undefined near line 49 column 16
error: called from:
error:   /usr/share/octave/packages/java-1.2.8/javaclasspath.m at line 49, column 14

Installing octave-java version 1.2.8-5 from sid together with openjdk-7 on architecture armel shows the same error.

The same invocation works fine on architecture amd64 installation using the same versions of octave (3.6.2-2) and octave-java (1.2.8-3).

Running octave with strace on both architectures shows the following difference, which may be related to the failure:

amd64 (which works):
stat("/usr/lib/x86_64-linux-gnu/octave/packages/java-1.2.8/x86_64-pc-linux-gnu-api-v48+", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

armel (which does not work):
stat64("/usr/lib/arm-linux-gnueabi/octave/packages/java-1.2.8/arm-unknown-linux-gnueabi-api-v48+", 0xbe900c48) = -1 ENOENT (No such file or directory)

Looking at the contents of the packages with dpkg -L, the amd64 package contains 3 files in this platform-specific directory:
__java__.oct, PKG_ADD, PKG_DEL

The arm package however does not contain any files under /usr/lib


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: armel (armv6l)

Kernel: Linux 3.1.9+ (PREEMPT)
Locale: LANG=de_BE.UTF-8, LC_CTYPE=de_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages octave-java depends on:
ii  octave                  3.6.2-2
ii  openjdk-6-jre-headless  6b24-1.11.3-2

octave-java recommends no packages.

octave-java suggests no packages.

-- no debconf information





More information about the Pkg-octave-devel mailing list