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

Debian Bug Tracking System owner@bugs.debian.org
Fri, 08 Apr 2005 07:51:14 -0700


Your message dated Fri, 08 Apr 2005 10:32:21 -0400
with message-id <E1DJuWz-0000Zy-00@newraff.debian.org>
and subject line Bug#288535: fixed in sound-juicer 0.6.1-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; 4 Jan 2005 07:32:03 +0000
>From aj@andaco.de Mon Jan 03 23:32:03 2005
Return-path: <aj@andaco.de>
Received: from c173214.adsl.hansenet.de (localhost.localdomain) [213.39.173.214] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CljAh-0007Co-00; Mon, 03 Jan 2005 23:32:03 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
	id 1CljGE-0003V4-MN; Tue, 04 Jan 2005 08:37:46 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: sound-juicer: FTBFS (amd64/gcc-4.0): cast from 'void*' to 'int' loses precision
Message-Id: <E1CljGE-0003V4-MN@localhost.localdomain>
Date: Tue, 04 Jan 2005 08:37:46 +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: sound-juicer
Severity: normal
Tags: patch

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

transport.hxx: In constructor 'Scsi_Command::Scsi_Command(void*)':
transport.hxx:87: error: cast from 'void*' to 'int' loses precision

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/sound-juicer-0.5.15/src/transport.hxx ./src/transport.hxx
--- ../tmp-orig/sound-juicer-0.5.15/src/transport.hxx	2004-11-23 14:54:52.000000000 +0100
+++ ./src/transport.hxx	2005-01-03 23:50:57.090450672 +0100
@@ -84,7 +84,7 @@
 public:
     Scsi_Command()	{ fd=-1, autoclose=1; filename=NULL; }
     Scsi_Command(int f)	{ fd=f,  autoclose=0; filename=NULL; }
-    Scsi_Command(void*f){ fd=(int)f, autoclose=0; filename=NULL; }
+    Scsi_Command(void*f){ fd=(long)f, autoclose=0; filename=NULL; }
     ~Scsi_Command()	{ if (fd>=0 && autoclose) close(fd),fd=-1;
 			  if (filename) free(filename),filename=NULL;
 			}

---------------------------------------
Received: (at 288535-close) by bugs.debian.org; 8 Apr 2005 14:38:06 +0000
>From katie@ftp-master.debian.org Fri Apr 08 07:38:06 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DJucY-0003FN-00; Fri, 08 Apr 2005 07:38:06 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DJuWz-0000Zy-00; Fri, 08 Apr 2005 10:32:21 -0400
From: Ross Burton <ross@debian.org>
To: 288535-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#288535: fixed in sound-juicer 0.6.1-1
Message-Id: <E1DJuWz-0000Zy-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Fri, 08 Apr 2005 10:32:21 -0400
Delivered-To: 288535-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: sound-juicer
Source-Version: 0.6.1-1

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

sound-juicer_0.6.1-1.diff.gz
  to pool/main/s/sound-juicer/sound-juicer_0.6.1-1.diff.gz
sound-juicer_0.6.1-1.dsc
  to pool/main/s/sound-juicer/sound-juicer_0.6.1-1.dsc
sound-juicer_0.6.1-1_i386.deb
  to pool/main/s/sound-juicer/sound-juicer_0.6.1-1_i386.deb
sound-juicer_0.6.1.orig.tar.gz
  to pool/main/s/sound-juicer/sound-juicer_0.6.1.orig.tar.gz



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 288535@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ross Burton <ross@debian.org> (supplier of updated sound-juicer 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: Fri,  8 Apr 2005 14:36:56 +0100
Source: sound-juicer
Binary: sound-juicer
Architecture: source i386
Version: 0.6.1-1
Distribution: unstable
Urgency: low
Maintainer: Ross Burton <ross@debian.org>
Changed-By: Ross Burton <ross@debian.org>
Description: 
 sound-juicer - GNOME 2 CD Ripper
Closes: 288535
Changes: 
 sound-juicer (0.6.1-1) unstable; urgency=low
 .
   * New upstream release
     - Add build-deps on GTK+ 2.6 and gnome-media
     - Fixes invalid cast on AMD64 (closes: #288535)
   * Add debian/watch
Files: 
 92273275a9f4f194a75a5b479926da85 1651 gnome optional sound-juicer_0.6.1-1.dsc
 195f54320591092cd45fab53f9fcd95f 607756 gnome optional sound-juicer_0.6.1.orig.tar.gz
 c4fc842fee2a0e8237464475a412b4c5 3036 gnome optional sound-juicer_0.6.1-1.diff.gz
 21a064a32292d0d8f64b75aaa56f9925 328052 gnome optional sound-juicer_0.6.1-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCVpNeLQnkR9C0M98RAgcdAKDYGmD9XX/c7LPLo88Lbq3TA0or8wCePZRz
UjcR+wM6GSVPlWY50/d1JmU=
=SZmV
-----END PGP SIGNATURE-----