Package: src:gammaray
Version: 2.1.0-3.1
Severity: normal
Tags: patch

Dear Maintainer,

While trying to build the package on ppc64el, tests are failing.

The issue seems to come from a typo in the debian-archs-fix-build.patch file. This patch adds a test in cmake/GammaRayProbeABI.cmake :
          elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "ppc64el")
To fix the issue, ppc64el should be replaced by ppc64le.

FYI the same fix has been applied on Ubuntu.

Thanks for considering this patch.

Regards,
Erwan.


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

Kernel: Linux 3.13-1-powerpc64le (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


diff -Naur a/debian/patches/ppc64el.patch b/debian/patches/ppc64el.patch
--- a/debian/patches/ppc64el.patch	1970-01-01 01:00:00.000000000 +0100
+++ b/debian/patches/ppc64el.patch	2014-10-16 15:26:55.519734834 +0200
@@ -0,0 +1,11 @@
+--- a/cmake/GammaRayProbeABI.cmake
++++ b/cmake/GammaRayProbeABI.cmake
+@@ -80,7 +80,7 @@
+     set(GAMMARAY_PROBE_ABI "${GAMMARAY_PROBE_ABI}-arm")
+   elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "mips64")
+     set(GAMMARAY_PROBE_ABI "${GAMMARAY_PROBE_ABI}-mips")
+-  elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "ppc64el")
++  elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "ppc64le")
+     set(GAMMARAY_PROBE_ABI "${GAMMARAY_PROBE_ABI}-ppc64")
+   else()
+     set(GAMMARAY_PROBE_ABI "${GAMMARAY_PROBE_ABI}-${CMAKE_SYSTEM_PROCESSOR}")
diff -Naur a/debian/patches/series b/debian/patches/series
--- a/debian/patches/series	2014-10-16 13:06:34.900182383 +0200
+++ b/debian/patches/series	2014-10-16 15:27:16.639733712 +0200
@@ -1 +1,2 @@
 debian-archs-fix-build.patch
+ppc64el.patch
_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras

Reply via email to