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

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: Stefan Potyra <sistpoty@stud.uni-erlangen.de>

Date: Tue, 14 Jun 2005 11:18:03 UTC

Severity: grave

Tags: patch

Merged with 314234, 315216

Found in version 0.24

Fixed in version java-package/0.25

Done: Jeroen van Wolffelaar <jeroen@wolffelaar.nl>

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#313555; Package java-package. (full text, mbox, link).


Acknowledgement sent to Stefan Potyra <sistpoty@stud.uni-erlangen.de>:
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: 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
Date: Tue, 14 Jun 2005 13:05:09 +0200
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



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


Acknowledgement sent to Barry Hawkins <barry@bytemason.org>:
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 #10 received at 313555@bugs.debian.org (full text, mbox, reply):

From: Barry Hawkins <barry@bytemason.org>
To: Stefan Potyra <sistpoty@stud.uni-erlangen.de>, 313555@bugs.debian.org
Subject: Re: Bug#313555: java-package: make-jpkg does not detect sun j2sdk because of wrong DEB_BUILD_GNU_TYPE
Date: Tue, 14 Jun 2005 11:19:18 -0400
-----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-----



Merged 313555 314234. Request was from Wolfgang Baer <WBaer@gmx.de> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `grave'. Request was from Bas Zoetekouw <bas@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `grave'. Request was from Bas Zoetekouw <bas@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Merged 313555 314234 315216. Request was from Bas Zoetekouw <bas@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Reply sent to Jeroen van Wolffelaar <jeroen@wolffelaar.nl>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Stefan Potyra <sistpoty@stud.uni-erlangen.de>:
Bug acknowledged by developer. (full text, mbox, link).


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

From: Jeroen van Wolffelaar <jeroen@wolffelaar.nl>
To: 313555-close@bugs.debian.org
Subject: Bug#313555: fixed in java-package 0.25
Date: Sun, 10 Jul 2005 14:17:19 -0400
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-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 24 Jun 2007 17:23:51 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: Mon Jun 5 00:19:34 2023; 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.