Bug#313555: marked as done (java-package: make-jpkg does not detect sun j2sdk because of wrong DEB_BUILD_GNU_TYPE)

Debian Bug Tracking System owner@bugs.debian.org
Sun Jul 10 18:39:37 UTC 2005


Your message dated Sun, 10 Jul 2005 14:17:19 -0400
with message-id <E1DrgMh-0006aK-00@newraff.debian.org>
and subject line Bug#313555: fixed in java-package 0.25
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Jun 2005 11:05:14 +0000
>From sistpoty@stud.uni-erlangen.de Tue Jun 14 04:05:13 2005
Return-path: <sistpoty@stud.uni-erlangen.de>
Received: from dsl01.212.114.213.81.nefkom.net (Arkelon.TRAUBE) [212.114.213.81] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Di9EG-0002cH-00; Tue, 14 Jun 2005 04:05:13 -0700
Received: from stefan by Arkelon.TRAUBE with local (Exim 4.51)
	id 1Di9ED-00022b-S0; Tue, 14 Jun 2005 13:05:09 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Stefan Potyra <sistpoty@stud.uni-erlangen.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: java-package: make-jpkg does not detect sun j2sdk because of wrong
 DEB_BUILD_GNU_TYPE
X-Mailer: reportbug 3.12
Date: Tue, 14 Jun 2005 13:05:09 +0200
Message-Id: <E1Di9ED-00022b-S0@Arkelon.TRAUBE>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

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.000000000 +0200
+++ java-package-0.24/lib/sun-j2sdk.sh  2005-06-14 12:59:47.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}"
				    


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: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

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

-- no debconf information

---------------------------------------
Received: (at 313555-close) by bugs.debian.org; 10 Jul 2005 18:24:20 +0000
>From katie@ftp-master.debian.org Sun Jul 10 11:24:20 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DrgTU-0007hp-00; Sun, 10 Jul 2005 11:24:20 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DrgMh-0006aK-00; Sun, 10 Jul 2005 14:17:19 -0400
From: Jeroen van Wolffelaar <jeroen@wolffelaar.nl>
To: 313555-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#313555: fixed in java-package 0.25
Message-Id: <E1DrgMh-0006aK-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 10 Jul 2005 14:17:19 -0400
Delivered-To: 313555-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: java-package
Source-Version: 0.25

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.25.dsc
  to pool/contrib/j/java-package/java-package_0.25.dsc
java-package_0.25.tar.gz
  to pool/contrib/j/java-package/java-package_0.25.tar.gz
java-package_0.25_all.deb
  to pool/contrib/j/java-package/java-package_0.25_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 313555@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jeroen van Wolffelaar <jeroen@wolffelaar.nl> (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: Sun, 10 Jul 2005 18:50:40 +0200
Source: java-package
Binary: java-package
Architecture: source all
Version: 0.25
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Jeroen van Wolffelaar <jeroen@wolffelaar.nl>
Description: 
 java-package - utility for building Java(TM) 2 related Debian packages
Closes: 313555
Changes: 
 java-package (0.25) unstable; urgency=low
 .
   * Cope with dpkg's new way of expressing architectures (Closes: #313555)
   * Re-exec with fakeroot if needed (Closes: ##310132)
Files: 
 20e218822a34327489d62ee37e4529dd 805 contrib/misc optional java-package_0.25.dsc
 643c272eb43e7ec050d11d8fce849e97 18049 contrib/misc optional java-package_0.25.tar.gz
 7230089131dd7b3b118f20fe876e38e1 19826 contrib/misc optional java-package_0.25_all.deb

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

iD8DBQFC0WPNl2uISwgTVp8RAqiWAKCW9IIEGLgjmXRcaegrLd2xSsAIDQCeIqEE
bZre/YlfR012k5t9e3+hqrs=
=5bFk
-----END PGP SIGNATURE-----





More information about the pkg-java-maintainers mailing list