Your message dated Tue, 06 Sep 2005 23:02:07 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#285577: fixed in blender 2.37a-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 Dec 2004 08:08:43 +0000
>From [EMAIL PROTECTED] Tue Dec 14 00:08:43 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c158150.adsl.hansenet.de (localhost.localdomain)
[213.39.158.150]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Ce7jd-00031L-00; Tue, 14 Dec 2004 00:08:41 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
id 1Ce7nv-0005lg-4k; Tue, 14 Dec 2004 09:13:11 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: blender: FTBFS (amd64/gcc-4.0): cast from 'void*' to 'unsigned int'
loses precision
Message-Id: <[EMAIL PROTECTED]>
Date: Tue, 14 Dec 2004 09:13:11 +0100
Delivered-To: [EMAIL PROTECTED]
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: blender
Severity: normal
Tags: patch
When building 'blender' on amd64 with gcc-4.0,
I get the following error:
/usr/include/features.h:131:1: warning: this is the location of the previous
definition
source/kernel/gen_system/GEN_HashedPtr.h: In member function 'unsigned int
GEN_HashedPtr::hash() const':
source/kernel/gen_system/GEN_HashedPtr.h:43: error: cast from 'void*' to
'unsigned int' loses precision
With the attached patch 'blender' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/blender-2.35/source/blender/python/api2_2x/CurNurb.c
./source/blender/python/api2_2x/CurNurb.c
--- ../tmp-orig/blender-2.35/source/blender/python/api2_2x/CurNurb.c
2004-10-07 21:25:39.000000000 +0200
+++ ./source/blender/python/api2_2x/CurNurb.c 2004-12-13 22:52:41.000000000
+0100
@@ -452,7 +452,7 @@
* these methods are invoked on an instance of the type.
*/
-static PyMethodDef BPy_CurNurb_methods[] = {
+PyMethodDef BPy_CurNurb_methods[] = {
/* name, method, flags, doc */
/* {"method", (PyCFunction) CurNurb_method, METH_NOARGS, " () - doc string"}
*/
{"setMatIndex", ( PyCFunction ) CurNurb_setMatIndex, METH_VARARGS,
diff -urN
../tmp-orig/blender-2.35/source/gameengine/Expressions/KX_HashedPtr.cpp
./source/gameengine/Expressions/KX_HashedPtr.cpp
--- ../tmp-orig/blender-2.35/source/gameengine/Expressions/KX_HashedPtr.cpp
2004-03-22 23:01:28.000000000 +0100
+++ ./source/gameengine/Expressions/KX_HashedPtr.cpp 2004-12-13
23:02:35.000000000 +0100
@@ -55,7 +55,7 @@
-unsigned int CHashedPtr::hash() const
+unsigned long CHashedPtr::hash() const
{
- return KX_Hash((unsigned int) m_valptr);
+ return KX_Hash((unsigned long) m_valptr);
}
diff -urN ../tmp-orig/blender-2.35/source/gameengine/Expressions/KX_HashedPtr.h
./source/gameengine/Expressions/KX_HashedPtr.h
--- ../tmp-orig/blender-2.35/source/gameengine/Expressions/KX_HashedPtr.h
2004-03-22 23:01:29.000000000 +0100
+++ ./source/gameengine/Expressions/KX_HashedPtr.h 2004-12-13
23:04:29.000000000 +0100
@@ -41,7 +41,7 @@
public:
CHashedPtr(void* val);
- unsigned int hash() const;
+ unsigned long hash() const;
inline friend bool operator ==( const CHashedPtr & rhs,const CHashedPtr
& lhs)
{
diff -urN
../tmp-orig/blender-2.35/source/gameengine/Ketsji/KX_CameraIpoSGController.cpp
./source/gameengine/Ketsji/KX_CameraIpoSGController.cpp
---
../tmp-orig/blender-2.35/source/gameengine/Ketsji/KX_CameraIpoSGController.cpp
2004-07-22 02:26:34.000000000 +0200
+++ ./source/gameengine/Ketsji/KX_CameraIpoSGController.cpp 2004-12-13
23:14:04.000000000 +0100
@@ -92,10 +92,10 @@
iporeplica->AddInterpolator(copyipo);
MT_Scalar* scaal = ((KX_ScalarInterpolator*)*i)->GetTarget();
- int orgbase = (int)this;
- int orgloc = (int)scaal;
+ long orgbase = (long)this;
+ long orgloc = (long)scaal;
int offset = orgloc-orgbase;
- int newaddrbase = (int)iporeplica + offset;
+ long newaddrbase = (long)iporeplica + offset;
MT_Scalar* blaptr = (MT_Scalar*) newaddrbase;
copyipo->SetNewTarget((MT_Scalar*)blaptr);
}
diff -urN ../tmp-orig/blender-2.35/source/gameengine/Ketsji/KX_GameObject.cpp
./source/gameengine/Ketsji/KX_GameObject.cpp
--- ../tmp-orig/blender-2.35/source/gameengine/Ketsji/KX_GameObject.cpp
2004-11-06 05:58:09.000000000 +0100
+++ ./source/gameengine/Ketsji/KX_GameObject.cpp 2004-12-13
23:33:45.000000000 +0100
@@ -1092,10 +1092,10 @@
PyObject* kwds)
{
KX_IPhysicsController* ctrl = GetPhysicsController();
- int physid=0;
+ long physid=0;
if (ctrl)
{
- physid= (int)ctrl->GetUserData();
+ physid= (long)ctrl->GetUserData();
}
return PyInt_FromLong(physid);
}
diff -urN
../tmp-orig/blender-2.35/source/gameengine/Ketsji/KX_IPO_SGController.cpp
./source/gameengine/Ketsji/KX_IPO_SGController.cpp
--- ../tmp-orig/blender-2.35/source/gameengine/Ketsji/KX_IPO_SGController.cpp
2004-03-22 23:01:52.000000000 +0100
+++ ./source/gameengine/Ketsji/KX_IPO_SGController.cpp 2004-12-13
23:40:36.000000000 +0100
@@ -185,10 +185,10 @@
iporeplica->AddInterpolator(copyipo);
MT_Scalar* scaal = ((KX_ScalarInterpolator*)*i)->GetTarget();
- int orgbase = (int)&m_ipo_xform;
- int orgloc = (int)scaal;
+ long orgbase = (long)&m_ipo_xform;
+ long orgloc = (long)scaal;
int offset = orgloc-orgbase;
- int newaddrbase = (int)&iporeplica->m_ipo_xform;
+ long newaddrbase = (long)&iporeplica->m_ipo_xform;
newaddrbase += offset;
MT_Scalar* blaptr = (MT_Scalar*) newaddrbase;
copyipo->SetNewTarget((MT_Scalar*)blaptr);
diff -urN
../tmp-orig/blender-2.35/source/gameengine/Ketsji/KX_LightIpoSGController.cpp
./source/gameengine/Ketsji/KX_LightIpoSGController.cpp
---
../tmp-orig/blender-2.35/source/gameengine/Ketsji/KX_LightIpoSGController.cpp
2004-03-22 23:01:52.000000000 +0100
+++ ./source/gameengine/Ketsji/KX_LightIpoSGController.cpp 2004-12-13
23:41:58.000000000 +0100
@@ -97,10 +97,10 @@
iporeplica->AddInterpolator(copyipo);
MT_Scalar* scaal = ((KX_ScalarInterpolator*)*i)->GetTarget();
- int orgbase = (int)this;
- int orgloc = (int)scaal;
+ long orgbase = (long)this;
+ long orgloc = (long)scaal;
int offset = orgloc-orgbase;
- int newaddrbase = (int)iporeplica + offset;
+ long newaddrbase = (long)iporeplica + offset;
MT_Scalar* blaptr = (MT_Scalar*) newaddrbase;
copyipo->SetNewTarget((MT_Scalar*)blaptr);
}
diff -urN
../tmp-orig/blender-2.35/source/gameengine/Ketsji/KX_ObColorIpoSGController.cpp
./source/gameengine/Ketsji/KX_ObColorIpoSGController.cpp
---
../tmp-orig/blender-2.35/source/gameengine/Ketsji/KX_ObColorIpoSGController.cpp
2004-03-22 23:01:52.000000000 +0100
+++ ./source/gameengine/Ketsji/KX_ObColorIpoSGController.cpp 2004-12-13
23:46:22.000000000 +0100
@@ -87,10 +87,10 @@
iporeplica->AddInterpolator(copyipo);
MT_Scalar* scaal = ((KX_ScalarInterpolator*)*i)->GetTarget();
- int orgbase = (int)this;
- int orgloc = (int)scaal;
+ long orgbase = (long)this;
+ long orgloc = (long)scaal;
int offset = orgloc-orgbase;
- int newaddrbase = (int)iporeplica + offset;
+ long newaddrbase = (long)iporeplica + offset;
MT_Scalar* blaptr = (MT_Scalar*) newaddrbase;
copyipo->SetNewTarget((MT_Scalar*)blaptr);
}
diff -urN
../tmp-orig/blender-2.35/source/gameengine/Ketsji/KX_WorldIpoController.cpp
./source/gameengine/Ketsji/KX_WorldIpoController.cpp
--- ../tmp-orig/blender-2.35/source/gameengine/Ketsji/KX_WorldIpoController.cpp
2004-03-22 23:01:53.000000000 +0100
+++ ./source/gameengine/Ketsji/KX_WorldIpoController.cpp 2004-12-13
23:54:35.000000000 +0100
@@ -92,10 +92,10 @@
iporeplica->AddInterpolator(copyipo);
MT_Scalar* scaal = ((KX_ScalarInterpolator*)*i)->GetTarget();
- int orgbase = (int)this;
- int orgloc = (int)scaal;
+ long orgbase = (long)this;
+ long orgloc = (long)scaal;
int offset = orgloc-orgbase;
- int newaddrbase = (int)iporeplica + offset;
+ long newaddrbase = (long)iporeplica + offset;
MT_Scalar* blaptr = (MT_Scalar*) newaddrbase;
copyipo->SetNewTarget((MT_Scalar*)blaptr);
}
diff -urN ../tmp-orig/blender-2.35/source/kernel/gen_system/GEN_HashedPtr.h
./source/kernel/gen_system/GEN_HashedPtr.h
--- ../tmp-orig/blender-2.35/source/kernel/gen_system/GEN_HashedPtr.h
2002-12-27 14:11:00.000000000 +0100
+++ ./source/kernel/gen_system/GEN_HashedPtr.h 2004-12-13 22:42:38.000000000
+0100
@@ -40,7 +40,7 @@
void* m_valptr;
public:
GEN_HashedPtr(void* val) : m_valptr(val) {};
- unsigned int hash() const { return GEN_Hash((unsigned int) m_valptr);};
+ unsigned long hash() const { return GEN_Hash((unsigned long)
m_valptr);};
inline friend bool operator ==(const GEN_HashedPtr & rhs, const
GEN_HashedPtr & lhs) { return rhs.m_valptr == lhs.m_valptr;};
};
---------------------------------------
Received: (at 285577-close) by bugs.debian.org; 7 Sep 2005 06:08:35 +0000
>From [EMAIL PROTECTED] Tue Sep 06 23:08:35 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
id 1ECt0Z-0001Lb-00; Tue, 06 Sep 2005 23:02:07 -0700
From: Masayuki Hatta (mhatta) <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#285577: fixed in blender 2.37a-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 06 Sep 2005 23:02:07 -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: blender
Source-Version: 2.37a-1
We believe that the bug you reported is fixed in the latest version of
blender, which is due to be installed in the Debian FTP archive:
blender_2.37a-1.diff.gz
to pool/main/b/blender/blender_2.37a-1.diff.gz
blender_2.37a-1.dsc
to pool/main/b/blender/blender_2.37a-1.dsc
blender_2.37a-1_i386.deb
to pool/main/b/blender/blender_2.37a-1_i386.deb
blender_2.37a.orig.tar.gz
to pool/main/b/blender/blender_2.37a.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.
Masayuki Hatta (mhatta) <[EMAIL PROTECTED]> (supplier of updated blender
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: Tue, 6 Sep 2005 17:52:51 +0900
Source: blender
Binary: blender
Architecture: source i386
Version: 2.37a-1
Distribution: unstable
Urgency: low
Maintainer: Masayuki Hatta (mhatta) <[EMAIL PROTECTED]>
Changed-By: Masayuki Hatta (mhatta) <[EMAIL PROTECTED]>
Description:
blender - Very fast and versatile 3D modeller/renderer
Closes: 285577 298167 304567 313676 316524 319307
Changes:
blender (2.37a-1) unstable; urgency=low
.
* Works had been done at Codefest Asia 2005 in Colombo, Sri Lanka.
* New upstream release - closes: #316524
* Bumped Standards-Version 3.6.2.1 (no physical changes).
* Now the package include blenderplayer - closes: #304567
* Now it should be built on amd64 with gcc-4.0 - closes: #285577, #319307
* Now quit.blend is created in the user's homedir - closes: #298167
* Fixed de.po - closes: #313676
Files:
1cad4af1a7c382dac16d089a30bceea7 740 graphics optional blender_2.37a-1.dsc
2af6afdb01c1d297c43602982d9a919c 7885589 graphics optional
blender_2.37a.orig.tar.gz
ae9f4939702135e2b738e26b88886736 3388 graphics optional blender_2.37a-1.diff.gz
4a1b7a229e084686024e76545a00c91d 4239716 graphics optional
blender_2.37a-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDHnxNy2+jQOcHWlQRAuMAAJ924sjh9SrQWhSMCvblyAHVdp3EtwCgoBHF
uk8ORn3vzHQbBGTJ97mI7WM=
=DBe9
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]