Your message dated Wed, 16 Dec 2015 01:21:12 +0000 with message-id <[email protected]> and subject line Bug#806965: fixed in oclgrind 15.5-3 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. Fernandodiff -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-3 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: Wed, 16 Dec 2015 00:35:15 +0000 Source: oclgrind Binary: liboclgrind-15.5 liboclgrind-dev oclgrind Architecture: source Version: 15.5-3 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-3) unstable; urgency=low . * Use opencl-headers instead of local copy of CL/*.h * Use -std=gnu++11 to fix AltiVec issues (Closes: #806965) Checksums-Sha1: 6019c78c52fc821b09d5c239e46e70f770f82582 2182 oclgrind_15.5-3.dsc 115be12a267427790968ae2709b56669d356e48e 7472 oclgrind_15.5-3.debian.tar.xz Checksums-Sha256: dfa0ce7ebed7c06c5927ccaa41aff96430122d2a730adae12c9bc1bb4a176ee8 2182 oclgrind_15.5-3.dsc 2d0bbf6f17fb21ab35ed0b29edde027ed4cd40888d25cea03b09f4fdef00c98b 7472 oclgrind_15.5-3.debian.tar.xz Files: 90feea2617169b731f71c9373395d1ff 2182 devel optional oclgrind_15.5-3.dsc 2778a6f1f022b6477be9bcf2c4a0a7f2 7472 devel optional oclgrind_15.5-3.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWcLSnAAoJEF+zP5NZ6e0ItFEP/jhntDpxYw/sn/4a6GLjwcPM HHxHTFWYeWrkFZAQT8PQHtfvyjd5CH4kuABuyT5HxJCOzcDdlkCZ48RdUDUKh4CS XfcNJbKkZq3ohSAOuPKlNnXN1VTuZs4394iID03wdQnIxAvsEXC9BGL1T3byoX0W e7uyGWM4V7jzmuFnMLT/e58FZhpjL4GLcOeLeBdTi4jnHA/12WG7xNX3+n2HJ52M XrcJU6QMUKCeEbGCGw0g+95akF1iuM9Vih51P4gGojq3EPOvyUgRWjP5qayytuyU TvF08ZzFhvbapd7qpBp2Zc2i9120Bur+HL1beIr0kCk3dHeOU3YT1cLTGGQdMNN0 ZvjctR5jbRXQ/VmSOvJgFRsx6NTJbsPNNHVKA0Y8jUyA/kJtsPOZtSBqq1vyPhyy ezyi21Rn9/pUL1IOgX/YxMnZgEcuJEutkDPQidasJPKJ+Y0Zkb0srtEbOGmIEpDn Q/ZGdJHWKpVaVSsD14GI4Z8IaCzUY1kesZ3I+EHlgnr5O2iNCvhSIIT9PedOUJfi kf91b58EH4Ac666o5q6u4UxMhRkR6r1i9gfV/qoo+VlsfBixrXc94BUITBiiza6M VTTOm7XTroyhcvR/DPJve1ANTmbP14zRvD8ALJgxHv4DcQmhVWat9Y/MEUpVweNS mVNWFrdnzLQQtgbNsW23 =r2aF -----END PGP SIGNATURE-----
--- End Message ---

