Your message dated Fri, 9 Sep 2005 20:28:24 +0530
with message-id <[EMAIL PROTECTED]>
and subject line Fixed with jlint-3.0-4 upload
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-done) by bugs.debian.org; 9 Sep 2005 15:02:05 +0000
>From [EMAIL PROTECTED] Fri Sep 09 08:02:05 2005
Return-path: <[EMAIL PROTECTED]>
Received: from ind-iport-1.cisco.com [64.104.129.195] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EDkOD-00059T-00; Fri, 09 Sep 2005 08:02:05 -0700
Received: from india-core-1.cisco.com ([64.104.129.221])
  by ind-iport-1.cisco.com with ESMTP; 09 Sep 2005 20:36:00 -0700
Received: from ind-mira-01.cisco.com (IDENT:[EMAIL PROTECTED] [64.104.129.12])
        by india-core-1.cisco.com (8.12.10/8.12.6) with ESMTP id j89F1HbG026162
        for <[EMAIL PROTECTED]>; Fri, 9 Sep 2005 15:01:19 GMT
Received: from grajagop-lnx (grajagop-lnx.cisco.com [64.104.133.26])
        by ind-mira-01.cisco.com (MOS 3.4.6-GR)
        with SMTP id ANC87564;
        Fri, 9 Sep 2005 20:20:05 +0530 (IST)
Received: by grajagop-lnx (sSMTP sendmail emulation); Fri,  9 Sep 2005 20:28:24 
+0530
Date: Fri, 9 Sep 2005 20:28:24 +0530
From: Ganesan Rajagopal <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Fixed with jlint-3.0-4 upload
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
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=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02

Subject says it all. 

-- 
Ganesan Rajagopal (rganesan at debian.org) | GPG Key: 1024D/5D8C12EA
Web: http://employees.org/~rganesan        | http://rganesan.blogspot.com


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

Reply via email to