[Pkg-xfce-devel] Bug#297847: marked as done (xfce4-session: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment)

Debian Bug Tracking System owner@bugs.debian.org
Mon, 20 Jun 2005 03:18:12 -0700


Your message dated Mon, 20 Jun 2005 12:09:26 +0200
with message-id <20050620100926.GA19999@andaco.de>
and subject line Bug#297847: xfce4-session: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment
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 Mar 2005 09:17:58 +0000
>From aj@andaco.de Thu Mar 03 01:17:58 2005
Return-path: <aj@andaco.de>
Received: from c223012.adsl.hansenet.de (localhost.localdomain) [213.39.223.12] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D6mT0-0003zZ-00; Thu, 03 Mar 2005 01:17:58 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
	id 1D6nPG-0006It-Eh; Thu, 03 Mar 2005 11:18:14 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: xfce4-session: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment
Message-Id: <E1D6nPG-0006It-Eh@localhost.localdomain>
Date: Thu, 03 Mar 2005 11:18:14 +0100
Delivered-To: submit@bugs.debian.org
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: xfce4-session
Severity: normal
Tags: patch

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

manager.c:469: error: invalid lvalue in assignment
manager.c:470: error: invalid lvalue in assignment
manager.c:470: error: invalid lvalue in assignment
manager.c:471: error: invalid lvalue in assignment
manager.c:471: error: invalid lvalue in assignment
manager.c:472: error: invalid lvalue in assignment
manager.c:472: error: invalid lvalue in assignment
manager.c:473: error: invalid lvalue in assignment
manager.c:473: error: invalid lvalue in assignment
manager.c:474: error: invalid lvalue in assignment
manager.c:474: error: invalid lvalue in assignment
manager.c:475: error: invalid lvalue in assignment
manager.c:475: error: invalid lvalue in assignment
make[3]: *** [xfce4_session-manager.o] Error 1
make[3]: Leaving directory `/xfce4-session-0.1.3+20031213/xfce4-session'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/xfce4-session-0.1.3+20031213/xfce4-session/manager.c ./xfce4-session/manager.c
--- ../tmp-orig/xfce4-session-0.1.3+20031213/xfce4-session/manager.c	2005-03-03 11:13:06.181707235 +0100
+++ ./xfce4-session/manager.c	2005-03-03 11:12:38.795993183 +0100
@@ -117,8 +117,8 @@
 
 #define CALLBACK(_callbacks, _callback, _client)			\
 do {									\
-	(void *)_callbacks->_callback.callback = (void *)_callback;	\
-	(void *)_callbacks->_callback.manager_data = (void *)_client;	\
+	_callbacks->_callback.callback = (void *)_callback;	\
+	_callbacks->_callback.manager_data = (void *)_client;	\
 } while (0)
 
 /*

---------------------------------------
Received: (at 297847-done) by bugs.debian.org; 20 Jun 2005 10:09:28 +0000
>From aj@andaco.de Mon Jun 20 03:09:28 2005
Return-path: <aj@andaco.de>
Received: from d082218.adsl.hansenet.de (localhost.localdomain) [80.171.82.218] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DkJDc-0007cX-00; Mon, 20 Jun 2005 03:09:28 -0700
Received: from aj by localhost.localdomain with local (Exim 4.51)
	id 1DkJDa-0005Ce-Nj; Mon, 20 Jun 2005 12:09:26 +0200
Date: Mon, 20 Jun 2005 12:09:26 +0200
To: 297847-done@bugs.debian.org
Subject: Re: Bug#297847: xfce4-session: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment
Message-ID: <20050620100926.GA19999@andaco.de>
References: <E1D6nPG-0006It-Eh@localhost.localdomain> <20050317132250.GW1690@paranoidfreak.co.uk> <20050317134023.GA5853@andaco.de> <20050620081909.GB28428@paranoidfreak.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050620081909.GB28428@paranoidfreak.co.uk>
User-Agent: Mutt/1.5.9i
From: Andreas Jochens <aj@andaco.de>
Delivered-To: 297847-done@bugs.debian.org
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

On 05-Jun-20 09:19, Simon Huggins wrote:
> Is this still running?  Can you rebuild the current unstable packages
> which have just hit 4.2.2 for amd64 with gcc-4.0?

The latest version 4.2.2-1 builds fine with gcc-4.0, thanks!

Regards
Andreas Jochens