Bug#286718: marked as done (java-package fails to build sun 1.5.0 update 1)

Debian Bug Tracking System owner@bugs.debian.org
Mon Jan 3 20:54:06 2005


Your message dated Mon, 03 Jan 2005 22:32:15 -0500
with message-id <E1ClfQd-0005pK-00@newraff.debian.org>
and subject line Bug#286718: fixed in java-package 0.18
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; 21 Dec 2004 17:48:34 +0000
>From apaku@gmx.de Tue Dec 21 09:48:34 2004
Return-path: <apaku@gmx.de>
Received: from mail.gmx.net [213.165.64.20] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1Cgo7e-00050W-00; Tue, 21 Dec 2004 09:48:34 -0800
Received: (qmail invoked by alias); 21 Dec 2004 17:48:02 -0000
Received: from pD9E5B4ED.dip.t-dialin.net (EHLO morpheus.matrix.de) (217.229.180.237)
  by mail.gmx.net (mp007) with SMTP; 21 Dec 2004 18:48:02 +0100
X-Authenticated: #15861332
Received: from andreas by morpheus.matrix.de with local (Exim 4.34)
	id 1Cgo7A-0007d8-9J; Tue, 21 Dec 2004 18:48:04 +0100
Content-Type: multipart/mixed; boundary="===============2046289573=="
MIME-Version: 1.0
From: Andreas Pakulat <apaku@gmx.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: java-package fails to build sun 1.5.0 update 1
X-Mailer: reportbug 3.5
Date: Tue, 21 Dec 2004 18:48:03 +0100
Message-Id: <E1Cgo7A-0007d8-9J@morpheus.matrix.de>
X-Y-GMX-Trusted: 0
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(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_2004_03_25
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============2046289573==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: java-package
Version: 0.18
Severity: important

Hi,

java-package doesn't work with Sun's jdk 1.5.0 Update 1:

fakeroot make-jpkg jdk-1_5_0-linux-i586.bin
Creating temporary directory: /tmp/make-jpkg.XXXXFvpoqb
Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh
j2re.sh j2sdk.sh j2se.sh sun-j2re.sh sun-j2sdk.sh

Detected product:
    Java(TM) Software Development Kit (J2SDK)
    Standard Edition, Version 1.5.0+final
    Sun Microsystems(TM), Inc.	    
...
Done.

Testing extracted archive...
Invalid size (131 MB) of extracted archive. Probably you have not
enough free disc space in the temporary directory. Note: You can
specify an alternate directory by setting the environment variable
TMPDIR.


Aborted.

Removing temporary directory: done

df -h | grep tmp:
/dev/mapper/vgmorpheus-lvtmp 1,1G  8,2M  984M   1% /tmp

I attached a patch which adds support for both the
jdk-1_5_0_1-linux-i586.bin filename and the size of the extracted
archive (131 MB according to above output)

Andreas

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-cherry
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages java-package depends on:
ii  debhelper                     4.2.28     helper programs for debian/rules

-- no debconf information

--===============2046289573==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="diff.out"

diff -ur java-package-0.17/lib/sun-j2sdk.sh java-package-0.17.new/lib/sun-j2sdk.sh
--- java-package-0.17/lib/sun-j2sdk.sh	2004-11-12 15:33:34.000000000 +0100
+++ java-package-0.17.new/lib/sun-j2sdk.sh	2004-12-21 18:47:28.000000000 +0100
@@ -35,6 +35,11 @@
 	    j2se_expected_min_size=134 # 136608 kB
 	    found=true
 	    ;;
+	"jdk-1_5_0_1-linux-i586.bin")
+	    j2se_version=1.5.0+update1
+	    j2se_expected_min_size=131 # 
+	    found=true
+	    ;;
       esac
       ;;
     "ia64-linux")

--===============2046289573==--

---------------------------------------
Received: (at 286718-close) by bugs.debian.org; 4 Jan 2005 03:39:30 +0000
>From katie@ftp-master.debian.org Mon Jan 03 19:39:30 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 1ClfXe-0003vK-00; Mon, 03 Jan 2005 19:39:30 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1ClfQd-0005pK-00; Mon, 03 Jan 2005 22:32:15 -0500
From: Jeroen van Wolffelaar <jeroen@wolffelaar.nl>
To: 286718-close@bugs.debian.org
X-Katie: $Revision: 1.54 $
Subject: Bug#286718: fixed in java-package 0.18
Message-Id: <E1ClfQd-0005pK-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 03 Jan 2005 22:32:15 -0500
Delivered-To: 286718-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: 
X-CrossAssassin-Score: 7

Source: java-package
Source-Version: 0.18

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:

blackdown-j2re1.3debian_0.18_all.deb
  to pool/contrib/j/java-package/blackdown-j2re1.3debian_0.18_all.deb
blackdown-j2re1.4debian_0.18_all.deb
  to pool/contrib/j/java-package/blackdown-j2re1.4debian_0.18_all.deb
blackdown-j2sdk1.3debian_0.18_all.deb
  to pool/contrib/j/java-package/blackdown-j2sdk1.3debian_0.18_all.deb
blackdown-j2sdk1.4debian_0.18_all.deb
  to pool/contrib/j/java-package/blackdown-j2sdk1.4debian_0.18_all.deb
java-package_0.18.dsc
  to pool/contrib/j/java-package/java-package_0.18.dsc
java-package_0.18.tar.gz
  to pool/contrib/j/java-package/java-package_0.18.tar.gz
java-package_0.18_all.deb
  to pool/contrib/j/java-package/java-package_0.18_all.deb
sun-j2re1.3debian_0.18_all.deb
  to pool/contrib/j/java-package/sun-j2re1.3debian_0.18_all.deb
sun-j2re1.4debian_0.18_all.deb
  to pool/contrib/j/java-package/sun-j2re1.4debian_0.18_all.deb
sun-j2re1.5debian_0.18_all.deb
  to pool/contrib/j/java-package/sun-j2re1.5debian_0.18_all.deb
sun-j2sdk1.3debian_0.18_all.deb
  to pool/contrib/j/java-package/sun-j2sdk1.3debian_0.18_all.deb
sun-j2sdk1.4debian_0.18_all.deb
  to pool/contrib/j/java-package/sun-j2sdk1.4debian_0.18_all.deb
sun-j2sdk1.5debian_0.18_all.deb
  to pool/contrib/j/java-package/sun-j2sdk1.5debian_0.18_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 286718@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: Mon,  3 Jan 2005 18:47:47 +0100
Source: java-package
Binary: blackdown-j2sdk1.3debian sun-j2sdk1.4debian sun-j2re1.5debian blackdown-j2re1.3debian sun-j2re1.3debian blackdown-j2re1.4debian sun-j2sdk1.5debian sun-j2sdk1.3debian blackdown-j2sdk1.4debian sun-j2re1.4debian java-package
Architecture: source all
Version: 0.18
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Jeroen van Wolffelaar <jeroen@wolffelaar.nl>
Description: 
 blackdown-j2re1.3debian - Debian specific parts of Java(TM) 2 RE, Standard Edition
 blackdown-j2re1.4debian - Debian specific parts of Java(TM) 2 RE, Standard Edition
 blackdown-j2sdk1.3debian - Debian specific parts of Java(TM) 2 SDK, Standard Edition
 blackdown-j2sdk1.4debian - Debian specific parts of Java(TM) 2 SDK, Standard Edition
 java-package - A utility for building Java(TM) 2 related Debian packages
 sun-j2re1.3debian - Debian specific parts of Java(TM) 2 RE, Standard Edition
 sun-j2re1.4debian - Debian specific parts of Java(TM) 2 RE, Standard Edition
 sun-j2re1.5debian - Debian specific parts of Java(TM) 2 RE, Standard Edition
 sun-j2sdk1.3debian - Debian specific parts of Java(TM) 2 SDK, Standard Edition
 sun-j2sdk1.4debian - Debian specific parts of Java(TM) 2 SDK, Standard Edition
 sun-j2sdk1.5debian - Debian specific parts of Java(TM) 2 SDK, Standard Edition
Closes: 275296 281780 282221 282902 283362 284033 286718 287857
Changes: 
 java-package (0.18) unstable; urgency=low
 .
   * Added myself to Uploaders
   * Fix security hole (inscure temp file creation) plus lots of needless I/O
     in free disk checking function
   * Added support for Sun's JDK/JRE 1.5 patch levels, based on a patch by
     Peter Marschall <peter@adpm.de> (Closes: #286718, #287857)
   * Bail out if running as real root (works around the evil parts of Sun's
     install script that unconditionally writes to /etc, see #266273, #280707)
   * Fix typo in j2re.sh that apparantly with some versions of
     bash/dpkg/whatever cause package build failure (Closes: #281780, #282902)
   * Reduce minimum expected size a bit Sun's 1.5.0 amd64 package, it was set
     too high (Closes: #284033)
   * Substitute package version number at build time in the make-jpkg
     executable (Closes: #282221)
   * Added a README.Debian explaining the existance of make-jpkg and what
     binary packages are supported and where to get them. Thanks Thijs
     Kinkhorst for the draft (Closes: #283362)
   * Added automatically-generated file SUPPORTED that lists all binary
     filenames that are supported, thanks Alex Owen <owen@cus.org.uk> for the
     idea (Closes: #275296)
Files: 
 0f9b5b62f9aeebe6321877e4feb25167 987 contrib/misc optional java-package_0.18.dsc
 5761d0be6ee2bc6f833e80f7fd0b9ddd 15306 contrib/misc optional java-package_0.18.tar.gz
 0f36d9b2285a5accab0c0df84411cc93 13170 contrib/misc optional java-package_0.18_all.deb
 5a93e4b5dea7f0444b37ae9ffecb2f97 5108 contrib/misc optional sun-j2re1.3debian_0.18_all.deb
 0d00b9f2bf9f4189ba72addf21f76a84 5176 contrib/misc optional sun-j2sdk1.3debian_0.18_all.deb
 0cfa1ff675a29772be05adffe51ea596 5116 contrib/misc optional sun-j2re1.4debian_0.18_all.deb
 d790601c1e5b355ea8b2724fe9b0e8ee 5184 contrib/misc optional sun-j2sdk1.4debian_0.18_all.deb
 75e77f2476ca453ea414b8610e78b494 5116 contrib/misc optional sun-j2re1.5debian_0.18_all.deb
 c8539bf97c2a98cc12e1cd2bf5292867 5188 contrib/misc optional sun-j2sdk1.5debian_0.18_all.deb
 7cc913141bb1ed7cf8f7d04be270c602 5122 contrib/misc optional blackdown-j2re1.3debian_0.18_all.deb
 969eca6014622706e0eefdc3ab2d4052 5198 contrib/misc optional blackdown-j2sdk1.3debian_0.18_all.deb
 6670de737a6e6b0dfbeffb4314bb5268 5122 contrib/misc optional blackdown-j2re1.4debian_0.18_all.deb
 5627dfdc88b42183168fb9266d6a5912 5196 contrib/misc optional blackdown-j2sdk1.4debian_0.18_all.deb

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

iD8DBQFB2gvGl2uISwgTVp8RAvOQAKCx0/78XbM2lK7c1WHYg3WA5NJLoQCdEVUS
DjcGrYvNQVyj6dRlQRJ19zM=
=E5Sk
-----END PGP SIGNATURE-----