Debian Bug report logs - #338569
java-package: can't run java programs via two symlinks -

version graph

Package: java-package; Maintainer for java-package is Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>; Source for java-package is src:java-package (PTS, buildd, popcon).

Reported by: Ian Wienand <ianw@ieee.org>

Date: Fri, 11 Nov 2005 04:18:01 UTC

Severity: important

Merged with 338277

Found in versions java-package/0.26, java-package/0.27

Fixed in version java-package/0.28

Done: Barry Hawkins <barry@alltc.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#338569; Package java-package. (full text, mbox, link).


Acknowledgement sent to Ian Wienand <ianw@ieee.org>:
New Bug report received and forwarded. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Ian Wienand <ianw@ieee.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: java-package: Can't call PowerPC 5.0 java programs via two symlinks
Date: Fri, 11 Nov 2005 15:05:57 +1100
[Message part 1 (text/plain, inline)]
Package: java-package
Version: 0.27
Severity: normal

Hi,

A strage little problem with the latest IBM Java release (5.0) on
32-bit PowerPC; calling the programs via two symlinks
(e.g. /usr/bin/javac -> /etc/alternatives/javac -> actual) dosen't
work.

ianw@mingus:/tmp$ ln -s /usr/lib/j2sdk1.5-ibm/bin/javac javac-test
ianw@mingus:/tmp$ ./javac-test
Usage: javac <options> <source files>
[blah blah]
ianw@mingus:/tmp$ ln -s ./javac-test ./javac-test-2
ianw@mingus:/tmp$ ./javac-test-2
JVM not found: libjvm.so  - libjvm.so

Not sure that it is something that can be fixed in the packages, seems
the JVM is at fault.  I included an strace incase it helps

-i

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-git-gcd3f98ee
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages java-package depends on:
ii  coreutils                     5.2.1-2.1  The GNU core utilities
ii  debhelper                     4.9.12     helper programs for debian/rules
ii  fakeroot                      1.5.4      Gives a fake root environment
ii  unzip                         5.52-3     De-archiver for .zip files

java-package recommends no packages.

-- no debconf information
[2links.strace (text/plain, attachment)]

Severity set to `important'. Request was from Paul TBBle Hampson <Paul.Hampson@anu.edu.au> to control@bugs.debian.org. (full text, mbox, link).


Merged 338277 338569. Request was from Paul TBBle Hampson <Paul.Hampson@anu.edu.au> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#338569; Package java-package. (full text, mbox, link).


Acknowledgement sent to "Richard Burton" <richardaburton@hotmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #14 received at 338569@bugs.debian.org (full text, mbox, reply):

From: "Richard Burton" <richardaburton@hotmail.com>
To: 338569@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Can't call PowerPC 5.0 java programs via two symlinks
Date: Thu, 01 Dec 2005 16:44:28 +0000
[Message part 1 (text/plain, inline)]
retitle 338569 java-package: can't run java programs via two symlinks - "JVM 
not found: libjvm.so"
tags 338569 patch
thank

I also hit this problem on i386. It appears that make-jpkg in stable creates
scripts in /usr/bin that are linked via alternatives, instead of double
symlinking to the real binary. For some reason this has been removed in the
version currently in unstable.

I have included a patch that will restore this functionality for ibm v5 
jre/jdk. It
is also required for java 1.4, so it needs fixing there too, but this patch
should help you build your v5 packages in the mean time.

Richard.

[java-package.patch (text/x-patch, attachment)]

Changed Bug title. Request was from "Richard Burton" <richardaburton@hotmail.com> to control@bugs.debian.org. (full text, mbox, link).


Tags added: patch Request was from "Richard Burton" <richardaburton@hotmail.com> to control@bugs.debian.org. (full text, mbox, link).


Changed Bug title. Request was from Richard Antony Burton <richardaburton@hotmail.com> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, richardaburton@hotmail.com, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>:
Bug#338569; Package java-package. (full text, mbox, link).


Acknowledgement sent to Richard Antony Burton <richardaburton@hotmail.com>:
Extra info received and forwarded to list. Copy sent to richardaburton@hotmail.com, Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #25 received at 338569@bugs.debian.org (full text, mbox, reply):

From: Richard Antony Burton <richardaburton@hotmail.com>
To: Debian Bug Tracking System <338569@bugs.debian.org>
Subject: Re: #338569: java-package: can't run java programs via two symlinks
Date: Sat, 03 Dec 2005 12:25:24 +0000
Package: java-package
Version: 0.27
Followup-For: Bug #338569


I have uploaded a patch that contains a fix for this problem as well as two
others under bug #341749 which supercedes the above patch.

Richard.



Tags added: confirmed, pending Request was from Barry Hawkins <barry@alltc.com> to control@bugs.debian.org. (full text, mbox, link).


Tags removed: pending Request was from Barry Hawkins <barry@alltc.com> to control@bugs.debian.org. (full text, mbox, link).


Tags removed: patch Request was from Barry Hawkins <barry@alltc.com> to control@bugs.debian.org. (full text, mbox, link).


Tags removed: confirmed Request was from Barry Hawkins <barry@alltc.com> to control@bugs.debian.org. (full text, mbox, link).


Reply sent to Barry Hawkins <barry@alltc.com>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Ian Wienand <ianw@ieee.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #38 received at 338569-close@bugs.debian.org (full text, mbox, reply):

From: Barry Hawkins <barry@alltc.com>
To: 338569-close@bugs.debian.org
Subject: Bug#338569: fixed in java-package 0.28
Date: Tue, 15 Aug 2006 17:17:50 -0700
Source: java-package
Source-Version: 0.28

We believe that the bug you reported is fixed in the latest version of
java-package, which is due to be installed in the Debian FTP archive:

java-package_0.28.dsc
  to pool/contrib/j/java-package/java-package_0.28.dsc
java-package_0.28.tar.gz
  to pool/contrib/j/java-package/java-package_0.28.tar.gz
java-package_0.28_all.deb
  to pool/contrib/j/java-package/java-package_0.28_all.deb



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 338569@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Barry Hawkins <barry@alltc.com> (supplier of updated java-package 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.7
Date: Mon, 26 Jun 2006 11:19:08 -0400
Source: java-package
Binary: java-package
Architecture: source all
Version: 0.28
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Barry Hawkins <barry@alltc.com>
Description: 
 java-package - utility for building Java(TM) 2 related Debian packages
Closes: 338569 341749 341751 342623 343837 345775 354427 370002
Changes: 
 java-package (0.28) unstable; urgency=low
 .
   * Modified to reflect migration to Subversion
   * Bumped standards to version 3.7.2, no changes
   * Corrected test for AMD64 architecture during plug-in detection
   * Corrected detected version for IBM Java 5 JDK on AMD64 (Closes: #345775)
   * Repaired alternatives handling for IBM Java 5 JREs and JDKs
     (Closes: #338569)
   * Corrected pathing for alternatives installation for Mozilla and
     Firefox plugins (Closes: #341751)
   * Relaxed architectural restrictions on plugin alternative
     installation for IBM Java 5 JREs and JDKs (Closes: #343837)
   * Added plugin installation for the new packaging of Firefox 1.5 and
     later (Closes: #341749)
   * Modified warning suppression for dh_shlibdeps to accommodate
     changes in dpkg-dev (Closes: #354427)
   * Added quotes to variable tests for maintainer name and email
     (Closes: #342623)
   * Refactored architecture evaluation to eliminate repetition and
     evaluate DEB_BUILD_GNU_TYPE correctly for i486-linux-gnu
   * Removed dependency on 'coreutils | stat' from control file, as
     the dependency is satisfied within essential (Closes: #370002)
Files: 
 4f1f6819d4f598d835ba88d0688c1c45 766 contrib/misc optional java-package_0.28.dsc
 be02cb967d2a1548d0aa25669f771f9a 21617 contrib/misc optional java-package_0.28.tar.gz
 a91286c47d6eb60d2aca17e1441af799 23890 contrib/misc optional java-package_0.28_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Signed by Jeroen van Wolffelaar <jeroen@wolffelaar.nl>

iD8DBQFE4mK4l2uISwgTVp8RAmu3AJ4mMvrhuLe9S2bnHNFEeC5/kEq09ACgyw/w
OSHbV4GB9JBm09gfLdOHpXU=
=p+hY
-----END PGP SIGNATURE-----




Reply sent to Barry Hawkins <barry@alltc.com>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Mike Hommey <mh+reportbug@glandium.org>:
Bug acknowledged by developer. (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 26 Jun 2007 09:45:10 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 Apr 9 00:26:58 2022; Machine Name: buxtehude

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.