Your message dated Wed, 16 Oct 2013 10:04:26 +0000
with message-id <[email protected]>
and subject line Bug#725143: fixed in ogre-1.9 1.9.0~rc2+dfsg1-1
has caused the Debian Bug report #725143,
regarding unbuildable on some archs
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
725143: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725143
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ogre-1.9
Tags: patch

Using __sync_fetch_and_add_8 on architectures without native support requires the libatomic library (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56300), which is part of GCC 4.8+.

The attached patch links against this library and forces compilation with gcc/g++ 4.8. It also disables --as-needed on ia64 to work around bug #718047.

This should fix everything except armhf (crashing make, which is a bug there not here), but has not been tested.
$ diff -up rules_orig rules
--- rules_orig	2013-10-01 20:30:06.846713326 +0100
+++ rules	2013-10-01 20:52:56.234672865 +0100
@@ -15,8 +15,13 @@ export DEB_BUILD_MAINT_OPTIONS   := hard
 dpkg_buildflags = DEB_BUILD_MAINT_OPTIONS=$(DEB_BUILD_MAINT_OPTIONS) dpkg-buildflags
 export DEB_CFLAGS_MAINT_APPEND   := -pipe -Wall $(shell $(dpkg_buildflags) --get CPPFLAGS)
 export DEB_CXXFLAGS_MAINT_APPEND := -pipe -Wall $(shell $(dpkg_buildflags) --get CPPFLAGS)
-export DEB_LDFLAGS_MAINT_APPEND  := -Wl,-z,defs -Wl,--as-needed
-
+# -latomic for __sync_fetch_and_add_8
+# disable -Wl,--as-needed on ia64 due to bug #718047
+ifeq($(DEB_HOST_ARCH),ia64)
+export DEB_LDFLAGS_MAINT_APPEND  := -Wl,-z,defs -latomic
+else
+export DEB_LDFLAGS_MAINT_APPEND  := -Wl,-z,defs -Wl,--as-needed -latomic
+endif
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
@@ -47,7 +52,8 @@ override_dh_auto_configure:
 		-DOGRE_INSTALL_DOCS:BOOL=TRUE \
 		-DOGRE_BUILD_SAMPLES:BOOL=FALSE \
 		-DOGRE_INSTALL_SAMPLES:BOOL=FALSE \
-		-DOGRE_INSTALL_SAMPLES_SOURCE:BOOL=FALSE
+		-DOGRE_INSTALL_SAMPLES_SOURCE:BOOL=FALSE \
+		-DCMAKE_C_COMPILER=gcc-4.8 -DCMAKE_CXX_COMPILER=g++-4.8
 
 override_dh_install:
         # Copy files from template for this particular version
$ diff -up control_orig control
--- control_orig	2013-10-01 21:00:50.306658858 +0100
+++ control	2013-10-01 21:02:02.410656727 +0100
@@ -28,7 +28,8 @@ Build-Depends: debhelper (>= 9~),
                libxaw7-dev,
                libxt-dev,
                libois-dev [linux-any],
-               chrpath
+               chrpath,
+               g++-4.8
 
 Package: libogre-1.9-dev
 Section: libdevel

--- End Message ---
--- Begin Message ---
Source: ogre-1.9
Source-Version: 1.9.0~rc2+dfsg1-1

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

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.
Manuel A. Fernandez Montecelo <[email protected]> (supplier of updated ogre-1.9 
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: SHA512

Format: 1.8
Date: Mon, 14 Oct 2013 19:52:35 +0100
Source: ogre-1.9
Binary: libogre-1.9-dev libogre-1.9.0 libogre-1.9.0-dbg ogre-1.9-doc 
ogre-1.9-tools blender-ogrexml-1.9
Architecture: source amd64 all
Version: 1.9.0~rc2+dfsg1-1
Distribution: unstable
Urgency: low
Maintainer: Debian Games Team <[email protected]>
Changed-By: Manuel A. Fernandez Montecelo <[email protected]>
Description: 
 blender-ogrexml-1.9 - Blender Exporter for OGRE
 libogre-1.9-dev - 3D Object-Oriented Graphics Rendering Engine (development 
files)
 libogre-1.9.0 - 3D Object-Oriented Graphics Rendering Engine (libraries)
 libogre-1.9.0-dbg - 3D Object-Oriented Graphics Rendering Engine (debugging 
libs)
 ogre-1.9-doc - 3D Object-Oriented Graphics Rendering Engine (documentation)
 ogre-1.9-tools - 3D Object-Oriented Graphics Rendering Engine (tools)
Closes: 725143
Changes: 
 ogre-1.9 (1.9.0~rc2+dfsg1-1) unstable; urgency=low
 .
   * New upstream version
     - Repack the source to meet DFSG (simply removed all 'Samples', 'SDK' and
       '.hg*')
     - Support by upsteam of newer atomic functions, drop
       bug-725143-atomics.patch
   * Build-Depends-Indep on doxygen, graphviz and texinfo to build the
     documentation (was not present in the last revisions due to changes
     upstream, it was pre-generated before)
   * Build-Depends on GCC 4.8 and force to use that version to compile in
     debian/rules.  This is another attempt to fix the problem of being unable 
to
     build in some architectures (Closes: #725143).
Checksums-Sha1: 
 a774d2e027a8737f88c7819677e3bd90f5a0c0ea 2723 ogre-1.9_1.9.0~rc2+dfsg1-1.dsc
 7168536d556b85e3577cd8778cc614085ea28168 6493132 
ogre-1.9_1.9.0~rc2+dfsg1.orig.tar.xz
 2dd47e8b43545a909d14d65204f10e8d7d455a09 25555 
ogre-1.9_1.9.0~rc2+dfsg1-1.debian.tar.gz
 197fa4b7d6c3a09a6f011c2ee15048ae1323ca93 960844 
libogre-1.9-dev_1.9.0~rc2+dfsg1-1_amd64.deb
 892b80a2b840aeb2d623080ba195fe331cc7baac 2360880 
libogre-1.9.0_1.9.0~rc2+dfsg1-1_amd64.deb
 69742e6b3ccd61f225f93d0a58ad011749eb35e4 66475046 
libogre-1.9.0-dbg_1.9.0~rc2+dfsg1-1_amd64.deb
 5e68f1f1a62a32c62018a22e1e90a85536b6d067 16184650 
ogre-1.9-doc_1.9.0~rc2+dfsg1-1_all.deb
 7a9eee1b646bde3ded56fb57c1ae51e7cfd7583e 121102 
ogre-1.9-tools_1.9.0~rc2+dfsg1-1_amd64.deb
 1d12cc1c77801b003e67005934c575f09eda5cb6 165478 
blender-ogrexml-1.9_1.9.0~rc2+dfsg1-1_all.deb
Checksums-Sha256: 
 a38e7fc5190d507286484e858604636ab46e27eccad54db9b38f9f6c7010d38f 2723 
ogre-1.9_1.9.0~rc2+dfsg1-1.dsc
 dee3c6f809cc2281f24dac56ca938e8eb72710d961d9ba1dcbb71eb26dced17f 6493132 
ogre-1.9_1.9.0~rc2+dfsg1.orig.tar.xz
 76d55a5883e8eff98f391a18f73172c889133db8723e82ded55c5227dd2e09ce 25555 
ogre-1.9_1.9.0~rc2+dfsg1-1.debian.tar.gz
 f6443fb5512dc050c8d111995fb28c6367ebc9af447992f87a95e3199251faf7 960844 
libogre-1.9-dev_1.9.0~rc2+dfsg1-1_amd64.deb
 74d95f4589f9fb554002dd4e6a59feb2a3c8bef1362e20bb44125948edeac86c 2360880 
libogre-1.9.0_1.9.0~rc2+dfsg1-1_amd64.deb
 d1a1e14788bb0c10f6b9d1ee3a8cbcb196c0ecbc4feee39ebefa356442314fbf 66475046 
libogre-1.9.0-dbg_1.9.0~rc2+dfsg1-1_amd64.deb
 a17816171bd578a877da36707332a18469b4ddfad6b03f89426a44c74a564a34 16184650 
ogre-1.9-doc_1.9.0~rc2+dfsg1-1_all.deb
 ad1524e26a5e80b0cdfb6d4b4880eabea0787ccd8eb531776fbd781f570174f5 121102 
ogre-1.9-tools_1.9.0~rc2+dfsg1-1_amd64.deb
 c1e8a66828d02ea9af23793f22760a0fcbe71d94492cdf4eafdfe8ad7cf482d9 165478 
blender-ogrexml-1.9_1.9.0~rc2+dfsg1-1_all.deb
Files: 
 83ecdb8f56547ca2c3391467977a557c 2723 libs optional 
ogre-1.9_1.9.0~rc2+dfsg1-1.dsc
 bee9044824f31442d33fc6528655ac5f 6493132 libs optional 
ogre-1.9_1.9.0~rc2+dfsg1.orig.tar.xz
 c5b3c85879caa0bde5aff7444b05e51d 25555 libs optional 
ogre-1.9_1.9.0~rc2+dfsg1-1.debian.tar.gz
 1f16102c1558116b12fe4a46c075432b 960844 libdevel optional 
libogre-1.9-dev_1.9.0~rc2+dfsg1-1_amd64.deb
 9ac41ff47a560f0876631c56830c78cb 2360880 libs optional 
libogre-1.9.0_1.9.0~rc2+dfsg1-1_amd64.deb
 9f9e551a8298526ea6e129cff49ef386 66475046 debug extra 
libogre-1.9.0-dbg_1.9.0~rc2+dfsg1-1_amd64.deb
 c55aaa8f05e21efc4f91fd43c023ca8b 16184650 doc optional 
ogre-1.9-doc_1.9.0~rc2+dfsg1-1_all.deb
 ff6a66f7faa88c10abc4db9a4f6d814d 121102 devel optional 
ogre-1.9-tools_1.9.0~rc2+dfsg1-1_amd64.deb
 f9c9861214841054e2ebe5a0bb19465c 165478 graphics optional 
blender-ogrexml-1.9_1.9.0~rc2+dfsg1-1_all.deb

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

iQIcBAEBCgAGBQJSXZ4VAAoJEH92BqRF3KgOV6gP/iS1J7cR1/7B7hmNTTtktCab
FDnEKaaGp+GQaRfqHevgFDrBTDZFZprX0HvdDfQhJoluie82tR2H6QtkTyTPrr5Y
gFJ3nqzbvf2Ef3xqUHLt+aPWY2tazm9OPBlO+GcYeY4WoykQPShvKSNyeoUsVvuB
nsUJx2sLxaBsNtYC4Ie2vu/Ill0/lPKYB+VW+KPNRyj+Ux11jCIrpJ6JwChhZbzI
RF7jFxtF8fWtcN6SftWCtkPrQRCv3Mteyu3X/BJWUd7ac7YMNxAypimX4GUCepJO
UVAH3oh9/yRxAqiIP6Gh3t7hkfPTc88ZJ2vuxPzg8rq2cOjrBhOG0A5gN+pHUeD+
cgwaXQeFMqUxV93ONO70aO5sxI7T3ib0f8r2NnzLjRr7KzaqphSTUqb9iLyW3/iQ
dKscca7GhmQfzKL+1QOJY9SA5X6QVOWmTtXwqJ2Vu2ol7PFrwTrutqX3T7WUPibi
NksJs1ln7KR3LFR2xbVOZ78mEmaUT2ui+L7ffBi2vJp6+jKMFoZoAbYOAkwOnsMl
6nByoYaS4SsSM1log6seV72YJVQzOD0uLjh3hhqYMypoR9QfA3Lol//2NzKAsV4L
J7T01ny2oMAzIMf4gZXEyvpZPxxD9ND844xlmdAHpgQhMBJcV/qQdsvQ+rII4nTm
fBCWKFwtkGRJypYAG2NX
=T9hJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to