Your message dated Thu, 15 Sep 2005 02:47:10 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#328260: fixed in osgcal 0.1.33-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; 14 Sep 2005 12:48:49 +0000
>From [EMAIL PROTECTED] Wed Sep 14 05:48:49 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c129076.adsl.hansenet.de (localhost.localdomain) [213.39.129.76] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EFWgz-00025D-00; Wed, 14 Sep 2005 05:48:49 -0700
Received: from aj by localhost.localdomain with local (Exim 4.52)
        id 1EFWgx-0007fV-VI; Wed, 14 Sep 2005 14:48:47 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: osgcal: FTBFS (amd64): cast from 'RadixUserSW*' to 'int' loses 
precision
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 14 Sep 2005 14:48:47 +0200
Delivered-To: [EMAIL PROTECTED]
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: osgcal
Version: 0.1.32-1
Severity: serious
Tags: patch

When building 'osgcal' on amd64/unstable,
I get the following error:

 x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I./include -DSUPPORT_GIF_HLS 
-I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-Wall -g -O2 -MT Model.lo -MD -MP -MF .deps/Model.Tpo -c src/osgCal/Model.cpp  
-fPIC -DPIC -o .libs/Model.o
src/osgCal/Model.cpp: In function 'std::string convertProxyName(const 
std::string&)':
src/osgCal/Model.cpp:284: warning: comparison is always false due to limited 
range of data type
src/osgCal/Model.cpp: In member function 'void 
osgCal::Model::fixNormalSW(float)':
src/osgCal/Model.cpp:2121: error: cast from 'RadixUserSW*' to 'int' loses 
precision
make[3]: *** [Model.lo] Error 1
make[3]: Leaving directory `/osgcal-0.1.32'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/osgcal-0.1.32/include/osgCal/Model ./include/osgCal/Model
--- ../tmp-orig/osgcal-0.1.32/include/osgCal/Model      2005-09-04 
19:44:23.000000000 +0000
+++ ./include/osgCal/Model      2005-09-14 12:37:16.000000000 +0000
@@ -345,7 +345,7 @@
 class RadixFloatItem {
 public:
        float   value;
-       int             user;
+       long    user;
 };
 
 class FloatRadix {
diff -urN ../tmp-orig/osgcal-0.1.32/src/osgCal/Model.cpp ./src/osgCal/Model.cpp
--- ../tmp-orig/osgcal-0.1.32/src/osgCal/Model.cpp      2005-09-08 
07:40:45.000000000 +0000
+++ ./src/osgCal/Model.cpp      2005-09-14 12:36:35.000000000 +0000
@@ -2118,7 +2118,7 @@
         user->readNormal = readNormals[k];
 
         items[iv].value = user->calVertex->position.x;
-        items[iv].user = (int) user;
+        items[iv].user = (long) user;
         iv++;
       }
     }

---------------------------------------
Received: (at 328260-close) by bugs.debian.org; 15 Sep 2005 09:48:28 +0000
>From [EMAIL PROTECTED] Thu Sep 15 02:48:28 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EFqKk-0008Gn-00; Thu, 15 Sep 2005 02:47:10 -0700
From: Loic Dachary (OuoU) <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#328260: fixed in osgcal 0.1.33-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 15 Sep 2005 02:47:10 -0700
Delivered-To: [EMAIL PROTECTED]
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: osgcal
Source-Version: 0.1.33-1

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

libosgcal-dev_0.1.33-1_i386.deb
  to pool/main/o/osgcal/libosgcal-dev_0.1.33-1_i386.deb
libosgcal0_0.1.33-1_i386.deb
  to pool/main/o/osgcal/libosgcal0_0.1.33-1_i386.deb
osgcal-doc_0.1.33-1_all.deb
  to pool/main/o/osgcal/osgcal-doc_0.1.33-1_all.deb
osgcal_0.1.33-1.diff.gz
  to pool/main/o/osgcal/osgcal_0.1.33-1.diff.gz
osgcal_0.1.33-1.dsc
  to pool/main/o/osgcal/osgcal_0.1.33-1.dsc
osgcal_0.1.33-1_i386.deb
  to pool/main/o/osgcal/osgcal_0.1.33-1_i386.deb
osgcal_0.1.33.orig.tar.gz
  to pool/main/o/osgcal/osgcal_0.1.33.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Loic Dachary (OuoU) <[EMAIL PROTECTED]> (supplier of updated osgcal 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 [EMAIL PROTECTED])


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

Format: 1.7
Date: Wed, 14 Sep 2005 18:13:17 +0200
Source: osgcal
Binary: libosgcal-dev osgcal libosgcal0 osgcal-doc
Architecture: source all i386
Version: 0.1.33-1
Distribution: unstable
Urgency: low
Maintainer: Loic Dachary (OuoU) <[EMAIL PROTECTED]>
Changed-By: Loic Dachary (OuoU) <[EMAIL PROTECTED]>
Description: 
 libosgcal-dev - cal3d to OpenSceneGraph adapter development files
 libosgcal0 - cal3d to OpenSceneGraph adapter
 osgcal     - cal3d to OpenSceneGraph adapter development environment
 osgcal-doc - documentation for the cal3d to OpenSceneGraph adapter
Closes: 328260
Changes: 
 osgcal (0.1.33-1) unstable; urgency=low
 .
   * upstream sync
 .
   * upstream now avoid dangerous casts (closes: #328260)
Files: 
 96ab0cdd63419c9888ee9720ec329f34 841 devel optional osgcal_0.1.33-1.dsc
 17d6d96626943e9f9ceb8f81d1435fa1 2877463 devel optional 
osgcal_0.1.33.orig.tar.gz
 faf5b6a9ae206417931f1689cb211d97 5817 devel optional osgcal_0.1.33-1.diff.gz
 e4f3d3a3cee648d0e215582085ac107b 16504 devel optional 
libosgcal-dev_0.1.33-1_i386.deb
 cabbe6974ad728915601974b61dabfda 241752 libs optional 
libosgcal0_0.1.33-1_i386.deb
 4b49374a52dec0f9860a0bdb0036e284 2505950 devel optional 
osgcal_0.1.33-1_i386.deb
 b3b12291363a5e8f1f0ddbccb3571cb1 72412 devel optional 
osgcal-doc_0.1.33-1_all.deb

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

iD8DBQFDKTo38dLMyEl6F20RAv/HAJ4yl2POEh0mDZetWetshi545tRtmwCgwhF0
PJ5lhvUrosxWGNtjrbujfgo=
=9RpF
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to