Your message dated Tue, 23 Aug 2005 14:02:51 +1000
with message-id <[EMAIL PROTECTED]>
and subject line fixed upstream
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; 30 Dec 2004 21:52:07 +0000
>From [EMAIL PROTECTED] Thu Dec 30 13:52:07 2004
Return-path: <[EMAIL PROTECTED]>
Received: from d020125.adsl.hansenet.de (localhost.localdomain) [80.171.20.125] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Ck8DG-00076H-00; Thu, 30 Dec 2004 13:52:06 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1Ck8IY-0003ef-3n; Thu, 30 Dec 2004 22:57:34 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: pmacct: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment
Message-Id: <[EMAIL PROTECTED]>
Date: Thu, 30 Dec 2004 22:57:34 +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: pmacct
Severity: normal
Tags: patch

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

gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.7.4\" -DHAVE_MMAP=1 -DHAVE_PCAP_H=1 
-DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 
-DWITH_MYSQL=1 -DWITH_PGSQL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 
-DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DRETSIGTYPE=void 
-DHAVE_INET_NTOA=1 -DHAVE_SOCKET=1  -I. -I.      -O2  -I/usr/include/postgresql 
-c plugin_hooks.c
plugin_hooks.c: In function 'load_plugins':
plugin_hooks.c:65: warning: pointer targets in passing argument 5 of 
'getsockopt' differ in signedness
plugin_hooks.c:67: warning: pointer targets in passing argument 5 of 
'getsockopt' differ in signedness
plugin_hooks.c:107: warning: pointer targets in passing argument 5 of 
'getsockopt' differ in signedness
plugin_hooks.c:109: warning: pointer targets in passing argument 5 of 
'getsockopt' differ in signedness
plugin_hooks.c: In function 'exec_plugins':
plugin_hooks.c:182: error: invalid lvalue in assignment
make[1]: *** [plugin_hooks.o] Error 1
make[1]: Leaving directory `/pmacct-0.7.4'
make: *** [build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/pmacct-0.7.4/plugin_hooks.c ./plugin_hooks.c
--- ../tmp-orig/pmacct-0.7.4/plugin_hooks.c     2004-09-28 14:00:07.000000000 
+0200
+++ ./plugin_hooks.c    2004-12-30 22:48:20.580712912 +0100
@@ -179,7 +179,7 @@
 #else
        /* rg.ptr points to slot's base address into the ring (shared memory); 
bufptr works
           as a displacement into the slot to place sequentially packets */
-        (char *) pdata = 
channels_list[index].rg.ptr+ChBufHdrSz+channels_list[index].bufptr; 
+        pdata = 
channels_list[index].rg.ptr+ChBufHdrSz+channels_list[index].bufptr; 
 #endif
         while (channels_list[index].phandler[num] != NULL) {
           (*channels_list[index].phandler[num])(&channels_list[index], pptrs, 
pdata);

---------------------------------------
Received: (at 287918-done) by bugs.debian.org; 23 Aug 2005 04:03:19 +0000
>From [EMAIL PROTECTED] Mon Aug 22 21:03:19 2005
Return-path: <[EMAIL PROTECTED]>
Received: from (support.anchor.net.au) [202.4.235.65] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1E7Q0N-0005dA-00; Mon, 22 Aug 2005 21:03:19 -0700
Received: from dawn.spacepants.org (dawn.bridge.anchor.net.au [10.108.62.169])
        by support.anchor.net.au (Postfix) with ESMTP
        id 5118A44648; Tue, 23 Aug 2005 14:02:47 +1000 (EST)
Received: by dawn.spacepants.org (Postfix, from userid 1000)
        id 9B9A0E4054; Tue, 23 Aug 2005 14:02:51 +1000 (EST)
Date: Tue, 23 Aug 2005 14:02:51 +1000
From: Jamie Wilkinson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: fixed upstream
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Mailer: beefmail v0.0
X-No-CC: Please respect the setting of my Mail-Followup-To header
User-Agent: Mutt/1.5.10i
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

Both these bugs were fixed in an 0.8.x series release, according to the
upstream developer.


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

Reply via email to