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

Bug#300901: marked as done (simplecdrx: FTBFS (amd64/gcc-4.0): cast from 'void*' to 'int' loses precision)



Your message dated Sat, 02 Apr 2005 14:47:37 -0500
with message-id <E1DHoan-0006B6-00@newraff.debian.org>
and subject line Bug#300901: fixed in simplecdrx 1.3.2-4
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; 22 Mar 2005 15:18:27 +0000
>From aj@andaco.de Tue Mar 22 07:18:26 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 1DDl9G-0000Xk-00; Tue, 22 Mar 2005 07:18:26 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
	id 1DDl9A-0007Qn-Az; Tue, 22 Mar 2005 16:18:24 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: simplecdrx: FTBFS (amd64/gcc-4.0): cast from 'void*' to 'int' loses precision
Message-Id: <E1DDl9A-0007Qn-Az@localhost.localdomain>
Date: Tue, 22 Mar 2005 16:18:24 +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: simplecdrx
Severity: normal
Tags: patch

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

if g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include    -g -O2 -MT callbacks.o -MD -MP -MF ".deps/callbacks.Tpo" \
  -c -o callbacks.o `test -f 'callbacks.c' || echo './'`callbacks.c; \
then mv -f ".deps/callbacks.Tpo" ".deps/callbacks.Po"; \
else rm -f ".deps/callbacks.Tpo"; exit 1; \
fi
callbacks.c: In function 'void sf_cd_play_button_clicked(GtkWidget*, void*)':
callbacks.c:2325: error: cast from 'void*' to 'int' loses precision
make[3]: *** [callbacks.o] Error 1
make[3]: Leaving directory `/simplecdrx-1.3.2/src'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/simplecdrx-1.3.2/src/callbacks.c ./src/callbacks.c
--- ../tmp-orig/simplecdrx-1.3.2/src/callbacks.c	2005-03-22 16:10:43.890424065 +0100
+++ ./src/callbacks.c	2005-03-22 16:09:41.926377662 +0100
@@ -2322,7 +2322,7 @@
 
 	void sf_cd_play_button_clicked( GtkWidget *widget, gpointer callback_data )
 	{
-		play.cdplay((int) callback_data + 1, setupData1);
+		play.cdplay((long) callback_data + 1, setupData1);
 	}
 
 void

---------------------------------------
Received: (at 300901-close) by bugs.debian.org; 2 Apr 2005 19:54:33 +0000
>From katie@ftp-master.debian.org Sat Apr 02 11:54:33 2005
Return-path: <katie@ftp-master.debian.org>
Received: from gluck.debian.org [192.25.206.10] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DHohV-0000kF-00; Sat, 02 Apr 2005 11:54:33 -0800
Received: from newraff.debian.org [208.185.25.31] (mail)
	by gluck.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DHohV-0006CN-00; Sat, 02 Apr 2005 12:54:33 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DHoan-0006B6-00; Sat, 02 Apr 2005 14:47:37 -0500
From: Philipp Kern <pkern@debian.org>
To: 300901-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#300901: fixed in simplecdrx 1.3.2-4
Message-Id: <E1DHoan-0006B6-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 02 Apr 2005 14:47:37 -0500
Delivered-To: 300901-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
X-Spam-Level: 

Source: simplecdrx
Source-Version: 1.3.2-4

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

simplecdrx_1.3.2-4.diff.gz
  to pool/main/s/simplecdrx/simplecdrx_1.3.2-4.diff.gz
simplecdrx_1.3.2-4.dsc
  to pool/main/s/simplecdrx/simplecdrx_1.3.2-4.dsc
simplecdrx_1.3.2-4_i386.deb
  to pool/main/s/simplecdrx/simplecdrx_1.3.2-4_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 300901@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Philipp Kern <pkern@debian.org> (supplier of updated simplecdrx 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat,  2 Apr 2005 19:32:15 +0000
Source: simplecdrx
Binary: simplecdrx
Architecture: source i386
Version: 1.3.2-4
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Philipp Kern <pkern@debian.org>
Description: 
 simplecdrx - SimpleCDR-X is a frontend for CD writing and mastering
Closes: 300901
Changes: 
 simplecdrx (1.3.2-4) unstable; urgency=low
 .
   * QA upload.
   * Applied fix from Andreas Jochens for FTBFS on amd64/gcc-4.0.
     (Closes: #300901)
Files: 
 cb853a142fed59107a232a534cda3136 665 utils extra simplecdrx_1.3.2-4.dsc
 6fcda7e841d04e9b1e5dffeca0759fcf 62935 utils extra simplecdrx_1.3.2-4.diff.gz
 858a9bac5a844b67bbc133afd8ce7f44 207962 utils extra simplecdrx_1.3.2-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
Comment: Signed and encrypted mails welcome...

iEYEARECAAYFAkJO9F8ACgkQ7Ro5M7LPzdiacgCeJcs64pgVrZzIaDOMst6TFiCj
6aEAnRvwtuQToHbdiB6gwLj12Li3/hDj
=2H2i
-----END PGP SIGNATURE-----



Reply to: