Your message dated Mon, 31 Jan 2005 19:34:34 +0100
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #288582,
regarding sysstat: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment
to be marked as having been forwarded to the upstream software
author(s) Sebastien Godard <[EMAIL PROTECTED]>.

(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 288582-forwarded) by bugs.debian.org; 31 Jan 2005 18:34:49 +0000
>From [EMAIL PROTECTED] Mon Jan 31 10:34:49 2005
Return-path: <[EMAIL PROTECTED]>
Received: from www.sawan.com.pl [62.29.161.123] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CvgNs-0003rQ-00; Mon, 31 Jan 2005 10:34:49 -0800
Received: from www.sawan.com.pl (localhost [127.0.0.1])
        by www.sawan.com.pl (8.12.11/8.12.9) with ESMTP id j0VIYZhJ069109;
        Mon, 31 Jan 2005 19:34:35 +0100 (CET)
        (envelope-from [EMAIL PROTECTED])
Received: (from [EMAIL PROTECTED])
        by www.sawan.com.pl (8.12.11/8.12.9/Submit) id j0VIYZ9X069108;
        Mon, 31 Jan 2005 19:34:35 +0100 (CET)
        (envelope-from luberda)
Date: Mon, 31 Jan 2005 19:34:34 +0100
From: Robert Luberda <[EMAIL PROTECTED]>
To: Sebastien Godard <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: (fwd) Bug#288582: sysstat: FTBFS (amd64/gcc-4.0): invalid lvalue in 
assignment
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-RAVMilter-Version: 8.4.3(snapshot 20030217) (www.sawan.com.pl)
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-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
        HAS_PACKAGE autolearn=ham version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

----- Forwarded message from Andreas Jochens <[EMAIL PROTECTED]> -----

Subject: Bug#288582: sysstat: FTBFS (amd64/gcc-4.0): invalid lvalue in 
assignment
Date: Tue, 04 Jan 2005 14:18:12 UTC
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>

Package: sysstat
Severity: normal
Tags: patch

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

sar.c: In function 'write_stats_for_db':
sar.c:2121: warning: pointer targets in passing argument 1 of 'strlen' differ 
in signedness
sar.c:2121: warning: pointer targets in passing argument 1 of 'strlen' differ 
in signedness
sar.c:2121: warning: pointer targets in passing argument 1 of 'strcmp' differ 
in signedness
sar.c:2145: warning: pointer targets in passing argument 1 of 'strlen' differ 
in signedness
sar.c:2145: warning: pointer targets in passing argument 1 of 'strlen' differ 
in signedness
sar.c:2145: warning: pointer targets in passing argument 1 of 'strcmp' differ 
in signedness
sar.c: In function 'sa_read':
sar.c:2224: error: invalid lvalue in assignment
make[1]: *** [sar] Error 1
make[1]: Leaving directory `/sysstat-5.0.6'
make: *** [build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/sysstat-5.0.6/sar.c ./sar.c
--- ../tmp-orig/sysstat-5.0.6/sar.c     2004-08-09 21:16:41.000000000 +0200
+++ ./sar.c     2005-01-04 15:05:12.605144864 +0100
@@ -2221,7 +2221,7 @@
         return 1;      /* EOF */
 
       size -= n;
-      (char *) buffer += n;
+      buffer = (char *) buffer + n;
    }
 
    return 0;


----- End forwarded message -----


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

Reply via email to