Your message dated Tue, 04 Oct 2005 15:32:06 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#286478: fixed in isic 0.05-2
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 Dec 2004 13:27:11 +0000
>From [EMAIL PROTECTED] Mon Dec 20 05:27:11 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c219139.adsl.hansenet.de (localhost.localdomain) 
[213.39.219.139] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CgNZ9-00055q-00; Mon, 20 Dec 2004 05:27:11 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1CgNdq-0005gS-Sg; Mon, 20 Dec 2004 14:32:02 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: isic: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 20 Dec 2004 14:32:02 +0100
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: isic
Severity: normal
Tags: patch

When building 'isic' on amd64 with gcc-4.0,
I get the following error:

gcc -o isic isic.c -Wall -W -g -O2 `libnet-config --cflags` -DSTDC_HEADERS=1 
-Din_addr_t=u_int32_t  `libnet-config --defines` -DVERSION=\"0.05\" 
`libnet-config --libs` 
isic.c: In function 'main':
isic.c:76: warning: pointer targets in passing argument 1 of 'usage' differ in 
signedness
isic.c:86: warning: pointer targets in passing argument 1 of 
'libnet_name_resolve' differ in signedness
isic.c:98: warning: pointer targets in passing argument 1 of 
'libnet_name_resolve' differ in signedness
isic.c:138: warning: pointer targets in passing argument 1 of 'usage' differ in 
signedness
isic.c:233: warning: pointer targets in assignment differ in signedness
isic.c:235: error: invalid lvalue in assignment
isic.c:236: error: invalid lvalue in assignment
isic.c:240: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
isic.c:242: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
isic.c: In function 'usage':
isic.c:321: warning: pointer targets in passing argument 1 of 'rindex' differ 
in signedness
isic.c:323: warning: pointer targets in passing argument 1 of 'rindex' differ 
in signedness
make[1]: *** [isic] Error 1
make[1]: Leaving directory `/isic-0.05'
make: *** [build-stamp] Error 2

With the attached patch 'isic' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/isic-0.05/icmpsic.c ./icmpsic.c
--- ../tmp-orig/isic-0.05/icmpsic.c     2000-01-25 18:35:25.000000000 +0100
+++ ./icmpsic.c 2004-12-20 14:29:04.714661648 +0100
@@ -253,7 +253,7 @@
 
                payload = (short int *)((u_char *) icmp + 4);
                for(cx = 0; cx <= (payload_s >> 1); cx+=1)
-                               (u_short) payload[cx] = rand() & 0xffff;
+                               payload[cx] = rand() & 0xffff;
 
 
                if ( rand() <= (RAND_MAX * ICMPCksm) )
diff -urN ../tmp-orig/isic-0.05/isic.c ./isic.c
--- ../tmp-orig/isic-0.05/isic.c        2000-01-30 22:55:25.000000000 +0100
+++ ./isic.c    2004-12-20 14:28:13.952378688 +0100
@@ -232,8 +232,8 @@
                
                payload = (short int *)(buf + IP_H);
                for(cx = 0; cx <= (payload_s >> 1); cx+=1)
-                               (u_int16_t) payload[cx] = rand() & 0xffff;
-               (u_int16_t) payload[payload_s] = rand() & 0xffff;
+                               payload[cx] = rand() & 0xffff;
+               payload[payload_s] = rand() & 0xffff;
                
                if ( printout ) {
                        printf("%s ->",
diff -urN ../tmp-orig/isic-0.05/tcpsic.c ./tcpsic.c
--- ../tmp-orig/isic-0.05/tcpsic.c      2000-01-29 20:04:13.000000000 +0100
+++ ./tcpsic.c  2004-12-20 14:28:36.223992888 +0100
@@ -304,7 +304,7 @@
 
                payload = (short int *)((u_char *) tcp + 20);
                for(cx = 0; cx <= (payload_s >> 1); cx+=1)
-                               (u_int16_t) payload[cx] = rand() & 0xffff;
+                               payload[cx] = rand() & 0xffff;
 
                if ( rand() <= (RAND_MAX * TCPCksm) )
                        libnet_do_checksum(buf, IPPROTO_TCP, (tcp->th_off << 2)
diff -urN ../tmp-orig/isic-0.05/udpsic.c ./udpsic.c
--- ../tmp-orig/isic-0.05/udpsic.c      2000-01-29 20:04:14.000000000 +0100
+++ ./udpsic.c  2004-12-20 14:28:51.290702400 +0100
@@ -279,7 +279,7 @@
 
                payload = (short int *)((u_char *) udp + UDP_H);
                for(cx = 0; cx <= (payload_s >> 1); cx+=1)
-                               (u_int16_t) payload[cx] = rand() & 0xffff;
+                               payload[cx] = rand() & 0xffff;
 
                if ( printout ) {
                        printf("%s,%i ->",

---------------------------------------
Received: (at 286478-close) by bugs.debian.org; 4 Oct 2005 22:38:12 +0000
>From [EMAIL PROTECTED] Tue Oct 04 15:38:12 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EMvKQ-0005uT-00; Tue, 04 Oct 2005 15:32:06 -0700
From: Andrew Pollock <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#286478: fixed in isic 0.05-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 04 Oct 2005 15:32:06 -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: isic
Source-Version: 0.05-2

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

isic_0.05-2.diff.gz
  to pool/main/i/isic/isic_0.05-2.diff.gz
isic_0.05-2.dsc
  to pool/main/i/isic/isic_0.05-2.dsc
isic_0.05-2_i386.deb
  to pool/main/i/isic/isic_0.05-2_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.
Andrew Pollock <[EMAIL PROTECTED]> (supplier of updated isic 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,  5 Oct 2005 08:24:49 +1000
Source: isic
Binary: isic
Architecture: source i386
Version: 0.05-2
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <[EMAIL PROTECTED]>
Changed-By: Andrew Pollock <[EMAIL PROTECTED]>
Description: 
 isic       - Test the integrity of an IP Stack with semi-random packets
Closes: 286478
Changes: 
 isic (0.05-2) unstable; urgency=low
 .
   * QA Group upload orphaning this package
   * debian/control: build-depend on dpatch
   * debian/rules: add dpatch support
   * Add patch from Andreas Jochens to fix FTBFS with gcc-4.0 (closes: #286478)
   * Removed debian/postinst as it was redundant
   * debian/prerm: removed bashisms
Files: 
 b2bb475354b5fdf7474ededf10511fd9 551 net optional isic_0.05-2.dsc
 62fbaf0dfba1b4c7f0bd20fb51299399 2908 net optional isic_0.05-2.diff.gz
 fe66f0230c9abf77c47e486365cd3f64 21308 net optional isic_0.05-2_i386.deb

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

iD8DBQFDQwH0IblXXKfZFgIRAgeDAJ9KwDSQ5XCsyPt2AWX7ak/p2048MQCeIU6J
4JUrNFApX1G2jgiaC3f33fc=
=I6yq
-----END PGP SIGNATURE-----


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

Reply via email to