[Pkg-octave-devel] Bug#300576: marked as done (octaviz: FTBFS on 64 bit arches: reinterpret_cast from `vtkObjectBase*' to `unsigned int' loses precision)

Debian Bug Tracking System owner at bugs.debian.org
Sat Oct 15 07:48:14 UTC 2005


Your message dated Sat, 15 Oct 2005 09:31:46 +0200
with message-id <20051015073146.GA28025 at laboiss2>
and subject line octaviz_0.4.0-12 builds fine on all 64 bit arches
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; 20 Mar 2005 14:53:44 +0000
>From kurt at roeckx.be Sun Mar 20 06:53:43 2005
Return-path: <kurt at roeckx.be>
Received: from asia.telenet-ops.be [195.130.132.59] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DD1oF-0004cX-00; Sun, 20 Mar 2005 06:53:43 -0800
Received: from localhost (localhost.localdomain [127.0.0.1])
	by asia.telenet-ops.be (Postfix) with SMTP id D0A48224261
	for <submit at bugs.debian.org>; Sun, 20 Mar 2005 15:53:42 +0100 (MET)
Received: from Q.roeckx.be (dD5775FD9.access.telenet.be [213.119.95.217])
	by asia.telenet-ops.be (Postfix) with ESMTP id B3DD22241A8
	for <submit at bugs.debian.org>; Sun, 20 Mar 2005 15:53:42 +0100 (MET)
Received: by Q.roeckx.be (Postfix, from userid 501)
	id 9663026136; Sun, 20 Mar 2005 15:53:42 +0100 (CET)
Date: Sun, 20 Mar 2005 15:53:42 +0100
From: Kurt Roeckx <kurt at roeckx.be>
To: submit at bugs.debian.org
Subject: octaviz: FTBFS on 64 bit arches: reinterpret_cast from `vtkObjectBase*' to `unsigned int' loses precision
Message-ID: <20050320145342.GA19862 at roeckx.be>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4.2.1i
Delivered-To: submit at 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: octaviz
Version: 0.4.0-10
Severity: important

Hi,

Your package is failing to build on all 64 bit arches (alpha,
ia64, amd64) with the following error:
Building object file octaviz.o...
/build/buildd/octaviz-0.4.0/Common/octaviz.cc: In constructor `vtk_object::vtk_object(vtkObjectBase*, bool)':
/build/buildd/octaviz-0.4.0/Common/octaviz.cc:117: error: reinterpret_cast from `vtkObjectBase*' to `unsigned int' loses precision
/build/buildd/octaviz-0.4.0/Common/octaviz.cc: In copy constructor `vtk_object::vtk_object(const vtk_object&)':
/build/buildd/octaviz-0.4.0/Common/octaviz.cc:152: error: reinterpret_cast from `vtkObjectBase*' to `unsigned int' loses precision
/build/buildd/octaviz-0.4.0/Common/octaviz.cc: In destructor `virtual vtk_object::~vtk_object()':
/build/buildd/octaviz-0.4.0/Common/octaviz.cc:165: error: reinterpret_cast from `vtkObjectBase*' to `unsigned int' loses precision
/build/buildd/octaviz-0.4.0/Common/octaviz.cc: In member function `virtual unsigned int vtk_object::uint_value(bool, bool) const':
/build/buildd/octaviz-0.4.0/Common/octaviz.cc:183: error: reinterpret_cast from `vtkObjectBase*' to `unsigned int' loses precision
make[4]: *** [octaviz.o] Error 1


Casting a pointer to an integer is going to cause problems on 64
bit arches.


Kurt


---------------------------------------
Received: (at 300576-done) by bugs.debian.org; 15 Oct 2005 07:31:49 +0000
>From laboissiere at cbs.mpg.de Sat Oct 15 00:31:49 2005
Return-path: <laboissiere at cbs.mpg.de>
Received: from kom.mpisoc.mpg.de (kom.mpipf-muenchen.mpg.de) [192.129.1.23] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EQgWD-0004Y8-00; Sat, 15 Oct 2005 00:31:49 -0700
Received: from amalie.intra.mpipf-muenchen.mpg.de ([10.1.1.2])
	by kom.mpipf-muenchen.mpg.de with esmtp (Exim 4.34)
	id 1EQgWC-00006D-QE; Sat, 15 Oct 2005 09:31:48 +0200
Received: from [10.80.1.253] (helo=laboiss2)
	by amalie.intra.mpipf-muenchen.mpg.de with esmtp (Exim 4.05)
	id 1EQgWD-0001PQ-00; Sat, 15 Oct 2005 09:31:49 +0200
Received: from rafael by laboiss2 with local (Exim 3.36 #1 (Debian))
	id 1EQgWB-0007K6-00; Sat, 15 Oct 2005 09:31:47 +0200
Date: Sat, 15 Oct 2005 09:31:46 +0200
From: Rafael Laboissiere <rafael at debian.org>
To: 300576-done at bugs.debian.org, 302688-done at bugs.debian.org
Subject: octaviz_0.4.0-12 builds fine on all 64 bit arches
Message-ID: <20051015073146.GA28025 at laboiss2>
Reply-To: Rafael Laboissiere <rafael at debian.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Organization: Debian GNU/Linux
User-Agent: Mutt/1.5.9i
Delivered-To: 300576-done at 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-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

I am hereby closing these bug reports, since octave_0.4.0-12 builds
correctly on all 64-bit architectures (alpha, ia64, and amd64).

Thanks to Andreas Jochens for his patch.

-- 
Rafael



More information about the Pkg-octave-devel mailing list