Bug#287748: marked as done (nautilus-cd-burner: FTBFS (amd64/gcc-4.0): )

Debian Bug Tracking System owner@bugs.debian.org
Wed, 05 Jan 2005 15:03:27 -0800


Your message dated Wed, 05 Jan 2005 17:47:12 -0500
with message-id <E1CmJvs-0003hC-00@newraff.debian.org>
and subject line Bug#287748: fixed in nautilus-cd-burner 2.8.6-2
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; 29 Dec 2004 21:07:15 +0000
>From aj@andaco.de Wed Dec 29 13:07:15 2004
Return-path: <aj@andaco.de>
Received: from d007021.adsl.hansenet.de (localhost.localdomain) [80.171.7.21] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cjl2I-0005G2-00; Wed, 29 Dec 2004 13:07:14 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
	id 1Cjl7X-0001dx-6j; Wed, 29 Dec 2004 22:12:39 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: nautilus-cd-burner: FTBFS (amd64/gcc-4.0): 
Message-Id: <E1Cjl7X-0001dx-6j@localhost.localdomain>
Date: Wed, 29 Dec 2004 22:12:39 +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
X-Spam-Level: 

Package: nautilus-cd-burner
Severity: normal
Tags: patch

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

 g++ -DHAVE_CONFIG_H -I. -I. -I. -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/gnome-vfs-module-2.0 -DORBIT2=1 -pthread -DXTHREADS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -DXTHREADS -pthread -DORBIT2=1 -I/usr/include/nautilus -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/eel-2 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libxml2 -I/usr/include/gail-1.0 -I/usr/include/libglade-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libbonoboui-2.0 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DPREFIX=\"/usr\" -DBINDIR=\"/usr/bin\" -DLIBEXECDIR=\"/usr/lib/nautilus-cd-burner\" -DSHAREDIR=\"/usr/share\" -DDATADIR=\"/usr/share/nautilus-cd-burner\" -fno-exceptions -fno-rtti -g -Wall -O2 -MT dvd_plus_rw_utils.lo -MD -MP -MF .deps/dvd_plus_rw_utils.Tpo -c dvd_plus_rw_utils.cpp  -fPIC -DPIC -o .libs/dvd_plus_rw_utils.o
transport.hxx: In constructor 'Scsi_Command::Scsi_Command(void*)':
transport.hxx:87: error: cast from 'void*' to 'int' loses precision

With the attached patch 'nautilus-cd-burner' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/nautilus-cd-burner-2.8.6/transport.hxx ./transport.hxx
--- ../tmp-orig/nautilus-cd-burner-2.8.6/transport.hxx	2004-09-30 23:22:18.000000000 +0200
+++ ./transport.hxx	2004-12-29 21:58:11.242998272 +0100
@@ -69,7 +69,8 @@
 
 class Scsi_Command {
 private:
-    int fd,autoclose;
+    long fd;
+    int autoclose;
     char *filename;
     struct cdrom_generic_command cgc;
     union {
@@ -84,7 +85,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 287748-close) by bugs.debian.org; 5 Jan 2005 22:49:28 +0000
>From katie@ftp-master.debian.org Wed Jan 05 14:49:28 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 1CmJy4-0007xT-00; Wed, 05 Jan 2005 14:49:28 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1CmJvs-0003hC-00; Wed, 05 Jan 2005 17:47:12 -0500
From: Sebastien Bacher <seb128@debian.org>
To: 287748-close@bugs.debian.org
X-Katie: $Revision: 1.54 $
Subject: Bug#287748: fixed in nautilus-cd-burner 2.8.6-2
Message-Id: <E1CmJvs-0003hC-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Wed, 05 Jan 2005 17:47:12 -0500
Delivered-To: 287748-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=-4.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
	HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: nautilus-cd-burner
Source-Version: 2.8.6-2

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

libnautilus-burn-dev_2.8.6-2_i386.deb
  to pool/main/n/nautilus-cd-burner/libnautilus-burn-dev_2.8.6-2_i386.deb
libnautilus-burn0_2.8.6-2_i386.deb
  to pool/main/n/nautilus-cd-burner/libnautilus-burn0_2.8.6-2_i386.deb
nautilus-cd-burner_2.8.6-2.diff.gz
  to pool/main/n/nautilus-cd-burner/nautilus-cd-burner_2.8.6-2.diff.gz
nautilus-cd-burner_2.8.6-2.dsc
  to pool/main/n/nautilus-cd-burner/nautilus-cd-burner_2.8.6-2.dsc
nautilus-cd-burner_2.8.6-2_i386.deb
  to pool/main/n/nautilus-cd-burner/nautilus-cd-burner_2.8.6-2_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 287748@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastien Bacher <seb128@debian.org> (supplier of updated nautilus-cd-burner 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: Wed,  5 Jan 2005 22:50:54 +0100
Source: nautilus-cd-burner
Binary: libnautilus-burn-dev libnautilus-burn0 nautilus-cd-burner
Architecture: source i386
Version: 2.8.6-2
Distribution: unstable
Urgency: low
Maintainer: Ross Burton <ross@debian.org>
Changed-By: Sebastien Bacher <seb128@debian.org>
Description: 
 libnautilus-burn-dev - Nautilus Burn Library - development version
 libnautilus-burn0 - Nautilus Burn Library - runtime version
 nautilus-cd-burner - CD Burning front-end for Nautilus
Closes: 287748
Changes: 
 nautilus-cd-burner (2.8.6-2) unstable; urgency=low
 .
   * debian/control.in:
     - Build-Depends on libhal-dev (>= 0.2.98).
     - updated the libnautilus-burn-dev Depends.
   * debian/patches/01_amd64.patch:
     - patch from Andreas Jochens <aj@andaco.de> to fix the build on amd64
       with gcc-3.4 (Closes: #287748).
   * debian/patches/02_pmount.patch:
     - add pumount to the list of known commands, should fix the bug with
       busy drives.
Files: 
 b133419013534b6c1d936ca9ab9fccac 1557 gnome optional nautilus-cd-burner_2.8.6-2.dsc
 2ffa1223cbb4b8950cdc1fd850a171b4 4306 gnome optional nautilus-cd-burner_2.8.6-2.diff.gz
 1549542b113c1db342a5c87531c365cb 211908 gnome optional nautilus-cd-burner_2.8.6-2_i386.deb
 c5288a34644c97d0f4c04ad1576e1307 47780 gnome optional libnautilus-burn0_2.8.6-2_i386.deb
 ce598e72a9a21f020036b7ed7e518490 24664 gnome optional libnautilus-burn-dev_2.8.6-2_i386.deb

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

iD8DBQFB3GohQxo87aLX0pIRAmhiAJ9MUw6Huvn8V+mQE2w65+nkF2sLtgCfTSiB
wec/sQz5IeyCQTmYYIKpT+A=
=qlGP
-----END PGP SIGNATURE-----