Debian Bug report logs -
#681355
octave-java: Not working on architecture armel
Reported by: Lutz Kohl <lutzikohli@spambog.de>
Date: Thu, 12 Jul 2012 15:30:01 UTC
Severity: grave
Tags: patch
Found in version octave-java/1.2.8-3
Fixed in version octave-java/1.2.8-6
Done: Thomas Weber <tweber@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#681355; Package octave-java.
(Thu, 12 Jul 2012 15:30:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Lutz Kohl <lutzikohli@spambog.de>:
New Bug report received and forwarded. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>.
(Thu, 12 Jul 2012 15:30:07 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
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
Severity set to 'important' from 'normal'
Request was from Sébastien Villemot <sebastien.villemot@ens.fr>
to control@bugs.debian.org.
(Thu, 12 Jul 2012 17:39:19 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#681355; Package octave-java.
(Sat, 14 Jul 2012 09:15:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Lutz Kohl <lutzikohli@spambog.de>:
Extra info received and forwarded to list. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>.
(Sat, 14 Jul 2012 09:15:02 GMT) (full text, mbox, link).
Message #12 received at 681355@bugs.debian.org (full text, mbox, reply):
The patch below fixes the problem for architecture armel.
Please note that other debian architectures might also be affected
by the bug and need similar fixes.
The cause is that the src/configure script tests only for a limited
number of known architectures. arm was not among them.
diff -u java/src/configure octave-java-1.2.8/src/configure
--- java/src/configure 2011-06-06 13:07:35.000000000 +0200
+++ octave-java-1.2.8/src/configure 2012-07-13 21:21:25.771263975 +0200
@@ -3301,6 +3301,8 @@
JAVA_ARCH="solaris"
elif test -d "${JAVA_HOME}/jre/lib/solarisv9"; then
JAVA_ARCH="solarisv9"
+ elif test -d "${JAVA_HOME}/jre/lib/arm"; then
+ JAVA_ARCH="arm"
fi
if test -n "$JAVA_ARCH"; then
HAVE_JAVA=yes
Added tag(s) patch.
Request was from Sébastien Villemot <sebastien.villemot@ens.fr>
to control@bugs.debian.org.
(Sat, 14 Jul 2012 18:42:04 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#681355; Package octave-java.
(Wed, 18 Jul 2012 17:51:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Thomas Weber <tweber@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>.
(Wed, 18 Jul 2012 17:51:04 GMT) (full text, mbox, link).
Message #19 received at 681355@bugs.debian.org (full text, mbox, reply):
Package: octave-java
severity 681355 grave
thanks
On Thu, Jul 12, 2012 at 04:28:49PM +0200, Lutz Kohl wrote:
> Package: octave-java
> Version: 1.2.8-3
> Severity: normal
>
> Invoking
>
> javaclasspath
>
> in octave on architecture armel produces the error
I'm looking into this and bumping the severity - the package doesn't
seem to work on most architectures.
The solution is probably to use the machinery from the javahelper
package.
Thomas
Severity set to 'grave' from 'important'
Request was from Thomas Weber <tweber@debian.org>
to control@bugs.debian.org.
(Wed, 18 Jul 2012 17:51:07 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#681355; Package octave-java.
(Wed, 18 Jul 2012 21:09:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Thomas Weber <tweber@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>.
(Wed, 18 Jul 2012 21:09:03 GMT) (full text, mbox, link).
Message #26 received at 681355@bugs.debian.org (full text, mbox, reply):
Hi Lutz,
On Thu, Jul 12, 2012 at 04:28:49PM +0200, Lutz Kohl wrote:
> Package: octave-java
> Version: 1.2.8-3
> Severity: normal
>
> Invoking
>
> javaclasspath
>
> in octave on architecture armel produces the error
Can you act as guinea pig for a new package? I don't have access to
armel myself and you seem to already have everything set up.
Code is available at
http://people.debian.org/~tweber/octave-java/
The changelog and version need to be bumped, but it's just a quick test.
Thanks
Thomas
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#681355; Package octave-java.
(Sun, 22 Jul 2012 21:51:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Thomas Weber <tweber@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>.
(Sun, 22 Jul 2012 21:51:07 GMT) (full text, mbox, link).
Message #31 received at 681355@bugs.debian.org (full text, mbox, reply):
tag 681355 pending
thanks
Date: Sun Jul 22 23:12:37 2012 +0200
Author: Thomas Weber <tweber@debian.org>
Commit ID: 401bd399aa005488f2152681a533ad0a15b426ea
Commit URL: http://git.debian.org/?p=pkg-octave/octave-java.git;a=commitdiff;h=401bd399aa005488f2152681a533ad0a15b426ea
Patch URL: http://git.debian.org/?p=pkg-octave/octave-java.git;a=commitdiff_plain;h=401bd399aa005488f2152681a533ad0a15b426ea
Set and use JAVA_ARCH correctly on all platforms
We use the javahelper package and change upstream's configure script
such that it uses the given value.
New patch: enable_preset_java_arch_value
Closes: #681355
Added tag(s) pending.
Request was from Thomas Weber <tweber@debian.org>
to control@bugs.debian.org.
(Sun, 22 Jul 2012 21:51:10 GMT) (full text, mbox, link).
Reply sent
to Thomas Weber <tweber@debian.org>:
You have taken responsibility.
(Sun, 22 Jul 2012 21:51:17 GMT) (full text, mbox, link).
Notification sent
to Lutz Kohl <lutzikohli@spambog.de>:
Bug acknowledged by developer.
(Sun, 22 Jul 2012 21:51:17 GMT) (full text, mbox, link).
Message #38 received at 681355-close@bugs.debian.org (full text, mbox, reply):
Source: octave-java
Source-Version: 1.2.8-6
We believe that the bug you reported is fixed in the latest version of
octave-java, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 681355@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Weber <tweber@debian.org> (supplier of updated octave-java package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 22 Jul 2012 23:19:39 +0200
Source: octave-java
Binary: octave-java
Architecture: source amd64
Version: 1.2.8-6
Distribution: unstable
Urgency: low
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
Changed-By: Thomas Weber <tweber@debian.org>
Description:
octave-java - Java objects manipulation interface for Octave
Closes: 664776 681355
Changes:
octave-java (1.2.8-6) unstable; urgency=low
.
* Set and use JAVA_ARCH correctly on all platforms.
New patch: enable_preset_java_arch_value (Closes: #681355)
* Re-enable test suite.
The fix for #681355 should fix the bug with the test suite as well.
(Closes: #664776)
Checksums-Sha1:
1a448323b1adcd0ab0e831f5ab85115d2aba5342 1422 octave-java_1.2.8-6.dsc
f0583f4599949ee731c9ebb0bca56384ad6cd9f8 4523 octave-java_1.2.8-6.debian.tar.gz
dc5dfa114cb84389f5c01a0ac97ec13a73c6a9e5 593126 octave-java_1.2.8-6_amd64.deb
Checksums-Sha256:
f77cf7b21d57fd32b34eac5d03c10ea4a65e4ae35b1f462e3a3ff8c3f00bac56 1422 octave-java_1.2.8-6.dsc
06f198cb7e608524b757f7ebd82343b1461d9d61d79de5e9782b44d0d3443ce8 4523 octave-java_1.2.8-6.debian.tar.gz
d2104436fb2666147b96744305d2124333264e4d545272cb7f80cda6d3d2e3f4 593126 octave-java_1.2.8-6_amd64.deb
Files:
00fd6ae9f0df2c7262b2baa191534a7c 1422 math optional octave-java_1.2.8-6.dsc
f73ada051c2012c217b8d920a8d36d51 4523 math optional octave-java_1.2.8-6.debian.tar.gz
32af6aad02bc424c69d98a3843ad54ac 593126 math optional octave-java_1.2.8-6_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlAMc9AACgkQPqD4a3lPnXyuMACfWdq1XGEJexvd5SPcEbkMgT5d
0N4An1UUTn6Dx9sfUkDsAGt5/MUScHUh
=6bUS
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 30 Aug 2012 07:27:09 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jul 1 14:22:51 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.