Your message dated Mon, 07 Dec 2015 23:23:16 +0000
with message-id <[email protected]>
and subject line Bug#806965: fixed in oclgrind 15.5-2
has caused the Debian Bug report #806965,
regarding oclgrind: FTBFS on ppc64el -- conflict with altivec keyword bool
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.)


-- 
806965: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806965
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: oclgrind
Version: 15.5-1
Severity: normal
Tags: patch

Dear Maintainer,

The package oclgrind fails to build from source on ppc64el with,
initially the error:

  /usr/include/c++/5/bits/cpp_type_traits.h:98:24: error: expected 
primary-expression before '__attribute__'
         enum { __value = bool(_Sp::__value) || bool(_Tp::__value) };

Full log can be found at:
https://buildd.debian.org/status/fetch.php?pkg=oclgrind&arch=ppc64el&ver=15.5-1&stamp=1445511925

I created a patch to bypass usage of altivec with -mno-altivec flag.
The concerns on using the method of the patch I created is that it will
not apply on cross-compiling and it will apply for the whole code, not just
for the parts where it fails.

In any case, the package builds successfully with the patch.
If you have any concerns, please let me know.

Thanks and regards.

Fernando
diff -Nru oclgrind-15.5/debian/changelog oclgrind-15.5/debian/changelog
--- oclgrind-15.5/debian/changelog	2015-09-12 13:22:48.000000000 -0400
+++ oclgrind-15.5/debian/changelog	2015-12-03 10:20:43.000000000 -0500
@@ -1,3 +1,10 @@
+oclgrind (15.5-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Added condition to not use altivec on ppc64el to fix FTBFS 
+
+ -- Fernando Seiti Furusato <[email protected]>  Thu, 03 Dec 2015 10:20:26 -0500
+
 oclgrind (15.5-1) unstable; urgency=low
 
   * Initial release (Closes: #794787)
diff -Nru oclgrind-15.5/debian/patches/ppc64el-no-altivec.patch oclgrind-15.5/debian/patches/ppc64el-no-altivec.patch
--- oclgrind-15.5/debian/patches/ppc64el-no-altivec.patch	1969-12-31 19:00:00.000000000 -0500
+++ oclgrind-15.5/debian/patches/ppc64el-no-altivec.patch	2015-12-03 10:20:24.000000000 -0500
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -299,3 +299,8 @@
+ 
+ # Add app tests
+ add_subdirectory(tests/apps)
++
++# Condition not to use altivec on ppc64el
++if (CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64le")
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mno-altivec")
++endif()
diff -Nru oclgrind-15.5/debian/patches/series oclgrind-15.5/debian/patches/series
--- oclgrind-15.5/debian/patches/series	2015-09-12 13:22:48.000000000 -0400
+++ oclgrind-15.5/debian/patches/series	2015-12-03 10:20:10.000000000 -0500
@@ -6,3 +6,4 @@
 pch-location.patch
 clang-library-order.patch
 cmake-preserve-flags.patch
+ppc64el-no-altivec.patch

--- End Message ---
--- Begin Message ---
Source: oclgrind
Source-Version: 15.5-2

We believe that the bug you reported is fixed in the latest version of
oclgrind, 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.
James Price <[email protected]> (supplier of updated oclgrind 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: SHA256

Format: 1.8
Date: Mon, 07 Dec 2015 23:56:09 +0100
Source: oclgrind
Binary: liboclgrind-15.5 liboclgrind-dev oclgrind
Architecture: source
Version: 15.5-2
Distribution: unstable
Urgency: low
Maintainer: Debian OpenCL Maintainers <[email protected]>
Changed-By: James Price <[email protected]>
Description:
 liboclgrind-15.5 - core library for Oclgrind
 liboclgrind-dev - development files for Oclgrind
 oclgrind   - OpenCL device simulator
Closes: 806965
Changes:
 oclgrind (15.5-2) unstable; urgency=low
 .
   * Fix a couple of compiler warnings.
   * Add Python to build dependencies to enable test suite.
   * Patch cl.h to fix build with -maltivec.  (Closes: #806965)
Checksums-Sha1:
 10bd554583caa7a313b02ba26fc8f3928bf7ac36 2166 oclgrind_15.5-2.dsc
 c77af7f96273d0293d441637741f79ea999f5538 7260 oclgrind_15.5-2.debian.tar.xz
Checksums-Sha256:
 8f2dcb467ffc23c644f81727f536e62c9622fee0c92c0105e62f3e3f591a3c52 2166 
oclgrind_15.5-2.dsc
 93835f829f8ad5bce32e31dce5220561e1848c5fd4729e64bdaf1b38ae2721b4 7260 
oclgrind_15.5-2.debian.tar.xz
Files:
 a61b08aee971cbed832dab45cf4c9e9a 2166 devel optional oclgrind_15.5-2.dsc
 0fa1098697e48dde366d658e42948a3c 7260 devel optional 
oclgrind_15.5-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWZg9NAAoJEF+zP5NZ6e0Il4QP/ipl5m4/ezxZ1JPEEAm2vLRO
FJR7cscrW44GEsIF+4XHKkCC70nx9xYlP87jEvhaJAClcvIXkrx08cmqRDu+rM0B
E7u4TXa3xr7WBJPdwEcPL40Us/JZFUZyoSUXcX0Olb6LFf+I/rO9dnJbIPmDYebp
beB6v+IbJo+jmEEQ/rGJaBU0ilQ8ByLkWMI66hbL7rf6b0q5B65cbwihCNaGeaOw
DOv8KozWw28Cp7dl/on3bil5ZiDCyjU/IXDuOPsWFu0fYwXa3FpgbeoCnhdM05Dh
TlzIhFAER9DRARwlkLUNJuIu4QHO2ZzVamsfAnXXAo78jrVMvhpEII4v20aox5wh
OEfcU0XAcAQcIBHUpdfh4N/U5HdfFZtbnUuUNVZxTuGNg7lgND2Wgxt0fsRCR6EW
+RGNv2nW5NXuKchxqflm+xM/q8IqmMxyB4w76+MUZbk19EHtul4SCPIbn+exLZgu
ofVOfbMb7qibDJMlHX0sKNzYccxmjyzws6XE0kIqQuF+0oQDf/6kChwk7dC3AgjV
N5hEuFf6CeFX7XD6fchDwOtLgTxM5iyM/lUWksxzCnbw7Bl1cVttgkQ/cL1IwDCC
LOQEhV6XQsG7aSNJDJ20aojDW9vck92VpgxO75i5PHqxrVNIWS+L9aQ+i2lOQHf5
pn500tFascSft3M9a9dT
=+wET
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to