[superlu-dist] 01/05: ignore configuration errors for now

Drew Parsons dparsons at moszumanska.debian.org
Tue Nov 14 10:49:50 UTC 2017


This is an automated email from the git hooks/post-receive script.

dparsons pushed a commit to branch master
in repository superlu-dist.

commit b5108fab683eec2c022506000439e32f9d14ae19
Author: Drew Parsons <dparsons at debian.org>
Date:   Tue Nov 14 18:23:49 2017 +0800

    ignore configuration errors for now
    
    the superlu-dist cmake scripts generate a configuration error:
    
       CMake Error in SRC/CMakeLists.txt:
        Found relative path while evaluating include directories of "superlu_dist":
          "OFF"
    
    with error code 1, which causes the build to halt.
    
    But the configuration seems fine (GNUInstallDirs are used to define
    standard install dirs).
    
    For now, work around the error by ignoring it (append "|| /bin/true")
---
 debian/changelog |  4 +++-
 debian/rules     | 10 +++++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f82288a..9407d47 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,5 +4,7 @@ superlu-dist (5.2.2+dfsg1-1) UNRELEASED; urgency=medium
     - debian patch mc64ad_dist-stub.patch provides stubs for
       mc64ad_dist.c (removed, since non-free)
   * Parmetis/Metis is not supported in this build (non-free)
+  * configuration errors are currently ignored to work around spurious
+    warnings about install dirs.
 
- -- Drew Parsons <Drew Parsons <dparsons at debian.org>>  Wed, 13 Sep 2017 12:04:10 +0800
+ -- Drew Parsons <dparsons at debian.org>  Wed, 13 Sep 2017 12:04:10 +0800
diff --git a/debian/rules b/debian/rules
index 4d860e9..52c557f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,10 +21,18 @@ export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 # dh_make generated override targets
 # This is example for Cmake (See https://bugs.debian.org/641051 )
+#
+# NOTE: the superlu-dist cmake scripts generate a configuration error:
+#   CMake Error in SRC/CMakeLists.txt:
+#    Found relative path while evaluating include directories of "superlu_dist":
+#      "OFF"
+# with error code 1, which causes the build to halt.
+# But the configuration seems fine (GNUInstallDirs are used to define standard install dirs).
+# For now, work around the error by ignoring it (append "|| /bin/true")
 override_dh_auto_configure:
 #	dh_auto_configure -- 	-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
 	dh_auto_configure -- \
 	    -Denable_parmetislib=OFF \
 	    -DCMAKE_C_COMPILER=mpicc \
-	    -Denable_blaslib=OFF -DTPL_BLAS_LIBRARIES=/usr/lib/$(DEB_HOST_MULTIARCH)/libblas.so
+	    -Denable_blaslib=OFF -DTPL_BLAS_LIBRARIES=/usr/lib/$(DEB_HOST_MULTIARCH)/libblas.so || /bin/true
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/superlu-dist.git



More information about the debian-science-commits mailing list