Your message dated Wed, 07 Sep 2005 02:17:04 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#326451: fixed in jlint 3.0-3
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; 3 Sep 2005 11:43:43 +0000
>From [EMAIL PROTECTED] Sat Sep 03 04:43:43 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c173118.adsl.hansenet.de (localhost.localdomain) 
[213.39.173.118] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EBWQw-0002Zc-00; Sat, 03 Sep 2005 04:43:43 -0700
Received: from aj by localhost.localdomain with local (Exim 4.52)
        id 1EBWQv-0005uH-L8; Sat, 03 Sep 2005 13:43:41 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: jlint: FTBFS: Missing Build-Depends on 'zlib1g-dev'
Message-Id: <[EMAIL PROTECTED]>
Date: Sat, 03 Sep 2005 13:43:41 +0200
Delivered-To: [EMAIL PROTECTED]
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-Level: 
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

Package: jlint
Version: 3.0-1
Severity: serious
Tags: patch

When building 'jlint' in a clean 'unstable' chroot,
I get the following error:

gcc -g -lz -o antic antic.o
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[1]: *** [antic] Error 1
make[1]: Leaving directory `/jlint-3.0'
make: *** [build-arch-stamp] Error 2

Please add the missing Build-Depends on 'zlib1g-dev'
to debian/control.

Additionally, the build fails on amd64 because some pointers are
casted to (int). The attached patch fixes this.

Regards
Andreas Jochens

diff -urN ../tmp-orig/jlint-3.0/debian/control ./debian/control
--- ../tmp-orig/jlint-3.0/debian/control        2005-09-03 11:38:44.000000000 
+0000
+++ ./debian/control    2005-09-03 11:34:06.000000000 +0000
@@ -2,7 +2,7 @@
 Section: devel
 Priority: optional
 Maintainer: Ganesan Rajagopal <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 3.0.0), texi2html, tetex-extra
+Build-Depends: debhelper, zlib1g-dev, texi2html, tetex-extra
 Standards-Version: 3.6.2
 
 Package: jlint
diff -urN ../tmp-orig/jlint-3.0/jlint.cc ./jlint.cc
--- ../tmp-orig/jlint-3.0/jlint.cc      2004-01-14 16:23:20.000000000 +0000
+++ ./jlint.cc  2005-09-03 11:38:32.000000000 +0000
@@ -137,7 +137,7 @@
 
 void format_message(int code, utf_string const& file, int line, __VALIST ap)
 {
-  static int loop_id;
+  static long loop_id;
   static message_node *first, *last;
   static char* compound_message;
   const void* parameter[MAX_MSG_PARAMETERS];
@@ -150,7 +150,7 @@
     if (compound_message != NULL
         && ((loop_id != 0 
              && ((code != msg_loop && code != msg_sync_loop)
-                 || (int)parameter[2] != loop_id))
+                 || (long)parameter[2] != loop_id))
             || (loop_id == 0 && code != msg_wait_path)))
       {
         if (!message_node::find(compound_message)) { 
@@ -225,7 +225,7 @@
                            name.as_asciz()); 
             break;
           case 'd': // integer
-            dst += sprintf(dst, "%d", (int)parameter[index]);  
+            dst += sprintf(dst, "%ld", (long)parameter[index]);  
             break;
           default:
             assert(false/*bad message parameter format*/);
@@ -261,7 +261,7 @@
               compound_message = strdup(his_buf);
               first = last = new message_node(msg_buf);
               if (code != msg_wait) { 
-                loop_id = (int)parameter[2];
+                loop_id = (long)parameter[2];
               }
             } else if (!message_node::find(his_buf)) { 
               fprintf(stdout, "%s\n", msg_buf);

---------------------------------------
Received: (at 326451-close) by bugs.debian.org; 7 Sep 2005 09:18:35 +0000
>From [EMAIL PROTECTED] Wed Sep 07 02:18:35 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1ECw3E-0004Py-00; Wed, 07 Sep 2005 02:17:04 -0700
From: Ganesan Rajagopal <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#326451: fixed in jlint 3.0-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 07 Sep 2005 02:17:04 -0700
Delivered-To: [EMAIL PROTECTED]
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-Level: 
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

Source: jlint
Source-Version: 3.0-3

We believe that the bug you reported is fixed in the latest version of
jlint, which is due to be installed in the Debian FTP archive:

jlint-doc_3.0-3_all.deb
  to pool/main/j/jlint/jlint-doc_3.0-3_all.deb
jlint_3.0-3.diff.gz
  to pool/main/j/jlint/jlint_3.0-3.diff.gz
jlint_3.0-3.dsc
  to pool/main/j/jlint/jlint_3.0-3.dsc
jlint_3.0-3_i386.deb
  to pool/main/j/jlint/jlint_3.0-3_i386.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ganesan Rajagopal <[EMAIL PROTECTED]> (supplier of updated jlint 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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed,  7 Sep 2005 14:37:09 +0530
Source: jlint
Binary: jlint-doc jlint
Architecture: source i386 all
Version: 3.0-3
Distribution: unstable
Urgency: low
Maintainer: Ganesan Rajagopal <[EMAIL PROTECTED]>
Changed-By: Ganesan Rajagopal <[EMAIL PROTECTED]>
Description: 
 jlint      - A Java Program Checker
 jlint-doc  - Manual for jlint - a Java Program Checker
Closes: 326451
Changes: 
 jlint (3.0-3) unstable; urgency=low
 .
   * Fix FTBFS on amd64, thanks to Andreas Jochens <[EMAIL PROTECTED]> for patch
     (Closes: #326451).
Files: 
 dcefbc8dd33b621e7c7de5859ac61f0d 600 devel optional jlint_3.0-3.dsc
 08acec2b01990becc69393966db115f1 4122 devel optional jlint_3.0-3.diff.gz
 24ec746a3bfcaad3e5c4f3f5ca0a435e 188710 doc optional jlint-doc_3.0-3_all.deb
 d7f6ebea128105784d890ca732a83ba0 62518 devel optional jlint_3.0-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDHq5FFeACul2MEuoRAoVIAJ4w2uULAtulT7g6zePIIdY3brg9DQCgoN+3
ZHufxfZaCVc7GMvE/YXOCbQ=
=+bjn
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to