Bug#292179: marked as done (Generated postinst uses /bin/sh where /bin/bash is needed)

Debian Bug Tracking System owner@bugs.debian.org
Tue Feb 8 10:43:17 2005


Your message dated Tue, 08 Feb 2005 12:02:18 -0500
with message-id <E1CyYkk-00049n-00@newraff.debian.org>
and subject line Bug#292179: fixed in java-package 0.20
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; 25 Jan 2005 15:43:21 +0000
>From rbrito@ime.usp.br Tue Jan 25 07:43:20 2005
Return-path: <rbrito@ime.usp.br>
Received: from smtpout1.uol.com.br (smtp.uol.com.br) [200.221.4.192] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CtSqe-0000W1-00; Tue, 25 Jan 2005 07:43:20 -0800
Received: from dumont.rtb.ath.cx (unknown [200.221.104.251])
	by scorpion1.uol.com.br (Postfix) with ESMTP id 187AEDF72
	for <submit@bugs.debian.org>; Tue, 25 Jan 2005 13:42:48 -0200 (BRST)
Received: (qmail 8974 invoked by uid 1000); 25 Jan 2005 15:42:48 -0000
Date: Tue, 25 Jan 2005 13:42:48 -0200
From: =?iso-8859-1?Q?Rog=E9rio?= Brito <rbrito@ime.usp.br>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: java-package: dpkg fails to install created package
Message-ID: <20050125154245.GA8957@ime.usp.br>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
X-Reportbug-Version: 3.2
User-Agent: Mutt/1.5.6+20040907i
Content-Transfer-Encoding: quoted-printable
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.19
Severity: normal

I just grabbed the new java-package 0.19 from incoming.debian.org and tri=
ed
to use it, excited by the descriptions of the changelogs.

Unfortunately, the generated package does not install here due:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=
 -
dumont:~# dpkg -i /usr/local/media/progs/linux/java/sun-j2sdk1.5_1.5.0+up=
date00_i386.deb=20
Selecting previously deselected package sun-j2sdk1.5.
(Reading database ... 67081 files and directories currently installed.)
Unpacking sun-j2sdk1.5 (from .../sun-j2sdk1.5_1.5.0+update00_i386.deb) ..=
.
Setting up sun-j2sdk1.5 (1.5.0+update00) ...
/var/lib/dpkg/info/sun-j2sdk1.5.postinst: 14: Syntax error: "(" unexpecte=
d (expecting "fi")
dpkg: error processing sun-j2sdk1.5 (--install):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 sun-j2sdk1.5
dumont:~#=20
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -=
 -

I don't know if this bug should have severity serious or not, but it sure
ain't pleasing. :-(

I'll dig more information in the postinst script and, if relevant, I'll
forward that to this bug.



Thank you very much for your work, Rog=E9rio.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-rc2-3
Locale: LANG=3DC, LC_CTYPE=3Dpt_BR (charmap=3DISO-8859-1)

Versions of packages java-package depends on:
ii  debhelper                     4.2.30     helper programs for debian/r=
ules
ii  fakeroot                      1.2.2      Gives a fake root environmen=
t

-- no debconf information

--=20
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D=
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D
  Rog=E9rio Brito - rbrito@ime.usp.br - http://www.ime.usp.br/~rbrito
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D=
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D

---------------------------------------
Received: (at 292179-close) by bugs.debian.org; 8 Feb 2005 17:16:11 +0000
>From katie@ftp-master.debian.org Tue Feb 08 09:16:10 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 1CyYyA-0001Eo-00; Tue, 08 Feb 2005 09:16:10 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1CyYkk-00049n-00; Tue, 08 Feb 2005 12:02:18 -0500
From: Jeroen van Wolffelaar <jeroen@wolffelaar.nl>
To: 292179-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#292179: fixed in java-package 0.20
Message-Id: <E1CyYkk-00049n-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Tue, 08 Feb 2005 12:02:18 -0500
Delivered-To: 292179-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: 5

Source: java-package
Source-Version: 0.20

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.20.dsc
  to pool/contrib/j/java-package/java-package_0.20.dsc
java-package_0.20.tar.gz
  to pool/contrib/j/java-package/java-package_0.20.tar.gz
java-package_0.20_all.deb
  to pool/contrib/j/java-package/java-package_0.20_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 292179@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: Tue, 08 Feb 2005 15:04:51 +0100
Source: java-package
Binary: java-package
Architecture: source all
Version: 0.20
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: 289006 291238 292179 292451 293350 293487
Changes: 
 java-package (0.20) unstable; urgency=low
 .
   * Make the postinst & rm for generated packages #!/bin/bash, as we use
     bash-specific features (Closes: #292179)
   * Drop the df output parsing, use '/usr/bin/stat' instead (Closes: #293487,
     #289006, #293350)
   * Drop the now obsolete peer stuff from the source package
   * Change priorities, 313 for 1.3, 314 for 1.4, etc (Closes: #292451)
   * Don't dh_strip, fiddling with upstream's binaries apparantly breaks stuff
     (Closes: #291238)
Files: 
 656392ce4708f1e2cfa1e2064b2ab942 768 contrib/misc optional java-package_0.20.dsc
 dcc8e8d781259100a2d79af221626a50 14286 contrib/misc optional java-package_0.20.tar.gz
 bfb99be3bf73c256aed0072eff09b322 16480 contrib/misc optional java-package_0.20_all.deb

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

iD8DBQFCCO14l2uISwgTVp8RAkPPAJsHu098bMwuxfiGjSW6F5BNGPD3NwCdE6EE
ASFGqfTUamhdNUjsT9URURU=
=KSIp
-----END PGP SIGNATURE-----