Your message dated Wed, 03 Aug 2005 15:31:19 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#259816: fixed in snmpkit 0.9-8
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; 16 Jul 2004 20:20:58 +0000
>From [EMAIL PROTECTED] Fri Jul 16 13:20:58 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c147165.adsl.hansenet.de (localhost) [213.39.147.165] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1BlZCT-0002BU-00; Fri, 16 Jul 2004 13:20:58 -0700
Received: from aj by localhost with local (Exim 4.34)
        id 1BlZCS-0004TH-Lu; Fri, 16 Jul 2004 22:20:56 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: snmpkit: FTBFS with gcc-3.4: array bound forbidden after parenthesized 
type-id
Message-Id: <[EMAIL PROTECTED]>
Date: Fri, 16 Jul 2004 22:20:56 +0200
Delivered-To: [EMAIL PROTECTED]
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: snmpkit
Severity: normal
Tags: patch

When building 'snmpkit' with gcc-3.4 I get the following error:

 g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wp,-MD,.deps/session.pp -c session.C  
-fPIC -DPIC -o .libs/session.o
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wp,-MD,.deps/session.pp -c session.C 
-o session.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2  
-c snmpkit_interface.C
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wp,-MD,.deps/snmpkit_interface.pp -c 
snmpkit_interface.C  -fPIC -DPIC -o .libs/snmpkit_interface.o
snmpkit_interface.C: In function `void* sk_sfiller_get(SNMPSTRUCTFILLER*, 
void*)':
snmpkit_interface.C:312: warning: exception of type `BerIntLengthExecption' 
will be caught
snmpkit_interface.C:308: warning:    by earlier handler for `BerLengthException'
snmpkit_interface.C: In function `void* sk_sfiller_get_next(SNMPSTRUCTFILLER*, 
void*)':
snmpkit_interface.C:369: warning: exception of type `BerIntLengthExecption' 
will be caught
snmpkit_interface.C:365: warning:    by earlier handler for `BerLengthException'
snmpkit_interface.C: In function `void** sk_table_get(SNMPTABLE*)':
snmpkit_interface.C:509: error: array bound forbidden after parenthesized 
type-id
snmpkit_interface.C:509: note: try removing the parentheses around the type-id
make[3]: *** [snmpkit_interface.lo] Error 1
make[3]: Leaving directory `/snmpkit-0.9/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/snmpkit-0.9'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/snmpkit-0.9'
make: *** [build-stamp] Error 2

With the attached patch 'snmpkit' can be compiled using gcc-3.4.

Regards
Andreas Jochens

diff -urN ../tmp-orig/snmpkit-0.9/src/snmpkit_interface.C 
./src/snmpkit_interface.C
--- ../tmp-orig/snmpkit-0.9/src/snmpkit_interface.C     2001-09-21 
22:19:17.000000000 +0200
+++ ./src/snmpkit_interface.C   2004-07-16 22:11:32.795575249 +0200
@@ -506,7 +506,7 @@
 void **sk_table_get(SNMPTABLE *st){
   std::list<void*> vals;
   from_c(st)->get(vals);
-  void **retval=new (void*)[vals.size()+1];
+  void **retval=new void*[vals.size()+1];
   retval[vals.size()]=NULL;
   int i=0;
   for(std::list<void*>::iterator cur=vals.begin();cur!=vals.end();cur++,i++)

---------------------------------------
Received: (at 259816-close) by bugs.debian.org; 3 Aug 2005 22:39:05 +0000
>From [EMAIL PROTECTED] Wed Aug 03 15:39:05 2005
Return-path: <[EMAIL PROTECTED]>
Received: from joerg by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1E0Rlf-00036E-00; Wed, 03 Aug 2005 15:31:19 -0700
From: A Mennucc1 <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: lisa $Revision: 1.30 $
Subject: Bug#259816: fixed in snmpkit 0.9-8
Message-Id: <[EMAIL PROTECTED]>
Sender: Joerg Jaspert <[EMAIL PROTECTED]>
Date: Wed, 03 Aug 2005 15:31:19 -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: snmpkit
Source-Version: 0.9-8

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

libsnmpkit-dev_0.9-8_i386.deb
  to pool/main/s/snmpkit/libsnmpkit-dev_0.9-8_i386.deb
libsnmpkit2c2_0.9-8_i386.deb
  to pool/main/s/snmpkit/libsnmpkit2c2_0.9-8_i386.deb
snmpkit_0.9-8.diff.gz
  to pool/main/s/snmpkit/snmpkit_0.9-8.diff.gz
snmpkit_0.9-8.dsc
  to pool/main/s/snmpkit/snmpkit_0.9-8.dsc



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.
A Mennucc1 <[EMAIL PROTECTED]> (supplier of updated snmpkit 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,  3 Aug 2005 17:15:32 +0200
Source: snmpkit
Binary: libsnmpkit-dev libsnmpkit2c2
Architecture: source i386
Version: 0.9-8
Distribution: unstable
Urgency: low
Maintainer: A Mennucc1 <[EMAIL PROTECTED]>
Changed-By: A Mennucc1 <[EMAIL PROTECTED]>
Description: 
 libsnmpkit-dev - multithreaded SNMP connection library
 libsnmpkit2c2 - multithreaded SNMP connection library
Closes: 259816
Changes: 
 snmpkit (0.9-8) unstable; urgency=low
 .
   * gcc 4.0 fixes and transition
     (thanks also to   Andreas Jochens <[EMAIL PROTECTED]>) (closes: #259816)
Files: 
 982a14f242ec626a271ccfaa10991f84 679 devel optional snmpkit_0.9-8.dsc
 22d1458b8d0d9fe8fe26023b300402c8 311876 devel optional snmpkit_0.9-8.diff.gz
 a54d7ed0771cbe1ff33ad044be854f5f 158888 devel optional 
libsnmpkit-dev_0.9-8_i386.deb
 996d81fe2e2ee6c0e191aa59533bc36b 61812 libs optional 
libsnmpkit2c2_0.9-8_i386.deb

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

iD8DBQFC8Omg9B/tjjP8QKQRAovJAJ4+A3bWNJjT6VSyViE4pjUQRatzPQCeO4qc
PjPHZQqbJcKDjcJqNaPnSZc=
=rKKk
-----END PGP SIGNATURE-----


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

Reply via email to