Bug#313555: java-package: make-jpkg does not detect sun j2sdk because of wrong DEB_BUILD_GNU_TYPE

2005-06-14 Thread Barry Hawkins

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Jun 14, 2005, at 7:05 AM, Stefan Potyra wrote:
[...]
make-jpkg doesn't detect jdk-1_5_0_03-linux-i586.bin (sun's j2sdk),  
because

dpkg-architecture says:

Arkelon:~# dpkg-architecture
DEB_BUILD_ARCH=i386
DEB_BUILD_ARCH_OS=linux
DEB_BUILD_ARCH_CPU=i386
DEB_BUILD_GNU_CPU=i486
DEB_BUILD_GNU_SYSTEM=linux-gnu
DEB_BUILD_GNU_TYPE=i486-linux-gnu
DEB_HOST_ARCH=i386
DEB_HOST_ARCH_OS=linux
DEB_HOST_ARCH_CPU=i386
DEB_HOST_GNU_CPU=i486
DEB_HOST_GNU_SYSTEM=linux-gnu
DEB_HOST_GNU_TYPE=i486-linux-gnu

Here a patch that works for me (maybe other shell scripts should be  
modified as

well).

[...]
Stefan,
Thank you for your bug report and patch.  We will review this  
and address it as soon as possible.


Regards,
- -- 
Barry Hawkins

All Things Computed
site: www.alltc.com
weblog: www.yepthatsme.com



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFCrvV7HuKcDICy0QoRAvhKAKDFnVGuVK625AM+rbfd5gX0o5k2KwCeNDQR
4hATLAAOsrLOxZE307OLYEU=
=H5JU
-END PGP SIGNATURE-


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



Bug#313555: java-package: make-jpkg does not detect sun j2sdk because of wrong DEB_BUILD_GNU_TYPE

2005-06-14 Thread Stefan Potyra
Package: java-package
Version: 0.24
Severity: normal
Tags: patch

Hi,

make-jpkg doesn't detect jdk-1_5_0_03-linux-i586.bin (sun's j2sdk), because
dpkg-architecture says:

Arkelon:~# dpkg-architecture
DEB_BUILD_ARCH=i386
DEB_BUILD_ARCH_OS=linux
DEB_BUILD_ARCH_CPU=i386
DEB_BUILD_GNU_CPU=i486
DEB_BUILD_GNU_SYSTEM=linux-gnu
DEB_BUILD_GNU_TYPE=i486-linux-gnu
DEB_HOST_ARCH=i386
DEB_HOST_ARCH_OS=linux
DEB_HOST_ARCH_CPU=i386
DEB_HOST_GNU_CPU=i486
DEB_HOST_GNU_SYSTEM=linux-gnu
DEB_HOST_GNU_TYPE=i486-linux-gnu

Here a patch that works for me (maybe other shell scripts should be modified as
well).

Arkelon:/tmp/j# diff -Naur java-package-0.24/old/sun-j2sdk.sh
java-package-0.24/lib/sun-j2sdk.sh
--- java-package-0.24/old/sun-j2sdk.sh  2005-06-14 12:59:17.0 +0200
+++ java-package-0.24/lib/sun-j2sdk.sh  2005-06-14 12:59:47.0 +0200
@@ -3,7 +3,7 @@
   local found=
  eval $(dpkg-architecture)
 case "$DEB_BUILD_GNU_TYPE" in
 -"i386-linux")
 +"i386-linux" | "i486-linux-gnu")
case "$archive_name" in
"j2sdk-1_4_1_"[0-9][0-9]"-linux-i586.bin") # SUPPORTED
j2se_version="1.4.1+${archive_name:12:2}"



Cheers,
Stefan.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11nh4
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages java-package depends on:
ii  coreutils 5.2.1-2The GNU core utilities
ii  debhelper 4.2.36 helper programs for debian/rules
ii  fakeroot  1.3Gives a fake root environment

-- no debconf information


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