Your message dated Sun, 17 Apr 2005 07:47:09 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#304338: fixed in ogre 1.0.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; 12 Apr 2005 13:54:44 +0000
>From [EMAIL PROTECTED] Tue Apr 12 06:54:44 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c214026.adsl.hansenet.de (localhost.localdomain) [213.39.214.26] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DLLql-00019u-00; Tue, 12 Apr 2005 06:54:43 -0700
Received: from aj by localhost.localdomain with local (Exim 4.50)
        id 1DLLqh-0002UZ-7B; Tue, 12 Apr 2005 15:54:39 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: ogre: FTBFS: Missing Build-Depends on 'libxerces26-dev' and no gcc4 
support
Message-Id: <[EMAIL PROTECTED]>
Date: Tue, 12 Apr 2005 15:54:39 +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-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: ogre
Version: 1.0.0-4
Severity: serious
Tags: patch

When building 'ogre' in a clean 'unstable' chroot,
I get the following error:

In file included from ../../OgreMain/include/OgrePrerequisites.h:88,
                 from ../../OgreMain/include/OgreAnimation.h:29,
                 from OgreAnimation.cpp:26:
../../OgreMain/include/OgreStdHeaders.h:30:23: error: hash_set: No such file or 
directory
../../OgreMain/include/OgreStdHeaders.h:31:23: error: hash_map: No such file or 
directory
../../OgreMain/include/OgreString.h:64: error: expected initializer before '<' 
token
../../OgreMain/include/OgreString.h:172: error: expected initializer before '<' 
token
../../OgreMain/include/OgreNode.h:64: error: ISO C++ forbids declaration of 
'hash_map' with no type
../../OgreMain/include/OgreNode.h:64: error: typedef name may not be a 
nested-name-specifier
../../OgreMain/include/OgreNode.h:64: error: expected ';' before '<' token
../../OgreMain/include/OgreNode.h:65: error: 'ChildNodeMap' was not declared in 
this scope
../../OgreMain/include/OgreNode.h:65: error: template argument 1 is invalid
../../OgreMain/include/OgreNode.h:71: error: 'ChildNodeMap' does not name a type
make[3]: *** [OgreAnimation.lo] Error 1
make[3]: Leaving directory `/ogre-1.0.0/build-tree/ogre-free/OgreMain/src'

The attached patch fixes this by always defining GCC_3_1 and EXT_HASH 
for gcc version >= 3. It also fixes some 'cast from pointer to int 
loses precision' errors which occur in OgreSerializer.cpp when
compiling on 64 bit platform with gcc4.

Additionally, the patch adds the missing Build-Depends on 'libxerces26-dev'
and 'libcegui-mk2-dev' to debian/control.

Regards
Andreas Jochens

diff -urN ../tmp-orig/ogre-1.0.0/debian/control ./debian/control
--- ../tmp-orig/ogre-1.0.0/debian/control       2005-04-12 15:31:25.707685308 
+0200
+++ ./debian/control    2005-04-12 15:01:28.753252140 +0200
@@ -2,7 +2,7 @@
 Priority: optional
 Section: libs
 Maintainer: Federico Di Gregorio <[EMAIL PROTECTED]>
-Build-Depends: dbs, debhelper (>> 4.0.0), libdevil-dev, libfreetype6-dev, 
libjpeg62-dev, liblcms1-dev, libmng-dev, libpng-dev, libtiff-dev, zlib1g-dev, 
libopenexr-dev, xlibs-dev, doxygen, texi2html, libtool, automake1.9, autoconf, 
pkg-config, libxaw7-dev, libsdl1.2-dev, libzzip-dev
+Build-Depends: dbs, debhelper, libcegui-mk2-dev, libxerces26-dev, 
libdevil-dev, libfreetype6-dev, libjpeg62-dev, liblcms1-dev, libmng-dev, 
libpng-dev, libtiff-dev, zlib1g-dev, libopenexr-dev, xlibs-dev, doxygen, 
texi2html, libtool, automake1.9, autoconf, pkg-config, libxaw7-dev, 
libsdl1.2-dev, libzzip-dev
 Standards-Version: 3.6.1.0
 
 Package: libogre5
diff -urN ../tmp-orig/ogre-1.0.0/debian/patches/gcc4_fix.diff 
./debian/patches/gcc4_fix.diff
--- ../tmp-orig/ogre-1.0.0/debian/patches/gcc4_fix.diff 1970-01-01 
01:00:00.000000000 +0100
+++ ./debian/patches/gcc4_fix.diff      2005-04-12 15:18:38.361736670 +0200
@@ -0,0 +1,41 @@
+diff -urN tmp/OgreMain/include/OgrePlatform.h 
ogre-free/OgreMain/include/OgrePlatform.h
+--- tmp/OgreMain/include/OgrePlatform.h        2005-04-12 13:03:15.670449105 
+0000
++++ ogre-free/OgreMain/include/OgrePlatform.h  2005-04-12 13:09:24.565540326 
+0000
+@@ -51,6 +51,11 @@
+ #   define OGRE_COMPILER OGRE_COMPILER_GNUC
+ #   define OGRE_COMP_VER (((__GNUC__)*100)+__GNUC_MINOR__)
+ 
++#   if __GNUC__ >= 3
++#      define GCC_3_1
++#      define EXT_HASH
++#   endif
++
+ #elif defined( __BORLANDC__ )
+ #   define OGRE_COMPILER OGRE_COMPILER_BORL
+ #   define OGRE_COMP_VER __BCPLUSPLUS__
+diff -urN tmp/OgreMain/src/OgreSerializer.cpp 
ogre-free/OgreMain/src/OgreSerializer.cpp
+--- tmp/OgreMain/src/OgreSerializer.cpp        2005-02-04 17:50:16.000000000 
+0000
++++ ogre-free/OgreMain/src/OgreSerializer.cpp  2005-04-12 12:13:36.726968986 
+0000
+@@ -310,7 +310,7 @@
+     {
+         for(unsigned int index = 0; index < count; index++)
+         {
+-            flipEndian((void *)((int)pData + (index * size)), size);
++            flipEndian((void *)((long)pData + (index * size)), size);
+         }
+     }
+     
+@@ -319,9 +319,9 @@
+         char swapByte;
+         for(unsigned int byteIndex = 0; byteIndex < size/2; byteIndex++)
+         {
+-            swapByte = *(char *)((int)pData + byteIndex);
+-            *(char *)((int)pData + byteIndex) = *(char *)((int)pData + size - 
byteIndex - 1);
+-            *(char *)((int)pData + size - byteIndex - 1) = swapByte;
++            swapByte = *(char *)((long)pData + byteIndex);
++            *(char *)((long)pData + byteIndex) = *(char *)((long)pData + size 
- byteIndex - 1);
++            *(char *)((long)pData + size - byteIndex - 1) = swapByte;
+         }
+     }
+     
+

---------------------------------------
Received: (at 304338-close) by bugs.debian.org; 17 Apr 2005 12:04:56 +0000
>From [EMAIL PROTECTED] Sun Apr 17 05:04:56 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DN8WG-0000y4-00; Sun, 17 Apr 2005 05:04:56 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DN8F3-0007S0-00; Sun, 17 Apr 2005 07:47:09 -0400
From: Federico Di Gregorio <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#304338: fixed in ogre 1.0.1-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 17 Apr 2005 07:47:09 -0400
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-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: 
X-CrossAssassin-Score: 2

Source: ogre
Source-Version: 1.0.1-1

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

blender-ogrexml_1.0.1-1_all.deb
  to pool/main/o/ogre/blender-ogrexml_1.0.1-1_all.deb
libogre-dev_1.0.1-1_i386.deb
  to pool/main/o/ogre/libogre-dev_1.0.1-1_i386.deb
libogre5-dbg_1.0.1-1_i386.deb
  to pool/main/o/ogre/libogre5-dbg_1.0.1-1_i386.deb
libogre5_1.0.1-1_i386.deb
  to pool/main/o/ogre/libogre5_1.0.1-1_i386.deb
ogre-doc_1.0.1-1_all.deb
  to pool/main/o/ogre/ogre-doc_1.0.1-1_all.deb
ogre-tools_1.0.1-1_i386.deb
  to pool/main/o/ogre/ogre-tools_1.0.1-1_i386.deb
ogre_1.0.1-1.diff.gz
  to pool/main/o/ogre/ogre_1.0.1-1.diff.gz
ogre_1.0.1-1.dsc
  to pool/main/o/ogre/ogre_1.0.1-1.dsc
ogre_1.0.1.orig.tar.gz
  to pool/main/o/ogre/ogre_1.0.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Federico Di Gregorio <[EMAIL PROTECTED]> (supplier of updated ogre 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: Sat, 16 Apr 2005 00:45:34 +0200
Source: ogre
Binary: libogre5 libogre-dev libogre5-dbg ogre-tools ogre-doc blender-ogrexml
Architecture: source all i386
Version: 1.0.1-1
Distribution: unstable
Urgency: low
Maintainer: Federico Di Gregorio <[EMAIL PROTECTED]>
Changed-By: Federico Di Gregorio <[EMAIL PROTECTED]>
Description: 
 blender-ogrexml - Blender Exporter for Ogre
 libogre-dev - Object-oriented Graphics Rendering Engine (development files)
 libogre5   - Object-oriented Graphics Rendering Engine (libraries)
 libogre5-dbg - Object-oriented Graphics Rendering Engine (debugging libs)
 ogre-doc   - Object-oriented Graphics Rendering Engine (documentation)
 ogre-tools - Object-oriented Graphics Rendering Engine (tools)
Closes: 302893 304338
Changes: 
 ogre (1.0.1-1) unstable; urgency=low
 .
   * New upstream release.
   * Added Build-depends on libcegui-mk2-dev (Closes: #302893).
   * Added Build-depends on libxerces26-dev.
   * Applied patch from bug #304338 to fix build problems on 64 bit
     architectures; not applied the part that defined GCC_3_1 and EXT_HASH
     because Ogre 1.0.1 does not need it anymore; closes: 304338.
Files: 
 a7294bd7ad9f316d22002f1975262bd9 893 libs optional ogre_1.0.1-1.dsc
 da440e7e2edc270ba2b8634688d3a55f 10678601 libs optional ogre_1.0.1.orig.tar.gz
 897d4e13537198dd0b1384006b333165 12773 libs optional ogre_1.0.1-1.diff.gz
 296ab31c5d9c7bd905ca0a7151339adf 5879386 doc optional ogre-doc_1.0.1-1_all.deb
 221d3d93f0c0db2695e5006b1a16c418 46522 graphics optional 
blender-ogrexml_1.0.1-1_all.deb
 0ae798f5d242814b77fefc86b3d4e6b1 1619186 libs optional 
libogre5_1.0.1-1_i386.deb
 986120791ea1041f4d9bf278d904e37c 28911674 libdevel optional 
libogre5-dbg_1.0.1-1_i386.deb
 76db8e532fabfd239ecc4054600e5eb0 430458 libdevel optional 
libogre-dev_1.0.1-1_i386.deb
 22adba2676c8b86b9384b3dc7c2cd9db 132784 devel optional 
ogre-tools_1.0.1-1_i386.deb

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

iD8DBQFCYkgJvcCgrgZGjesRAsUvAJ4yVcIzAByVg4Bws2Nn0UlXCxRaWwCgonJ8
i2uM2kJ1tGYHA3SboWLqRZY=
=MlBB
-----END PGP SIGNATURE-----


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

Reply via email to