Your message dated Tue, 18 Feb 2014 16:34:07 +0000
with message-id <e1wfncv-0002xl...@franck.debian.org>
and subject line Bug#739118: fixed in blender 2.69-4
has caused the Debian Bug report #739118,
regarding blender: FTBFS on s390x (and other non-official 64-bit architectures)
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 ow...@bugs.debian.org
immediately.)


-- 
739118: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739118
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: blender
Version: 2.69-3
Severity: serious
Tags: upstream patch
Justification: fails to build from source (but built successfully in the past)

Since the default gcc has been upgraded to gcc-4.8, blender fails to
build on s390x, and on a few non-official architectures like ppc64 and
sparc64. This is due to a hardcoded list of architectures with 64-bit
pointers which has to be updated. The patch below fixes the issue:

--- blender-2.69.orig/intern/atomic/atomic_ops.h
+++ blender-2.69/intern/atomic/atomic_ops.h
@@ -61,7 +61,7 @@
 #  endif
 #endif
 
-#if defined(_M_X64) || defined(__amd64__) || defined(__x86_64__)
+#if defined(_M_X64) || defined(__amd64__) || defined(__x86_64__) || 
defined(__s390x__) || defined(__powerpc64__) || (defined(__sparc__) && 
defined(__arch64__))
 #  define LG_SIZEOF_PTR 3
 #  define LG_SIZEOF_INT 2
 #else

On the other hand, it might be a good idea to actually detect the size
of a pointer instead of having an hardcoded list. The following code
can be used for that:

| #include <stdint.h>
| #include <limits.h>
| 
| #if (UINTPTR_MAX == UINT64_MAX)
| #  define LG_SIZEOF_PTR 3
| #elif (UINTPTR_MAX == UINT32_MAX)
| #  define LG_SIZEOF_PTR 2
| #else
| #  error Can not determine size of a pointer
| #endif
| 
| #if (UINT_MAX == UINT64_MAX)
| #  define LG_SIZEOF_INT 3
| #elif (UINT_MAX == UINT32_MAX)
| #  define LG_SIZEOF_INT 2
| #else
| #  error Can not determine size of a int
| #endif

Or it can probably also be done directly with cmake.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: s390x

Kernel: Linux 3.2.0-4-s390x (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

--- End Message ---
--- Begin Message ---
Source: blender
Source-Version: 2.69-4

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.

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 739...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matteo F. Vescovi <mfvesc...@gmail.com> (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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 17 Feb 2014 14:36:00 +0100
Source: blender
Binary: blender blender-data blender-dbg
Architecture: source amd64 all
Version: 2.69-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers 
<pkg-multimedia-maintain...@lists.alioth.debian.org>
Changed-By: Matteo F. Vescovi <mfvesc...@gmail.com>
Description: 
 blender    - Very fast and versatile 3D modeller/renderer
 blender-data - Very fast and versatile 3D modeller/renderer - data package
 blender-dbg - debug symbols for Blender
Closes: 739118
Changes: 
 blender (2.69-4) unstable; urgency=medium
 .
   * debian/patches/: patchset re-worked
     - 0011-fix_FTBFS_on_armel.patch refreshed
     - 0012-fix_FTBFS_on_unofficial_64bit_archs.patch added
       Thanks to Aurelien Jarno (aurel32) for the hint. (Closes: #739118)
   * debian/control: S-V bump 3.9.4 => 3.9.5 (no changes needed)
Checksums-Sha1: 
 01e09ce504ae4347f356e75a7e4cff37e6fc7304 2691 blender_2.69-4.dsc
 aca16d89761d55bfae7833625de6387c04d92535 40252 blender_2.69-4.debian.tar.xz
 6133f0f8cb0a765d7b8116cce7dce3bcbff156de 18715412 blender_2.69-4_amd64.deb
 9fa9883f39009108a681091fbe7ad75f2846283c 7053658 blender-data_2.69-4_all.deb
 40103acac29152ab402d197acd1482f82c86b895 174002450 blender-dbg_2.69-4_amd64.deb
Checksums-Sha256: 
 2d3de3891cd185bc7b3fb7d87d19ca7d3f7103bdcec6608d5536bc25621eb5e5 2691 
blender_2.69-4.dsc
 20caf656bb98ea17b9b04edb3726b84e94a928046994ef0863022a57d7580598 40252 
blender_2.69-4.debian.tar.xz
 e217653803e9a9f9d6a35be5ffe63e105a2ec297a3cd571150f92862e9a710b2 18715412 
blender_2.69-4_amd64.deb
 282a2c37b111f504833e3586cbc1ffdc9cd96e7c75bb22c261c003be48211b13 7053658 
blender-data_2.69-4_all.deb
 d0494568b110a0bb5e15f6bac400894cf7ebb9a799b952f7a69366d8ee9eb0d2 174002450 
blender-dbg_2.69-4_amd64.deb
Files: 
 e735099fbe8f15decd58bf93786add1f 2691 graphics optional blender_2.69-4.dsc
 4c68a9a420276f1bca7c1e21f1230353 40252 graphics optional 
blender_2.69-4.debian.tar.xz
 4ea1f2cf12ab6bb2e6973bf2c873ab12 18715412 graphics optional 
blender_2.69-4_amd64.deb
 4f3adbe55b211ad30e85ce33cee9982e 7053658 graphics optional 
blender-data_2.69-4_all.deb
 502df115bcd28110c8387fad534a6453 174002450 debug extra 
blender-dbg_2.69-4_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Debian powered!

iQIcBAEBCAAGBQJTAxdEAAoJEKUGNby/Alds8GEQAKmEdFEiGC1NGFLi7zXndjlf
+S512nR6oT7vDCJBDkEyvf+JAfyC5shqs8+ZatqHy0RBpN3ZOq5ZNOwPv99PNhZo
1or1wpBW1osHGM12Nc8HisR+LWJTASidSwJu4X3K4uWnVxxdkgc1VN3CS9CG+p9v
Uqn2TGBW8CVLZGjmW4Lvp5VTk/3oxoybJ9uFEBXi1vkldDcVWLtjOOaS8cchA5tR
Md4uFG+KkHQs38KELKGg1zwqarrHmrnf1fJ1zgBXPYoN6cAdS48Sl1kXxsPjvljr
mftteEzY2rQ5xf8j8OvhAefnhLxMpzvF663Om11dpJRSUwPbd1ESa8YWDwNMc4/J
83/KPfE2mkHa9//KoWzgPyWbVqTbrONu699ChOI2OttxWZn6iZ+6fE815xboBGB/
vnfyYrTV9PwStxE5A0gmGOMLdNR4CX4mGjeGt7fITtNg01o46s94qmXZTz0zpK4O
jEx2d8wbbzbW4iNUBzAegJ4yx3Mz+jMKUIaxkzZdpg2EGJ//OQEjUPYX1B96IFxX
d5sDMWjWuYLKM5g5EmJmKO/rIq1SVH8GM3tbq6DeIemb9WEpX8wXZt/E1DofcdPz
+/OlIhPuCRB3yMaDAFE6ekKsh1cLjpCS/ZUZJeVDKaJlsYBeLMiHbAET9mhUnYkc
MUB1+ujnOV08gtFuQQ0j
=hYaL
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to