Problems with make-jpkg on sid

Flavio Visentin THe_ZiPMaN@zipman.it
Wed Jun 15 00:12:02 2005


This is a multi-part message in MIME format.
--------------040807090907020605030204
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
I tried to create the deb package for the last update of jre from Sun
(jre-1_5_0_03-linux-i586.bin) on a PC with Debian unstable and
java-package v.0.24

It didn't work, and I found the problem is only with the detect
scripts that don't handle the value "i486-linux-gnu" for the var
DEB_BUILD_GNU_TYPE (I suppose is the default in Sid).

I simply added this value to the cases of the detection scripts.

Attached you'll find the patch.

TNX for your precious work

- --
Flavio Visentin

|                     \|||/
|                    @/0.0\@
|                     \ - /
+------------------oOOo---oOOo------------------

There are only 10 types of people in this world:
those who understand binary, and those who don't.

GPG Key: http://www.zipman.it/gpgkey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCr24PusUmHkh1cnoRAsgbAJ9gdArsK3wZJLk5NdLQWIuBPZ+qYgCfYmWR
at/ZdQvZInmnTLzR00NeDy4=
=GOA0
-----END PGP SIGNATURE-----

--------------040807090907020605030204
Content-Type: text/plain;
 name="patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch"

diff -Nau java-package.orig/blackdown-j2re.sh java-package/blackdown-j2re.sh
--- java-package.orig/blackdown-j2re.sh	2005-04-22 19:33:46.000000000 +0200
+++ java-package/blackdown-j2re.sh	2005-06-15 01:46:02.000000000 +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
 	"j2re-1.3.1-02b-FCS-linux-i386.bin") # SUPPORTED
 	    j2se_version=1.3.1+02a

diff -Nau java-package.orig/blackdown-j2sdk.sh java-package/blackdown-j2sdk.sh
--- java-package.orig/blackdown-j2sdk.sh	2005-04-22 19:33:46.000000000 +0200
+++ java-package/blackdown-j2sdk.sh	2005-06-15 01:46:09.000000000 +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.3.1-02a-FCS-linux-i386.bin") # SUPPORTED
 	    j2se_version=1.3.1+02a

diff -Nau java-package.orig/ibm-j2re.sh java-package/ibm-j2re.sh
--- java-package.orig/ibm-j2re.sh	2005-04-22 19:33:46.000000000 +0200
+++ java-package/ibm-j2re.sh	2005-06-15 01:46:25.000000000 +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
         "IBMJava2-JRE-131.tgz") # SUPPORTED
 	    j2se_version=1.3.1

diff -Nau java-package.orig/ibm-j2sdk.sh java-package/ibm-j2sdk.sh
--- java-package.orig/ibm-j2sdk.sh	2005-04-22 19:33:46.000000000 +0200
+++ java-package/ibm-j2sdk.sh	2005-06-15 01:46:31.000000000 +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
         "IBMJava2-SDK-131.tgz") # SUPPORTED
 	    j2se_version=1.3.1

diff -Nau java-package.orig/sun-j2re.sh java-package/sun-j2re.sh
--- java-package.orig/sun-j2re.sh	2005-06-15 01:45:44.000000000 +0200
+++ java-package/sun-j2re.sh	2005-06-15 01:40:11.000000000 +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
 	"j2re-1_4_1_"[0-9][0-9]"-linux-i586.bin") # SUPPORTED
 	    j2se_version="1.4.1+${archive_name:11:2}"

diff -Nau java-package.orig/sun-j2sdk.sh java-package/sun-j2sdk.sh
--- java-package.orig/sun-j2sdk.sh	2005-04-22 19:33:46.000000000 +0200
+++ java-package/sun-j2sdk.sh	2005-06-15 01:46:52.000000000 +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}"


--------------040807090907020605030204--