Bug#282250: marked as done (gjdoc: line 21: syntax error near unexpected token `fi')

Debian Bug Tracking System owner@bugs.debian.org
Sat Nov 20 16:39:21 2004


Your message dated Sun, 21 Nov 2004 00:23:51 +0100
with message-id <87u0rknlyw.fsf@oz.fapse.ulg.ac.be>
and subject line Bug#282250: gjdoc: line 21: syntax error near unexpected token `fi'
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; 20 Nov 2004 19:28:30 +0000
>From Q@ping.be Sat Nov 20 11:28:30 2004
Return-path: <Q@ping.be>
Received: from asia.telenet-ops.be [195.130.132.59] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CVauM-0006U2-00; Sat, 20 Nov 2004 11:28:30 -0800
Received: from localhost (localhost.localdomain [127.0.0.1])
	by asia.telenet-ops.be (Postfix) with SMTP id 98F742240B6
	for <submit@bugs.debian.org>; Sat, 20 Nov 2004 20:28:28 +0100 (MET)
Received: from kabel.telenet.be (D5775FD9.kabel.telenet.be [213.119.95.217])
	by asia.telenet-ops.be (Postfix) with ESMTP id 3979E22412A
	for <submit@bugs.debian.org>; Sat, 20 Nov 2004 20:28:26 +0100 (MET)
Received: by kabel.telenet.be (Postfix, from userid 501)
	id EF57226136; Sat, 20 Nov 2004 20:28:09 +0100 (CET)
Date: Sat, 20 Nov 2004 20:28:09 +0100
From: Kurt Roeckx <Q@ping.be>
To: submit@bugs.debian.org
Subject: gjdoc: line 21: syntax error near unexpected token `fi'
Message-ID: <20041120192809.GA16698@ping.be>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4.2.1i
Sender: Q@ping.be
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: 

Package: junit
Version: 3.8.1.1-2
Severity: serious

When trying to build the package, I get the following
error:
mkdir javadoc
(cd src;/usr/bin/gjdoc -d ../javadoc junit.framework junit.awtui junit.swingui junit.runner junit.textui junit.extensions)
/usr/bin/gjdoc: line 21: syntax error near unexpected token `fi'
/usr/bin/gjdoc: line 21: `fi'
make: *** [build] Error 2

This is when using gjdoc version 0.6.1-13.



Kurt


---------------------------------------
Received: (at 282250-done) by bugs.debian.org; 20 Nov 2004 23:24:32 +0000
>From arnaud.vandyck@ulg.ac.be Sat Nov 20 15:24:32 2004
Return-path: <arnaud.vandyck@ulg.ac.be>
Received: from serv54.segi.ulg.ac.be [139.165.32.99] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CVeam-00042w-00; Sat, 20 Nov 2004 15:24:32 -0800
Received: (qmail 29958 invoked by uid 510); 21 Nov 2004 00:24:00 +0100
Received: from 139.165.201.14 by serv54.segi.ulg.ac.be (envelope-from <arnaud.vandyck@ulg.ac.be>, uid 501) with qmail-scanner-1.23 
 (drweb: 4. spamassassin: 2.64.  
 Clear:RC:1(139.165.201.14):. 
 Processed in 0.273921 secs); 20 Nov 2004 23:24:00 -0000
Received: from cm-201-014.dialup.ulg.ac.be (HELO edev.localhost) ([139.165.201.14])
          (envelope-sender <arnaud.vandyck@ulg.ac.be>)
          by serv54.segi.ulg.ac.be (qmail-ldap-1.03) with SMTP
          for <282250-done@bugs.debian.org>; 21 Nov 2004 00:24:00 +0100
Received: from arnaud by edev.localhost with local (Exim 4.34)
	id 1CVeaA-0002ej-9F; Sun, 21 Nov 2004 00:23:54 +0100
To: 282250-done@bugs.debian.org
Cc: Kurt Roeckx <Q@ping.be>, =?iso-8859-1?q?Lo=EFc_Minier?= <lool@dooz.org>
Subject: Re: Bug#282250: gjdoc: line 21: syntax error near unexpected token
 `fi'
References: <20041120192809.GA16698@ping.be>
	<20041120210802.GA8374@via.ecp.fr>
From: Arnaud Vandyck <avdyk@debian.org>
X-Home-Page: http://people.debian.org/~avdyk
Date: Sun, 21 Nov 2004 00:23:51 +0100
In-Reply-To: <20041120210802.GA8374@via.ecp.fr> =?iso-8859-1?q?=28Lo=EFc?= Minier's message of "Sat, 20 Nov 2004 22:08:02 +0100")
Message-ID: <87u0rknlyw.fsf@oz.fapse.ulg.ac.be>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Sender: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Delivered-To: 282250-done@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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Dudes,

I applied the patch from Loic, many thanks Kurt for pointing the bug,
many thanks Loic for solving it ;-)

Note: I close it with the mail interface 'cause I forgot to close it
with the debian/changelog :-P

Sat, 20 Nov 2004 22:08:02 +0100,=20
Lo=EFc Minier <lool@dooz.org> wrote:=20

> Kurt Roeckx <Q@ping.be> - Sat, Nov 20, 2004:
>
>> /usr/bin/gjdoc: line 21: syntax error near unexpected token `fi'
>> /usr/bin/gjdoc: line 21: `fi'
>> make: *** [build] Error 2
>
>  You'll get that every time the gjdoc command is used, there's a syntax
>  error in the script.
>
>  I'm reassigning the bug to gjdoc, with the attached patch, right now
>  the gjdoc and hence dh_javadoc can't be used.
>
>  The patch:
>  - fixes the syntax error (superfluous fi),
>  - adds sanitizing double-quotes,
>  - hence supports spaces in commands or classpath,
>  - uses /usr/bin/java as the default JVM when the PATH is broken,
>  - breaks fallback on "kaffe" when java isn't in the PATH (admin has to
>    fix his alternatives!).

=2D --=20
  .''`.=20
 : :' :rnaud
 `. `'=20=20
   `-=20=20=20=20
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBn9IK4vzFZu62tMIRAsM1AKCCsFGg4NQSmyUOJXN1LLJijLDHvgCgpPYG
uhW1Cw4VNabQQ/lfjaI1AM4=3D
=3DLDq0
=2D----END PGP SIGNATURE-----