Package: mrpt
Version: 1:1.2.2-1
Severity: serious
Justification: FTBFS
Tags: patch sid jessie
User: freewx-ma...@lists.alioth.debian.org
Usertags: wx3.0

Dear maintainer,

The latest upload of mrpt fails to build on all non-x86-based
architectures, due to passing SSE4-related compiler options.

It also presumably compiles to code using SSE4 instructions on x86-based
architectures, which means it won't work on older x86 processors which
Debian aims to support.

I've attached a patch which fixes debian/rules to pass the correct
options to the upstream build system (which seem to have changed between
1.2.1 and 1.2.2).  I've test built this on x86_64 and verified from the
build log that the SSE4-related options get set correctly.

If you'd like me to NMU this fix, just let me know.

Cheers,
    Olly
diff -Nru mrpt-1.2.2/debian/changelog mrpt-1.2.2/debian/changelog
--- mrpt-1.2.2/debian/changelog	2014-09-13 23:54:48.000000000 +1200
+++ mrpt-1.2.2/debian/changelog	2014-10-14 14:22:37.000000000 +1300
@@ -1,3 +1,10 @@
+mrpt (1:1.2.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS on many architectures by fixing disabling of use of SSE4.
+
+ -- Olly Betts <o...@survex.com>  Tue, 14 Oct 2014 14:22:01 +1300
+
 mrpt (1:1.2.2-1) unstable; urgency=medium
 
   * New version of upstream sources.
diff -Nru mrpt-1.2.2/debian/rules mrpt-1.2.2/debian/rules
--- mrpt-1.2.2/debian/rules	2014-09-13 23:54:16.000000000 +1200
+++ mrpt-1.2.2/debian/rules	2014-10-14 14:21:55.000000000 +1300
@@ -15,9 +15,9 @@
 
 # SSE options
 ifeq ($(DEB_HOST_ARCH),amd64)
-CMAKE_ARCH_FLAGS = -DMRPT_AUTODETECT_SSE=OFF -DDISABLE_SSE2=OFF -DDISABLE_SSE3=ON -DDISABLE_SSE4=ON  
+CMAKE_ARCH_FLAGS = -DMRPT_AUTODETECT_SSE=OFF -DDISABLE_SSE2=OFF -DDISABLE_SSE3=ON -DDISABLE_SSE4_1=ON -DDISABLE_SSE4_2=ON -DDISABLE_SSE4_A=ON
 else
-CMAKE_ARCH_FLAGS = -DMRPT_AUTODETECT_SSE=OFF -DDISABLE_SSE2=ON -DDISABLE_SSE3=ON -DDISABLE_SSE4=ON 
+CMAKE_ARCH_FLAGS = -DMRPT_AUTODETECT_SSE=OFF -DDISABLE_SSE2=ON -DDISABLE_SSE3=ON -DDISABLE_SSE4_1=ON -DDISABLE_SSE4_2=ON -DDISABLE_SSE4_A=ON
 endif
 
 CMAKE_FLAGS = \

Reply via email to