[SCM] Debian packaging for openturns www.openturns.org branch, debian, updated. debian/1.0-4-14-g1a1e7b9

Denis Barbier bouzim at gmail.com
Mon Dec 3 23:40:23 UTC 2012


The following commit has been merged in the debian branch:
commit bc22af2f50933ab7f940a9491de74c80452d083f
Author: Denis Barbier <bouzim at gmail.com>
Date:   Mon Dec 3 21:54:03 2012 +0100

    New patch: debian/patches/disable-coupling_tools.patch
    
    Disable WrapperFile_std and coupling_tools tests, these tests
    fail when running via fakeroot.
    The problem is that python/test/CMakeLists.txt sets LD_LIBRARY_PATH,
    whereas it should add ${LIBRARY_PATH} to an existing value.

diff --git a/debian/patches/disable-coupling_tools.patch b/debian/patches/disable-coupling_tools.patch
new file mode 100644
index 0000000..61461c1
--- /dev/null
+++ b/debian/patches/disable-coupling_tools.patch
@@ -0,0 +1,37 @@
+Description: Disable WrapperFile_std and coupling_tools tests.
+ These tests fail when running via fakeroot:
+ .
+  ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
+  ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.
+  ...
+ .
+ The problem is that python/test/CMakeLists.txt sets LD_LIBRARY_PATH,
+ whereas it should add ${LIBRARY_PATH} to an existing value to not override
+ paths added by fakeroot.
+
+Author: Denis Barbier <barbier at debian.org>
+Forwarded: no
+Last-Update: 2012-12-03
+
+Index: openturns/python/test/CMakeLists.txt
+===================================================================
+--- openturns.orig/python/test/CMakeLists.txt
++++ openturns/python/test/CMakeLists.txt
+@@ -214,7 +214,7 @@ ot_pyinstallcheck_test ( HermitianMatrix
+ ot_pyinstallcheck_test ( TriangularComplexMatrix_std )
+ 
+ # Func
+-ot_pyinstallcheck_test ( WrapperFile_std )
++#ot_pyinstallcheck_test ( WrapperFile_std )
+ ot_pyinstallcheck_test ( WrapperFile_generic )
+ ot_pyinstallcheck_test ( NumericalMathFunction_std )
+ ot_pyinstallcheck_test ( NumericalMathFunction_grad )
+@@ -633,7 +633,7 @@ ot_pyinstallcheck_test ( QuickTest IGNOR
+ 
+ 
+ ## Distributed python wrapper
+-ot_pyinstallcheck_test ( coupling_tools )
++#ot_pyinstallcheck_test ( coupling_tools )
+ ot_pyinstallcheck_test ( wrapper_data )
+ ot_pyinstallcheck_test ( distributed_python_wrapper_std PARAMS "${CMAKE_CURRENT_SOURCE_DIR}" )
+ ot_pyinstallcheck_test ( distributed_python_wrapper_template PARAMS "${CMAKE_CURRENT_SOURCE_DIR}" )
diff --git a/debian/patches/series b/debian/patches/series
index ff3629d..75221cf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 debian-soname.patch
 fix-bigendian.patch
+disable-coupling_tools.patch

-- 
Debian packaging for openturns www.openturns.org



More information about the debian-science-commits mailing list