[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#287420: marked as done (libjsw: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment)

Your message dated Sun, 26 Jun 2005 12:03:17 -0400
with message-id <E1DmZbJ-0005Q4-00@newraff.debian.org>
and subject line Bug#287420: fixed in libjsw 1:1.5.5-1
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; 27 Dec 2004 15:56:43 +0000
>From aj@andaco.de Mon Dec 27 07:56:43 2004
Return-path: <aj@andaco.de>
Received: from c156115.adsl.hansenet.de (localhost.localdomain) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CixEg-00041Q-00; Mon, 27 Dec 2004 07:56:42 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
	id 1CixJk-0004mq-GD; Mon, 27 Dec 2004 17:01:59 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: libjsw: FTBFS (amd64/gcc-4.0): invalid lvalue in assignment
Message-Id: <E1CixJk-0004mq-GD@localhost.localdomain>
Date: Mon, 27 Dec 2004 17:01:59 +0100
Delivered-To: submit@bugs.debian.org
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

Package: libjsw
Severity: normal
Tags: patch

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

guiutils.c:2162: error: invalid lvalue in assignment
guiutils.c: In function 'GUIBannerCreate':
guiutils.c:3041: warning: cast to pointer from integer of different size
guiutils.c: In function 'GUIComboCreate':
guiutils.c:3267: warning: cast to pointer from integer of different size
guiutils.c: In function 'GUIComboAddItem':
guiutils.c:3382: warning: cast from pointer to integer of different size
guiutils.c: In function 'GUIComboSetList':
guiutils.c:3556: warning: cast from pointer to integer of different size
guiutils.c:3607: warning: cast from pointer to integer of different size
guiutils.c: In function 'GUIPullOutCreateH':
guiutils.c:4112: warning: cast to pointer from integer of different size
guiutils.c:4113: warning: cast to pointer from integer of different size
guiutils.c: In function 'GUIPullOutPullOut':
guiutils.c:4255: warning: cast from pointer to integer of different size
guiutils.c: In function 'GUIPullOutPushIn':
guiutils.c:4301: warning: cast from pointer to integer of different size
make[1]: *** [guiutils.o] Error 1
make[1]: Leaving directory `/libjsw-1.5.0/jscalibrator'
make: *** [build-stamp] Error 2

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

Andreas Jochens

diff -urN ../tmp-orig/libjsw-1.5.0/jscalibrator/guiutils.c ./jscalibrator/guiutils.c
--- ../tmp-orig/libjsw-1.5.0/jscalibrator/guiutils.c	2001-11-06 00:55:11.000000000 +0100
+++ ./jscalibrator/guiutils.c	2004-12-27 16:56:46.035960624 +0100
@@ -2159,7 +2159,7 @@
 	    GtkWidget *w;
-            gui_tooltips = (GtkTooltips *)w = gtk_tooltips_new();
+            gui_tooltips = w = gtk_tooltips_new();
 	    if(w != NULL)

Received: (at 287420-close) by bugs.debian.org; 26 Jun 2005 16:08:08 +0000
>From katie@ftp-master.debian.org Sun Jun 26 09:08:08 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DmZg0-0005Xe-00; Sun, 26 Jun 2005 09:08:08 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DmZbJ-0005Q4-00; Sun, 26 Jun 2005 12:03:17 -0400
From: Darren Salt <linux@youmustbejoking.demon.co.uk>
To: 287420-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#287420: fixed in libjsw 1:1.5.5-1
Message-Id: <E1DmZbJ-0005Q4-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 26 Jun 2005 12:03:17 -0400
Delivered-To: 287420-close@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

Source: libjsw
Source-Version: 1:1.5.5-1

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

  to pool/main/libj/libjsw/jscalibrator_1.5.5-1_i386.deb
  to pool/main/libj/libjsw/libjsw-dev_1.5.5-1_i386.deb
  to pool/main/libj/libjsw/libjsw2_1.5.5-1_i386.deb
  to pool/main/libj/libjsw/libjsw_1.5.5-1.diff.gz
  to pool/main/libj/libjsw/libjsw_1.5.5-1.dsc
  to pool/main/libj/libjsw/libjsw_1.5.5.orig.tar.gz

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 287420@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Darren Salt <linux@youmustbejoking.demon.co.uk> (supplier of updated libjsw 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 ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Sun, 20 Mar 2005 21:41:56 +0000
Source: libjsw
Binary: libjsw2 libjsw-dev jscalibrator
Architecture: source i386
Version: 1:1.5.5-1
Distribution: unstable
Urgency: low
Maintainer: Darren Salt <linux@youmustbejoking.demon.co.uk>
Changed-By: Darren Salt <linux@youmustbejoking.demon.co.uk>
 jscalibrator - GTK Joystick Calibrator
 libjsw-dev - Joystick Library header files
 libjsw2    - Joystick Library
Closes: 235748 287420 296538
 libjsw (1:1.5.5-1) unstable; urgency=low
   * New upstream version (closes: #296538)
     - buildable with gcc 4.0 (closes: #287420)
     - new maintainer (closes: #235748)
   * Updated standards to 3.6.1.
     - Fixed 'unquoted string in menu entry' warnings.
   * Converted to dpatch.
   * Export only symbols matching JS* from the shared lib.
   * Added watch file.
 d48b9c59615cd31e5c0a931660d406ce 627 x11 optional libjsw_1.5.5-1.dsc
 8ac4879ac5b41244c86594a04514a160 400770 x11 optional libjsw_1.5.5.orig.tar.gz
 dc37327c19459c6e7d532cb745f84d79 11432 x11 optional libjsw_1.5.5-1.diff.gz
 f4baf0df3fc9000eb935c499b08bbe33 289410 x11 optional jscalibrator_1.5.5-1_i386.deb
 050253d11181382dc6f908530a7a5c35 22634 libs optional libjsw2_1.5.5-1_i386.deb
 42835b42995d3bdae787a85fe6180cdf 53412 libdevel optional libjsw-dev_1.5.5-1_i386.deb

Version: GnuPG v1.4.1 (GNU/Linux)


Reply to: